gate-enforcement

Solid

Run risk-based ai-agent-board quality gates after code-producing work.

AI & Automation 58 stars 15 forks Updated 2 weeks ago MIT

Install

View on GitHub

Quality Score: 85/100

Stars 20%
59
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
93
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

## Context Use this skill after any task that writes code or changes runtime behavior. Documentation-only Squad state changes only need consistency validation unless they add scripts or app-facing behavior. ## Patterns - Identify the affected surface in `.squad/coverage-matrix.md`. - For code-producing work, run the deterministic required gate: `npm run gate:required`. - The required gate runs `npm run build:client`, `npm run build:server`, and `npm run test:e2e:required`; do not replace it with ad hoc build or E2E commands. - Install the local pre-push hook with `npm run hooks:install` so Git uses `.githooks/pre-push`. - Prefer focused existing tests before broad suites, but required gate evidence must still include `npm run gate:required`. - E2E portability/setup problems, including hard-coded Unix paths such as `/tmp/test-repo`, are blockers to fix in the test setup before approval; they are not acceptable reasons to defer affected E2E coverage. - Fix-loop ceiling: 3 attempts or 5 minutes on the same failing class, then escalate to Morpheus/Switch. ## Examples - Agent runtime change: Neo owns implementation; Switch requests focused runtime tests plus `npm run gate:required`. - Board UI change: Trinity owns implementation; Switch requests focused e2e/component evidence plus `npm run gate:required`. ## Anti-Patterns - Do not weaken or skip tests to make a gate pass. - Do not treat unrelated baseline failures as proof the current change is safe. ...

Details

Author
DanWahlin
Repository
DanWahlin/ai-agent-board
Created
6 months ago
Last Updated
2 weeks ago
Language
TypeScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category