Update from code changes: attestation proof enforcement + trust gate - #247
Update from code changes: attestation proof enforcement + trust gate#247mintlify[bot] wants to merge 1 commit into
Conversation
|
Skipping PR review because a bot author is detected. If you want to trigger CodeAnt AI, comment |
QWED Security Verification Report2 files scanned | 0 blocked | 0 warnings | 0 info | 0 suppressed | 2 verified Engines
Verified Files
Verified by QWED — deterministic security verification. No LLM used. |
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
Greptile SummaryDocuments the newly shipped attestation proof and trust-boundary enforcement.
Confidence Score: 4/5The documentation needs a small fix before merging because its primary proof-bearing issuance example cannot run as written. The newly added Files Needing Attention: advanced/attestations.mdx
|
| Filename | Overview |
|---|---|
| advanced/attestations.mdx | Adds proof-enforcement and trust-gate reference material, but the updated issuance example fails because its new proof expression uses undefined names. |
| changelog.mdx | Adds release notes, migration examples, telemetry guidance, and links for the attestation enforcement rollout. |
Flowchart
%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Engine result] --> B{Status is VERIFIED?}
B -- No --> C[Pass through fail-closed status]
B -- Yes --> D{Proof supplied at issuance?}
D -- No --> E[BLOCKED: VERIFIED_WITHOUT_PROOF]
D -- Yes --> F[Issue attestation JWT]
F --> G[enforce_trust_decision]
G --> H{Token valid and claims bound?}
H -- No --> I[BLOCKED]
H -- Yes --> J[Admit VERIFIED result]
Reviews (1): Last reviewed commit: "docs: document VERIFIED_WITHOUT_PROOF an..." | Re-trigger Greptile
| verified=True, | ||
| engine="math", | ||
| query="2+2=4", | ||
| proof_data=json.dumps(evidence, sort_keys=True), |
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
Summary
Document the mandatory-proof enforcement on VERIFIED attestations and the new
enforce_trust_decision()trust-boundary entry point shipped in qwed-verification#248.Changes
advanced/attestations.mdx: addedVERIFIED_WITHOUT_PROOFto the fail-closed contract (error code + status table + issuance-side subsection), and a new Enforce the trust boundary section coveringenforce_trust_decision()parameters, claims binding, and the fail-closed matrix.changelog.mdx: new top-level entry describing both the issuance rule and the consumption-side gate, with before/after snippets and rollout guidance.Context
Two sides of one boundary shipped together: the crypto layer now refuses to sign a
VERIFIEDresult withoutproof_data, and every release gate is expected to route throughenforce_trust_decision()so the attestation JWT is bound to the result (status, query hash, proof hash) before admission.