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/b8265a47e0c90809e0353c4133550684e7fdc082/packages/receipt-substrate/README.md
- Command line
-
hf download hf://spaces/SZLHOLDINGS/a11oy@b8265a47e0c90809e0353c4133550684e7fdc082/packages/receipt-substrate/README.md
-
curl -L -o README.md https://huggingface.co/spaces/SZLHOLDINGS/a11oy/resolve/b8265a47e0c90809e0353c4133550684e7fdc082/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 | |
| ```bash | |
| npm test --prefix packages/receipt-substrate | |
| npm run smoke --prefix packages/receipt-substrate | |
| ``` | |
| ## CLI | |
| ```bash | |
| 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. | |