/haft:h-verify [decision-ref or 'what's stale' for full project verification]from haft
Verifies that a recorded DecisionRecord still holds — baseline-vs-measure evidence loop with drift detection per FPF Evidence Decay. Make sure to use this skill whenever the user asks "did dec-X work", "is decision Y still valid", "did the prediction come true", "check if the migration held", "is X stale", "measure that decision against reality", "did we actually fix Z", "is our caching decision still right" — or whenever a shipped decision needs a post-implementation reality-check before further work relies on it. Also use when /h-status surfaces a refresh-due decision. NOT for ad-hoc sanity checks (just run the tests directly). NOT for re-framing the underlying problem (use h-frame).
Ships in haft. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are running the FPF verification loop: baseline → measure → evidence → record. Drift detection compares current state against baselined affected_files; evidence decay reports surface when valid_until passes; measure verdict is recorded for the predictions the decide step declared.
Verification already has a selected object and a named evidence use. Do not run
a generic pattern router first. When an unfamiliar evidence, causal-use, or
temporal distinction becomes material, query the exact concern with
mcp__haft__haft_query(action="fpf", mode="concern", query="...") and inspect the full direct
pattern body before applying it.
When verification is context-heavy, multi-session, or otherwise
reliance-bearing and the exact EntityOfConcern is not already current, resolve
its identity with haft_query(action="memory", memory_request={"mode":"resolve","contract_version":"haft.memory.v1", "basis":{"kind":"project_current"},"query":"...","max_candidates":5}). Select
the exact candidate by the current use rather than rank, then use the closed
memory_request neighborhood branch advertised by the tool schema with
projection_profile_ref="agent_orientation.v2".
Inspect result_kind before relying on content. project_basis_unavailable,
known absence, or explicit abstention is visible but non-blocking: continue
with the exact artifact/evidence surfaces available to this verification and
do not invent a profile, entity, artifact, or human gate. This read does not
replace code-graph preflight before a later code edit. Never persist typed
memory merely because a read failed; persistence requires an explicit operator
save request or a concrete operator-named or agent-inferred receiving use
supplied by current Work, with request provenance.
If decision_ref is given, use it. Otherwise:
mcp__haft__haft_query(action="status") — surfaces stale/refresh-due decisionsmcp__haft__haft_refresh(action="drain", dry_run=true) — preview machine-safe maintenance closures and needs_operator groupsmcp__haft__haft_query(action="contract_generation") — read-only generated-fragment carrier hints for host/skill/plugin/Pi syncmcp__haft__haft_query(action="drift_events", limit=5), mcp__haft__haft_query(action="decision_reconcile", limit=5), and mcp__haft__haft_query(action="governing_set", limit=5) — compact drift fanout, reconciliation, and current-authority drill-downsfull=true to those drill-down calls only when you need the full audit payloadmcp__haft__haft_query(action="list", kind="DecisionRecord") — full listread-only/generated text is discovery only; it is not evidence truth, gate passage, global approval, or operator authorization.
When the operator asks to verify/drain the project maintenance backlog, do not
stop after status and do not ask for extra approval to apply closures that the
kernel has already classified as machine-safe. The operator's request to run
h-verify on stale/refresh-due status is sufficient authority for rung-1
deterministic auto-baselines and rung-2 allowlisted machine evidence/revalidation.
Use the explicit drain loop:
mcp__haft__haft_refresh(action="drain", dry_run=true) to preview closed /
failed / needs_operator classes.mcp__haft__haft_refresh(action="drain", dry_run=false).
If MCP times out on a large backlog, use the equivalent CLI drain command and
save the JSON evidence in .context.Recover the selected DecisionRecord through the exact artifact surface:
mcp__haft__haft_query(action="related", artifact_ref="<decision_ref>")
Read the full payload, especially status, valid_until, body, and
structured_data. The canonical structured payload exposes claims (and
legacy-compatible predictions) with:
claim — the falsifiable statementobservable — what to measurethreshold — pass/fail boundaryverify_after — when async evidence should be available (if any)search is discovery only. A compact search hit or miss does not establish
whether claims, predictions, observables, or thresholds exist. Do not read the
project SQLite database directly while kernel exact recovery is available.
If predictions are empty (the decision was recorded tactical with _skips: ["predictions"]), there's nothing to measure — report that to operator and recommend either:
/h-decide, then supersede the old record with
haft decision supersede <old-dec-...> --new <new-dec-...> --reason "..."haft_decision(action="evidence", ...)If the decision has affected_files and you want drift comparison:
mcp__haft__haft_decision(
action="baseline",
decision_ref="<dec-...>"
// affected_files optional — kernel uses the decision's list
)
The kernel snapshots file content hashes. Subsequent comparisons detect drift. Call once after each commit cycle if you want continuous drift signal.
For each prediction:
Tools available depending on the observable:
Bash for test runners, metric queries, log scansRead / Grep / Glob for code-level invariant checksFor each material evidence item:
mcp__haft__haft_decision(
action="evidence",
artifact_ref="<dec-...>",
evidence_type="measurement | test | research | benchmark | audit",
evidence_content="<what you observed, with concrete numbers>",
evidence_verdict="supports | weakens | refutes",
carrier_ref="<file path or URL where the evidence lives>",
claim_refs=["<prediction id or scope label>"],
congruence_level=3, // 3=same context, 2=similar, 1=different, 0=opposed
valid_until="<RFC3339 or YYYY-MM-DD — when this evidence expires>",
causal_support_basis="observational | interventional | realized_counterfactual | identified_estimate | simulation_only"
)
congruence_level (CL) defaults per FPF B.3.5:
CL impacts R_eff per FPF B.3:3 — never average across CL.
What-got-worse check (FPF E.13). Before recording an accepted or
partial verdict, ask: the measured proxy improved — what got worse? Check
the protected qualities the decision did NOT optimize (usability, footprint,
maintainability, signal honesty, adjacent modules). Put the answer in
findings: either the concrete regression you found, or a reasoned
"none worsened: checked X, Y, Z" — a reflexive "nothing worsened" without
named loci is the Goodhart failure mode this check exists to catch.
After all evidence is attached, record the overall verdict:
mcp__haft__haft_decision(
action="measure",
decision_ref="<dec-...>",
verdict="accepted | partial | failed",
findings="<what actually happened compared to predictions>",
measurements=["p99 latency: 42ms (predicted <50ms — accepted)", "..."],
criteria_met=["<criterion that was met>"],
criteria_not_met=["<criterion that was NOT met>"]
)
Kernel ties the verdict back to the predictions and surfaces:
After the measure verdict, classify what the improvement loop does next. The admissible verdict set is exactly:
Narrowing is NOT a verdict. Shrinking scan scope, suppressing signals, or restricting the evaluation window to make the picture look better is false improvement — any scope reduction must carry an explicit dominance justification ("movement on X is dominated because Y"), or it doesn't happen.
If any verified prediction carried a probability forecast (set at /h-decide),
the measure response also appends a Calibration read: the decomposed-Brier
profile (Brier = reliability − resolution + uncertainty) over all verified
forecasts, plus a directional over/under-confidence bias. Below ~15 accumulated
forecasts it reports cold-start and is not yet actionable — surface it to the
operator but do not over-read a sparse profile.
If verification reveals:
mcp__haft__haft_refresh(action="waive", artifact_ref=..., evidence="<new evidence>", new_valid_until="...") to extend validity, OR action=reopen to start a new problem cyclehaft_query(action="status") and decide whether to re-baseline or reopenmcp__haft__haft_refresh(action="supersede", artifact_ref=<old>, new_artifact_ref=<replacement>) after the operator directly requests and /h-decide routes the replacement decisionSurface:
Re-grounding discipline (FPF A.7). When you reference decision IDs
(dec-20260525-...), prediction labels, or evidence refs in the verdict
summary and recommendation paragraphs, pair each with its
human-readable title or claim — dec-20260525-abc (NATS over Kafka for ops simplicity) — verdict accepted not bare dec-20260525-abc verdict accepted. Bare IDs accumulate cognitive debt across long sessions. Keep
IDs for traceability but never let them stand alone in summaries. See
CLAUDE.md Critical Reminders for the project-wide rule.
action="measure" without first gathering evidence — kernel rejects measure-from-memory (the protocol requires evidence before verdict).action="waive" with evidence parameter so the extension is auditable.related(artifact_ref=...) is available from the kernel.Inspect via mcp__haft__haft_query(action="fpf", mode="inspect", identifier="B.3").
What SKILL.md sets; muted values are Claude Code's defaults
A shipped DecisionRecord needs reality check, OR refresh-due artifact surfaced. Skip for one-off sanity checks where you can just run the test.
npx claudepluginhub molinafranco/claude-tools --plugin haft12 skills in this plugin
/h-commissionCreates a WorkCommission — bounded execution authority — from an active DecisionRecord. MANUAL ONLY: operator must explicitly type /h-commission. Never auto-invoked: commissions are execution-authority grants under Transformer Mandate. Runs freshness check, scope check, derives an ImplementationPlan, snapshots the autonomy envelope, then STOPS before execution. NOT for the decision itself (use /h-decide first). NOT for running tests or one-off tasks (the operator's coding agent handles those directly).
/h-compareCompare two or more existing candidates under an explicit characteristic space, parity basis, and predeclared selection policy. Return constraints, trade-offs, and a non-dominated set rather than hiding the choice in one score. This skill is independent of h-frame and h-explore. Default to a conversational comparison; persist comparison artifacts only on explicit save intent or when current Work supplies a concrete operator-named or agent-inferred receiving use that needs replay. A binding choice requires a direct unambiguous operator request routed through h-decide.
Other plugins' skills for the same job
/h-decideRoutes one direct, unambiguous operator request to bind a bounded choice as a DecisionRecord. Use when the operator asks to decide, bind, or supersede a choice; h-frame, h-explore, and h-compare are independent capabilities, not mandatory phases.
2 plugins ship this exact skill · first indexed Oct 9, 2026