Repository navigation
P244: derive the commander matrix and red cutover gate from declarations - #1992
Conversation
Resumed after installed-main restartPushed67bbee079. Merged installed mainb793c7325 normally; no history rewrite, merge to main or installation. Checkout is clean. Concrete repair
Existing refactor-audit AST inventory:386 production/488 test/38 tool modules, zero omissions. The stored phase declaration is now exactly one, This batch adds no production lines (four added/four removed across the field move and later metadata corrections). Adds34 test lines. Existing FieldCodec still owns default omission and decoding. The new actual-store checks cover an unordered finding through PlanIdle, serving it via CommsOrderServeTool, and preserving the closed cutover gate. Unordered/folded/checked defaults remain omitted on wire and explicit phase choices round-trip through ProblemOrder. Results
Remaining: real per-row comparisons/copy-root runner and source-growth replacement/deletion. Inspected the shared context owner's newer#1967; did not introduce another root selector or consume an incomplete dependency in this checkpoint. CheckRoot historical claim closure is still separate from cleanup-only#1995. Nothing here establishes that protocol repair, complete parity, a successful shadow session or installed acceptance. Receipts: |
…l plane The story and the commander page follow the switch; they never gated it. Parity joins this list when #1992 lands. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
e3dc64f to
ba9a323
Compare
First live row — pushed 4f12247 at 20:37:501/34 rows verified in the live run: row17, reporting-only load and live forks. The all-row command exits1 because the other33 comparisons remain unverified. This does not open Cutover or write a permanent passing status. Actual installed CLI The installed CLI already delegates measurement to the native
Assumed: this is one live reporting comparison, not all-row parity, full shadow-run acceptance, scheduler/fork policy delivery, or installed P244. Runtime cutover evidence still refuses until the full comparison work is accepted. P244 remains draft while33 rows are unfinished; SourceLines alone is not a blocker under ruling3617. No merge-main or format-only/budget-only commit. Receipts: |
d862882 to
30f2235
Compare
63ed6ca to
21f5780
Compare
30f2235 to
a712e08
Compare
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
|
Ready for review at a214932, rebased onto requested main15ba6edce. Final 23 tests passed under timeout300, launched in the background. Separate final ratchets: tools0; src1 solely permitted SourceLines+763, no introduced findings. Required snapshots now use existing FileRevision.from_stat; missing observations surface as errors rather than nullable copies or swallowed failures. IMPORTANT: this is a fail-closed gate checkpoint, NOT full parity acceptance. Only the previously demonstrated load-report comparison has live proof (1/34); 33 remain unfinished and cutover stays blocked. The latest combined validation call was interrupted: source receipt was retained, live.json was not; that uncertain live invocation was not retried. Merger owns rehearsal/install. Receipts: /home/ts/.cache/agent-scratch/pi-plan-claims/p244-ready/{final-tests.log,final-tests.exit,final-src.json,final-tools.json}. No installation or P244 completion claimed. |
a214932 to
6ee1708
Compare
|
After #1928 landed: retargeted this PR to main and rebased onto installed16ecfb5c6, keeping main’s phase/merged-order implementations and dropping superseded intermediate changes. New pushed head6ee1708a57345642c7aabc018e5b64be1176f001 is ready and MERGEABLE. Exact-head background timeout300 check:22 tests passed. Separate src/tools ratchets both0 against16ecfb5c6, positive deltas{} and introduced findings{}. Scope remains the fail-closed gate checkpoint: only1/34 prior live comparisons proved,33 unfinished; no full parity or cutover authorization. Original ready event was before22:10. Receipts: /home/ts/.cache/agent-scratch/pi-plan-claims/p244-ready/post216-{src.json,tools.json,tests.log}. |
P244 first working checkpoint — unfinished, do not merge
Stacked on feat/shared-plan-claims (#1928 / 1220a91), with current installed main 6a0f5e9 integrated normally. No push to #1928 in this turn.
ParityPhase is now declared in plan_phases.py. Cutover.after is exactly (RecordPlanePhase, ReviewQueuePhase, ControlPlanePhase, ParityPhase). ParityPhase.done derives from every registered ParityRow.compare result. All comparisons are explicitly unverified today, so the gate stays red. No completion boolean or parallel result store exists.
The row declarations are the only editable owner of number/capability/current/native/phase attribution.
python -m agent_comms.commander_parityrenders the matrix;--plan plans/commander-native-plan.mdrenders the full document without modifying the source. The Markdown is checked against that generated output. No ParityMatrix.read, environment/HOME rewrite, path-overridden config, patch file or evidence report was added.Generated matrix diff
doneentry. Phases render from actual phase classes and are attribution, not completion prerequisites.Actual application and checks
Read-only Core opened the real commander history (262 retained orders): every row unverified; ParityPhase.done=False; Cutover.ready=False; Cutover.after includes parity. No original order, source session, uncertain input or runtime state was changed.
10 focused tests passed: exact generated-plan equality, all-row completion aggregation, Markdown not used as runtime input, phase/view behavior and the import-cycle regressions. Controlled matching comparisons in the aggregation test are not claimed as workflow parity. Initial test invocation lacked its scratch parent; after creating it, all10 passed. Existing pytest timeout-config warning remains.
Ruff/Black pass for the new package. Focused mypy reports only the inherited plan_phases.py ProblemOrder.serves finding (also on the base); no new type increase. Existing refactor-audit AST parser: before383 production/485 tests/37 tools; after386/486/37; zero parse omissions. ParityRow owns discovery, matrix output and row aggregation; ParityPhase delegates to it. No dynamic-reference behavioral proof is inferred from AST.
Both ratchets versus the stacked base1220a914f exit0, no positive keys. This range includes newly integrated main commits and their existing budgets; this is NOT permission to hide the main-relative result:
No budget or baseline was changed by this worker. Main-relative acceptance remains failed.
Own checkpoint diff:503 added /39 removed across seven files. This is a useful red-gate checkpoint, not finished parity.
Remaining work
Real per-row native/current comparisons are not implemented. The copied-root runner has NOT been recreated with environment tricks. Existing root defect is commander/order.py:51-54's import-time CONFIG/COMMANDER/ME/COMMS; the shared fix is the existing #1912 CommanderContext owner, not a second root-selection mechanism. No failing dependency branch has been merged here. No source budget was authorized or inserted. P244 is not delivered, merged or installed.
Assumed: this PR remains stacked until #1928 lands, then should retarget main. The canonical P244 checkout path does not exist because the existing P1 checkout was reused; Core's order body writer supplies the immutable identity from that retained P244 order for this draft, without creating another checkout or changing custody.
Agent-Comms-Order: b4c95cbf68d7