Repository navigation
quest: scale review, CI, and landing to the risk tier - #802
Conversation
Quest-Claim: a5221a73967c2458
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e guardrails quest Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…t run Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Maintainer decision (2026-11-22,
(Written by Claude Opus 5.5) |
|
The maintainer decision is recorded under (Written by Claude Opus 5.5) |
… low exemptions on the head The second reviewer seated to settle findings serves as the raise's second review; a raise saves its rounds before the second review runs and falls back to the next model; settling a second reviewer's findings honors exclusions; an override to the reviewed tier records nothing. merge --land exempts a low record only for the head it names and refuses a malformed one; bump bodies say how to undo them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ot run, and seat it from the size's whole list Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…d review Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
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 39 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. |
|
Maintainer decision (2026-11-22,
(Written by Claude Opus 5.5) |
There was a problem hiding this comment.
ℹ️ No critical issues — two rough edges inline.
Approach: sound. The tier is set once in review() before any reviewer is seated, and the same recorded tier drives review depth, quest suite, and quest merge's undo check, so the three can't disagree about a head. Choosing prose class rules over path globs makes sense, because globs can't express "behavior-preserving".
Reviewed changes
All 29 files at 7beb70d were reviewed, tests included:
RISK.mdformat:parseRiskFilenow reads the optional## Automaticclasses and## Full suitecommand, and reports duplicate or malformed entries.- Classifier class: a nullable
classenum is added to the reply schema only when the base lists classes. It is recorded as- Class:and surfaced byquest status. - Tier-scaled
quest review: a low head skips local review. A high head seats asecondreviewer on another model. A mid-run raise to high saves its rounds and then runs the second review. When that review fails, the saved rounds ride on the error so they get printed. --override/--reason: the maintainer's tier is stored in saved state and holds until the reviewed tier is riskier than the tier it replaced.quest mergeundo check:undoablerefuses a PR with no valid## Undounless its record says low for the exact head being landed. It runs again on the fresh read.quest suite: prints the base's full-suite command when the head is high or no record covers it.quest usage: adds theoverriddencount and time waited on a person to each tier, a per-class rollup, andsecondreviewer rows.- Skills/rules: the standing pick now comes from the tier and class. Low records count in
/quest-merge, and the guide asks for## Undo.
claude-opus-5-5 | 𝕏
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
quest merge no longer refuses a PR without an ## Undo section, bump PRs and docs drop theirs, and the benchmark epic records the decision. Links to the deleted guardrails quest that the base brought in now point at RISK.md and #802. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
ℹ️ No new issues in the new commits. The prior thread on
--model/--effortskipping the second reviewer on a high head is still open and unchanged.
Reviewed changes
This run reviewed the three commits since 7beb70d: a doc-comment fix, the merge of origin/main (#801), and the removal of the ## Undo gate.
- Removed the
## Undogate:undoableis gone fromland()insrc/cli/hold.ts.UNDOS/undoProblemare gone fromsrc/core/risk.ts, andbodySectionis folded back intoreviewSection.land-bump.tsno longer writes a## Undosection. Their tests are removed too. NoUndoreference remains insrc,assets, the README, or the help text. - Updated docs and quests: the README,
quest mergehelp, and the/quest-merge,/quest-review, and/quest-runskills no longer ask for an undo line. The benchmark epic records the maintainer's decision.afk-and-waits.mdandrouting-evidence/README.mdnow point atRISK.mdand #802 instead of the deleted guardrails quest. - Merged #801's shadow-by-size change:
seatsFornow takessizeand callsshadowOf(size, routed). The "one effort lower" doc comments now say "one effort away". The second reviewer excludes only the pick's model, and the shadow uses that same model, so the two seats can't collide. - Moved
ReviewOutageError's doc comment back onto the class.
claude-opus-5-5 | 𝕏
…rt runs too Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…kips it Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
This run reviewed the two commits since the prior pullfrog review at c4f59a8.
- Second reviewer on named runs:
high()insrc/cli/review.tsnow gates onautoalone, so a--modelor--effortrun on a high head still seats the second reviewer. This closes the earlier thread, which is already resolved. Only--harnessruns alone. - Docs reworded: the README and
quest review --helpsay that--modeland--effortchange only the pick, and that the one reviewer--harnessnames runs alone. - Regression test:
test/review.test.tsadds an--effort highstage that expects both the pick and thesecondreviewer rows.
claude-sonnet-5-5 | 𝕏

Scales review, CI, and landing to a PR's risk tier, as the guardrails quest planned, and deletes that quest.
quest reviewrecords that the online reviewer alone reviews itRISK.md's## Automaticlist; else the maintainer's pickquest suitenamesChanges
RISK.mdformat (src/core/risk.ts): two new optional sections.## Automaticlists named classes (`name` - rule over the diff).## Full suiteholds one fenced command.quest checkreports malformed ones.class(a listed name, or null). The record gets a- Class:line, andquest statusgets a newclassline.quest review:- Local review: none, ..., and printsnext done.secondreviewer: the first entry of the size's list on a model other than the pick's that can run, in its own session that reviews every head while the tier is high and settles its findings after. A round that raises the tier to high saves its rounds and runs the second reviewer in the same run, so a rising tier reopens the review the lower tier skipped; when none can run, it prints those rounds before failing as an outage.--modeland--effortchange only the pick, so a high head keeps its second reviewer; the one reviewer--harnessnames runs alone.--override <tier> --reason <text>records the maintainer's tier. It holds across heads until the reviewed tier grows riskier than the one overridden.quest suite <pr>(new): prints the base's full-suite command when the head is high or no tier covers it, and prints nothing otherwise, so a repository's gate can run it.quest usage:By automatic classrollup shows PRs, how many were low, merged, later fixed, and time waited on a person./quest-run's standing pick now comes from the tier and class instead of a prose list. The trivial-PR clause (any author, Pullfrog approval) stays, at any tier. A high PR is asked about with the full brief./quest-merge: a tier that rises on a later head ends the pick. A low head's record counts without a local reviewer./quest-review: describes the tiers and the override.RISK.mdstarts its## Automaticlist with the standing pick's classes (tests,internal-docs,refactor,trivial), without CI (see Waiting).AGENTS.md's merge rule now points at that list.quest/m0/benchmark/README.mdis now sized[M]. It holds the epic's own end-to-end check, which needs Kixel Code's factory page.Choices the plan left to the implementer:
/quest-runstill judges the diff against the rule before auto-merging, and asks when unsure.## Modelsrecord under a single-model harness), the run fails as a usage error. Where they are only unavailable, it fails as an outage.quest, sincequestcannot run a repository's CI. This repository names no## Full suite, since its gate already runs everything.Public API
quest/core:RiskFilegainsclassesandsuite, andRecordedRiskgainsclassandoverridden.Status.riskgains a requiredclass. Kixel Code's forge must supply it (see Follow-ups).Class.quest suite, and newquest review --override/--reason.quest statusprints a newclassline afterrisk.## Reviewrecord gains- Overridden:,- Class:,- Local review:lines and a, secondReviewer suffix.quest usage --jsongainsclassesplusoverridden/personon tier rows andsecondon reviewer rows..git/quest/review/gainssecondsessions and anoverride, which a reverted release would misread as the pick's: passquest review --newonce on such a branch.Validation
just checkandjust testpass (1581 tests) on 3db6600, after merging origin/main (which brought feat(review): routing evidence readout, and retarget the shadow by size #801; its shadow-step change and this PR's second seat both pass throughseatsFor).ANTHROPIC_BASE_URLunset so Claude Code uses its stored login. Round 1 found 17 (fixed 15, refuted 2: the override is the maintainer's by design, and AGENTS.md skips backwards compatibility for saved state); round 2 found 2, both fixed; round 3 found 1 and reached the checkpoint, where the maintainer chose to continue (see Decisions); round 4 settled it, with Sol xhigh at 10 and Sonnet at 9, and left one low finding, fixed; round 5, on the head that drops the## Undogate, found nothing (Sol 10, Sonnet 9); round 6, on the fix for Pullfrog's finding that a--modelor--effortrun on a high head skipped the second reviewer, scored Sol 10 and Sonnet 9 with one low wording finding, fixed. Fix tests: a raise's second review falling back, printing its saved rounds on any failure, an outage or a usage error when no other model is left, and reusing the seat that settles findings; a named--effortrun still seating the second reviewer (fails with the old code); an override equal to the tier, and a--effortrun on a high head seating the second reviewer (fails with the old gate).RISK.md, on a branch that only adds a comment to a test:quest review --size XSran the real classifier (Codexgpt-6.1-sollow, since Claude Code is logged out here). Codex accepted the nullableclassenum schema. Output:risk low ...,class tests, no reviewer,next done: the head is low risk, so the online reviewer alone reviews it.--override high --reason ...on the same head seated the pick, its shadow, and a Sonnet second reviewer. Claude Code was logged out, so it ended as an outage (exit 3). The first try exposed a bug: the outage blamed Sol, because the aborted Codex seats rethrew the same error object and re-tagged it as the pick's. Fixed. The rerun names onlyclaude-sonnet-5-5 medium. The regression test (a hanging Codex beside a usage-limited Sonnet) fails without the fix and passes with it.suiteFor's tier/state table.quest mergewas not run against a live PR.quest eval runwas not run: this PR changes the classifier's prompt and adds the second seat inreview(), but leaves the reviewer table insrc/cli/models.tsand the reviewer prompts (reviewPrompt,reportPrompt,laterPrompt) unchanged, andquest evalseats its cases' pick and shadow itself without the classifier or the second reviewer, so the base's and head's builds would score the same.Decisions
/quest-run's trivial clause (rejected: Action bumps also wait for a pick; aciclass that stops treating workflow files as always high). The head already implements this:RISK.md's## Automaticlist has no CI class, andALWAYS_HIGHkeeps.github/workflows/and.github/actions/.## Undorequirement.quest mergerefuses no PR for lacking one, PR bodies andquest land watch's bump PRs carry none, and the guide, skills, README, and the benchmark epic's Goal and Plan no longer ask for one (rejected: the Undo gate as built). The epic's Plan records the decision.Follow-ups
For
/quest-planin other repositories' quest trees:Status.risk.class, whichquest statusreads.## Full suiteinRISK.md(just gateand the nightly tier) and have the merge-queue gate runquest suite <pr>beside its scoped checks. The full suite for PRs from authors without write access runs unconditionally, since their body's tier is untrusted.Overlap: moq-dev/quest#801 (routing evidence) merged first; this head merges it.
Models
🤖 Generated with Claude Code
(Written by Claude Opus 5.5)
Review
Rewritten by
quest reviewafter each round.Head: 7fc7d13, named in full once no reviewer reports a finding
Base: origin/main at 207fa78
Risk: high,
it changes RISK.md, which is always high: it sets the tier of every later changeClassified: high by the always-high paths
Reviewer: Codex, gpt-6.1-sol, xhigh effort
Session:
01a20188-8194-7001-87d4-738fe661e931, round 6Score: 10/10,
The incremental change preserves the second-reviewer requirement for high-risk heads when --model or --effort changes the pick, with no new issues found.Rounds: 6; first round 4 (high 1, medium 3); findings 5 (high 1, medium 4): fixed 5, refuted 0, open 0
Findings: none
Reviewer: Claude Code, claude-sonnet-5-5, high effort, second
Session:
abb2968f-8360-45d7-9184-8f29b3b9fa5e, round 6Score: 9/10,
The head makes a high head keep its second reviewer when `--model` or `--effort` changes the pick, with a test; the only issue is a garbled help sentence that the README repeats.Rounds: 6; first round 10 (high 2, medium 5, low 3); findings 12 (high 2, medium 5, low 5): fixed 9, refuted 2, open 1
Findings, open until the next round settles them:
src/cli/main.ts:1755:The `quest review --help` sentence about the second reviewer reads as garbledReviewer: Codex, gpt-6.1-sol, high effort, shadow
Session:
01a20188-8194-7c23-ba58-3487c6d9d99bRounds: 3; first round 3 (medium 3); findings 4 (medium 4): fixed 4, refuted 0, open 0
Finished on 3db6600: round 6's one finding, low, fixed (the second-reviewer sentence in
quest review --helpand the README now says what the reviewer is before when--harnessskips it); no further round ran.