[ { "name": "op-001-single-edit-content-address", "description": "Positive (C1): a CodingOp with one byte-range edit. The op_id MUST be BLAKE3-256 over the deterministic-CBOR encoding of the CodingOp excluding any signature, rendered unpadded base64url. Regenerated against joule-code-rs.", "op": { "alg": 1, "prior": "b3:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "edits": [ { "path": "src/lib.rs", "anchor": { "ByteRange": { "start": 0, "end": 0 } }, "replacement_hex": "70756220666e2061646428613a20693634" } ], "author": "d75a980182b10ab7d54bfed3c964073a0ee172f3daa62325af021a68f707511a", "intent": "add an add() function", "tier": "L3" }, "expected_op_id": "b3:6Ysltc7O3IupNKFXybnzyv2ot32SSLLvCQRB8AHKIdQ", "error": null }, { "name": "op-002-edit-order-canonical", "description": "Positive (C1): two edits to the same file MUST be listed in ascending (path, start) order so the canonical form is unique; the op_id is over that canonical ordering.", "op": { "alg": 1, "prior": "b3:BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB", "edits": [ { "path": "src/lib.rs", "anchor": { "ByteRange": { "start": 0, "end": 0 } }, "replacement_hex": "2f2f20686561646572" }, { "path": "src/lib.rs", "anchor": { "ByteRange": { "start": 40, "end": 44 } }, "replacement_hex": "6936344f" } ], "author": "d75a980182b10ab7d54bfed3c964073a0ee172f3daa62325af021a68f707511a", "intent": "add header and widen type", "tier": "L1" }, "expected_op_id": "b3:8kTnZfhR3BBgx2VP2_jOVImOXqkLUoSkNRSjw91j9uI", "error": null }, { "name": "op-003-overlapping-edits-rejected", "description": "Negative (C1): edits that overlap are non-canonical and MUST be rejected before an op_id is computed.", "op": { "alg": 1, "prior": "b3:BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB", "edits": [ { "path": "src/lib.rs", "anchor": { "ByteRange": { "start": 0, "end": 10 } }, "replacement_hex": "78" }, { "path": "src/lib.rs", "anchor": { "ByteRange": { "start": 5, "end": 15 } }, "replacement_hex": "79" } ], "author": "d75a980182b10ab7d54bfed3c964073a0ee172f3daa62325af021a68f707511a", "intent": "overlapping", "tier": "L1" }, "expected_op_id": null, "error": "edits_overlap" }, { "name": "op-004-unknown-alg-fails-closed", "description": "Negative (C1/C2): an unknown algorithm identifier MUST fail closed; a verifier MUST NOT guess an algorithm.", "op": { "alg": 255, "prior": "b3:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "edits": [ { "path": "src/lib.rs", "anchor": { "ByteRange": { "start": 0, "end": 0 } }, "replacement_hex": "78" } ], "author": "d75a980182b10ab7d54bfed3c964073a0ee172f3daa62325af021a68f707511a", "intent": "unknown alg", "tier": "L3" }, "expected_op_id": null, "error": "unknown_algorithm" } ]