feat(7734): the instruction surfaces teach how strongly a rule arrives, what a held or refused call means, and what a quiet moment means
CI & Build / TypeScript typecheck (push) Successful in 40s
CI & Build / Plugin hooks (push) Successful in 20s
CI & Build / Python lint (push) Successful in 2s
CI & Build / Python tests (push) Failing after 2m0s
CI & Build / integration (push) Successful in 2m28s
CI & Build / Build & push image (push) Skipped
CI & Build / TypeScript typecheck (push) Successful in 40s
CI & Build / Plugin hooks (push) Successful in 20s
CI & Build / Python lint (push) Successful in 2s
CI & Build / Python tests (push) Failing after 2m0s
CI & Build / integration (push) Successful in 2m28s
CI & Build / Build & push image (push) Skipped
- writing-records.md: a new section on declaring enforcement (inform, hold, enforce), the trigger a hold or refusal needs to name its act, and salience. A rule with an exit is a hold; a rule with triggers stops only the acts they match. - moments.md: a held call is read and made again (unchanged if the rule does not bear on it, with rule_misfired); a refused call is the operator's boundary and moves only when they change the rule; a moment sends a few lines in one order and drops the rest, so a quiet moment is not an empty rulebook. - The static context says a rule can hold or refuse a tool call. - create_rule, create_project_rule and update_rule describe enforce as a refusal every time that needs an act, and trigger-only holds. - The cross-project guard words a rule edit on another project as the operator's curation, naming the rule, and no longer suggests filing an issue in its place. _INSTRUCTIONS is at its 1,600-character cap and is left alone: holds and refusals explain themselves when they fire. The guidance ownership test registers the three new topics. Plugin 2026.11.23.2259. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -7,7 +7,7 @@ proposes mounting or unmounting a rule.
|
||||
|
||||
## Contents
|
||||
- What a moment is
|
||||
- Reading a line that arrived at a moment
|
||||
- Reading a line that arrived at a moment — and a held or refused call
|
||||
- When the moment is wrong — correct it in the session
|
||||
- When a mounted rule arrives and does not apply
|
||||
- When a line proposes a mount — and how rules are weighed and measured
|
||||
@@ -41,6 +41,22 @@ The reply that ends a turn is a moment too. When a rule mounted at
|
||||
with its name: open it, then send the reply — unchanged, if it already does
|
||||
what the rule asks. The same rule is never held twice.
|
||||
|
||||
A call can be held the same way. A rule declared `hold` that the call reaches
|
||||
stops it once, naming the rule: read it, then make the call again — unchanged
|
||||
if the rule does not bear on it, and then `rule_misfired` says so. A rule
|
||||
declared `enforce` refuses the call every time, in its own words: that is a
|
||||
boundary the operator drew, and it moves only when they change the rule, so
|
||||
tell them what you were doing and what the rule said. A rule with triggers of
|
||||
its own holds or refuses only the acts those triggers match; at the rest of
|
||||
its moments it arrives as a line.
|
||||
|
||||
A moment sends a few lines, not every rule mounted there: ordered by
|
||||
enforcement, then salience, then how exactly the act reached the rule, then
|
||||
how often it has been opened there. What did not fit was left out, and a
|
||||
rule already shown this session comes back as a short reminder, then not at
|
||||
all. So a quiet moment means nothing more needed saying there, not that no
|
||||
rule applies — `what_might_apply` asks for the whole list.
|
||||
|
||||
## When the moment is wrong — correct it in the session
|
||||
|
||||
A moment can fire on an action that is not that moment here, or an action can
|
||||
|
||||
Reference in New Issue
Block a user