Repository navigation
Conversation
[CCR-20261020-001] · reviewer · anthropic/claude-sonnet-5-5→? · high · schema:2Initial review — PR #286 (work item #281)Status: REVIEW_PASSED_AWAITING_CI — head ScopeAccumulated diff FindingsNone. Observations:
Security triageNot a sensitive change: the security audit was skipped after triage. The rule did not fire (no rule is configured; defaults checked against the changed paths and the absent labels) and my own reading found no authentication, authorization, input, secret, dependency, or deployment surface. The change only widens an error-message classifier. Verification executed (this clone, sandboxed)
UnverifiedThe 62 CI (policy: parallel, read once, not waited on)All five checks of the head are Residual risks
VerdictNo blocking findings. ORCHESTRATION_RESULT (JSON)ORCHESTRATION_RESULT |
Closes #281 — #281
Diagnosis
Claude’s account session-limit response was recorded as
executor_error, which prevented the production fallback from recognizing an exhausted quota. The #243 review attempt on PR #278 reported “You've hit your session limit · resets 2:50pm” and stopped without rerouting. Before the fix,python3 -m unittest discover -s testsreproduced the classifier miss: the new session, weekly, Opus, and Sonnet cases all returned no classification (four errors).The work item’s cause was confirmed.
ClaudeAdapter.quota_markersand the shared error-token classifier lacked the specific limit wording. The invariant is that a reported exhausted usage window maps toquota, allowing the existing production fallback to reroute once; calibration runs continue to stop without rerouting.A widened search covered related items and merged work: #172/#173 and PRs #195/#205 establish the existing classification and reroute behavior; #276 concerns background verification and #280 concerns temporary-file publication, with neither sharing this cause. No other open item is addressed.
The fix recognizes Claude’s exact session, weekly, Opus, and Sonnet exhaustion messages in both classifiers. Tests also ensure incidental limit mentions and the “used 85%” warning do not become quota failures.
Work units
scripts/executors.py,docs/telemetry.mdtests/test_executors.py,tests/test_dispatch_failures.pypython3 scripts/validate-package.py;python3 -m unittest discover -s testsVerification (agent-reported)
python3 scripts/validate-package.py— passed.python3 -m unittest discover -s tests— passed; 1,613 tests.git diff --check— passed.The local verification used Python and Git on Linux, matching the Linux CI environment. Windows and installer matrix checks remain for the pushed head.
Implementation run: profile
cheap_coder, requested modelopenai/gpt-6-luna, resolved model?, efforthigh.