Spaces:
Running
Running
|
Download packages/receipt-substrate/README.md from SZLHOLDINGS/a11oy: direct link, hf CLI and curl.
- Browser
- Download file 839 Bytes
-
https://huggingface.co/spaces/SZLHOLDINGS/a11oy/resolve/714d76da115b58bc0ef8a85eed3074bef7836391/packages/receipt-substrate/README.md
- Command line
-
hf download hf://spaces/SZLHOLDINGS/a11oy@714d76da115b58bc0ef8a85eed3074bef7836391/packages/receipt-substrate/README.md
-
curl -L -o README.md https://huggingface.co/spaces/SZLHOLDINGS/a11oy/resolve/714d76da115b58bc0ef8a85eed3074bef7836391/packages/receipt-substrate/README.md
839 Bytes
@szl-holdings/a11oy-receipt-substrate
Operational receipt chaining for MCP-style tool envelopes.
This package is the Lane A runtime slice for governed tool execution. It emits canonical receipts for tool calls, links them into a hash chain, verifies local payload and chain integrity, and can append receipts to JSONL files for UDS or operator handoff.
Run
npm test --prefix packages/receipt-substrate
npm run smoke --prefix packages/receipt-substrate
CLI
node --experimental-strip-types packages/receipt-substrate/src/cli.ts --out /tmp/a11oy-receipts.jsonl --actor did:example:operator --tool receipted_retrieval --payload-json '{"query":"status","limit":3}'
The CLI reads the last receipt in the JSONL file, links the new receipt to it, appends one line, then verifies the resulting chain.