Provenance reference
1 page, 6 routes, 6 connections and 0 CLI commands, generated from the declarations of Provenance without reading storage or running anything.
Code · 0 files
No ingested source sits in a crate named for this app. Either its crate has not been ingested, or the app's name does not match its crate.
Pages · 2
| Page | View id | Role | Route | Order | Parent | Entity | Navigation |
|---|---|---|---|---|---|---|---|
| Overview | provenance.index | home | /view/provenance | 0 | in navigation | ||
| Value chain detail | provenance.item | detail | /view/provenance/{chain_id} | 0 | provenance.index | ValueChain | hidden |
Connections · 6
ValueChain.Build
Chain a fab good's production (motion-trace sha256 + conduit witness + Poseidon2 chain hash) and creation (durable manufacture.create receipt) into one Merkle-linked value_chain.v1 structural witness, stored as a durable ValueChain vertex, wired into the durable provable-economy graph with `chains` lineage edges. Idempotent per fab job. Pass an optional order_id to append a settled Shop sale leaf, a value leaf (settled price ↔ STARK-proven production — proven work priced by market), and a payout leaf (the maker durably credited the proceeds, verified against their live wallet). Pass an optional case_id to append a decided courthouse verdict leaf (justice becomes provenance). Pass `lot_id` (or a `foodlot:` ref) instead of a fab job to chain a food lot: one `food_stage` leaf per lot of its Manufacture lineage (stage, lot_id, origin_ref, quantity_kg), from catch or harvest through the cooked dish, with the same sale, value and payout leaves when order_id is given.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| fab_job_id | optional | |||
| lot_id | optional | |||
| line_unit | optional | |||
| owner | optional | |||
| line_units | optional | |||
| order_id | optional | |||
| case_id | optional |
- Output keyprovenance.result
- Classificationreal
- POST /provenance/buildHTTP route
ValueChain.Get
Fetch one value chain by id.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| chain_id | required |
- Output keyprovenance.result
- Classificationroute_handler
- GET /provenance/getHTTP route
ValueChain.List
List value chains (newest first).
- Output keyprovenance.result
- Classificationroute_handler
- GET /provenance/listHTTP route
ValueChain.Status
Provenance health: value-chain count + schema.
- Output keyprovenance.result
- Classificationroute_handler
- GET /provenance/statusHTTP route
ValueChain.Verify
Independently re-verify a value chain: recompute the Merkle root + structural witness from the stored leaves and re-derive each leaf's content hash from its origin app (fab replay, manufacture SettledReceipt) — no trust in the server.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| chain_id | required |
- Output keyprovenance.result
- Classificationreal
- POST /provenance/verifyHTTP route
ValueChain.ViewPatch
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| action | optional | |||
| chain_id | optional |
- Output keyprovenance.result
- Classificationunclassified
- GET /provenance/document/patchHTTP route
Schema and data model
Declared storage and kinds. Linked kinds open their app pages.
- Authorityhyper
- Preferred truthhyper
- App ownerProvenance
- SQL projectionnone · DDL declarations: 0
- None declared.
- None declared.
- None declared.
- No model warnings were reported.
Capabilities and dependencies
- Protocol
- View
Structure review · 1
- Provenance · warningAn app with pages needs highlights and getting-started steps for its About page. (incomplete_intro)