root-repeat
Off by default: once a workspace turns it on, it reports a main thread running the same delegable command again with no write since.
What it catches
A main thread running the same delegable command again with no write since.
Why
An identical search, read, diff, run or fetch with no file written since returns what the context already holds. At standard and strict the second run is advised once, and a file write starts the count over. It never refuses, and it skips a session that hands out work: there every repeat is groundwork, which orchestrator-groundwork judges. A calls parameter replaces the level's count.
Default and override
By default this rule takes the decision off. A workspace sets it by name, in its root
magusfile, to advise or off:
magus\guard.builtins({"root-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:
advise [root-repeat]: ...
magus describe rule root-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