Skip to content

Expose dev-client decode diagnostics and reconcile derived response fields (#578) - #579

Merged
trissim merged 5 commits into
mainfrom
fix/mcp-shell-diagnostic-exit-20261004
Oct 4, 2026
Merged

trissim merged 5 commits into
mainfrom
fix/mcp-shell-diagnostic-exit-20261004

Conversation

@trissim

@trissim trissim commented Oct 4, 2026 •

Copy link
Copy Markdown
Collaborator

Closes #578. Final checkpoint352368e0b adds the authoritative python-introspect>=0.1.16,<0.2 floor to qualified99245d276; diagnostic production unchanged since8fbba870f.

Deleted receipt-only McpDevPayloadFailure serializer. Canonical dataclass JSON preserves receipt/errors; failure requires a cause and existing result decoder restores it through the same codec. Related pipeline/sampling/UI-action projections migrated without weakening successful or nonzero assertions. No outcome pop, raw fallback, parallel codec/status/registry or consumer leaf switch.

Parent-owned python-introspect PR10 merged/public0.1.16 at430fbbeeb6c7e0a9274d3bf9b0998a10cae5a505. All declared fields admitted; init-only constructor; supplied derived values recursively decoded and compared actual validated owner, never assigned; omission/strict extras remain. Receiving borrowed read-only fad3cbb codec SHA d2be277051b070d73503025a3addcde8016787e18a369c45b60be0c0edb65fea; source diff to finalac7 changes only version .15->.16, algorithms byte-identical. Published workflow37174368240 SUCCESS and Dewey public wheel/sdist all12files proof retained.

Parent explicitly released ONLY pyproject python-introspect floor hunk to579. Existing metadata owner control excludes .14/.15, admits .16/.17, excludes .2, exact candidate/floor proofs true: terminal0/0.19s/26444KiB/Swap0, no OpenHCS import/network/install. Coordinated directly with Root sole518 owner at #518 (comment) ; future source pin430 and broader metadata family remain Root-owned. No foreign gitlink/ObjectState requirement/installed target edited.

Actual normal dev_client.main -> persistent shell -> original McpDevClient.start/execute -> command/framing/codec -> canonical JSON -> aggregate status: four closed-peer cases PASS. Eight exact original successful native receipts yield terminal0; registered/errors0/published1/persisted proof and full status match original. Contradictory outcome, boolean outcome, extra key each yield terminal1 with visible typed ValueError/mcp_payload_invalid cause+receipt; canonical batch roundtrip preserves cause once. Only transport context/peer controlled using existing ControlledWireSession; process launches forbidden. No MCP/native/socket launch, mutation replay or science input. This is source actual-entrypoint acceptance; original merged567 live TCP native positive separate, no fresh installed.16 native claim.

Source controls20 decoder/transport+61 pipeline/sampling PASS;12 UI passed in retained mixed batch. Combined peer-codec17 controls PASS including independent derived declaration executing inherited cooperative super hooks; four CLI cases PASS5.73s/254896KiB RSS/Swap0. Initial wrong fixture flag argparse failure retained; corrected original --no-resident, no repeat17 or7GiB import. Raw complete CLI output/status archive ac9a66814f917e28f503f04de935dd51136787cb49b2e34343e0bfb6d78dcf0f. No full suite/build/installed package repeat for metadata-only change.

Original audit.Package/Repository704 parsed/0 omissions;40 full relevant ASTs+12 dependency ASTs/0 omissions; actual census538200KiB retained, no global R1 claim. Original exact-file R0 production deltas zero. NRA/audit BOUND-1/2/8+IDEN-1 guided declaration-owned codec and native/client fact separation. Original negative/AST/R0 archive SHA3f08efb97d5467f97cc10b862241e0ac774a921e47b000d94c5bad929214b776 retained. Full receipt docs/validation/mcp-shell-derived-diagnostic-20261004.rst. CI deferred; Planck Shapes geometry,522 selection/lifecycle and541 Root units untouched.

@trissim
trissim marked this pull request as ready for review October 4, 2026 03:40
Copilot AI balanced review requested due to automatic review settings October 4, 2026 03:40
@trissim
trissim merged commit eea1f25 into main Oct 4, 2026
6 of 41 checks passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

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.

Dev-client hides derived-field decode rejection behind error-free JSON and shell exit1

2 participants