Repository navigation
quest: review harness check for m0, with more Claude Code plants - #426
Merged
Merged
Conversation
Quest-Claim: f7afab7ade1c227d
… a file The live sandbox test now plants Claude Code's local settings hooks, an allow rule with its additional directory, an `env` shell prefix, an API key helper, and a status line, and checks that quest's reviewer flags deny the command the planted rule allows. A login with no file to copy, such as one in the macOS keychain, runs on the credentials its CLI reads from the environment, through quest review's own fallback. Both pinned review models are still current. The m0 run of the recurring review harness check is done; the m1 run carries its findings forward. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
kixelated
marked this pull request as ready for review
November 3, 2026 03:59
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 58 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. CodeRabbit Verify
|
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.
Finishes the m0 run of quest/m0/review-harness.md and creates the m1 run,
quest/m1/review-harness.md, which requires m0.Summary
Models: no bump. With Claude Code 2.1.316 and codex-cli 0.166.0,
claude-opus-5-5is still Anthropic's default general model; only the premium Fable tier (claude-fable-5-1) is above it.gpt-6.1-solis still Codex's first-listed "latest workhorse" in its model cache, next to the frontiergpt-6-astra. The quest's deep tier is gone: moq-dev/quest#361 dropped--deep, so there is nothing to compare there.Live sandbox test passes with the installed CLIs (
quest gate just review-sandbox: 7 passed, 1 skipped, 98s). The skipped one is the new Claude-only test running under Codex.More Claude Code plants (
test/live/review-sandbox.test.ts):.claude/settings.local.jsonadditionalDirectoriesenvthat routes every Bash command through a plantedCLAUDE_CODE_SHELL_PREFIXscriptapiKeyHelperstatusLineEvery plant except the status line fires in the control run, where Claude Code is asked to run the allowed command. A new test runs one turn with quest's reviewer flags (
claudeFlags), asks forgit statusand then the allowed command, and checks that nothing ran and the allowed command is inpermission_denials. A review alone can't show this, because the reviewer chooses its own commands.Logins with no file to copy. If the user's config home has no login file, which is the case for a macOS keychain login, the test no longer throws. It now passes the user's environment to
quest review, which strips it and falls back on the CLI's environment credentials (moq-dev/quest#339). The control run uses the same environment through a newreviewerEnvironmentexport. A logged-out error namesCLAUDE_CODE_OAUTH_TOKENorANTHROPIC_API_KEY, orCODEX_API_KEY. The README section onjust review-sandboxsays the same.Codex worktree hooks: nothing depends on them. The land fixer (
src/cli/land-fix.ts) passes--ignore-user-config, which also skips the project layer (openai/codex#49333).quest agentdoesn't use Codex hooks, andquest initinstalls none. This is recorded in the m1 quest's "check first" list.Choices made without asking
claude setup-tokenandCODEX_API_KEYavoid both problems and go through the review's real credential path. I haven't run it on macOS, so the m1 run checks that first.ANTHROPIC_BASE_URL. A redirected base URL would break the control's API call. The shell prefix still shows whether theenvblock was applied, and the reviewer really does run Bash.src/cli/review.tsnow exportsContext,claudeFlags, andreviewerEnvironment, only for the live test. Runtime behavior is unchanged.Notes
claudeon PATH is a wrapper. When no routing variable is set, it sends Claude Code through a local subscription gateway, so the Claude half of the live run went through that gateway, not through a copied login file. Both paths reach the same flags, and the plants check isolation, not billing.Checks
just check: passedjust test: passed (936 + 474 tests)quest gate just review-sandbox: passedReview
Codex CLI 0.166.0,
gpt-6.1-sol, medium effort, viaquest review --base origin/main(round 1, session01a19f8e-dd52-7db0-99ad-62c13c6d3df2). It reviewed head 00bfa0a against baseacb86820and reported no findings.🤖 Generated with Claude Code
(Written by Claude Opus 5.5)