mirror of
https://github.com/Matysh/houseplan-card
synced 2026-09-29 03:09:36 +00:00
PROCESS.md 10.2 describes scripts/process-gate.mjs; the script never existed. Commits go straight to dev without PRs and GitHub blocks nothing on its side, so until now the only thing standing between the process and rule #1 was the good faith of whoever was committing. Hooks catch a violation on the author's machine but --no-verify walks past them; this job is the catch-up pass that cannot be skipped locally. Checks 1-7 offline, 8 through gh, plus the escalation of check 3: a class A commit with neither a spec file nor the `small` label is a failure, not a warning. Check 8 is fail closed — an unreachable or closed issue is a refusal, never a silent pass. Two things surfaced while wiring it up and are recorded in the script header. S8-merged had to join the allowed statuses: the pipeline merges into dev before it moves the label, so Validate reads the issue already advanced and a strict set would redden every accepted task. And the status question now applies only to class A/B commits — asking it of a review document would fail every time, since that document lands while the issue sits in S4-spec-review or S7-code-review. Issue: #105 User-Visible: no