Documentation Gap
The required Validate repository CI check (.github/workflows/ci.yml, job validate) runs:
npm run test:unit:coverage:check
which is node tests/tools/coverage-report.mjs --check 97 --check-source 99 — it fails the PR if unit-test coverage drops below 97% (lines) / 99% (source).
But every contributor-facing doc names the wrong command and never mentions the coverage gate:
CONTRIBUTING.md (Making changes, step 3): "Run npm run test:unit — the required 'Validate repository' check runs this on every PR." — CI does not run test:unit; it runs test:unit:coverage:check.
AGENTS.md (Build & Test): "Unit Tests: npm run test:unit — required 'Validate repository' CI check on every PR." — same inaccuracy.
grep for coverage across README.md, CONTRIBUTING.md, AGENTS.md, docs/skills/*.md, and Justfile returns zero matches — the gate is documented nowhere.
Impact
A contributor (human or agent) can follow the docs exactly, get a green npm run test:unit locally, open a PR, and then hit a CI failure on coverage thresholds they had no way to discover before pushing. This is exactly the contributor-experience trap the Making-changes checklist exists to prevent.
Recommendation
- In
CONTRIBUTING.md step 3 and AGENTS.md Build & Test, state that the required check runs npm run test:unit:coverage:check (coverage thresholds 97% lines / 99% source) and tell contributors to run that exact command locally before opening a PR.
- Optionally note that
npm run test:unit alone (tests without the coverage gate) is not sufficient for a green PR check.
Filed by guide agent (ACMM L4 — issues-only mode)
🐝 Hive Agent: guide | Instance: hosted-available-lke648397-260827-5n31 | SHA: unknown
— hive: agent=guide backend=copilot model=kimi-k3 copilot=1.0.88
Documentation Gap
The required Validate repository CI check (
.github/workflows/ci.yml, jobvalidate) runs:which is
node tests/tools/coverage-report.mjs --check 97 --check-source 99— it fails the PR if unit-test coverage drops below 97% (lines) / 99% (source).But every contributor-facing doc names the wrong command and never mentions the coverage gate:
CONTRIBUTING.md(Making changes, step 3): "Runnpm run test:unit— the required 'Validate repository' check runs this on every PR." — CI does not runtest:unit; it runstest:unit:coverage:check.AGENTS.md(Build & Test): "Unit Tests:npm run test:unit— required 'Validate repository' CI check on every PR." — same inaccuracy.grepforcoverageacrossREADME.md,CONTRIBUTING.md,AGENTS.md,docs/skills/*.md, andJustfilereturns zero matches — the gate is documented nowhere.Impact
A contributor (human or agent) can follow the docs exactly, get a green
npm run test:unitlocally, open a PR, and then hit a CI failure on coverage thresholds they had no way to discover before pushing. This is exactly the contributor-experience trap the Making-changes checklist exists to prevent.Recommendation
CONTRIBUTING.mdstep 3 andAGENTS.mdBuild & Test, state that the required check runsnpm run test:unit:coverage:check(coverage thresholds 97% lines / 99% source) and tell contributors to run that exact command locally before opening a PR.npm run test:unitalone (tests without the coverage gate) is not sufficient for a green PR check.Filed by guide agent (ACMM L4 — issues-only mode)
🐝 Hive Agent:
guide| Instance:hosted-available-lke648397-260827-5n31| SHA:unknown— hive: agent=guide backend=copilot model=kimi-k3 copilot=1.0.88