Skip to content
youdede

Completion Evidence Guard

OperationsHookv1.0.0

A deterministic TaskCompleted and specialist SubagentStop gate that activates only for transcripts marked evidence-required and checks a bounded final receipt tied to the task identifier.

Runs on

Scope
$npx @youdede/toolkit add completion-evidence-guard --target claude-code

What it does

Require a structured pass receipt before an explicitly marked task or verifier can finish.

When it fires

  • review
  • handoff

How it behaves

Require a task-bound structured pass receipt for explicitly evidence-gated completions.

It does not activate unless the bounded task or transcript contains the exact evidence-required marker.

It does not execute tests, trust prose as proof, or validate the truth of a reported command result.

It does not accept a pass receipt for a different task identifier.

It does not edit task state, transcripts, or subagent output.

Configuration

targets/claude-code/completion-evidence-guard.mjsnode · read-only

Version
1.0.0
Requires
node
Licence
RiskThis automatic gate requires a structured pass receipt before an explicitly marked task or verifier can finish; a false denial can interrupt legitimate work, but it does not execute the blocked action.
Medium
ModeHow it works: fixed rules, model instructions, or both.
Deterministic only
Behaviour
Enforces, blocks on violation
On failure
Denies and blocks
LatencyTo require a structured pass receipt before an explicitly marked task or verifier can finish, the entrypoint inspects bounded session, tool, or repository state.
Bounded
Data retentionWhether data remains after use and who manages its storage.
Not retained

Often used with

All in Operations