Skip to content

quest: finish the m0 model check - #584

Merged
kixelated merged 3 commits into
mainfrom
quest/m0/model-check
Nov 9, 2026
Merged

kixelated merged 3 commits into
mainfrom
quest/m0/model-check

Conversation

@kixelated

@kixelated kixelated commented Nov 9, 2026 •

Copy link
Copy Markdown
Collaborator

Finishes m0's model check: it audits the routed PRs since model routing landed in moq-dev/quest#558, and carries the tallies into m1's model check as its baseline. It also deletes the m0 quest and its links.

Findings

The 25 PRs merged from 2026-11-07T22:30:45Z (when moq-dev/quest#558 landed routing) to 2026-11-09T17:00Z, by merged_at, with records from quest usage --since 2026-11-06 --json; writers on their table entry:

Size Writer PRs Handed back Score Rounds Fixed
XS Haiku high 0 - - - -
S Opus low 4 0 10.0 1.3 1
M Opus medium 2 0 9.5 2.0 0
L Opus high 3 0 10.0 3.0 4

Sol reviews, latest round only: low 1 PR / 0 fixed; medium 17 / 4 fixed; high 3 / 4 fixed; xhigh 1 / 0 fixed. No ## Caused by names a routed PR, so no review miss is visible, and no outages were recorded. PRs unfinished then (moq-dev/quest#583, moq-dev/quest#586, moq-dev/quest#588, and moq-dev/quest#553, merged after the window) are listed apart, not counted.

Choices made without asking

  • No table change: 0-4 PRs per cell are too few to retune.
  • The baseline counts merged PRs only, in a merge-time window: quest usage selects PRs by updated_at with state=all (src/cli/usage.ts:356-363), which mixed open and merged outcomes in the first count (review).
  • ccusage was not installed, so the report has no cost data, only accuracy.

Suggested follow-ups

  • quest usage could select merged PRs by merge time itself (say a --merged flag), so the next run needs no hand filter. Recommend leaving that to m1's run rather than a quest now.
  • 6 of 20 Implementer: lines record unknown effort. Recommend dropping it: m1's run watches for it.

Models

Size: S
Implementer: Claude Code, claude-opus-5-5, low effort
Implementer: Claude Code, claude-opus-5-5, low effort (iterate, S)

🤖 Generated with Claude Code

(Written by Claude Opus 5.5 with low)

Review

Rewritten by quest review after each round.

  • Reviewer: Codex, gpt-6.1-sol, medium effort
  • Session: 01a1c178-3da5-7291-8508-eead7798821b, round 1
  • Head: fecf566
  • Base: origin/main at bd7980f
  • Score: 10/10, The change closes the m0 audit, removes its obsolete link, and carries the baseline and unfinished cases into m1 without changing executable code; no actionable defects were found by inspection.
  • Findings: none

Quest-Claim: 18ff5461de8e9b21
@pullfrog

pullfrog Bot commented Nov 9, 2026

Copy link
Copy Markdown

Pullfrog  | Review this ➔

No table changed: 4-7 routed PRs per size are too few to retune.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kixelated kixelated changed the title Model check quest: finish the m0 model check Nov 9, 2026
@kixelated
kixelated marked this pull request as ready for review November 9, 2026 17:17

@kixelated kixelated left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Automated review by review (OpenAI)

Reviewed head: f25685f

[P2] Separate unfinished PRs from the merged-PR baseline
Location: quest/m1/model-check.md:59-65

The audit plan compares PRs merged since the previous run, but this baseline includes #553, which is still an open draft, in the M writer sample and its current review results. The cited command does not select a merged cohort: updatedPulls requests state=all and filters updated_at, and accuracyRows includes every returned PR's current score/findings while counting merged separately. Consequently, these are mixed completed/in-progress outcomes, not a comparable baseline for the next milestone's merged-PR audit. A newer comment can also pull an older merged PR into the window.

Direction: select the merged PRs in a documented merge-time window and recompute the baseline from those records. Keep unfinished PRs such as #553 as a separately labeled watch list, rather than mixing their transient review scores and open findings into the completed sample.

Verification limits: GitHub-only static review of all three changed files, the surrounding audit plan and quest links, the usage selection/aggregation implementation, and the linked PR records. No repository code, tests, ccusage, or quest usage command was run; the full numeric rollup and outage claims were not independently reproduced. GitHub's check/queue jobs were skipped, not successful validation runs.

(Written by OpenAI; exact model and effort unavailable)

@coderabbitai

coderabbitai Bot commented Nov 9, 2026 •

Copy link
Copy Markdown

Explain Change →

Warning

Review limit reached

You'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 15 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 6908785a-1dc6-491e-93b6-21672f738e33
Commits

Reviewing files that changed from the base of the PR and between f25685f and fecf566.

Files selected for processing: 1

  • quest/m1/model-check.md

No actionable comments were generated in the recent review.

Walkthrough

The m1 plan now specifies that the routing audit starts in m0 after routing lands and continues each milestone. It records the m0 implementer and review tallies, observed misses and skipped quests, and the conclusion that the sample is too small to change the tables. The m0 audit document and its README link were removed.

Merge Risk: Low · previous review f2568

This is a documentation-only update to the routing audit plan. The recorded baseline slightly overstates its cohort by including one draft PR and a few PRs that landed before routing, and its "no review misses" statement is narrower than the audit required. Neither affects runtime behavior, and the conclusion not to retune the model table is already hedged by the small sample. It is safe to merge, and the baseline wording could be tightened later.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title "quest: finish the m0 model check" matches the main change: the PR completes the m0 model-check audit, carries its tallies into m1's baseline, and removes the finished m0 quest links. It is …
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description check Passed The description explains the m0 model check, its findings, and the transfer of tallies to m1. It also describes deleting the m0 quest and its links, which matches the changeset.
Full details: Title check

Explanation

The title "quest: finish the m0 model check" matches the main change: the PR completes the m0 model-check audit, carries its tallies into m1's baseline, and removes the finished m0 quest links. It is specific and concise, and it follows the repository's quest-prefix convention.

Finishing Touches

Simplify code

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 5c6f6fd4-037f-4e0a-a914-45bbd14dcbbd
Commits

Reviewing files that changed from the base of the PR and between fcca33e and f25685f.

Files selected for processing: 3

  • quest/m0/model-check.md
  • quest/m0/token-waste/README.md
  • quest/m1/model-check.md
Files with no reviewable changes: 2

  • quest/m0/model-check.md
  • quest/m0/token-waste/README.md

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kixelated

Copy link
Copy Markdown
Collaborator Author

Fixed in fecf566, re: review. Agreed: quest usage lists PRs by updated_at with state=all (src/cli/usage.ts:356-363), so the first count mixed open PRs in. The baseline now counts only the 25 PRs merged from moq-dev/quest#558's merge (2026-11-07T22:30:45Z) to 2026-11-09T17:00Z by merged_at, and lists moq-dev/quest#553, moq-dev/quest#583, moq-dev/quest#586, and moq-dev/quest#588 apart as unfinished. Selecting by merge time inside quest usage itself is left as a suggested follow-up rather than widening this PR.

(Written by Claude Opus 5.5 with low)

@kixelated kixelated left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Automated review by review (OpenAI)

Reviewed head: fecf566
Previous reviewed head: f25685f

The previous cohort finding is addressed: the baseline now specifies a merge-time window and separates unfinished PRs. GitHub's merged_at records confirm 25 PRs in the stated inclusive window.

[P2] Count the M-sized iterate on #570 in the M baseline
Location: quest/m1/model-check.md:62

PR #570 merged inside the window and records “Implementer: Claude Code, claude-opus-5-5, medium effort (iterate, M)”. The audit's stated method at lines 30-33 and accuracyRows() both use the implementer's own size rather than the PR's overall L size. Its M iterate therefore belongs in this row alongside #536 and #556. #570 contributes score 10, round 3, and one fixed finding; the three records give 3 PRs, score 9.7, 2.3 rounds, and 1 fixed, rather than 2 / 9.5 / 2.0 / 0.

Direction: recompute the writer buckets after merge-time filtering while retaining per-implementer size overrides, and update the PR-body table too. Otherwise the next audit compares against a baseline that omits exactly the smaller iterates this plan says to measure.

Verification limits: GitHub-only static review of the incremental change, audit plan, aggregation/parser source, and merged PR records. No repository code, tests, builds, ccusage, or quest usage was executed. The full historical hand-back/outage claims and cost data were not independently reproduced.

(Written by review (OpenAI))

@kixelated
kixelated added this pull request to the merge queue Nov 9, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 9, 2026
@moq-bot

moq-bot Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

quest land watch: the merge queue removed this pull request at fecf566 because its merge_group build failed (failed_checks).

The land fixer works on it in the background, and the watcher re-enqueues it at the back of the queue once it is fixed or judged flaky, or hands it back here with what it needs.

Queue / Queue build / Build (job) failure at step Test:

… ends stops its build�[33m 1257�[2mms�[22m�[39m
     �[33m�[2m✓�[22m�[39m a conflict the quest merge driver cannot merge is dropped before any build�[33m 451�[2mms�[22m�[39m
     �[33m�[2m✓�[22m�[39m a held pick keeps its place unbuilt, and stale queue branches and their runs are cleared on the first pass�[33m 586�[2mms�[22m�[39m
     �[33m�[2m✓�[22m�[39m a drop interrupted before its comment is finished on the next pass, once�[33m 643�[2mms�[22m�[39m
     �[33m�[2m✓�[22m�[39m the land fixer's requeue arms auto-merge pinned to the head, at the back of the queue�[33m 1658�[2mms�[22m�[39m

�[31m⎯⎯⎯⎯⎯⎯⎯�[39m�[1m�[41m Failed Tests 1 �[49m�[22m�[31m⎯⎯⎯⎯⎯⎯⎯�[39m

�[41m�[1m FAIL �[22m�[49m test/init.test.ts�[2m > �[22msetup and removal preserve CRLF instructions and recognize CRLF stubs
�[31m�[1mError�[22m: Test timed out in 5000ms.
If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout".�[39m
�[36m �[2m❯�[22m test/init.test.ts:�[2m189:1�[22m�[39m
    �[90m187|�[39m });
    �[90m188|�[39m
    �[90m189|�[39m test("setup and removal preserve CRLF instructions and recognize CRLF …
    �[90m   |�[39m �[31m^�[39m
    �[90m190|�[39m  const dir = tempDir();
    �[90m191|�[39m  const original = "# Repository rules\r\n\r\nKeep this rule.\r\n";

�[31m�[2m⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯�[22m�[39m


�[2m Test Files �[22m �[1m�[31m1 failed�[39m�[22m�[2m | �[22m�[1m�[32m32 passed�[39m�[22m�[90m (33)�[39m
�[2m      Tests �[22m �[1m�[31m1 failed�[39m�[22m�[2m | �[22m�[1m�[32m1176 passed�[39m�[22m�[2m | �[22m�[33m5 skipped�[39m�[90m (1182)�[39m
�[2m   Start at �[22m 11:03:13
�[2m   Duration �[22m 277.67s�[2m (tests 77%, transform 20%, import 3%)�[22m


##[error]Error: Test timed out in 5000ms.
If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout".
 ❯ test/init.test.ts:189:1


error: script "test" exited with code 1
error: recipe `_test` failed on line 32 with exit code 1
error: recipe `test` failed on line 29 with exit code 1
##[error]Process completed with exit code 1.
Post job cleanup.
[command]/nix/store/lg46w7hrjx7kylsh6645c9l975i8h43b-git-2.55.0/bin/git version
git version 2.55.0
Temporarily overriding HOME='/var/cache/github-runner-work/_temp/61df1fde-b304-439b-832e-8aa18cf7709e' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]/nix/store/lg46w7hrjx7kylsh6645c9l975i8h43b-git-2.55.0/bin/git config --global --add safe.directory /var/cache/github-runner-work/quest/quest
Removing SSH command configuration
[command]/nix/store/lg46w7hrjx7kylsh6645c9l975i8h43b-git-2.55.0/bin/git config --local --name-only --get-regexp core\.sshCommand
[command]/nix/store/lg46w7hrjx7kylsh6645c9l975i8h43b-git-2.55.0/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
Removing HTTP extra header
[command]/nix/store/lg46w7hrjx7kylsh6645c9l975i8h43b-git-2.55.0/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
[command]/nix/store/lg46w7hrjx7kylsh6645c9l975i8h43b-git-2.55.0/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
Removing includeIf entries pointing to credentials config files
[command]/nix/store/lg46w7hrjx7kylsh6645c9l975i8h43b-git-2.55.0/bin/git config --local --name-only --get-regexp ^includeIf\.gitdir:
[command]/nix/store/lg46w7hrjx7kylsh6645c9l975i8h43b-git-2.55.0/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
Post job cleanup.
[command]/nix/store/lg46w7hrjx7kylsh6645c9l975i8h43b-git-2.55.0/bin/git version
git version 2.55.0
Temporarily overriding HOME='/var/cache/github-runner-work/_temp/9f6796fe-126b-41a9-a9e8-ca533c463df8' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]/nix/store/lg46w7hrjx7kylsh6645c9l975i8h43b-git-2.55.0/bin/git config --global --add safe.directory /var/cache/github-runner-work/quest/quest
Removing SSH command configuration
[command]/nix/store/lg46w7hrjx7kylsh6645c9l975i8h43b-git-2.55.0/bin/git config --local --name-only --get-regexp core\.sshCommand
[command]/nix/store/lg46w7hrjx7kylsh6645c9l975i8h43b-git-2.55.0/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
Removing HTTP extra header
[command]/nix/store/lg46w7hrjx7kylsh6645c9l975i8h43b-git-2.55.0/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
[command]/nix/store/lg46w7hrjx7kylsh6645c9l975i8h43b-git-2.55.0/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
Removing includeIf entries pointing to credentials config files
[command]/nix/store/lg46w7hrjx7kylsh6645c9l975i8h43b-git-2.55.0/bin/git config --local --name-only --get-regexp ^includeIf\.gitdir:
[command]/nix/store/lg46w7hrjx7kylsh6645c9l975i8h43b-git-2.55.0/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
A job completed hook has been configured by the self-hosted runner administrator
##[group]Run '/nix/store/gx2v6q84b0w43bafm0whkdx93qyxbpps-ci-cache-gc.sh/bin/ci-cache-gc.sh'
shell: /nix/store/1mv3qz005gkbalxfghk4y3s8ayv4d2dl-bash-interactive-5.3p15/bin/bash --noprofile --norc -e -o pipefail {0}
##[endgroup]
evicted 0 objects and 0 action results (0 B logical); 32.8 GiB logical remain
dropped 1 stale checkout records
Cleaning up orphan processes

Queue / Queue (job) failure at step Require the build to pass:

Current runner version: '2.338.2'
##[group]Runner Image Provisioner
Hosted Compute Agent
Version: 20261028.624
Commit: 54898b74c23fde5556c9b3c3a2290865feef0dfe
Build Date: 2026-10-28T21:51:42Z
Worker ID: {36fa6cd1-4aef-4c62-83d3-678a9cbb4c32}
Region: westus
Cloud: Azure
##[endgroup]
##[group]Operating System
Ubuntu
26.04.1
LTS
##[endgroup]
##[group]Runner Image
Image: ubuntu-26.04
Version: 20261101.186.1
Included Software: https://github.com/actions/runner-images/blob/ubuntu26/20261101.186/images/ubuntu/Ubuntu2604-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu26%2F20261101.186
##[endgroup]
##[group]GITHUB_TOKEN Permissions
Contents: read
Metadata: read
PullRequests: read
##[endgroup]
Secret source: Actions
Cache mode: write
Prepare workflow directory
Prepare all required actions
Complete job name: Queue
##[group]Run [[ "$RESULT" == success ]] || { echo "::error::the queue build ended $RESULT" >&2; exit 1; }
�[36;1m[[ "$RESULT" == success ]] || { echo "::error::the queue build ended $RESULT" >&2; exit 1; }�[0m
shell: /usr/bin/bash -e {0}
env:
  RESULT: failure
##[endgroup]
##[error]the queue build ended failure
##[error]Process completed with exit code 1.
Cleaning up orphan processes

(written by quest land watch)

@moq-bot

moq-bot Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

codex, gpt-6.1-sol, medium effort land fixer note:

The queue log, lines 925–928, reports:

FAIL test/init.test.ts > setup and removal preserve CRLF instructions and recognize CRLF stubs
Error: Test timed out in 5000ms.
If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout".
❯ test/init.test.ts:189:1

This PR changes only three quest Markdown files. Its scratch merge with base was conflict-free. Ran just install and just check successfully. Ran just test: 1,173 passed, four failed, five skipped. The original CRLF test passed in that run; all 50 tests in test/init.test.ts also passed separately on both the scratch merge and base.

Full validation is blocked by an independently reproducible usage assertion at test/usage.test.ts:407:77: a Claude session expected in the report is absent. The fixture assumes /work is a deleted checkout, but this runner has the real repository there. This fails on base as well, using bun run test test/init.test.ts test/usage.test.ts, and on the scratch merge using bun run test test/usage.test.ts -t "ties each session". The full suite also reported two five-second timeouts in agent/review tests and a gateway test expecting exit code 1 but receiving 3.

No evidence attributes the queue failure to this PR. No source changes, skips, or PR branch updates were made. Handing back because the required full checks could not pass.

(written by codex, gpt-6.1-sol, medium effort)

@moq-bot

moq-bot Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

codex, gpt-6.1-sol, medium effort land fixer: just check passed, but just test failed: test/usage.test.ts:407:77: AssertionError: expected [ [ 'claude', …(3) ], …(2) ] to deeply equal [ [ 'claude', …(3) ], …(3) ]; this also reproduces on base; th. Recommendation: Investigate the base/runner usage fixture collision with the real /work checkout, the gateway exit-code assertion, and agent/review timeouts; rerun just check and just test before requeueing unchanged

�[41m�[1m FAIL �[22m�[49m test/init.test.ts�[2m > �[22msetup and removal preserve CRLF instructions and recognize CRLF stubs
�[31m�[1mError�[22m: Test timed out in 5000ms.
If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout".�[39m
�[36m �[2m❯�[22m test/init.test.ts:�[2m189:1�[22m�[39m

(written by codex, gpt-6.1-sol, medium effort)

@kixelated
kixelated added this pull request to the merge queue Nov 9, 2026
Merged via the queue into main with commit bc273a3 Nov 9, 2026
6 checks passed
@kixelated
kixelated deleted the quest/m0/model-check branch November 9, 2026 20:29
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