Repository navigation
Description
Description
Integrate veriq as the first producer of calc evidence (calc: binds, formerly veriq:): a Python-side export of each verification's definition-level upstream subgraph (reviewable raw sources, declared inka assumption IDs, leaf results and validity); the inka argument itself as the shared assumption registry; set-style aggregation of the assumption set over the upstream subgraph, deduplicated by ID; the bind hash's assumption slot filled with the assumed nodes' descriptions; assumptions as implicit dependencies in the established fixpoint; assumption-set diffs presented at bind approval. Rust never parses Python — the calc evidence JSON is the entire seam.
The name calc: is producer-independent: veriq comes first, graphcal (#44) could follow with the same wire format.
Closing conditions
- The veriq export is consumed by eval
- The bind hash's assumption slot is populated
- Assumption-set diffs are shown at bind approval
Sub-issues (in working order)
- calc evidence: design document, spec changes and wire format #211 — design document, spec changes and wire format (
calc-evidence-v1) - calc evidence: rename the veriq: bind property to calc: with Scope::?name references #205 — rename
veriq:→calc:withScope::?namereferences - calc evidence: shared model, validation and builder in inka-evidence #206 — shared model, validation and builder in
inka-evidence - calc evidence: veriq producer (inka_evidence.veriq / inka-evidence-veriq) #207 — veriq producer (
inka_evidence.veriq/inka-evidence-veriq); needs feat: accept user metadata dict in node decorators and plumb it into the IR veriq#276 and feat: definition-level upstream subgraph API (deduplicated quotient of the leaf graph) veriq#277 - calc evidence: load-time consumption, interface hash and assumption edges in check #208 — load-time consumption, interface hash and assumption edges in
check - calc evidence: evaluate calc binds and fill the bind hash's assumption slot #209 — evaluate calc binds and fill the assumption slot (closes conditions 1 and 2)
- calc evidence: present assumption sets and their diffs at bind approval #210 — present assumption sets and their diffs at approval (closes condition 3)
The confirmed design decisions (2026-11-06) are recorded in each sub-issue; the design document from #211 becomes the source of truth once merged.
Supplementary information
Covers the poc-plan out-of-scope item "veriq integration" (full-plan capability area 7). The PoC bind hash uses an empty assumption slot by design; test: binds keep it empty, so the frozen inka:bind:v1 layout and its vectors are unchanged. Earlier wording of this issue mentioned "contract hashes from normalized ASTs"; that was dropped — inka hashes the raw sources (CRLF→LF only), as it does for test evidence.
Activity