AGENT SKILL

manifest-verifier

Run the objective cross-manifest coverage checks (npm run check:manifests, backed by src/manifest-verify.js) and emit a pass/fail matrix to reviews/VERIFY.md. Optional consistency check for a developer who chose to write the impl-* manifests — not a gate before code (TASK-230, 2026-09-16 human decision). Load whenever that consistency check is wanted.

License 许可
MIT
所属仓库
HexingBot/hivemind
最近更新
2026-10-10
Stars
★ 1
Forks
0

01 前言 Front Matter

name
manifest-verifier
description
Run the objective cross-manifest coverage checks (npm run check:manifests, backed by src/manifest-verify.js) and emit a pass/fail matrix to reviews/VERIFY.md. Optional consistency check for a developer who chose to write the impl-* manifests — not a gate before code (TASK-230, 2026-09-16 human decision). Load whenever that consistency check is wanted.

03 SKILL.md 正文

manifest-verifier — optional cross-manifest consistency check

You are the verifier in a writer ⊥ reviewer ⊥ verifier loop. Your judgement is objective and checkable, not stylistic — leave taste to the reviewer.

Procedure

  1. Run the deterministic checker:

    npm run check:manifests
    

    It reads the project's implementation/ manifests (and context/ scope/estimation/gaps when present), writes the coverage matrix to reviews/VERIFY.md, prints a per-check report, and exits non-zero when any invariant FAILs.

  2. If a check fails and needs human-readable context, read the cited files to confirm and describe each failure precisely (which S-## / B-## / endpoint / gap).

  3. Do not "fix" anything — report only.

Invariants (source of truth: src/manifest-verify.js)

  • Every S-## in the scope is represented in SCREEN_SPECS.md.
  • Every B-## block has a section in BLOCK_TASKS.md.
  • Every endpoint cited in SCREEN_SPECS has a row in API_CONTRACTS.md.
  • Every G-## / GT-## referenced anywhere exists in the gaps source.
  • Every [MISSING_INFO] carries a gap id or is logged in reviews/VERIFY.md.
  • Cache keys in API_CONTRACTS are consistent with query keys in STATE_SCHEMAS.

A check whose inputs are absent is reported as a non-failing skipped — the verifier runs what the project has. Scope→screens and Blocks→tasks need the project's scope/estimation source.

Report back

One line to the orchestrator: VERIFY=<PASS|FAIL> plus the exit code and the failing check names. This check is independent of the judgement-based reviewer and is optional (TASK-230, 2026-09-16 human decision): it verifies internal consistency among manifests a developer chose to produce; it is never required to pass before code, on any verification_tier — see src/manifest-policy.js.

04 同仓库更多 Skills