How phanlemanh/acceptance-gate-kit works
Acceptance-Gate Kit turns feature requirements into acceptance criteria and machine-readable evals, then verifies an implementation and records evidence for human sign-off. The feature-loop workflow adds a clean-context gap probe before scope approval and runs machine, UI, judgment, and review checks during verification. Separate write-time enforcement protects contract transitions and evidence reports; reusable libraries support evidence evaluation and gap probing. The README also documents CI enforcement, but its cited pre-merge scripts are absent from this tree, so that runtime branch is not mapped. Several workflow details are documented rather than visible in sampled source.
Main entry points: feature-loop Feature loop · acceptance-verify.js Acceptance verify · acceptance-evidence-gate.js Write-time hook · _acceptance Feature contract
Components 15
Feature workflow
- Feature loop
feature-loop - Gap probe
lib/gap-probe.cjs - Feature implementation
- Acceptance verify
feature-loop/workflows/acceptance-verify.js
Acceptance evidence
- Feature contract
_acceptance - Acceptance evals
_acceptance - Evidence report
_acceptance - Run log
_acceptance
Runtime enforcement
- Write-time hook
hooks/acceptance-evidence-gate.js - Evidence evaluator
lib/evidence-core.cjs
Acceptance support
- Coverage lint
scripts/eval-coverage-lint.js - Scope gate card
scripts/gate-card.js - Context glossary
lib/context-glossary.js - Design scan
scripts/design-scan.js
Other components
- Feature team
Connections 16
- Feature team → Feature loop: starts round
- Feature loop → Gap probe: probes gaps
- Feature loop → Feature contract: drafts scope
- Feature loop → Acceptance evals: generates evals
- Feature team → Feature contract: approves scope
- Feature implementation → Acceptance verify: submits feature
- Acceptance evals → Acceptance verify: supplies checks
- Acceptance verify → Evidence report: writes results
- Acceptance verify → Run log: records runs
- Feature team → Evidence report: signs off
- Write-time hook → Evidence evaluator: evaluates evidence
- Write-time hook → Evidence report: guards writes
- Write-time hook → Feature contract: guards transitions
- Coverage lint → Context glossary: reads terms
- Scope gate card → Context glossary: reads terms
- Design scan → Feature team: reports findings