- 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>
A Bash command was split into segments on every `&&`, `||`, `;`, `|` and
newline, including those inside quotes and the lines of a heredoc. A script
written with `python3 - <<EOF` that mentioned curl reached env.reach, and a
grep for "a && git push" reached work.deliver. The splitter now reads the
line as the shell does: separators inside quotes are text, a heredoc's body
is skipped through its end word (`<<-` strips leading tabs), and a
backslash-newline continues the line. Command triggers use the same split.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A rule is in force at a moment of a session when it was delivered there.
Each (session, rule, place) now carries at most one verdict (rule_adherence,
migration 0134): followed, departed, broken or not applicable, with where it
came from:
- an enforce rule refusing the act: followed, recorded by the moment arm, and
never replaced;
- the session's own rule_outcome (applied, departed) and rule_misfired calls,
which the plugin's outcome hook now also posts with the session id
(/api/plugin/rule-verdict) onto the delivery being answered;
- a transcript review: adherence_to_judge lists what has no verdict yet, by
session, and judge_adherence records verdicts with their evidence.
rule_adherence (MCP) and /api/retrieval/adherence give the readout: sessions
in force, opened and each verdict per rule and per place. Settings > Moments
shows it in a "Were they followed" panel, beside each moment's delivered and
opened counts, and per rule inside each moment.
Verdicts are pruned with their deliveries and left out of backups like them.
Plugin 2026.11.23.2227.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The dialog names how many changes across how many rules, and how many of
those rules will start holding or refusing the acts they govern. A refused
item is reported in a toast; the rest still apply.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>