# Content-addressing demonstration

Seven designed cases run Git hash-object and mktree in a temporary SHA-256 repository. Blob payloads and serialized tree bytes are read back and compared with independent Node crypto framing calculations. Filenames and modes change tree objects, not blob payloads.

Run `node capture.mjs --check` for offline evidence validation, `node --test capture.test.mjs` for mutation controls, and `node capture.mjs --replay` for a new native Git comparison. `--write` deliberately replaces the capture with a newly timestamped one. Node and Git are required, with SHA-256 repository support. No dependencies or network calls.

The fixture includes an exact repeat, rename, mode change, altered byte, empty payload and binary payload. All digests are complete in results.json; displayed prefixes are navigation aids, not equality checks. This demonstrates representation boundaries, not collision probabilities, authentication, physical savings, IPFS execution or crash durability.

Sources: https://git-scm.com/book/en/v2/Git-Internals-Git-Objects and https://git-scm.com/docs/git-hash-object (accessed 2026-11-18). Original Hesela harness; third-party Git code is not bundled.
