You are reading documentation for 0.8.2. The latest release in the 0.8 line is 0.8.4.
Streaming Protocol Conformance Vectors
Status and use
These normative draft vectors accompany the worker wire contract.
They fix expected bytes and hashes independently of an implementation’s round trip.
Later conformance-test comments must cite docs/dev/cache-protocol-vectors.md and
the relevant heading so changed fixtures remain tied to this contract.
They do not demonstrate that a production TAR parser, SDK adapter or lifecycle has
passed qualification. Changes to the contract must update/review these vectors too.
Later conformance tests must compare both encoder and independently structured
reader/projection output against these fixed answers, not merely with each other.
All JSON tuples below use the contract’s canonical J. UTF-8 code fences contain
literal scalar values; no normalization or ASCII escaping of Unicode is implied.
A control body’s exact bytes are its tuple’s UTF-8 text plus one LF (0a), without
the documentation wrapper or code-fence markers. Hex fields describe exact bytes.
TAR physical encoders can choose different valid numeric-header padding; these
vectors fix the complete effective application trace, not a unique compressed
artifact or an invented transport digest.
Canonical scalar bytes
This tuple includes U+00E9, LF, quote, backslash and U+0001. The LF in the tuple is
encoded as six ASCII bytes \u000a; it is not the final record delimiter.
1["scalar","é\u000a\"\\\u0001",0,null]
Body including final LF, hex:
15b227363616c6172222c22c3a95c75303030615c225c5c5c7530303031222c302c6e756c6c5d0a
Raw SHA-256 of that body: 617ee6cbadeae76300d1e0efddc0bb8a7e657cdfb3e5dbca4ff30cab53d2c579.
Shared model and identity
The exact model and family projection are:
1["model",1,"maven",[".mammoth/**"],[["data",["repository/**"],[".mammoth/**"],"aggregate",null,"default",0],["metadata",["metadata/**"],[".mammoth/**"],"single-writer","A","default",0]]]
2["family",2,"vectors-",1,"maven","default","worker-tar-v2","native-metadata-v2","generation-v4","local-v2","path-policy-v1","unit-policy-v1","glob-policy-v1"]
Model ID: e8aa85638c5a93c13d1acface8b2384e353f71f7a724115f0d143780b665f04c.
Family ID: mammoth-s1-maven-466b0f535613b051d7bed2839b065148f6bdd8e7dbad7be8a64309304b5af996.
Context is ["github","example/repo","ci","42","A",1,"rev-1","maven"].
The namespace is vectors-, configured cache schema is 1, and expected model/family
are supplied independently when validating the trace. No local source paths or
native identities participate.
W1: empty file, Unicode/PAX file and empty channels
W1 contains a complete direct Maven unit at repository/g: file a is empty;
the second filename is exactly 51 consecutive U+00E9 scalars followed by .jar.
Its body is 616263 (abc). The usage channel and authorized metadata snapshot
are empty except for their explicit roots. The Unicode component is 106 UTF-8 bytes,
so USTAR cannot fit it in the 100-byte final name field; local PAX is required.
Native source time 1700000000123.875 milliseconds normalizes to
1700000000123 (the source stability check retains its own full native precision).
Effective headers and file hashes
| Ordinal | Body SHA-256 |
|---|---|
| 1 | e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 |
| 2 | ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad |
The effective headers below enter both channel/archive event accumulators. Worker v2 has no standalone header SHA or extra file-meta field.
1["header",0,"repository/g/a","file",0,420,0]
2["header",0,"repository/g/ééééééééééééééééééééééééééééééééééééééééééééééééééé.jar","file",3,420,1700000000123]
Exact local PAX body
For file ordinal 2, emit one local PAX extension named PaxHeaders/2, with the
following exact body. Its regular header can use ASCII fallback name PaxFile/2,
size 3 and integral mtime 1700000000; the admitted local path/mtime override those
effective values. Header checksum and zero padding follow the TAR profile. Neither
PAX entry contributes an application event or a managed-directory child.
PAX body byte length: 171. Raw body hex:
131343720706174683d7061796c6f61642f6167677265676174652f7265706f7369746f72792f672fc3a9c3a9c3a9c3a9c3a9c3a9c3a9c3a9c3a9c3a9c3a9c3a9c3a9c3a9c3a9c3a9c3a9c3a9c3a9c3a9c3a9c3a9c3a9c3a9c3a9c3a9c3a9c3a9c3a9c3a9c3a9c3a9c3a9c3a9c3a9c3a9c3a9c3a9c3a9c3a9c3a9c3a9c3a9c3a9c3a9c3a9c3a9c3a9c3a9c3a9c3a92e6a61720a3234206d74696d653d313730303030303030302e3132330a
PAX body represented as a canonical JSON string (the decoded bytes, without a JSON LF, are the raw PAX body):
1"147 path=payload/aggregate/repository/g/ééééééééééééééééééééééééééééééééééééééééééééééééééé.jar\u000a24 mtime=1700000000.123\u000a"
Unit projections
The exact unit-semantic input tuples, in order, are:
1["unit","maven-directory","repository/g","direct"]
2["file","repository/g/a","data",0,420,0,"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"]
3["file","repository/g/ééééééééééééééééééééééééééééééééééééééééééééééééééé.jar","data",3,420,1700000000123,"ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad"]
4["unit-end","maven-directory","repository/g"]
The exact unit-compare input tuples are:
1["unit","maven-directory"]
2["file","a",0,"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"]
3["file","ééééééééééééééééééééééééééééééééééééééééééééééééééé.jar",3,"ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad"]
Unit semantic SHA-256: 8fc2527ce60214bf21861aa120aa3f5b680da7576c1fa6fd8c1c799079940467.
Unit comparison SHA-256: b133a1fe7444c45a6546f31fd3c6baf124ad702b3ca85d37c687535435fbb169.
Complete application trace
Documentation wrappers have these meanings: ["identity",tuple] is the fixed
identity member, ["control",sequence,tuple] is one numbered control record,
["file",ordinal,header,bodyHex] is a regular payload, and ["complete",tuple] is
the fixed final member. Each file is followed by its required file-meta control.
The worker-tar-v3 archive has no directory members. No wrapper bytes enter event
digests. After complete, require the TAR ends and clean single-member gzip end, as
specified by the wire contract.
The trace fixes records, not their grouping into control batches. The reference
writer groups this trace into the members identity.json, 1.ndjson (controls 1-5),
the first file, 6.ndjson (control 6), the second file, 7.ndjson (controls 7-20)
and complete.json. Any other grouping that follows the
member grammar has the same digests.
1["identity",["identity",1,"worker-tar-v3","gzip",["github","example/repo","ci","42","A",1,"rev-1","maven"],"e8aa85638c5a93c13d1acface8b2384e353f71f7a724115f0d143780b665f04c","mammoth-s1-maven-466b0f535613b051d7bed2839b065148f6bdd8e7dbad7be8a64309304b5af996",["metadata"]]]
2["control",1,["channel-open",0,"aggregate",null]]
3["control",2,["dir-open",0,""]]
4["control",3,["dir-open",0,"repository"]]
5["control",4,["dir-open",0,"repository/g"]]
6["control",5,["unit-open",0,"maven-directory","repository/g","direct"]]
7["file",1,["header",0,"repository/g/a","file",0,420,0],""]
8["control",6,["file-meta",0,1,"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","data"]]
9["file",2,["header",0,"repository/g/ééééééééééééééééééééééééééééééééééééééééééééééééééé.jar","file",3,420,1700000000123],"616263"]
10["control",7,["file-meta",0,2,"ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad","data"]]
11["control",8,["unit-close",0,"maven-directory","repository/g",[2,0,1,0,3],"8fc2527ce60214bf21861aa120aa3f5b680da7576c1fa6fd8c1c799079940467","b133a1fe7444c45a6546f31fd3c6baf124ad702b3ca85d37c687535435fbb169"]]
12["control",9,["dir-close",0,"repository/g"]]
13["control",10,["dir-close",0,"repository"]]
14["control",11,["dir-close",0,""]]
15["control",12,["channel-close",0,[2,3,1,0,3],"34db00a2154448773feca97c2ea81e244ebfadff7203c68ce8af76786082d91c"]]
16["control",13,["channel-open",1,"usage",null]]
17["control",14,["dir-open",1,""]]
18["control",15,["dir-close",1,""]]
19["control",16,["channel-close",1,[0,1,0,0,0],"215cb7b9bfd211b0897b1a79f7e04ea8fd346e3b06a213c3e54e5332dd93568b"]]
20["control",17,["channel-open",2,"snapshot","metadata"]]
21["control",18,["dir-open",2,""]]
22["control",19,["dir-close",2,""]]
23["control",20,["channel-close",2,[0,1,0,0,0],"daa406c22667f0b626eef3d4d642862f3288aea3822392a6b4165e08018037b4"]]
24["complete",["complete",1,20,2,[2,5,1,0,3],[[0,"aggregate",null,[2,3,1,0,3],"34db00a2154448773feca97c2ea81e244ebfadff7203c68ce8af76786082d91c"],[1,"usage",null,[0,1,0,0,0],"215cb7b9bfd211b0897b1a79f7e04ea8fd346e3b06a213c3e54e5332dd93568b"],[2,"snapshot","metadata",[0,1,0,0,0],"daa406c22667f0b626eef3d4d642862f3288aea3822392a6b4165e08018037b4"]],"e6784dbf12654174b41a4723409e01a5fa196107b3319b3103d2d7a7ebc23b6f"]]
Expected channel and final values
| Channel | Counts | Event SHA-256 |
|---|---|---|
| 0 (aggregate) | [2,3,1,0,3] |
34db00a2154448773feca97c2ea81e244ebfadff7203c68ce8af76786082d91c |
| 1 (usage) | [0,1,0,0,0] |
215cb7b9bfd211b0897b1a79f7e04ea8fd346e3b06a213c3e54e5332dd93568b |
| 2 (snapshot) | [0,1,0,0,0] |
daa406c22667f0b626eef3d4d642862f3288aea3822392a6b4165e08018037b4 |
Total counts: [2,5,1,0,3]; last control sequence: 20; last payload ordinal: 2.
Final worker-events SHA-256: e6784dbf12654174b41a4723409e01a5fa196107b3319b3103d2d7a7ebc23b6f.
Raw SHA-256 of canonical complete body including LF: 6540828f20939ee67087243ad8d4937a24188aa2fbf40ff0cb200de6b755ee83.
W0: no payload files and no contributed snapshot
Use the same expected context/model/family, with snapshotPartitions empty. This pins zero-payload ordinal handling, required empty roots/channel seals and no implicit snapshot channel. Per the contract, a configured but uncontributed snapshot is not invented by the decoder; caller-side required/optional writer policy still applies. The complete effective trace is:
1["identity",["identity",1,"worker-tar-v3","gzip",["github","example/repo","ci","42","A",1,"rev-1","maven"],"e8aa85638c5a93c13d1acface8b2384e353f71f7a724115f0d143780b665f04c","mammoth-s1-maven-466b0f535613b051d7bed2839b065148f6bdd8e7dbad7be8a64309304b5af996",[]]]
2["control",1,["channel-open",0,"aggregate",null]]
3["control",2,["dir-open",0,""]]
4["control",3,["dir-close",0,""]]
5["control",4,["channel-close",0,[0,1,0,0,0],"3f6d4af04d7ce5eeb5c12709cf9a75a68e78de930605e33bcdb71e1551198fd1"]]
6["control",5,["channel-open",1,"usage",null]]
7["control",6,["dir-open",1,""]]
8["control",7,["dir-close",1,""]]
9["control",8,["channel-close",1,[0,1,0,0,0],"215cb7b9bfd211b0897b1a79f7e04ea8fd346e3b06a213c3e54e5332dd93568b"]]
10["complete",["complete",1,8,0,[0,2,0,0,0],[[0,"aggregate",null,[0,1,0,0,0],"3f6d4af04d7ce5eeb5c12709cf9a75a68e78de930605e33bcdb71e1551198fd1"],[1,"usage",null,[0,1,0,0,0],"215cb7b9bfd211b0897b1a79f7e04ea8fd346e3b06a213c3e54e5332dd93568b"]],"3ae86d97a1b114c419701af7e33b1493a9e8a968c0a0c3e3602418ce302d4a2d"]]
| Channel | Counts | Event SHA-256 |
|---|---|---|
| 0 (aggregate) | [0,1,0,0,0] |
3f6d4af04d7ce5eeb5c12709cf9a75a68e78de930605e33bcdb71e1551198fd1 |
| 1 (usage) | [0,1,0,0,0] |
215cb7b9bfd211b0897b1a79f7e04ea8fd346e3b06a213c3e54e5332dd93568b |
Total counts: [0,2,0,0,0]; last control sequence: 8; last payload ordinal: 0.
Final worker-events SHA-256: 3ae86d97a1b114c419701af7e33b1493a9e8a968c0a0c3e3602418ce302d4a2d.
Raw SHA-256 of canonical complete body including LF: 16a5d640255f6928232d6f2468dc3d0c8aa9dd85ec328a8122682651c72f7b57.
Ordinary-file reduction vectors
Configuration order normalization is normative: ["A","B","A","C"] becomes
["A","B","C"], not a sorted list and not a configuration error. Optional jobs
added only for snapshot lookup do not enter this ordinary order.
Aliases X, Y and Z below name SHA-256 of one-byte bodies 78, 79 and 7a,
respectively. Candidate tuples are [producer,hash,size,mtimeMs,mode]; modes are
decimal. The expected result tuples are ["selected",producer,hash,size,mtimeMs,mode]
or ["error",producer,reason] at the first rejected fold step. Reason labels are
vector descriptions, not a new public error API. Input candidate listing order does
not replace the explicit ordinaryOrder field.
X = 2d711642b726b04401627ca9fbac32f5c8530fb1903cc4db02258717921a4881; Y = a1fce4363854ff888cff4b8e7875d600c2682390412a8cf79b37d0b11148b0fa; Z = 594e519ae499312b29433b7dd8a97ff068defcba9755b6d5d00e84c524d67b06.
Each following row is [name,duplicatePolicy,ordinaryOrder,candidates,expected]:
1["strict-different","strict",["A","B","C"],[["A","2d711642b726b04401627ca9fbac32f5c8530fb1903cc4db02258717921a4881",1,10,420],["B","a1fce4363854ff888cff4b8e7875d600c2682390412a8cf79b37d0b11148b0fa",1,20,420],["C","2d711642b726b04401627ca9fbac32f5c8530fb1903cc4db02258717921a4881",1,30,420]],["error","B","different-content"]]
2["tie-before-newer","newer-mtime",["A","B","C"],[["A","2d711642b726b04401627ca9fbac32f5c8530fb1903cc4db02258717921a4881",1,10,420],["B","a1fce4363854ff888cff4b8e7875d600c2682390412a8cf79b37d0b11148b0fa",1,10,420],["C","594e519ae499312b29433b7dd8a97ff068defcba9755b6d5d00e84c524d67b06",1,20,420]],["error","B","different-content-equal-time"]]
3["newer-first","newer-mtime",["C","A","B"],[["A","2d711642b726b04401627ca9fbac32f5c8530fb1903cc4db02258717921a4881",1,10,420],["B","a1fce4363854ff888cff4b8e7875d600c2682390412a8cf79b37d0b11148b0fa",1,10,420],["C","594e519ae499312b29433b7dd8a97ff068defcba9755b6d5d00e84c524d67b06",1,20,420]],["selected","C","594e519ae499312b29433b7dd8a97ff068defcba9755b6d5d00e84c524d67b06",1,20,420]]
4["equivalent-union","strict",["A","B","C"],[["A","2d711642b726b04401627ca9fbac32f5c8530fb1903cc4db02258717921a4881",1,10,420],["B","2d711642b726b04401627ca9fbac32f5c8530fb1903cc4db02258717921a4881",1,10,493],["C","2d711642b726b04401627ca9fbac32f5c8530fb1903cc4db02258717921a4881",1,20,420]],["selected","C","2d711642b726b04401627ca9fbac32f5c8530fb1903cc4db02258717921a4881",1,20,493]]
5["equivalent-time-tie","strict",["A","B"],[["A","2d711642b726b04401627ca9fbac32f5c8530fb1903cc4db02258717921a4881",1,10,420],["B","2d711642b726b04401627ca9fbac32f5c8530fb1903cc4db02258717921a4881",1,10,493]],["selected","A","2d711642b726b04401627ca9fbac32f5c8530fb1903cc4db02258717921a4881",1,10,493]]
6["mode-does-not-resurrect","newer-mtime",["A","B","C"],[["A","2d711642b726b04401627ca9fbac32f5c8530fb1903cc4db02258717921a4881",1,10,493],["B","a1fce4363854ff888cff4b8e7875d600c2682390412a8cf79b37d0b11148b0fa",1,20,420],["C","2d711642b726b04401627ca9fbac32f5c8530fb1903cc4db02258717921a4881",1,30,420]],["selected","C","2d711642b726b04401627ca9fbac32f5c8530fb1903cc4db02258717921a4881",1,30,420]]
7["older-difference","newer-mtime",["A","B"],[["A","2d711642b726b04401627ca9fbac32f5c8530fb1903cc4db02258717921a4881",1,20,493],["B","a1fce4363854ff888cff4b8e7875d600c2682390412a8cf79b37d0b11148b0fa",1,10,420]],["selected","A","2d711642b726b04401627ca9fbac32f5c8530fb1903cc4db02258717921a4881",1,20,493]]
The A/B same-time different-content failure stays rejected despite C’s newer payload. With C first, the same candidates can succeed, matching configured-order folding. Equivalent-time ties keep the earlier producer; equivalent content unions executable bits. The mode-resurrection case must end at 0644, not 0755: earlier X bits were discarded when Y replaced that accumulator, and cannot be unioned back against final X. Always selecting C and comparing everything only against C would get rejection or mode handling wrong.
Invalid framing and binding vectors
Pairing/hash/control/fold vectors fix the application contract. Raw TAR/PAX/gzip rejection cases below target the current candidate physical profile; their exact necessity and enforcement remain under the parser investigation. They do not independently select a parser extension. A reviewed physical-profile change must update those cases explicitly, preserving required integrity and memory invariants; an existing parser’s permissive success alone is not such a decision.
Apply each mutation independently; none may produce an accepted contribution or live installation. An invalid operation may fail early; all accepted losing inputs must still have complete body/hash/seal verification.
| Input/mutation | Required rejection point |
|---|---|
| W1 omit control 6 (file 1 metadata), deliver the next file header | Metadata-required state, before accepting/advancing the pending file. |
| W1 control 6 has ordinal 2 or file 2’s contentSha | Exact pairing/binding check. |
| W1 use worker-tar-v2 identity or six-field file-meta | Profile/tuple arity admission rejects before a valid contribution. |
W1 deliver a directory member, for example payload/aggregate/repository/ |
Strict member type check; worker-tar-v3 has regular payload files only. |
W1 name the batch with controls 7-20 8.ndjson |
Control member name check, from the scalar sequence before its first record. |
W1 put the complete record in the last batch, or a second record in identity.json |
Fixed members hold exactly their one record; batches hold neither. |
| W1 an empty batch, or a batch whose last record lacks its final LF | Bounded record framing, before any record of that batch is accepted. |
| W1 change a valid header time, preserve stale channel/archive seals | Header remains bound in both accumulators even without standalone header SHA. |
W1 replace body 616263 with 616264, retain file-meta |
Body hash mismatch immediately at its metadata, even when that file loses. |
| W1 mutate unit count/bodyBytes or final eventSha | Unit or final seal check; provisional staging does not authorize installation. |
Canonical scalar uses \n, whitespace, ASCII escape for U+00E9 or missing final LF |
Noncanonical control encoding/framing, even if generic JSON decodes the same value. |
| Local PAX raw header declares size 65,537; no extension body supplied | Raw-header admission, before extension body allocation/accumulation. |
| Two local PAX headers, a global PAX header, or a PAX header before a control | Strict type/order/provenance check before normalized entry acceptance. |
PAX record 11 path=one\n |
Length/framing mismatch; never partial object success. |
| Nonzero padding or missing two TAR end blocks | Raw parser framing check. |
| Two valid gzip members concatenated | First-member boundary/trailing-input check; permissive gunzip EOF is insufficient. |
Duplicate-PAX-key raw body, hex (two individually valid path records):
1313220706174683d6f6e650a313220706174683d74776f0a
Reject at the second raw key, before overwriting a normalized object property. The same body represented as a canonical JSON string is:
1"12 path=one\u000a12 path=two\u000a"
These vectors require the raw parser interface described in the parent document; stock normalized entry callbacks do not qualify. Parser proof must additionally exercise split headers/lengths/UTF-8, over-limit queued chunks and bounded multi-reader backpressure. Normative answers are documentation fixtures, not production parser or full lifecycle test results.
N0: raw worker artifact naming
Use the active Maven model/family and context above. The original genuine survivor
index has observation Q SHA of64 a characters; selected snapshot IDs are
["metadata"]. This is an identity projection vector, not permission to construct
an owner from a hash. SHA-256/U64BE framing independently gives:
1producerSha = 7bc0bf858d916f802423c244043963037a23be107d90ccbebeeed37f091cebb5
2decisionSha = fdf7860d24ea9a9c72d24be05abf152c1a5c23db8e4a88dbb24bf23fd7031692
3name = mammoth-s1-maven-466b0f535613b051d7bed2839b065148f6bdd8e7dbad7be8a64309304b5af996-w7bc0bf858d916f802423c244043963037a23be107d90ccbebeeed37f091cebb5-a1-dfdf7860d24ea9a9c72d24be05abf152c1a5c23db8e4a88dbb24bf23fd7031692.tar.gz
Changing runAttempt changes its decimal name segment, not producerSha. A different observation or snapshot selection changes decisionSha. The actual outgoing function requires the genuine completed GC owner and exact context before reading these facts. Compressed package/download/read SHA and strict full worker validation remain separate.
P0: frozen purge configuration
Canonical model (no LF in the framed model digest):
1["model",1,"maven",[".mammoth/**"],[["data",["data/**"],[".mammoth/**"],"aggregate",null,"default",0,["data/*.tmp"]]]]
Model ID: 1af7f00459531ee214786c73d330bf6155a771fa44297d239853b8e46259b85f. The final nonempty purge list is part of the existing model
identity; omission represents no purging. Preserve-only exclusions remain distinct,
even when the upload exclusion union would be identical. No separate policy Q exists.
A0: CI invocation anchor
Each code line below has one terminal LF. The hash covers those exact UTF-8 bytes, including LF; it is a raw SHA-256, not a new framed protocol digest.
enabled
1["streaming-lifecycle",2,"/cache",["native",1,"directory","1","3","0",16877,"-1","0","1",null],["github","example/repo","ci","42","A",1,"rev-1","maven"],"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",["/.mammoth.4f7cfe6fcd4203100d7e7c34b9355ddd31efcffc1d874babf3a55372c970f069",["native",1,"directory","1","4","0",16832,"-1","0","1",null]]]
Raw SHA-256: 7a5db12842dc6c3b6b268c8c808157f9f730bdf03c350e9f1ee5f345d240ab6c.
disabled
1["streaming-disabled",1,["github","example/repo","ci","42","A",1,"rev-1","maven"],"/cache","/temp"]
Raw SHA-256: 26bce7753dbeb3164291194e24c642c72f839690788f179bc18776dcd904b5a0.
G0: operational Gradle records
Canonical records include terminal LF; raw digests include it. Registration filenames
use the existing framed H("gradle-installation",record) over J without LF. The tab in
the registration path must use \u0009, never the JSON short escape \t.
registration
1["gradle-installation",1,"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","/tools/Gradle é\u0009control","9.9.2","/cache home","/tools/jdk"]
Raw SHA-256: fbf883852ee898196dceb36357600f5c247e8875d6f191a339b00b524dcd614b.
Filename: 645b0dc68cf6e7ef04073bb864fd688d2245aacdeecbcf71fb1d492dcba9cc0c.json.
failure
1["gradle-capture-failed",1,"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"]
Raw SHA-256: 449e1a83deaf1cb2cf57051f9a81aa2fa9a6b08ce0356fc85dda5a32fa1c45b8.
Generic local directory insertion
The new local install-unit descriptor uses the existing canonical record encoding; this does not change worker archive framing. Its exact UTF-8 bytes are the following ASCII JSON followed by one LF (no spaces):
1["install-unit-open", "directory", "repository/new", "subtree"]
SHA-256 of those bytes including LF:
6cb4d1c444a391b9be44b31e9f7ff1291742c02f78d3192a53d41b5a9c120a25.
The matching close is ["install-unit-close","directory","repository/new"] plus LF.
These are record fragments, not a valid empty unit: exactly one matching directory
insert and its full source evidence are mandatory, as specified in the
local install contract.
M2: metadata-only base and local pin
These vectors describe the active incompatible metadata reader/writer/handoff cut.
Worker TAR grammar remains v2; family v2 and generation-v4 change the family and all
family-derived identities. Object identities carry the partition compatibility key. Model/prefix/schema are
the existing Maven model vector, vectors-, and 1.
Family:
1mammoth-s1-maven-466b0f535613b051d7bed2839b065148f6bdd8e7dbad7be8a64309304b5af996
Exact descriptor (canonical UTF-8 JSON plus one LF), followed by its object-ref:
1["base-object",2,"native-metadata-v2",["mammoth-s1-maven-466b0f535613b051d7bed2839b065148f6bdd8e7dbad7be8a64309304b5af996","5b70c96318e24c145bb902e5be076037c49bb99e370816b173353d69ebc6d47a","data","aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"]]
2["object-ref",["mammoth-s1-maven-466b0f535613b051d7bed2839b065148f6bdd8e7dbad7be8a64309304b5af996","5b70c96318e24c145bb902e5be076037c49bb99e370816b173353d69ebc6d47a","data","aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"],"mammoth-s1-maven-466b0f535613b051d7bed2839b065148f6bdd8e7dbad7be8a64309304b5af996-r-aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-w-aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-p-data-d-aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",400,"5086254f761ab8e03ec41a803035eb81fefc6228ca93f197398e29d1f315d4f1"]
The descriptor has 400 bytes. Its SHA binds this control document only, with no payload membership/content assertions. Exact generation-v4 record (the final reserved sweep timestamp is unset; the empty entry carries its compatibility key):
1["generation",4,"generation-v4","mammoth-s1-maven-466b0f535613b051d7bed2839b065148f6bdd8e7dbad7be8a64309304b5af996","e8aa85638c5a93c13d1acface8b2384e353f71f7a724115f0d143780b665f04c","aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",[["object","data",["object-ref",["mammoth-s1-maven-466b0f535613b051d7bed2839b065148f6bdd8e7dbad7be8a64309304b5af996","5b70c96318e24c145bb902e5be076037c49bb99e370816b173353d69ebc6d47a","data","aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"],"mammoth-s1-maven-466b0f535613b051d7bed2839b065148f6bdd8e7dbad7be8a64309304b5af996-r-aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-w-aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-p-data-d-aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",400,"5086254f761ab8e03ec41a803035eb81fefc6228ca93f197398e29d1f315d4f1"]],["empty","metadata","47a83b8c57cf5257c53dbe62b478ee7a2282adb8ea1f4caed5f50ac1578412c9"]],[["data"],["metadata"]],"3cc3919ec4445a92b3340c9e9458fb2c851d8cb42d4b8fe621a0a57259fd0a09","mammoth-s1-maven-466b0f535613b051d7bed2839b065148f6bdd8e7dbad7be8a64309304b5af996-r-aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-g-aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-d-3cc3919ec4445a92b3340c9e9458fb2c851d8cb42d4b8fe621a0a57259fd0a09",null]
For the local Unix summary, frame the profile, then the directory and file rows
below in the partition-native-metadata digest domain. Root directory metadata
and directory close do not add frames. File content is not an input.
1["native-metadata-summary",1,"unix-mode-0777","native-mtime-ns","files-first-utf8-dfs"]
2["directory","repository",493]
3["file","repository/a.jar",3,"1000000000",420]
4["partition-metadata",1,"5c3a86e03c9862757616c819182b753a8c2fd95b13edfc0fe78949820f22f94b",1,1,3]
The pin binds invocation a repeated 64 times and the exact admitted materialized
object before overlays. It has no file list:
1["pinned-partition-metadata",2,"local-v2","aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","mammoth-s1-maven-466b0f535613b051d7bed2839b065148f6bdd8e7dbad7be8a64309304b5af996","e8aa85638c5a93c13d1acface8b2384e353f71f7a724115f0d143780b665f04c","data",["object-ref",["mammoth-s1-maven-466b0f535613b051d7bed2839b065148f6bdd8e7dbad7be8a64309304b5af996","5b70c96318e24c145bb902e5be076037c49bb99e370816b173353d69ebc6d47a","data","aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"],"mammoth-s1-maven-466b0f535613b051d7bed2839b065148f6bdd8e7dbad7be8a64309304b5af996-r-aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-w-aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-p-data-d-aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",400,"5086254f761ab8e03ec41a803035eb81fefc6228ca93f197398e29d1f315d4f1"],["native-metadata-summary",1,"unix-mode-0777","native-mtime-ns","files-first-utf8-dfs"],["partition-metadata",1,"5c3a86e03c9862757616c819182b753a8c2fd95b13edfc0fe78949820f22f94b",1,1,3]]
H2: minimal successful-main handoff
This ordered data handoff has two missing partitions, no baseline generation and no snapshot payload. Only the actual activity stream remains per file until post. Native/index/GC authority is freshly admitted and is never encoded here. Exact handoff framing plus its Q (each record is canonical JSON plus LF):
1["local-stream",1,"handoff","7ca0244a1b6d0e46ff8e799981e395ab96b10b620463b3b6071874ec46472299","e8aa85638c5a93c13d1acface8b2384e353f71f7a724115f0d143780b665f04c","mammoth-s1-maven-466b0f535613b051d7bed2839b065148f6bdd8e7dbad7be8a64309304b5af996",null]
2["handoff",4,"refs/heads/main",null,null,7,"enabled",null,null,["ref","activity",".mammoth/v1/7ca0244a1b6d0e46ff8e799981e395ab96b10b620463b3b6071874ec46472299/files/activity",369,"82ca82a22b794a34e2d438345c1621433d62c860bd66f4641c889d2d20d963a9"],1234,0,null]
3["partition","data","miss",null,null]
4["partition","metadata","miss",null,null]
5["local-end",3,"467282b10ea9a6f2f6cd68e6d498faa9d47f8ed8f82325c89a4dcdf936bd9109"]
6["ref","handoff",".mammoth/v1/7ca0244a1b6d0e46ff8e799981e395ab96b10b620463b3b6071874ec46472299/files/handoff",675,"0d528a23005d83d799b5a617ed138cf04852523c553aad0c442f456b8d2ddfa6"]
The activity Q names this exact empty activity stream:
1["local-stream",1,"activity","7ca0244a1b6d0e46ff8e799981e395ab96b10b620463b3b6071874ec46472299","e8aa85638c5a93c13d1acface8b2384e353f71f7a724115f0d143780b665f04c","mammoth-s1-maven-466b0f535613b051d7bed2839b065148f6bdd8e7dbad7be8a64309304b5af996",null]
2["dir-open",""]
3["dir-close",""]
4["local-end",2,"d05fd8f38b7c94f3d40f33507559362908b0ce4be7954734e9ae83c4badf7afa"]