fix(spec): resolve 5 autonomous-actionable C29 findings in data-formats.md#267
Merged
Conversation
…ts.md C29 remediation turn (alternation: #147 was the C29 audit). Applies the 5 AUTONOMOUS findings from docs/audits/C29-data-formats-audit-2026-06-03.md to the identifier/canonicalization SSOT; the 4 DESIGN-Q contradictions and 3 CROSS-TRACK items are deliberately held out. - B-M1 (MED): §5.2 CBOR — replace obsoleted RFC 7049 MUST-citation with RFC 8949 §4.2 Core Deterministic Encoding (the 4 listed rules already match 8949; only the normative citation was wrong). - A-M1 (MED): §1.1/§1.2 — register the attested `device` method (multi-device-lct-binding.md:244) and restate the method list as non-exhaustive/extensible with unrecognized-method-name handling. - A-M2 (MED): §5.1 — relabel the canonicalizeJSON snippet as a NON-NORMATIVE sketch; state conformance REQUIRES a full RFC 8785 implementation (the JSON.stringify replacer-array does not recursively sort nested keys). Prose MUST unchanged. - A-L1 (LOW): hygiene — remove stray `_` and collapse multi-blank residue. - A-L2 (LOW): add References [5] RFC 8785, [6] RFC 8949, [7] RFC 5869 (HKDF), cited inline. - I1 (INFO, opportunistic): add Version/Status/Last-Updated banner. DESIGN-Q held: A-H1 scheme self-contradiction, B-H1 deterministic-salt defect (NOT corrected — bundles the operator pairwise-algorithm decision), B-M2 prefix, B-M3 W4IDp form → carry-C28/C29-design-Q. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Owner
Author
|
APPROVED: C29 remediation of web4-standard/core-spec/data-formats.md — applies the 5 autonomous-actionable findings from docs/audits/C29-data-formats-audit-2026-06-03.md (verified present) to the identifier/canonicalization SSOT. Reviewed against criteria:
Merging (admin — shared account blocks self-approval). |
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.
C29 Remediation Turn
Alternation: #147 was the C29 audit (PR #266, merged
51384aaa); this is the C29 remediation. Applies the 5 AUTONOMOUS findings fromdocs/audits/C29-data-formats-audit-2026-06-03.mdtoweb4-standard/core-spec/data-formats.md— the identifier/canonicalization SSOT thatcore-protocol.md:99and C27/C28 defer to.Single file, +18/-16. No design decisions; no cross-track edits.
Findings applied (5 autonomous + 1 opportunistic INFO)
RFC 7049MUST-citation →RFC 8949 §4.2 Core Deterministic Encoding(the 4 listed rules already match 8949; only the citation was wrong)devicemethod (multi-device-lct-binding.md:244); restate method list as non-exhaustive/extensible + unrecognized-method-name handling MUSTcanonicalizeJSONas a NON-NORMATIVE sketch; state conformance REQUIRES full RFC 8785 (theJSON.stringifyreplacer-array does not recursively sort nested keys). Prose MUST unchanged_, collapse multi-blank residueVerification
BC#5 corpus sweep confirmed attested
did:web4:<method>set = {key,web,device}; §1.2 omitteddevice. RFC 8949 §4.2 confirmed as the successor to RFC 7049 for deterministic CBOR.Scope discipline — deliberately held out
carry-C28/C29-design-Q: A-H1 (did:web4:vsw4id:pair:self-contradiction), B-H1 (§4.2 deterministic-salt defect — NOT "corrected" this turn; it bundles the operator-level pairwise-algorithm/salt-model decision), B-M2 prefix token, B-M3 W4IDp surface form.web4-lct.md:57missing method segment;errors.mdweb4://scheme; full corpus method-name registry.Session log:
private-context/autonomous-sessions/legion-web4-20260603-180050-session.md🤖 Generated with Claude Code