Native and npm provide raw, unpinned bundle, and externally pinned bundle vouch verify through shared Rust. Only Native issues, re-executes, and gates; bundle re-execution and gate require the complete external source/input request.
Current guarantees
lispex [FILE|-]evaluates source;receiptrecords the native execution envelope;lowerandeval-graphoperate on the checked subset.- Native provides the full namespaced chain:
vouch issue, flag-freevouch verify,vouch verify --reexecute,vouch gate --require-decision, andvouch inspect. npm provides authenticated flag-freevouch verify, structuralvouch inspect, and corpusvouch replay; npm rejects issue,--reexecute, and gate before artifact I/O. - For flag-free authenticated verify, exits are 0 for authenticated and diagnostic-promotion-eligible, 10 for authenticated but diagnostic-promotion-ineligible, 1 for rejection, 2 for usage before artifact I/O, and 3 for input/output or report-publication failure. Both 0 and 10 authenticate; neither grants authority.
- The flat npm
lispex verify RECEIPTremains an unsigned structural compatibility command. It is not an alias for namespaced authenticatedlispex vouch verify. - A successful
--reexecutereport hasauthentication.statusset toauthenticated,reexecution.statusset toexecution-agreed, fixedobservation_scopecsk.vouch-complete-transcript/v0, andcomparison.current_vs_signedset toagree. vouch gaterequires all raw context paths plus--require-decision approve|deny|review|invalid-inputand--report-out. Itscsk.native-gate-report/v0separates authentication, re-execution, and gate status and records the fixed basiscsk.current-native-agreement/v0.- File and stdin identities are recorded explicitly where an artifact contract requires them.
- Use
lispex vouch policy createwith one named SPKI file, repeated explicit engine/source flags, and a new output; then usepolicy checkon the exact bytes. Success emits no stdout. Exit 2 is usage, 3 is I/O/resource/publication failure, and 1 is invalid configuration. - For Native bundle authority,
vouch verify --reexecuteandvouch gaterequire both--source RULEand--input INPUT. Missing or partial pairs are usage exit 2 before any named artifact is opened. Flag-freevouch verify --bundleremains supported authentication-only behavior in Native and npm. - Native and npm image commands use named paths:
image encode --source SOURCE --out IMAGE,image inspect --image IMAGE,image decode --image IMAGE --out SOURCE, andrun --image IMAGE. Encode requires.lspx.pngfor one page or.lspx-images.zipfor a page set. Image usage errors exit 2, validation or suffix failures exit 1, and I/O, resource, or no-clobber publication failures exit 3. - Where a Vouch command accepts source context, choose exactly one of
--source RULEor--source-image IMAGE. A source image is read under the image bound and fully proved before recovered bytes enter identity, policy, issuance, authentication, request binding, re-execution, or gate evaluation. - For pinned bundle verify, Native re-execution, and gate,
--source-image IMAGEstill requires the separately supplied--input INPUT. An unpinned bundle remains authentication-only and cannot reach execution or a grant.
Command boundaries
| Command | Reads | Writes / does not establish |
|---|---|---|
| lispex [FILE|-] | Lispex source bytes | canonical result/stdout and diagnostics; no receipt |
| lispex receipt FILE | source bytes | native execution receipt; not a Vouch differential receipt |
| lispex diff-receipt --input I RULE | checked-profile rule and datum | csk.differential-receipt/v0; not authenticity |
| lispex verify RECEIPT | receipt JSON and optional source | consistency verdict; does not re-run policy |
| lispex issue-native ... | checked-profile rule, pinned input, profile, and local PKCS#8 key handle | atomic payload, DSSE envelope, and issue report; native release binary only |
| lispex verify-native ... | DSSE envelope, consumer trust policy, source, input, profile, and expected engine context | authentication report for exact checked context; no identity, time, deployment, or policy-correctness proof |
| lispex verify-bridge REPORT | Bridge report and bound artifacts | Bridge consistency verdict; no external-engine execution |
Boundaries
- For
vouch gate, exit 0 means a live grant matched the required decision; 10 means authentication succeeded but no grant was minted; 1 means authentication rejection; 2 means usage error; and 3 means I/O, execution, or report-publication failure. A report is diagnostic output and cannot be reused as gate input.