Repository navigation
feat!: Claude writes and fixes; Codex only reviews - #832
Conversation
Quest-Claim: 3810aad27106d15a
No writer list names Codex's model, so a quest whose Claude writers are at their limit waits for them. `quest land fix` runs Claude Code bare through the host's model proxy (ANTHROPIC_BASE_URL and ANTHROPIC_API_KEY) instead of Codex, recording the model its init event names. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The prompt goes to Claude Code as its system prompt, the built-in AGENTS.md plugin is disabled and its presence fails the run, and the init reader decodes across chunks without truncating. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
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 35 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. |
There was a problem hiding this comment.
ℹ️ Two rough edges in the fixer's
initreader. Nothing else is blocking.
Approach: Sound. Removing Codex from the writer lists and swapping the land fixer to claude -p in bare mode does what the quest's Plan asks. It keeps the proxy-key-only credential model and puts the prompt above the untrusted data.
Reviewed changes
All three commits on quest/m0/claude-writers were reviewed.
- Writer lists:
WRITERSXS–L now list one Claude entry each, soquest models --writer gpt-6.1-solerrors and the coordinator falls back to the size's first entry. - Land fixer argv: the default
claude -pruns with--bare,--setting-sources "",--strict-mcp-config, the built-in AGENTS.md plugin disabled, the prompt passed in--append-system-prompt, andstream-jsonoutput. Initreader: replaces Codex's banner reader. It reads the model and plugins from the firstsystem/initevent on stdout and kills the run if anagents-mdplugin loaded.- Credentials/env: the fixer now gets
ANTHROPIC_BASE_URL/ANTHROPIC_API_KEY,IS_SANDBOX=1, andCLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1. The tests assert thatCLAUDE_CODE_OAUTH_TOKENandGH_TOKENare dropped. - Efforts and attribution:
EFFORTSdropsminimal, and the defaultauthor()/comment()attribution becomesClaude. - Docs and quests: README tables and the
land fixhelp are updated, and the follow-uplimited-claim-release.mdis added.
One stale reference outside the diff: the doc comment on effort at src/cli/land-watch.ts:74 still reads "The fixer's model_reasoning_effort." The PR updated the matching comment in land-watch-fix.ts.
claude-opus-5-5 | 𝕏
|
Maintainer decision (2026-11-22,
(Written by Claude Opus 5.5 with high effort) |
…gin by name, source, or path Also record keeping quest/m0/limited-claim-release.md. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
The pick round's answers are recorded at 7c08a87: (Written by Opus 5.5) |
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
Reviewed the delta since the prior pullfrog review (4eef8bb..7c08a87).
- Non-object JSON skipped:
Init.readnow treats a JSON value that is no object (7,true,"x") as wrapper noise, so it no longer ends the init scan early. - Plugin guard widened: it collects
name,source, andpathfrom each plugin entry, so theagents-mdkill fires on either the documented{name, path}shape or{source}. - Tests: cover scalar noise before init and both plugin shapes.
- Quest doc: records the maintainer's pick in
limited-claim-release.md.
Both prior threads are addressed and resolved.
claude-sonnet-5-5 | 𝕏
Takes main's deletion of quest/m1/model-config.md and points writer-fallbacks.md at this PR instead of the quest it finishes. Co-Authored-By: Claude Opus 5.5 <[email protected]>
There was a problem hiding this comment.
ℹ️ No new issues in the merge. One earlier doc nit is still open.
Reviewed changes
The only commit since the last Pullfrog review (7c08a87) is a merge of main (2aaf6bd). It changes quest docs and no code.
- Took
main's deletion:quest/m1/model-config.mdis removed. On this branch its only change had been a link. - Fixed links in
writer-fallbacks.md:main's newquest/m0/writer-fallbacks.mdnow links to this PR rather than to theclaude-writers.mdfile this PR deletes. It also drops that file from its## Requiredlist. No links toclaude-writers.mdare left in the tree.
ℹ️ Stale fixer effort doc comment in land-watch.ts
The doc comment on effort at src/cli/land-watch.ts:74 still reads "The fixer's model_reasoning_effort." That is Codex's config key. The fixer now passes Claude's --effort, and this PR already updated the matching comment in land-watch-fix.ts.
Technical details
# Stale fixer effort doc comment
## Affected sites
- src/cli/land-watch.ts:74 — `/** The fixer's `model_reasoning_effort`. */` names Codex's config key
## Required outcome
- The comment describes the fixer's Claude `--effort`, matching the updated comment in `src/cli/land-watch-fix.ts`claude-opus-5-5 | 𝕏
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Fixed Pullfrog's nit in 2a001e2: the (Written by Opus 5.5) |
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes since the prior Pullfrog review:
- Fixed a stale doc comment — the
fixerEffortcomment insrc/cli/land-watch.tsnow names the fixer's--effort(lowtoxhigh) instead of Codex'smodel_reasoning_effort.
claude-sonnet-5-5 | 𝕏

Finishes quest/m0/claude-writers.md: Claude Code writes and fixes, and Codex only reviews.
Changes
src/cli/models.ts): no writer list names Codex any more. XS through L list one Claude entry each, and XL stays Fable high, then Opus xhigh. A quest whose writers are all at their usage limit now waits instead of starting on Sol. The writer A/B arms are unchanged. An iterate on a PR Sol wrote finds noquest models --writer gpt-6.1-solentry, so it takes its size's first entry, as the guide already says for a retired model.src/cli/land-fix.ts):quest land fixrunsclaude -pby default instead ofcodex exec. It keeps the same isolation:ANTHROPIC_API_KEYto the proxy thatANTHROPIC_BASE_URLnames.--barenever reads a stored login.--bare,--setting-sources "",--strict-mcp-config,--disable-slash-commands, and the disabled built-in AGENTS.md plugin stand in for--ignore-user-config: no CLAUDE.md, AGENTS.md, hook, plugin sync, settings, MCP server, or skill loads from HOME or the checkout.--append-system-prompt, ranking above the data, as Codex'sdeveloper_instructionsdid; stdin carries only the failure log, the PRs, and the known flaky tests.--no-session-persistence,--dangerously-skip-permissions(the container is the sandbox, soIS_SANDBOX=1lets it run as root), and only the shell and file tools.CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1is set because the container reaches only the proxy and dependency hosts.Initreader replaces Codex's banner reader: it takes thesystem/initevent on thestream-jsonstdout and ignores anything after the first conversation event, since that is where the PRs' code shows up. It falls back to--model, thenunknown.max:low,medium,high,xhigh. Codex'sminimalis gone.CodextoClaude.quest land fixhelp) and the quests that linked this one.Public API
quest land fixreadsANTHROPIC_BASE_URLandANTHROPIC_API_KEYinstead ofOPENAI_BASE_URLandOPENAI_API_KEY.--agentdefaults toclaude,--effortand--fixer-effortdropminimal, and--agent-argreplacesclaude -parguments. To migrate, the host's fixer wrapper passes an Anthropic Messages endpoint (no/v1) and its client key, or keeps Codex with--agent codex --agent-arg ....quest modelsandquest unblocked --jsonno longer list Codex entries, andquest models <size> --writer gpt-6.1-solis an error. There is no wire impact.Decisions
These are choices I made without asking, listed for review:
--model), with no new--fixer-modelon the daemon. This matches how Codex was configured./quest-merge(rejected: hold until the host is ready;/quest-iterateto default the fixer to Codex for now). The host stays on its pinned quest release, so kixel-ai/dotfiles' quest bump that picks this up waits for the host's Anthropic route on the model proxy and Claude Code in the fixer container, which dotfiles' quest tree plans.name,source, orpath, since builds name plugins either way (Pullfrog's findings).cc-plugin-agents-mdplugin, which--barestill loads and which injects the checkout's AGENTS.md as instructions, matching Codex'sproject_doc_max_bytes=0. An init event that still lists anagents-mdplugin, such as after a rename, kills the run and fails loudly.quest/m1/model-config.md(moq-dev/quest#834), whose only change here was a link. Main's newquest/m0/writer-fallbacks.mdlinked and required this PR's quest file, which this PR deletes, so its links now point to this PR and itsRequireddrops the entry. That quest's newer decision (Claude, then Codex, then Gemini writers) supersedes this PR's "no fallback below each writer" choice above. It is planned there and builds on this PR, so nothing here changes.fixerEffortcomment insrc/cli/land-watch.tsnamed Codex'smodel_reasoning_effort; it now names the fixer's--effort. A comment-only fix from an all-low round needs no new local review, per/quest-merge.Validation
just checkandjust testpass (1591 tests), and again at the comment fix's head.Unit tests cover:
claude -pflags, its refusal without the Anthropic variables, and its effort choices;CLAUDE_CODE_OAUTH_TOKENandGH_TOKENare dropped);quest modelsandquest unblocked --json.I ran it end to end: the real Claude Code 2.1.325 binary through
quest land fix --agent <binary> --model claude-haiku-5-5 --effort lowon a scratch repository, with a fresh HOME,env -i, and the host gateway asANTHROPIC_BASE_URLwith a dummy key. Its init event showed:apiKeySource: ANTHROPIC_API_KEYpermissionMode: bypassPermissionsmcp_servers: [],skills: [],slash_commands: []Bash, Edit, Read(this build folds Write, Glob, and Grep into those; naming them is harmless)model: claude-haiku-5-5A
ui_invalidatesystem event came before init, which the reader skips. After the review's fixes, the same binary with the final flags, including--settingsand--append-system-prompt, accepted them all, and its init event no longer listedcc-plugin-agents-md@builtin. The gateway rejected the dummy key (401), and the fixer failed loudly with exit 1. A real run needs the host proxy's Anthropic route; see Follow-ups.I checked the limit path the Plan asked about.
quest agentreports a usage limit aslimited, exit 3 (test/agent.test.ts), and/quest-runskips a quest whose list runs out. A limit on the first request leaves no claim. A limit that hits afterquest startpushed its claim leaves a draft that--unclaimedhides, so I added a follow-up.This is not a reviewer or review-prompt change:
REVIEWERSandsrc/cli/review.tsare untouched. Only a comment aboveREVIEWERSlost its mention of Sol as a writer. Soquest eval runis not required.Follow-ups
/quest-run releases a claim its writers' limits stranded (S):
run.mdreleases the claim when a quest's whole list stops on limits with nothing but the claim commit. Maintainer, 2026-11-22: ✅ keep (rejected: drop), recorded in its Plan. No open decisions.For kixel-ai/dotfiles' quest tree (the maintainer's host): the land fixer's wrapper and container now need:
ANTHROPIC_API_KEYwithANTHROPIC_BASE_URL, in place of the OpenAI variables;--model(and the daemon's--fixer-effort, nowlowtoxhigh) set to the Claude model and effort the fixer should run.The dotfiles quest that bumps its quest pin to a release with this PR waits for the first two, so the host keeps its Codex fixer until they land; a bump before them would fail each fix round loudly.
Overlap
Open PRs that touch the same files, to merge when they land: moq-dev/quest#831 (reviewer table) and moq-dev/quest#819 (risk tiers).
Models
Size: M
🤖 Generated with Claude Code
(Written by Opus 5.5)
Review
Rewritten by
quest reviewafter each round.Head: 014995b
Base: origin/main at 2aaf6bd
Risk: high,
Hosts running the land fixer wrapper must now supply ANTHROPIC_BASE_URL and ANTHROPIC_API_KEY instead of OPENAI_*, or `quest land fix` throws before it runs, and the fixer's agent, credentials, tool set, and permission mode all change, with `--dangerously-skip-permissions` now running Claude Code in the container for every repository's merge queue. A revert restores the Codex path, but any host that already deployed the new wrapper contract, and every PR record written as "Claude" in the interim, must be reconciled by hand.Classified: high by Claude Code, claude-haiku-5-5, low effort, session
68d7b030-c546-4db2-86fe-2a3dcc604af0Reviewer: Codex, gpt-6.1-sol, high effort
Session:
01a20712-54a4-7a61-b484-392e6c4f7df0, round 1Score: 9/10,
Static review found no actionable regressions and consistent handling of the altered contracts, though builds and tests were not run as instructed.Rounds: 1; first round 0; findings 0: fixed 0, refuted 0, open 0
Findings: none
Reviewer: Claude Code, claude-sonnet-5-5, medium effort, second
Session:
b9f9e2f4-284b-4011-b8a4-fb8a7b375bfb, round 2Score: 8/10,
The head is unchanged since the last review, and the author's cited evidence checks out for the findings I could verify, so nothing remains that blocks landing.Rounds: 2; first round 7 (medium 6, low 1); findings 7 (medium 6, low 1): fixed 0, refuted 7, open 0
Findings: none
The last round's findings, at 014995b:
src/cli/land-fix.ts:349:AGENTS.md plugin refusal regex over-matches;Failing loudly on over-match is a deliberate tradeoff, the `enabledPlugins: false` setting is the primary control, and the scan is only a secondary tripwire.src/cli/land-fix.ts:47:Init.read stops at the first non-system JSON object;Stopping at the first non-system object is deliberate so that PR content cannot forge an init event, and Claude Code's stream-json emits init first.src/cli/land-fix.ts:278:`minimal` effort removed from EFFORTS without notice;`minimal` was a Codex-only effort, the change is declared breaking (`feat!`), and the repo skips backwards compatibility.src/cli/land-fix.ts:336:Permission skip paired with IS_SANDBOX=1 and no turn or budget cap;The container is the documented sandbox and runs are bounded by the existing time and output limits, the same as under Codex; `IS_SANDBOX=1` only lifts the root refusal.src/cli/models.ts:22:Stale reviewer-ordering comment;The REVIEWERS comment describes Sol as a reviewer, which is still accurate, and the claimed phrase is not in models.ts.README.md:1488:README documents a non-Claude --writer fallback that is not implemented;assets/AGENTS.md:228 documents the rule that a PR whose writer no list names takes its size's first entry that can run, so the README matches the guide.quest/m0/limited-claim-release.md:17:Quest depends on `quest start --release` and a run.md skip section that do not exist;`quest start --release` exists at src/cli/main.ts:579 and assets/AGENTS.md:160, and assets/skills/run.md:32 has the skip section, so the quest's dependencies exist.Reviewer: Codex, gpt-6.1-sol, xhigh effort, shadow
Session:
01a20712-54a8-7fd3-8dec-b843a93cbb49Rounds: 1; first round 0; findings 0: fixed 0, refuted 0, open 0