Repository navigation
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs changes before merge. What this changesPreserves catalog window choices and uses runtime-specific capacity for model selection, directives, CLI attempts, and session forks. Example: Fork an openai/fork-capacity-fixture session using Codex when only its API catalog advertises 1,000,000 tokens.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Needs changes before merge - 1 item remains Keep this PR open: it repairs source-evidenced defects still present on main, and no concrete introduced bug was found; the author's explicit merge hold remains active. Priority: P2 Before merge
FindingsNone. Tests
Agent review detailsHow this fits togetherProvider catalogs supply model, route, runtime, and window metadata to selection callers, which pass qualified facts into the existing context-budget owner. flowchart TD
A[Provider catalogs] --> B[Prepared catalog owner]
B --> C[Runtime selection]
C --> D[Context budget owner]
D --> E[Directives and model pickers]
D --> F[CLI attempts]
D --> G[Session forks]
Technical reviewBest possible solution: Land the selection repair in dependency order after the explicit hold is released and failed CI gates receive a supported disposition. Do we have a high-confidence way to reproduce the issue? Current-main source exposes dropped discovery choices and native fork sizing that can consume API capacity; the author reports failing actual-parent controls, but this read-only review ran no reproduction. Is this the best way to solve the issue? Preserving declarations at their projection boundary and passing runtime-qualified facts into the existing budget owner addresses the causes without adding a competing capacity registry. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against c6d71fae0ed1. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource +130, Tests +693, Docs +5. Total +828 across 25 files. Added test files: 0. View PR surface stats
Review metrics
LabelsLabel changes: No label changes. Label justifications:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment HistoryReviewed October 10, 2026, 11:28 PM ET / October 11, 2026, 03:28 UTC (Revision 3). |
|
Thanks @RomneyDa. The still-needed part of this landed in #169792, with you credited as co-author: native context forks no longer borrow API context capacity, and an oversized native fork is rejected instead of exceeding the native window. It's a +2/-2 change verified with before/after runs plus local and native controls. The broader reporting changes here depended on APIs that main has since replaced, so the replacement kept only the fix. Closing as superseded. |
Problem and solution
Model changes and session forks could borrow capacity from the wrong runtime, while live/static catalog copying dropped declared context-window choices. Preserve the catalog declarations and carry the selected runtime, route and window into the existing budget owner. CLI and fallback candidates use their actual runtime rows; directives retain their abort and post-await authority checks.
This is a 25-file selection layer above reporting #165991. Memory flushing and cron accounting remain separate. Authored configuration continues to use its existing schema; catalog window choices are declaration metadata.
Validation
Actual-parent controls reproduced lost discovery choices (19 pass, one fail) and incorrect fork capacity (nine pass, two fail). After the repair, 175 distinct cases across ten whole suites pass. The initial composite took 293.06 seconds and preserved six CLI integration failures; the corrected caller was rerun with its affected suites in 167.02 seconds.
Production types, all 28 native test-type graphs, selected lint and the required ratchets passed on the reviewed input. Fresh complete P0–P3 review has no findings (confidence .84). All remaining planned guards pass. The native dead-export scan remains red for inherited Gateway/UI exports and the interim authored resolver; 17 relevant declaration/caller/scan-owner blobs match the actual parent and the independent cron parent. No ignore or aggregate-green claim is used.
Published head
8faf58056b8integrates actual reportingce1b2a783cfwithout conflicts. All 25 owned postimages match the reviewed selection input. Current production types (13.04s), five consuming test-type graphs (agents-other, gateway-root, plugins-platform, messaging, other), scoped lint, formatting, and diff checks pass. Earlier 175-case results remain unchanged-source evidence, not a current-head replay. Current CI retains two inherited failures: the Solid JSX import-analysis error before assertions, and canonical-descendant binding initialization. For the latter, tested merge25bbc71cb64combines reportingce1b2a783cfwith this head; all 18 traced fixture/adoption/binding/cache owners are byte-identical on incorporated main3f97b146a5a, the actual parent, and this head. Test cleanup physically deletes plugin-state rows without publishing tombstones, so later cases reuse a stale cached binding and fail before fork-budget selection. This is source-causal attribution, not an independently executed main baseline or a passing CI claim.Do not merge yet: final integrated Windows/Copilot, Windows-node interoperability and Telegram proof are pending. Prior installed core proof is prior-package evidence. Auto-merge stays disabled.