mcpField
R
review-harness-spec

review-harness-spec

github.com/hedera-devTesting & quality28479 installsUpdated 8w ago
Repository

About review-harness-spec

An authoring-only skill for reviewing hedera-harness schema v3 recipes before generation. It checks recipe wiring separately from evaluation quality and produces findings to help determine whether ASSERT is ready to run.

Key features

  1. 01Check schema v3 recipe wiring
  2. 02Run recipe-only validation checks
  3. 03Review PRD and evaluation alignment
  4. 04Assess assertions, severity, and scope
  5. 05Report wiring and evaluation findings

Use cases

  1. 01Review a recipe before running ASSERT
  2. 02Find missing or inconsistent recipe files
  3. 03Check that evaluations cover PRD journeys
  4. 04Identify brittle needles or scope creep

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/hedera-dev/hedera-skills --skill review-harness-spec

After installing, type/review-harness-specin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

evals/
evals.json
spec.json
references/
review-checklist.md

Details

From the project README

Review Harness Spec

Audit a hedera-harness recipe on disk along two axes. Catch mistakes the harness only surfaces after a generator attempt is already burning.

Load the shared vocabulary first: read ../harness-spec-anatomy/SKILL.md and its GLOSSARY.md.

Targets hedera-harness schemaVersion 3.

Authoring-only skill. Recipes do not list skills.

Step 1: Locate the recipe

The recipe is .harness/spec.yaml under the project root. Read every file it resolves to, remembering that v3 defaults most paths — an absent key is not a missing file:

KeyDefault when absent
prd.harness/prd.md (a list means increments)
evalabsent (EVALUATE off). A list must be 1:1 with prd:
validators.static.harness/validators/static.json
validators.commands.harness/validators/yarn.json

If the recipe file is missing, stop and ask. If schemaVersion is absent, 1, or 2, stop and recommend rewriting to v3 (contract: → eval:, drop skills:, set schemaVersion: 3) — or regenerate with hedera-harness init. migrate is gone. Review the rewritten recipe, not the stale original.

Step 2: Wiring axis

bash <path-to>/harness-spec-anatomy/scripts/check-spec.sh <project-root>

<project-root> is the directory containing .harness/. The script runs hedera-harness doctor --recipe-only for schema validity, then adds cross-file coherence checks.

Report its findings verbatim under ## Wiring.

If it reports the schema was not validated (harness CLI missing or too old), say so explicitly in the report — the wiring axis is then partial, not passed.

Step 3: Eval axis

Judgment only — what a script cannot see. Work through references/review-checklist.md. Cover at least:

  • Every PRD journey maps to ≥ 1 assertion in the matching evaluate checklist
  • Every assertion traces back to a PRD journey (no orphans / scope creep)
  • Severity budget sane (prefer ≤ 2 critical)
  • Needles pin real scripts, not brittle implementation strings
  • Playwright stage stays thin; deep UX lives in the checklist
  • No skills: key (product plugins are discovered; the generator picks)
  • The recipe is not padded with values that merely restate a default
  • For increments: each one leaves the app green, they are ordered by dependency, and eval: is 1:1 with prd:

Report under ## Eval. Do not merge or rerank with Wiring — a recipe can be perfectly wired and still grade the wrong thing.

Step 4: Emit the report

# Harness Recipe Review — <slug>

## Summary
- **Schema**: v3 | stale (rewrite first)
- **Stage ambition**: ASSERT | +SMOKE | +EVALUATE | +CHAIN
- **Increments**: single PRD | N ordered (eval paired: yes / no / scalar)
- **Ready to run ASSERT?**: yes / no
- **Wiring findings**: N  (schema validated: yes / no)
- **Eval findings**: N

## Wiring
- [script output or hand-checked findings]

## Eval
### Blocker
- [id] <what> — <where> — <fix>
### Warning
- [id] <what> — <where> — <fix>
### OK
- [id] <what>

Step 5: Handoff

If ready for ASSERT:

hedera-harness run .harness/spec.yaml --max-attempts 3
# or: yarn harness:run

Additional resources

Comments

Markdown supported