Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

receipt-audit

БесплатноЗапускает вложенные скриптыНе проверен

Review a sealed Runx receipt against a grant baseline, with exact native evidence, scoped governance findings and explicit observability gaps.

runxhqот runxhq★ 106 звёзд на GitHub

Об этом скилле

Receipt Audit

Assess one sealed run for recorded authority conflicts, inconsistent declared approval, recorded refusals or exposed material in the data actually inspected. Supply an exact receipt id and the grant baseline you want checked. The result identifies findings, their limits and the evidence needed to resolve them.

Composes

  • receipt-query#read

Evidence and assurance

The default audit resolves missing receipt metadata through receipt-query#read. A completed receipt_evidence packet bypasses that read. The explicit from-evidence phase accepts the same packet directly for composed workflows. Reuse its receipt identity, native verification posture, recorded authority, decisions and lineage; state that supplied evidence was reused rather than independently verified here. Explicit receipt_rows/receipt_details are replay inputs: their labels are not cryptographic verification. A summary alone cannot establish a clean run.

The projection's exercised_scopes contains authority references and terms. It is not a complete per-operation usage trace, proof of success or evidence that unrecorded permission was unused. Grant references do not themselves reveal the grant ceiling. granted_scopes is an operator-supplied comparison baseline, not a newly minted grant. Preserve opaque scope names. Obtain native policy/term evidence for wildcard, verb or resource coverage; never implement those rules by guessing string prefixes.

Use receipt.read only when the question needs a retained declared output. It requires receipt.claim.read and verifies the signed binding before returning current-workspace data. Follow a workflow's verified child references to the relevant step; not_a_step is not an output body. not_retained, a read that reach: workspace refuses or an exceeded byte budget is an evidence gap. Narrow a JSON pointer or obtain an operator read when appropriate. Never replay the operation to reconstruct evidence. A local signature is valid local provenance, not independent provider truth; hosted/CI labels alone do not establish independence.

Inspect only material needed for this question. A hashed/redacted reference cannot prove its hidden body secret-free. Do not echo a discovered credential; report its field/locator and recommend appropriate revocation or rotation. Raw inputs and transport diagnostics are outside the claim reader.

Procedure

  1. Confirm the exact receipt, source posture and intact native tree. A failed or blocked run can be audited too; do not equate its outcome with an anomaly.
  2. Compare recorded authority with the supplied baseline. State which fields were observed and which grant/resource/policy evidence is still missing.
  3. Check approval only where signed effect/authority evidence required it. A routine granted mutation does not imply a separate human approval. A URI or decision label without exact binding is insufficient to prove approval.
  4. Inspect relevant child metadata or retained claims only when needed. An absent refusal is a finding only if evidence shows the refused attempt.
  5. Return a scoped assessment. Preserve contradictions even when the overall verdict is inconclusive. No provider action, ledger repair or grant change occurs.

Result and continuation

The unchanged runx/receipt-audit.audit.v1 packet carries the exact receipt id, operator baseline, recorded scopes in its historical exercised_scopes field, findings, verdict, rationale and next evidence. clean means no anomaly found in the inspected evidence against that baseline; it is never a complete usage or secret-free guarantee. Missing verification/baseline or relevant evidence requires needs_more_evidence. A final domain check binds identity and scope arrays and prevents a clean verdict alongside errors or incomplete proof.

For example, a verified receipt may record repo:read against a supplied repo:read baseline. That supports a clean recorded-scope comparison. It does not prove no other permission was used outside the recorded trace. A replay row labelled verified with no native tree proof remains inconclusive. If exact signed evidence instead records an act beyond its admitted ceiling, flag the conflict and preserve the evidence for investigation; do not revoke a grant here.

Use receipt-query to locate evidence, diagnose-skill-run to investigate a failure with actual diagnostics, and least-privilege to review a grant and representative coverage before proposing a reduction. Carry the original id, findings and actual readbacks forward. Do not run the original action again.

Inputs

  • receipt_id: exact receipt under review. Without it the result is inconclusive.
  • granted_scopes: explicit string-array baseline, including an intentional empty array. Without it the authority comparison remains inconclusive.
  • receipt_evidence: optional complete
Полный SKILL.md на GitHub

Установить receipt-audit в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

eval_queries.jsonevals/evals.jsonevals/files/bounded-receipt-detail.jsonevals/files/completed-ledger-evidence.jsonmark.svgpackets/audit.v1.schema.jsonreceipt-audit.mjsreceipt-audit.test.mjsreferences/catalog.mdreferences/mark-license.mdrun.yaml

FAQ

Что делает скилл receipt-audit?

Review a sealed Runx receipt against a grant baseline, with exact native evidence, scoped governance findings and explicit observability gaps.

Как установить скилл receipt-audit?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл receipt-audit запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить receipt-audit с