Skip to content

fix(codex): avoid review prompt with --base#1209

Open
jbetala7 wants to merge 1 commit intogarrytan:mainfrom
jbetala7:oss/fix-1196-codex-review-base
Open

fix(codex): avoid review prompt with --base#1209
jbetala7 wants to merge 1 commit intogarrytan:mainfrom
jbetala7:oss/fix-1196-codex-review-base

Conversation

@jbetala7
Copy link
Copy Markdown

Summary

  • remove the unsupported codex review <PROMPT> --base <base> shape from /codex, /review, and /ship
  • move the diff scope into the prompt so Codex runs git diff origin/<base>...HEAD itself
  • regenerate affected skill docs and host golden fixtures
  • add regression coverage for the prompt-scoped review form

Fixes #1196.

Testing

  • bun run gen:skill-docs --host all
  • bun test test/gen-skill-docs.test.ts
  • bun test test/host-config.test.ts
  • bun test test/skill-validation.test.ts --test-name-pattern "codex review invocations"

Note: bun test test/gen-skill-docs.test.ts test/skill-validation.test.ts test/host-config.test.ts still hits an unrelated existing guard failure because tracked fixture browse/test/fixtures/security-bench-haiku-responses.json is 27MB and exceeds the 2MB limit.

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.

Upstream bug report — gstack-codex emits incompatible codex review flags

1 participant