10 Commits

  • feat(codex): update gpt-5.2 codex prompt instructions
    The prompt for the gpt-5.2 codex model has been updated with more comprehensive instructions. This includes detailed guidelines on general usage, editing constraints, the plan tool, sandboxing configurations, handling special user requests, frontend task considerations, and final message presentation. The updates aim to improve the model's understanding and execution of complex coding tasks by providing clearer directives and constraints.
  • feat(codex): add gpt-5.2 codex prompt handling
    This change introduces specific logic to load and use instructions for the 'gpt-5.2-codex' model variant by recognizing the 'gpt-5.2-codex_prompt.md' filename. This ensures the correct prompts are used when the '5.2-codex' model is identified, complementing the recent addition of its definition.
  • **docs(internal): add Codex instruction guides for GPT-5 CLI**
    - Added `gpt_5_1_prompt.md` and `gpt_5_codex_prompt.md` to document Codex instruction guidelines.
    - These detail the behavior, constraints, and execution policies for GPT-5-based Codex agents in the CLI environment.
  • **feat(registry): add GPT-5.1 Codex Max model definitions and support**
    - Introduced `gpt-5.1-codex-max` variants to model definitions (`low`, `medium`, `high`, `xhigh`).
    - Updated executor logic to map effort levels for Codex Max models.
    - Added `lastCodexMaxPrompt` processing for `gpt-5.1-codex-max` prompts.
    - Defined instructions for `gpt-5.1-codex-max` in a new file: `codex_instructions/gpt-5.1-codex-max_prompt.md`.
  • **feat(instructions): add detailed agent behavior guidelines for Codex CLI**
    Introduce comprehensive agent instruction documentation (`gpt_5_1_prompt.md`) for Codex CLI. Specify agent behavior, personality, planning requirements, task execution, sandboxing rules, and validation processes to standardize interactions and improve usability.
  • docs(instructions): add Codex operational and review guidelines
    Added detailed operational instructions for Codex agents based on GPT-5, covering shell usage, editing constraints, sandboxing policies, and approval mechanisms. Also included comprehensive review process guidelines for flagging and communicating issues effectively.
  • refactor(translator): remove unused log dependency and comment out debug logging
    docs: add GPT-5 Codex guidelines for CLI usage
    
    - Added detailed guidelines for GPT-5 Codex in Codex CLI.
    - Expanded instructions on sandboxing, approvals, editing constraints, and style requirements.
    - Included presentation and response formatting best practices.
    
    fix(codex_instructions): update comparison logic to use prefix matching
    
    - Changed system instructions comparison to use `strings.HasPrefix` for improved flexibility.
  • docs: add GPT-5 Codex guidelines for internal usage
    - Added comprehensive instructions for Codex CLI harness, sandboxing, approvals, and editing constraints to `internal/misc/codex_instructions/`.
    - Clarified `approval_policy` configurations and scenarios requiring escalated permissions.
    - Provided detailed style and structure guidelines for presenting results in the Codex CLI.