{"kind":"x402/audit-evidence-package","profileVersion":"audit-evidence/v1","service":"audit-evidence-package","summary":"A paying agent submits the artifacts it holds plus the claims it wants to make, and receives ONE Ed25519-signed, SHA-256-reproducible evidence package: a Merkle root over the canonicalised artifact set, a grade for every assertion (SUPPORTED / PARTIAL / UNSUPPORTED / NOT-ASSESSABLE) with the basis that decided it, and a named gap for every piece of evidence that was missing.","input":{"subject":"string — what the package is about. Required.","period":"string — the period the package covers. Required.","artifacts":"list of {kind, content|content_ref, provenance, signature?, digest?}. Each is canonicalised and hashed; a declared digest that does not match the recomputed one is flagged.","assertions":"list of strings (or {assertion}) — the claims to grade against the artifacts.","attestations":"list of strings — third-party attestations to carry in the bundle.","policy":"string — optional; the package applies no policy of its own.","asOf":"string — the package timestamp (SUPPLIED, never the wall clock)."},"output":{"package_id":"string — derived from the canonical content, never random.","artifact_digest":"SHA-256 over the canonicalised artifact set.","merkle_root":"the Merkle root over the leaf hashes — order-independent, with a domain-separated leaf prefix so a leaf can never be confused with an internal node.","merkle_proofs":"per-artifact proof, so a third party can verify one artifact against the root without the set.","assertion_results":"list of {assertion, status, basis, matchedArtifacts, sharedTokens, notes}.","gaps":"list of strings — every named gap.","sha256":"SHA-256 over the canonical evidenceCore.","ed25519Sig":"Ed25519 signature over the canonical evidenceCore."},"assertionStatuses":[{"status":"SUPPORTED","rule":"at least two DISTINCT artifacts match the assertion, OR one matching artifact carries a signature (a signed artifact is stronger evidence than an unsigned one)."},{"status":"PARTIAL","rule":"exactly one unsigned artifact matches the assertion."},{"status":"UNSUPPORTED","rule":"artifacts were supplied, but NO artifact matches the assertion. The claim is in the bundle and nothing in the bundle supports it."},{"status":"NOT-ASSESSABLE","rule":"the assertion could not be assessed at all — either no artifacts were supplied, or the assertion text was empty. This is deliberately NOT the same as UNSUPPORTED."}],"matchingRules":{"tokenisation":"lower-case, split on non-alphanumerics, stop-words removed, tokens of 3+ characters only","minSharedTokens":2,"signedArtifactRule":"a single SIGNED matching artifact is sufficient for SUPPORTED; an unsigned one yields PARTIAL","note":"Matching is token overlap over the artifact's content, kind, provenance and content_ref. It is a DETERMINISTIC heuristic, not a claim that the artifact says what the assertion says. The basis names the artifacts that matched so a human can check."},"checks":["subject_present","period_present","artifacts_supplied","artifacts_well_formed","artifact_digest_computed","merkle_root_computed","merkle_root_order_independent","assertions_supplied","assertions_graded","attestations_supplied","gaps_recorded"],"honestRefusals":[{"id":"REF-AUD-001","trigger":"no artifacts were supplied","behaviour":"every assertion is NOT-ASSESSABLE (NOT UNSUPPORTED — the distinction is recorded) and a named gap records the empty evidence set. The package does not bless an empty bundle."},{"id":"REF-AUD-002","trigger":"an artifact carries neither content nor content_ref","behaviour":"the artifact is excluded from the Merkle set, named in the gaps, and its count is reported separately."},{"id":"REF-AUD-003","trigger":"an artifact carries no provenance","behaviour":"it is reported with provenance null, a named gap records it, and it does NOT contribute to any assertion's basis — but it DOES participate in the digest, so its presence is still provable."},{"id":"REF-AUD-004","trigger":"an assertion names no text","behaviour":"it is graded NOT-ASSESSABLE with the reason recorded. The engine never guesses what the assertion meant."},{"id":"REF-AUD-005","trigger":"an artifact's declared digest does not match the digest recomputed from its content","behaviour":"the artifact is reported with digestMatch=false, the mismatch is named in the gaps, and it does not contribute to any assertion's basis."},{"id":"REF-AUD-006","trigger":"no policy was supplied","behaviour":"the package records the absent policy as a named gap and does not apply any policy of its own."}],"readOnly":true,"note":"This package binds the artifacts it was given and grades the assertions against them by DETERMINISTIC TOKEN MATCHING. It does NOT assert that any artifact is TRUE, that any assertion is FACTUALLY CORRECT, that a source is reputable, or that a signed artifact was signed by who it claims. A 'SUPPORTED' grade means 'artifacts in this bundle match the words of this assertion' — nothing stronger. The bundle is evidence to be reviewed, not a verdict."}