Skip to content

feat(core): allow guardian prompt overrides from model metadata#13915

Open
charley-oai wants to merge 1 commit intomainfrom
guardian-prompt-override
Open

feat(core): allow guardian prompt overrides from model metadata#13915
charley-oai wants to merge 1 commit intomainfrom
guardian-prompt-override

Conversation

@charley-oai
Copy link
Contributor

Summary

  • add a guardian-specific developer-instructions field to model metadata
  • teach core guardian prompt assembly to prefer the selected guardian model's override while keeping the JSON contract appended in code
  • update affected test fixtures and add coverage for the override path

Testing

  • cargo test -p codex-protocol openai_models::tests::model_info_defaults_availability_nux_to_none_when_omitted
  • cargo test -p codex-core guardian_subagent_config
  • cargo test -p codex-api models_client_hits_models_endpoint
  • cargo test -p codex-app-server --test all get_auth_status_no_auth

@charley-oai
Copy link
Contributor Author

@codex review this

@chatgpt-codex-connector
Copy link
Contributor

Codex Review: Didn't find any major issues. More of your lovely PRs please.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@charley-oai charley-oai force-pushed the guardian-assessment-ui branch from 05060d9 to 04f5f35 Compare March 8, 2026 00:19
@charley-oai charley-oai force-pushed the guardian-prompt-override branch from a759c69 to 7c09e3b Compare March 8, 2026 00:19
Co-authored-by: Codex <noreply@openai.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant