Receipt evidence bundle
Turn verified runx receipt results and optional public artifact links into a reviewer-safe evidence bundle with lineage, authority, gaps, actions, and redaction notes.
You’re reading version sha-fb418b763af7. Go to the current version
Overview
Build a reviewer-safe packet from one or more runx receipt references. The
caller verifies each receipt with runx verify --receipt <file> --json and
passes the resulting verdict and receipt shape in verification_results.
This skill checks that every requested reference has a valid verification
result, extracts checkable lineage and authority facts, records bounded
inferences and missing evidence, and recursively redacts secret-bearing fields.
In the manual
Runner
bundle
Declared by its execution profile. Read the profile
SKILL.md
Receipt Evidence Bundle
Build a reviewer-safe packet from one or more runx receipt references. The
caller verifies each receipt with runx verify --receipt <file> --json and
passes the resulting verdict and receipt shape in verification_results.
This skill checks that every requested reference has a valid verification
result, extracts checkable lineage and authority facts, records bounded
inferences and missing evidence, and recursively redacts secret-bearing fields.
When to use this skill
Use it during payout, merge, incident, or compliance review when a human needs
one compact packet explaining what receipts prove and what still needs manual
inspection. Optional artifact_links can bind source, report, PR, registry, or
other public evidence to the same review.
When not to use this skill
Do not use it to mint, repair, sign, or reinterpret a receipt. It does not make
an invalid receipt valid, fetch private payloads, assume authority from prose,
or replace runx verify. It has no network or mutation authority.
Procedure
- Require at least one receipt reference in
receipt_refs. - Accept only
runx:receipt:<id>orsha256:<64 lowercase-or-uppercase hex>reference shapes. - Require one verification result per reference.
- Refuse the run if any result is missing, unverifiable, invalid, or does not
expose
schema: runx.receipt.v1. - Redact sensitive keys and token/private-key patterns before deriving facts.
- Extract receipt id, state, disposition, lineage, authority identity, grant digest, and admitted scopes when those fields are present.
- Separate direct facts from bounded lineage inferences.
- List missing evidence instead of filling gaps with assumptions.
- Return explicit reviewer actions, including replayable verify commands.
Redaction contract
Fields whose names contain password, secret, token, authorization, cookie,
private key, seed phrase, or credential are replaced with [REDACTED].
Bearer tokens, common provider token prefixes, and PEM private keys are also
removed from free text. Optional redaction_terms add caller-supplied literal
values to remove. The output records the redacted JSON path and reason but never
copies the removed value.
Refusal and stop conditions
- Missing or empty receipt references: fail.
- Malformed receipt reference: fail.
- Missing verification result: fail.
- Verification verdict other than valid: fail.
- Receipt schema other than
runx.receipt.v1: fail. - Incomplete but valid receipt: succeed while naming the gap in
missing_evidence.
Output
The runner emits runx.receipt_evidence_bundle.v1 with:
summary: human-readable bundle result.verdict:verifiedafter every receipt passes the verification gate.receipt_count: number of verified receipts.verified_facts: facts copied from sanitized verified receipts.inferred_facts: bounded relationships derived from supplied facts.missing_evidence: gaps a reviewer must not assume away.reviewer_actions: replayable verification and inspection steps.redactions: paths and reasons for removed sensitive material.artifact_links: sanitized optional public evidence supplied by the caller.
Example
runx skill ./skills/receipt-evidence-bundle \
--input-json receipt_refs='["runx:receipt:parent","runx:receipt:child"]' \
--input-json verification_results='[{"receipt_ref":"runx:receipt:parent","verdict":"valid","receipt":{"schema":"runx.receipt.v1","id":"runx:receipt:parent","state":"sealed"}},{"receipt_ref":"runx:receipt:child","verdict":"valid","receipt":{"schema":"runx.receipt.v1","id":"runx:receipt:child","state":"sealed","parent_receipt_id":"runx:receipt:parent"}}]' \
--jsonInputs
receipt_refs(required): JSON array of runx receipt references, or one receipt reference string.verification_results(required): JSON array or object containing a valid verification verdict and receipt body for every reference.artifact_links(optional): public evidence links keyed by purpose, or an array of links.redaction_terms(optional): literal sensitive values to remove in addition to the built-in redaction rules.
Published execution profile
The execution profile published with sha-fb418b763af7, shown as its exact bytes.
| Runner |
|
|---|---|
| Profile digest | sha256:12a9a8ec2980b8d8cb3cbe9df703bb602048c19f43672be7e780887806a9c3d3 |
skill: receipt-evidence-bundle
version: 0.1.0
catalog:
kind: skill
audience: public
visibility: public
role: canonical
category: security
runners:
bundle:
default: true
inputs:
receipt_refs:
type: json
required: true
description: One receipt reference or a JSON array of receipt references.
verification_results:
type: json
required: true
description: Valid runx verify results keyed by or carrying each receipt reference.
artifact_links:
type: json
required: false
description: Optional public evidence links keyed by purpose or supplied as an array.
redaction_terms:
type: json
required: false
description: Optional literal sensitive values to remove from the output.
steps:
- id: bundle
tool:
command: node
args:
- run.mjs
inputs:
receipt_refs: $input.receipt_refs
verification_results: $input.verification_results
artifact_links: $input.artifact_links
redaction_terms: $input.redaction_terms
artifacts:
wrap_as: receipt_evidence_bundle
harness:
cases:
- name: valid-parent-child-bundle
inputs:
receipt_refs:
- runx:receipt:demo-parent
- runx:receipt:demo-child
verification_results:
- receipt_ref: runx:receipt:demo-parent
verdict: valid
receipt:
schema: runx.receipt.v1
id: runx:receipt:demo-parent
state: sealed
disposition: closed
reason_code: process_closed
authority:
kid: runx-demo-key
grant_digest: sha256:demo-grant
scopes:
- repo.read
bearer_token: Bearer fixture-secret-value
- receipt_ref: runx:receipt:demo-child
verdict: valid
receipt:
schema: runx.receipt.v1
id: runx:receipt:demo-child
parent_receipt_id: runx:receipt:demo-parent
state: sealed
disposition: closed
reason_code: process_closed
authority:
kid: runx-demo-key
scopes:
- receipt.verify
artifact_links:
source_url: https://github.com/zdfgu113/runx/tree/codex/receipt-evidence-bundle/skills/receipt-evidence-bundle
expect:
status: sealed
receipt:
schema: runx.receipt.v1
operator_journeys:
- mode: standalone
confusors:
- receipt-audit
- receipt-query
request: Bundle these receipts and outputs into reviewer-safe evidence.
expected_outcome: Return an evidence bundle from receipt refs, verify output and artifacts.
- mode: composed
request: Continue this receipt-evidence-bundle work from evidence already gathered upstream.
expected_outcome: Return an evidence bundle from receipt refs, verify output and artifacts.
prior_evidence:
- The receipt refs and verify output already supplied.
must_not_repeat:
- Do not re-verify receipts already bundled.
- name: malformed-reference-is-refused
inputs:
receipt_refs:
- not-a-runx-receipt
verification_results: []
expect:
status: failure
receipt:
schema: runx.receipt.v1
- name: unverifiable-receipt-is-refused
inputs:
receipt_refs:
- runx:receipt:unverified
verification_results:
- receipt_ref: runx:receipt:unverified
verdict: invalid
expect:
status: failure
receipt:
schema: runx.receipt.v1
Published package and test evidence.
This exact version passed its recorded harness run: 3 checks passed · 0 failed.
Test result
| Harness result | Passed |
|---|---|
| Tested version | sha-fb418b763af7 |
| Recorded result | 3 checks passed · 0 failed |
| Result source | Reported by the publisher (runx_registry_publish) |
| Suite | runx-harness |
| Test recorded | |
| Declared cases | 3 |
| Test record | Open the recorded run |
Inspect receipt references
sha256:59eae6e9b7aaa92e87a7dbed8cfb0ce8ec39f4f8f20323c1973c1370a6a0b433sha256:963eaf9ccbe78829d3c3301efd3fe6cb23649797ce5e28f0dc21cfae568840d4sha256:ef8d814ebfb6552c2978f1742bffce211bbc6a7a37877f5882634d35341942ddPackage identity
| Published revision | sha-fb418b763af7 |
|---|---|
| Content digest | sha256:fb418b763af7fb8cac21b63d825788cbf5118a12f5b119e7d4ece344217285d5 |
| SKILL.md digest | sha256:159b55949c58d25d4e913904500ff124a8cf7e826e4903bb53111f48aff92e74 |
| Execution profile digest | sha256:12a9a8ec2980b8d8cb3cbe9df703bb602048c19f43672be7e780887806a9c3d3 |
| Publisher identity | Unverified publisher · zdfgu113 |
| Trust tier | CommunityPublished through the registry without publisher verification. This tier is not a code assessment. |
| Attestations |
|
| Source provenance | Not published with this version |
Version history
sha-c12f1f215581Content digest sha256:c12f1f215581c6f7b9d1115bb7fda9f05edb4ef02d6cc9bbff91814de31dab9dsha-fb418b763af7ViewingContent digest sha256:fb418b763af7fb8cac21b63d825788cbf5118a12f5b119e7d4ece344217285d5sha-c235fb800b4eContent digest sha256:c235fb800b4e0a5c917ff8adf5f8e4b78e6bac649e22794ff8bc8d58f69a6439sha-0af8f9ae6d22Content digest sha256:0af8f9ae6d22fa078c6e430ce31ec215164f8ad5404157ee730c2ff04b94c1c5