docs(8206): a ruling says what a constraint is for and not for, and the comment names it
CI & Build / TypeScript typecheck (push) Successful in 34s
CI & Build / Plugin hooks (push) Successful in 18s
CI & Build / Python lint (push) Successful in 7s
CI & Build / Python tests (push) Failing after 1m58s
CI & Build / Build & push image (push) Canceled after 0s
CI & Build / integration (push) Canceled after 2m9s

writing-records: the for/not-for form, naming a System's files so its
rulings reach an edit, and the comment at a constraint naming its ruling.
using-grimoire: read the area's rulings before changing a filter, gate or
default, and take a change that would undo one to the operator. The project
filter in embeddings now names its ruling, and the docstring that stretched
its reason to every kind is corrected. Plugin version minted.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-28 17:50:11 -05:00
co-authored by Claude Opus 5.5
parent 3e87df6c84
commit 9e3767f375
4 changed files with 34 additions and 10 deletions
@@ -145,10 +145,29 @@ one line each — the statement, who decided, when, and the record it came from:
Rulings
- Failed work is retried until it succeeds; no attempt limit. (Operator, 2026-09-19, #1234; restated 2026-10-02, #1290)
**A ruling about a constraint says what it is for, and what it is not for.** A
filter, a gate or a default outlives the reason it was made, and a later session
widens or narrows it by reading the code, which shows what it does and never
why. "Searches stay in their project" reads as a rule about every record; "a
search keeps other projects' open work out — it is not there to keep knowledge
in" can be re-judged when the reason changes. Write the *for* and the *not for*:
- The project filter keeps other projects' open work out of a session — not knowledge, which crosses with a label. (Operator, 2026-11-28, #1300)
The description arrives with every record filed under that System, so a ruling
there reaches each session working in the area without having to win a search.
Once the System names its files (`path_patterns`), its rulings also arrive with
the first command or edit in a session that touches them.
**Name the System's files** (`path_patterns`, globs from the repo root) so its
rulings also arrive with the first command or edit in a session that touches
them. That is the delivery that reaches someone changing the code; a System with
rulings and no files reaches nobody that way, and `enter_project` names it under
`rulings_undelivered`.
**The comment at the constraint names its ruling.** The code is where the next
change starts, and a reader there may have no Grimoire at all: give the reason
in the comment as a present-tense fact, and name the System and the ruling it
comes from, so the reason is one lookup away and the comment is not the only
copy.
A quote inside a work log does not: it surfaces only when a query happens to
match it, and the passage that matches is usually the prose around it — often a
session's *reading* of the ruling rather than the ruling.