Repository navigation
Add three focused second opinions: requirements, plan and decision - #36
Merged
Merged
Conversation
/modelquad:check-requirements, /modelquad:plan-review and /modelquad:challenge-decision ask Codex one defined question about the files the user chooses. review_package and delegate take a closed `focus` (requirements -> review, plan and decision -> architecture); ModelQuad puts the focus's fixed instruction (focus.py) in front of the task text, so the package id covers it, and the preview returns the whole task text after the credential screen. A general review's package id is unchanged. The preview names files the task text or a sent document mentions that were not sent, read only from the texts the packer already checked and reached through no link; nothing is added. A repository that removes a task kind removes its focused reviews. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ed file Codex's payload names the entries the package left out, such as a named folder, but the package id covered only the files sent: naming a folder beside the files changed what Codex read under the same id. When the names go beyond the files sent, the id now covers them; a package whose names are all sent keeps its id. A file a read rule began to exclude between the preview and the launch was dropped and the review ran on less than was approved. The launch now sends exactly the approved files or nothing. Both were found by the read-only Codex review of the focused reviews. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Three commands ask Codex one defined engineering question about files the user chooses, through the same package, approval and Codex run as
/modelquad:review:/modelquad:check-requirements(focusrequirements, task kindreview): per requirement, met on the evidence, a gap, or not shown by the tests./modelquad:plan-review(plan,architecture): contradictions with a requirement, assumptions to verify, what to decide before coding./modelquad:challenge-decision(decision,architecture): when an RFC/ADR decision holds, what could reverse it, the check that would settle it.How it works:
review_packageanddelegatetake a closedfocus. ModelQuad puts that focus's fixed instruction (src/modelquad/focus.py) in front of Claude's task text, so the package id covers it. A changed text, file or focus after the preview sends nothing.mentioned_files). It reads only the texts the packer already checked, follows no link, and applies the read rules and the secret-name check. Nothing is added to the package..modelquad.tomlthat removes a task kind removes its focused reviews.modelquad review package --focusshows the same preview in a terminal.No issue to close.
Reviewer notes:
gpt-6.2-soland medium effort for the focused and the general prompt, graded blind. With the shipped instruction:Tests run
python scripts/check.py fastpython scripts/check.py python(3322 passed)tests/test_focused_reviews.py, 38 tests)Real smoke run of all three commands through Claude Code in print mode, with the working-tree plugin and an isolated state folder: each called
review_packagewith the right focus and kind, thendelegatewith the approved package id, and Codex answered. Without a grant, print mode refused the call ("requires permission"), as intended; the smoke used a standing grant for the test folder only. Claude Code's interactive approval dialog was not exercised.Windows version: Windows 11 Pro 10.0.26300
AI assistance
Claude Code (Claude Opus 5.5) wrote the code, tests and docs, and ran the smoke test and pilot. Codex reviewed the diff read-only, and a Claude Sonnet agent graded the pilot answers blind.
Checklist
git commit -s), as described in CONTRIBUTING.md (DCO 1.1). The maintainer's own commits need none.🤖 Generated with Claude Code