Requirements
- Go 1.23 or later; Go 1.26 is recommended.
- GCC with C2x support.
- Clang 17 or later for sanitizer tests.
- Bash, Python 3, and curl.
Run the complete demonstration
From the repository root:- Starts a controlled origin on loopback.
- Observes one JSON representation under an explicit local-fixture policy.
- Stores the body by SHA-256 digest.
- Writes a deterministic CBOR observation envelope and JSON view.
- Verifies the evidence in Go.
- Verifies it independently in C.
- Stops the origin.
- Executes the adapter from preserved evidence only.
- Prints a result carrying native and semantic values with field-level provenance.
Run tests
Inspect artifacts
Aftermake demo:
body.ref points to immutable content-addressed evidence.
Safety note
--allow-loopback exists only for the controlled fixture. Public policy rejects loopback, private, link-local, multicast, reserved, and documentation network ranges.