feat(specs): canonical-bytes diff fixture for v0.3.2#15
feat(specs): canonical-bytes diff fixture for v0.3.2#15desiorac wants to merge 1 commit intocorpollc:mainfrom
Conversation
….3.2 Production-derived test vector from ArkForge Trust Layer's Merkle-chain execution attestation code path. Covers the "root commitment verified, nested delegation silently dropped" failure class observed in two structurally different recursive-attestation systems: 1. Bilateral-delegation depth-walker (APS) 2. Merkle-chained execution attestation (ArkForge) Fixture includes: - Pre-fix (string concat) vs post-fix (canonical JSON) hash divergence - Preimage ambiguity collision proof (field-boundary exploit) - Canonical JSON immunity verification - Extended 7-field variant with upstream_timestamp All 5 verification checks pass. Targeting v0.3.2 §6.x motivating-example block alongside the inline-vector mid-May publish window. Refs: corpollc#7 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Independently verified — all 5 checks pass. ✅ Cloned the PR head locally ( The artifact is right. Three things worth pinning explicitly for the v0.3.2 spec text appendix:
Approving for the v0.3.2 inline-vector publish window. Will pre-stage the harness aggregator entry tagging this fixture as the production-derived motivating example for the depth-first proof-stripping normative MUST. When For @aeoess on the APS-side mirror: this is the natural addition to For the A2A #1786 announcement post when v0.3.2 lands: the production-derivation framing + the Looking forward to the merge alongside the v0.3.2 inline-vector publish. Tag me on the announcement when ready. — Kenne |
Summary
Production-derived pre-fix/post-fix canonical-bytes diff from ArkForge Trust Layer's Merkle-chain execution attestation code path. One fixture, two failure surfaces:
{ signature, ...rest }spread-destructure exits after top-level proof, leaving intermediate authority attestation proofs intactSame canonical-bytes diff catches both — the "class of bug, not an implementation-side artifact" pattern discussed in #7.
Fixture contents
seller+upstream_timestamp)Verification:
python3 specs/test-vectors/verify_canonical_bytes_diff.py— all 5 checks pass.Context
Per the v0.3.2 §6.x motivating-example discussion in #7 — targeting the mid-May inline-vector publish window alongside @aeoess/aps-conformance-suite mirror.
cc @kenneives @aeoess