/harness-claude:harness:acceptance-eval runs instead · from harness-claude
Evaluates acceptance criteria in specs for measurability and testability before execution. Blocks merge on high-confidence non-measurable specs; otherwise advisory.
This skill never runs in Claude Code
It ships in harness-claude at agents/, but /harness-claude:harness:acceptance-eval (a command, or a skill Claude Code finds first) has the same name: typing it, or Claude choosing it, runs that one instead.
Pre-execution LLM-judgment: does this spec carry measurable, testable, complete acceptance criteria before work begins? Resolves the spec's acceptance section, critiques observability / testability / completeness (advisory
criteriaFindings), flags user-visible behaviors with no covering test (advisorycoverageFindings), and emits a confidence-ratedAcceptanceVerdict(MEASURABLE | NOT_MEASURABLE | INCONCLUSIVE) with a rationale. Merge authority is derived in TypeScript, never trusted from the LLM: a high-confidenceNOT_MEASURABLEblocks merge; every other verdict is advisory. The upstream twin of theoutcome-evalship gate — it keeps the downstream gate fed with judgable specs.
docs/changes/** — triggered on_pr (and manual) — before execution begins.outcome-eval, the downstream twin).acceptance-eval reviews; humans own the thinking layer. It never writes the criteria it judges.The evaluator resolves the section internally via the fallback chain ## Success Criteria -> ## User-Visible Behavior -> ## Overview (reusing outcome-eval's resolver, not a fork), recording the match in judgedAgainst. No manual action — pass specPath and let AcceptanceEvaluator resolve. If no section is judgable, the verdict is INCONCLUSIVE/advisory.
For responsibility (b), supply test evidence so the judge can flag user-visible behaviors with no covering test: pass testGlobs (globs the tool reads) or testContent (snippets you already read). This evidence is optional: omitting it degrades coverageFindings to advisory-empty but NEVER affects the (c) measurability gate. Gather it when the spec describes user-visible behavior.
mcp__harness__acceptance_eval with { specPath } plus optional { testGlobs | testContent, model }. The tool constructs AcceptanceEvaluator cli-side and returns the verdict; the supported v1 provider is the anthropic analysis provider (ANTHROPIC_API_KEY).measurability / confidence / criteriaFindings / coverageFindings / rationale. authority is computed in TypeScript from (measurability, confidence) via deriveAcceptanceAuthority and is never read from the LLM — do not attempt to override it. The tool returns the verdict exactly as the evaluator derives it.ANTHROPIC_API_KEY), empty test evidence, or a missing judgable section yields INCONCLUSIVE/low/advisory. It never throws and never blocks.measurability, confidence, judgedAgainst, rationale, criteriaFindings (a, advisory), and coverageFindings (b, advisory).deriveAcceptanceAuthority): authority is blocking iff measurability === 'NOT_MEASURABLE' && confidence === 'high'; every other combination — including all INCONCLUSIVE and MEASURABLE cases, and all medium/low NOT_MEASURABLE — is advisory.acceptance-eval.criteriaFindings and coverageFindings for human attention and proceed. Advisory findings do not stop the workflow.mcp__harness__acceptance_eval — MCP tool (the invocation surface). Inputs: specPath (required), testGlobs / testContent (optional (b) evidence), model (optional). The handler builds the cli AnalysisProvider, constructs AcceptanceEvaluator, and returns the AcceptanceVerdict with authority exactly as derived in TypeScript. (No graph persistence in v1 — the seam is documented in the tool header.)AcceptanceEvaluator, deriveAcceptanceAuthority, acceptanceVerdictSchema, AcceptanceVerdict are exported from @harness-engineering/intelligence. The section resolver is imported from outcome-eval, not duplicated.ANTHROPIC_API_KEY). When no provider is configured the call degrades to INCONCLUSIVE/advisory.outcome-eval: acceptance-eval is the upstream twin. It guards spec measurability before execution; outcome-eval judges implementation satisfaction after. The same "authority is never read from the LLM" discipline spans both ends of the lifecycle.testGlobs/testContent they are advisory-empty; even with evidence they are LLM-judgment over the behavior section plus located tests, not a graph-backed coverage map (deferred — see spec Decision D4). Heuristic misses are low-harm because (b) never blocks.See docs/changes/harness-pm-persona/proposal.md for the full criteria. This skill satisfies SC1 (skill exists, tier: 2, type: rigid, four-client artifacts), SC6 (blocking halt on high-confidence NOT_MEASURABLE; advisory-and-proceed otherwise), and SC7 (emits advisory criteriaFindings / coverageFindings).
These are common rationalizations that sound reasonable but lead to incorrect results. When you catch yourself thinking any of these, stop and follow the documented process instead.
| Rationalization | Why It Is Wrong |
|---|---|
| "The model returned NOT_MEASURABLE and I agree, so I'll mark the verdict blocking and halt the spec." | authority is never read from the LLM — it is deriveAcceptanceAuthority(measurability, confidence) computed in TypeScript. A NOT_MEASURABLE at medium/low confidence is advisory. Report the derived verdict exactly; do not upgrade it to blocking yourself. |
| "The success criteria are vague, so I'll rewrite them into measurable assertions and re-judge." | acceptance-eval reviews specs; it never authors the criteria it judges. Humans own the thinking layer. Report the criteriaFindings and halt if blocking — do not fix the spec to make the gate pass. |
"ANTHROPIC_API_KEY isn't configured, so I'll fail the gate to stay safe." | Infrastructure noise must degrade to INCONCLUSIVE/advisory, never a block or a throw. A missing provider disables the gate; surface that to the human rather than manufacturing a halt. |
"There's no ## Success Criteria section, but the Overview reads measurable enough, so I'll call it MEASURABLE." | Section resolution is the evaluator's fallback chain (Success Criteria → User-Visible Behavior → Overview) recorded in judgedAgainst. If nothing judgable resolves, the verdict is INCONCLUSIVE/advisory — do not fabricate a MEASURABLE verdict from prose. |
| "The coverageFindings show a user-visible behavior with no test, so I'll block until a test exists." | Coverage findings (b) are heuristic and advisory and NEVER affect the (c) measurability gate. Only a high-confidence NOT_MEASURABLE blocks. Surface the coverage gap for attention and proceed. |
Input: a spec whose only "success criteria" are "the feature works well" and "users are happy" — no observable, testable assertions.
Verdict:
measurability: NOT_MEASURABLE
confidence: high
judgedAgainst: success-criteria
authority: blocking
criteriaFindings:
- { target: "'works well' / 'users are happy'", message: "No observable assertion — cannot be tested." }
rationale: "The success section contains only subjective statements; nothing can be judged at outcome time."
Action: HALT before merge. Report the missing measurable criteria; the spec must not merge until a human adds them.
Input: a spec whose Success Criteria list concrete, testable assertions; one user-visible behavior lacks an obvious covering test.
Verdict: measurability: MEASURABLE confidence: high authority: advisory, with one coverageFindings {target, message} object (the one user-visible behavior lacking a covering test) surfaced for review. The workflow proceeds.
authority is always deriveAcceptanceAuthority(measurability, confidence) computed in TypeScript. If you find yourself letting the model assert blocking/advisory, STOP — that defeats the entire purpose of this gate.authority === 'blocking' iff measurability === 'NOT_MEASURABLE' && confidence === 'high'. Every other combination is advisory. Do not halt on an advisory verdict.acceptance-eval reviews specs; it does not write the acceptance criteria it judges. Humans own the thinking layer.acceptance-eval — not to override the gate.ANTHROPIC_API_KEY configured: every verdict degrades to INCONCLUSIVE/advisory and nothing blocks. Surface this to the human — the gate is effectively disabled until a provider is configured.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub intense-visions/harness-engineering --plugin harness-claude793 skills in this plugin
/a11y-aria-patternsARIA Patterns> Apply ARIA roles, states, and properties correctly to enhance assistive technology support for custom widgets/a11y-color-contrastColor Contrast and Color Independence> Ensure sufficient color contrast ratios and never use color as the sole means of conveying information/a11y-form-patternsAccessible Form Patterns> Build accessible forms with proper labeling, grouped controls, inline validation, and clear error communicationOther plugins' skills for the same job