fix(8816): a hold rule holds the first write to a file its own path trigger names
CI & Build / Python lint (push) Successful in 2s
CI & Build / TypeScript typecheck (push) Successful in 10s
CI & Build / Plugin hooks (push) Successful in 14s
CI & Build / Python tests (push) Successful in 1m51s
CI & Build / integration (push) Successful in 2m24s
CI & Build / Build & push image (push) Successful in 24s

A rule set to hold never held a file edit, so rule 198 (services run on
the orchestrator's defaults), even at hold, could only sit beside the
compose-file edit that broke it. The trigger board now names the rules
whose path trigger matched the act, and a write is held only for those:
a mount or a keyword alone still lets a write through. Tool descriptions
and the using-grimoire skill say so.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-12-05 22:17:30 -05:00
co-authored by Claude Opus 5.5
parent b67e621adc
commit 72ef1bb45d
7 changed files with 48 additions and 14 deletions
+3 -3
View File
@@ -553,7 +553,7 @@ async def create_rule(
enforcement: What this rule does when it arrives. `inform` (the
default) puts a line beside the work. `hold` makes the reply or
act it governs wait until the session has read the rule once
(file edits are never held) — for a rule whose miss costs a
(a file edit only through a path trigger naming that file) — for a rule whose miss costs a
rewrite. `enforce` refuses the act it governs, in the rule's own
words, every time — for a boundary only the operator moves; it
needs a trigger, or a mount on a moment an act reaches, to have
@@ -691,7 +691,7 @@ async def create_project_rule(
enforcement: What this rule does when it arrives. `inform` (the
default) puts a line beside the work. `hold` makes the reply or
act it governs wait until the session has read the rule once
(file edits are never held) — for a rule whose miss costs a
(a file edit only through a path trigger naming that file) — for a rule whose miss costs a
rewrite. `enforce` refuses the act it governs, in the rule's own
words, every time — for a boundary only the operator moves; it
needs a trigger, or a mount on a moment an act reaches, to have
@@ -814,7 +814,7 @@ async def update_rule(
enforcement: What this rule does when it arrives. `inform` (the
default for a new rule) puts a line beside the work. `hold` makes the reply or
act it governs wait until the session has read the rule once
(file edits are never held) — for a rule whose miss costs a
(a file edit only through a path trigger naming that file) — for a rule whose miss costs a
rewrite. `enforce` refuses the act it governs, in the rule's own
words, every time — for a boundary only the operator moves; it
needs a trigger, or a mount on a moment an act reaches, to have