Skip to content

Apply scoped auto-review wait instruction overlay - #770

Merged
GraciousGazelles merged 20 commits into
mainfrom
fix/w13811-auto-review-instruction-overlay-20260905
Sep 6, 2026
Merged

GraciousGazelles merged 20 commits into
mainfrom
fix/w13811-auto-review-instruction-overlay-20260905

Conversation

@GraciousGazelles

Copy link
Copy Markdown
Collaborator

Summary

  • Apply a Sedna-owned instruction overlay only to the exact codex-auto-review model on the OpenAI-compatible manager.
  • Remove only the hard 60-second blocking-wait sentence from both effective instruction sources when the required provider marker and template are present.
  • Preserve the provider-owned models.json, static catalogs, explicit catalog/configuration precedence, unrelated model metadata, and provider synchronization provenance.
  • Add a sync workflow guard proving raw provider updates cannot overwrite the fork-owned overlay.

The resulting guidance permits passive native event-driven waits with mailbox, user-steering, and cancellation responsiveness. It does not introduce polling, tight sleeps, or model re-entry solely to narrate an unchanged wait, and it retains existing host-compute and priority constraints.

Validation

Focused source, cache, remote-composition, precedence, metadata, and synchronization-boundary coverage is included. Required hosted checks provide the build, test, formatting, and workflow validation for this exact head.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 5, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
🔒 Security Review ✅ Completed 2026-09-05T12:07:57.825941Z aa9e297 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a new instruction_overlay module to adjust instructions for the codex-auto-review model under the openai-compatible provider by removing a specific sentence regarding blocking wait calls. This overlay is integrated into the OpenAiModelsManager when loading or applying remote models, and corresponding unit tests have been added. The feedback suggests optimizing the overlay_models helper function in manager.rs to modify the Vec<ModelInfo> in-place instead of using into_iter(), mapping, and re-collecting, which avoids unnecessary allocations.

Comment thread codex-rs/models-manager/src/manager.rs Resolved
@GraciousGazelles

Copy link
Copy Markdown
Collaborator Author

Rebound candidate: head 8064d4c (tree 5be4a8e7b89dcb055aa4f9179a63dcf6f51d1de4), base main 995e84c. This causal repair applies the exact-slug overlay before model config overrides so default personality clearing cannot leave the provider sentence in base instructions; explicit base-instructions overrides remain authoritative. Prior review/CI evidence is invalidated by this SHA. Requested causal re-review is limited to ordering/default personality, remote/cache effective instructions, explicit-config precedence, and raw catalog preservation.

@GraciousGazelles
GraciousGazelles force-pushed the fix/w13811-auto-review-instruction-overlay-20260905 branch from 810e1df to 8e039b7 Compare September 5, 2026 12:41
@GraciousGazelles
GraciousGazelles added this pull request to the merge queue Sep 6, 2026
Merged via the queue into main with commit 5405839 Sep 6, 2026
120 of 124 checks passed
@GraciousGazelles
GraciousGazelles deleted the fix/w13811-auto-review-instruction-overlay-20260905 branch September 6, 2026 01:55
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