evidence-credit
Installation
SKILL.md
Evidence Credit
Resolve <skill-root> to this SKILL.md directory. In Claude Code use ${CLAUDE_SKILL_DIR}; in Codex use the absolute skill path from skill metadata. Resolve <project> to the working project and <trace-dir> to a writable directory outside the installed skill.
- Run
node "<skill-root>/scripts/skill-rails/run.mjs" enter --skill "<skill-root>"unless this context has already processed the returned enter hash. - Run
node "<skill-root>/scripts/skill-rails/run.mjs" stage --skill "<skill-root>" --project "<project>" --trace-dir "<trace-dir>" --jsonand save the complete JSON stage result. Supply only requested--judged field=valueor--decided field=valuevalues. - Stop on a diagnostic, stale snapshot, BLOCK, ASK, or WAIT. Otherwise follow only the current Decision body,
stage_artifacts, and ordered effects. Resolve everystage_artifacts[].pathfrom<project>; do not infer replacement paths from collector or authoring files. - Attach claims with
record --decision <stage-result.json> --type <effect_claimed|proof_recorded|receipt_recorded> --data <json>. For a declared file proof, use--type artifact_verified --artifact <path> --project "<project>". The stage-result file supplies its run id and trace path. - Run
align --decision <stage-result.json>. Record and alignment evidence is bound to the exact Decision in that file. Missing or agent-only evidence remains unproven; never upgrade it to success. - If
reinvokeis set, invoke stage again with the same--run-idafter effects and save the new stage result. Evidence and alignment for the earlier Decision do not automatically carry to the new Decision.
The runtime decides and verifies; it never performs domain effects. Never edit generated files listed in .generated.json directly.