lease-claim
A deny rule by default: it refuses a leased write outside its write paths that magus proves belongs to the job, and names what to run instead.
What it catches
A leased write outside its write paths that magus proves belongs to the job.
Why
A write outside the write paths is still refused: the boundary is the declaration, and the guard never changes it inside a hook. When magus can prove the path belongs to the job, the refusal names the proof and serves the one magus job apply line that claims the path for the job, instead of sending the worker to its orchestrator. A proof is one of four: refs:
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({"lease-claim": "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 [lease-claim]: ...
A workspace that sets this rule to advise sees advise [lease-claim]: ... instead.
magus describe rule lease-claim 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