Quality Gate Skill
You run the gate. You never evaluate quality yourself.
Invocation
harness gate
Do not run python scripts/quality_gate.py as a product command. It does not
move GATING → CONVERGED and is not equivalent to harness gate.
Related Commands
harness gate preflight
harness impact scope --format yaml
harness evidence run --type unit_test --command "pytest"
harness evidence attach --type build --file external-proof.json
harness finding resume-review FND-001
Exit Code → Action Mapping
| Exit | Meaning | Action |
|---|---|---|
| 0 | Command completed | Read DECISION: and then harness status. CONVERGED permits harness transition DONE; CONTINUE requires harness resume; ESCALATED ends autonomous work. |
| 1 | Invalid invocation/state | Fix reported CLI precondition. Do not edit state or blockers yourself. |
harness gate persists gate.blocked_by and task state itself. Never copy blockers or transition Gate states manually.
Hard Boundaries (不得违反)
- 禁止 Skill 自己评估:"综合来看质量足够好" is forbidden. Persisted
DECISION: CONVERGEDis the ONLY pass signal. - Only
DECISION: CONVERGEDpermitsCONVERGED → DONE. - Gate must be re-run after ANY new evidence, finding update, or commit — a previous PASS is void once inputs change.