Expand description
Gates at their point: each runs where the checks run, in the same sandbox, and only a clean exit 0 lets the point through. A gate that is not trusted, cannot run sandboxed, crashes, times out or changes a file the tick would commit blocks — never passes. Its words are for the person; nothing here reaches a model.
Structs§
- Facts
- Where a point stands: what a gate is told in
SPECCODER_*.
Constants§
- AWAITS_
TRUST - The words of a gate that waits for a person’s trust.
- CHANGED
- The words of a gate whose bytes changed since they were trusted.
Functions§
- run
- Runs the gates of
facts.pointdeclared in the configuration of the project atworktree(the project’s folder in the worktree, where its checks run), in name order, throughrunner(the checks’ runner); trust and runs are read from speccoder’s state directorystate. The first block stops the point; the gates after it arenot_run. No gates: empty. - test
speccoder hooks test: the gatedefalone, onroot, as it would stand at its point.