Repository navigation
Commit 4c22fbc
committed
delivery: --out-zip mode for convert-to-fixture (attachment-ready deterministic archive)
Add a second output mode to the one-command converter: --out-zip writes a
hand-built, stdlib-only ZIP (STORE-only, CRC-32 per member, fixed member
timestamps) carrying the ten records, hashes.json, and an internal
AUDIT-MANIFEST.txt. Provenance is derived from the candidate's pinned
bytes (no wall-clock, no machine-local paths), so two runs over identical
candidate bytes are byte-identical — the archive's own SHA-256 is quotable
in a submission note. The engine judges the packaged bytes before the
archive is written; the success report no longer claims the manifest
carries the archive hash (impossible self-hash) and instead instructs
pasting it into the note.
Contract tests (convert-zip.test.js, 5): system-unzip-validated green path
with engine VERIFIED on the extraction and honest audit-manifest fields;
byte-identical determinism across runs; GATE RED writes nothing; usage
errors and never-overwrite; single-byte member tamper caught by the
manifest's CRC pin. Shared candidate builder extracted to
intake-candidate.js (single source of truth for intake + zip tests).
Docs updated (intake README attachment mode, root README). Full suite 900/900.1 parent fd7e4d5 commit 4c22fbc
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
324 | 324 | | |
325 | 325 | | |
326 | 326 | | |
327 | | - | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
328 | 332 | | |
329 | 333 | | |
330 | 334 | | |
| |||
0 commit comments