Close architecture contracts D1–D5 (#675) - #679
Merged
Merged
Conversation
Pin canonical JSON digests, preview/publish authority, destination binding, durable completion, and cross-surface identity equality with ADR-011, golden vectors, and UnitTestsGovernedExecution proofs. Co-authored-by: michael berry <mberrys@users.noreply.github.com>
Cover every touched proof lane, map UnitTestsGovernedExecution into the core module paths, and refresh ADR-011 verification to the contract-closure SHA. Co-authored-by: michael berry <mberrys@users.noreply.github.com>
Cite the core module binding lanes and list the independent-validation stub when the governed-execution test path maps into the core subsystem. Co-authored-by: michael berry <mberrys@users.noreply.github.com>
Co-authored-by: michael berry <mberrys@users.noreply.github.com>
mberrys
marked this pull request as ready for review
September 23, 2026 01:40
mberrys
added this pull request to stack #682
September 23, 2026 01:51
…d1-d5-63c7 # Conflicts: # architecture/proof-lanes.yaml
This was referenced Sep 23, 2026
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Closes the 0.3.0 architecture decisions in #675 as contract closure and proof (not a rebuild of governed execution). Adds ADR-011,
docs/CANONICAL_JSON.md, governed-execution proof lanes, canonical JSON golden vectors, and UnitTestsGovernedExecution cases for D1–D5. Dispositions #656 as out of the D5 equality contract (plan/governed identity, not independent PDF writer bytes). Does not touch #674.Release changelog
changes/cursor-arch-contracts-d1-d5-63c7.mdProof
python scripts/agent/check-change.py --base origin/devreportspass(proof headff7b76563119980390e1a4cd0737e904007e6fac; tipd8741c4373a82fbf4b455367aac2ed917a61031b)changes/cursor-arch-contracts-d1-d5-63c7.mdfragment added (Category, Audience, Breaking-Change, Summary)UnitTestsGovernedExecutionD1–D5 cases + golden digests)No protected path is in the diff (
LoopLibCore/**,docs/schemas/**, andUnitTests/CMakeLists.txtuntouched). Contracts live underarchitecture/, docs, fixtures, and existing test TU.check-change pass excerpt
Internal logic (touched behavior-bearing code)
Anti-slop pass
anyor equivalent cast added only to suppress a type errorAnti-slop summary (1-3 sentences):
Extended existing governed-execution tests instead of adding a parallel harness. Documented Qt Compact / scalar-root exceptions beside RFC 8785 key order rather than changing digest encodings. Deferred the pre-existing
UnitTestsImageDecodeGuardcatalog gap instead of inventing a fake ownership lane.Security and rollback
d8741c4373a82fbf4b455367aac2ed917a61031b. No persistence format or public ABI changes.Docs
docs/adr/adr-011-architecture-contracts-d1-d5.md,docs/CANONICAL_JSON.md,docs/GOVERNED_EXECUTION.md)Self-review (BSP-002 §4.3)
Refs #675. Refs #638 (architecture gate). Refs #656 (D5 disposition only).
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.