Skip to content

feat(codex): expose CLI personality selection in remote sessions #1003

Description

@swear01

What feature would you like to see?

Expose Codex CLI personality selection in remote HAPI sessions.

Codex CLI supports friendly, pragmatic, and none, and the app-server protocol already accepts personality on thread/start, thread/resume, and turn/start. HAPI declares those protocol fields but currently has no session state, composer selector, slash handling, or launcher wiring for them.

Expected behavior

  • Add a Codex-only personality setting to the session/composer runtime controls.
  • Pass the selected personality to Codex app-server turns (and thread start/resume where appropriate).
  • Support /personality friendly|pragmatic|none; querying without an argument should report the current value.
  • Default/unset must preserve the user's Codex configuration instead of forcing a personality.
  • Keep this scoped to Codex CLI parity; it is unrelated to HAPI voice personality.
  • Add focused state propagation, slash parser, and turn-param tests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent:codexCodex flavorarea:cliCLI, runner, agent wrappersarea:webWeb PWA / React clientenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions