gate-repeat
A deny rule by default: it refuses the gate run a third time over a tree its last green verdict already covers, and names what to run instead.
What it catches
The gate run a third time over a tree its last green verdict already covers.
Why
From the third gate run inside two hours, the run is refused when the newest verdict the branch recorded passed and no file that differs from that verdict's commit was written after it: such a gate can only pass again. Short of that, the rule states what the gate has cost so far and the command that sizes the risk, once per session, and refuses nothing. A run log, a session store or version control it cannot read refuses nothing.
Default and override
By default this rule takes the decision deny. A workspace sets it by name, in its root
magusfile, to deny, advise or off:
magus\guard.builtins({"gate-repeat": "advise"})
A loosening takes effect once it is committed; a tightening applies at once.
Seeing it
A verdict names its rule in brackets, which is how you got here:
deny [gate-repeat]: ...
A workspace that sets this rule to advise sees advise [gate-repeat]: ... instead.
magus describe rule gate-repeat prints the same entry at a terminal, and
magus describe rules lists every rule this workspace enforces.
See also
- All rules - what this workspace enforces, deny first
- The guard - how a verdict is reached and wired
- Setting a built-in rule - how a workspace changes this default