一键导入
speckit-harness-verify
Adversarially verify claims in spec/plan artifacts against primary sources and record verdicts
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Adversarially verify claims in spec/plan artifacts against primary sources and record verdicts
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Generate a custom checklist for the current feature based on user requirements.
Identify underspecified areas in the current feature spec by asking up
Run a budget-aware exploration loop that externalizes every finding into the harness state files
Initialize externalized harness state (budget, candidates, curated set, evidence, verification, observations) for the active feature
Synthesize curated evidence and verification records into the feature's research.md with a coverage table
Render a compact, budget-aware slice of the harness state with a recommended next action
| name | speckit-harness-verify |
| description | Adversarially verify claims in spec/plan artifacts against primary sources and record verdicts |
| compatibility | Requires spec-kit project structure with .specify/ directory |
| metadata | {"author":"github-spec-kit","source":"harness:commands/speckit.harness.verify.md"} |
Turn unexamined assertions into verification records. Following Harness-1 (arXiv:2606.02373), verification is part of the externalized harness state: every checked claim leaves a durable record with a verdict, a method, and an evidence pointer — so later phases (and later sessions) know what is proven, what is refuted, and what is merely assumed.
$ARGUMENTS
Optional. May name target artifacts (e.g. plan.md, spec.md,
curated) and/or specific claims to check. Default targets: the active
feature's spec.md and plan.md, plus all critical-importance entries in
curated.md that have no verification record yet.
Resolve HARNESS_DIR as in /speckit.harness.init. Require an initialized
harness (budget.md present) — otherwise instruct the user to run
/speckit.harness.init and stop. Load the verification budget (Remaining in
budget.md) and existing verification.md records.
Read the target artifacts and extract load-bearing factual claims: statements about the codebase, dependencies, APIs, data, or environment that, if wrong, would change the design or break the implementation. Typical shapes: "X is handled by Y", "library Z supports W", "there is no existing implementation of V", "endpoint U returns T".
Exclude: requirements (decisions, not facts), pure opinions, and claims that
already have a verified record at high confidence in verification.md
(re-verify only if the user asks, or the underlying source changed).
Rank claims: critical curated links and architectural assumptions first.
Cap the list at the remaining verification budget; say explicitly which
claims were deferred for budget reasons.
For each claim, in rank order:
evidence.md tells you where to look, not what is true.verified — the primary source confirms it now, and your refutation
attempt failed.refuted — the primary source contradicts it (record what is actually true).unverifiable — cannot be checked with available access/budget (record
what would be needed).
Assign confidence high | medium | low.verification.md (claim, method — e.g. "re-read
src/auth/session.ts:40-80", verdict, confidence, evidence ID, date). Add or
update the evidence.md entry so the record has a pointer. Decrement the
verification budget and append an action-log row in budget.md.curated.md to refuted (see V-xxx) — do not delete it;
a recorded dead end prevents re-deriving the same error later.Output, in order:
/speckit.clarify) apply them.critical claims are still
unverified (these block the stop condition in budget.md).verified at low confidence — investigate further or record
unverifiable.