Each lesson can carry its situation: a moment of work (work.deliver,
work.finish, ...) or a typed trigger on the act (path, command, tool,
keyword, matched as rule triggers are). A pass proposes, a person judges:
- lesson_situations (migration 0137): one row per lesson, kind and value,
suggested / confirmed / rejected; `none` records that no situation fits;
- MCP: lessons_to_situate, propose_lesson_situations,
lesson_situation_proposals, judge_lesson_situations;
- Settings > Moments lists waiting proposals with Apply / Not this /
Apply all; a lesson page lists its situations and lets a writer add one
or take one off (kept as rejected, never proposed again).
Delivery: the moment doors (the plugin catch-all hook and MCP replies) add
the lessons whose confirmed moment the act reached or whose trigger it
matches. The plugin door shows each once per session, using the record
ledger, and records it as pushed (source lesson_situation); the tool filter
now includes the tools a lesson trigger listens on.
The edit door no longer finds lessons by meaning: lesson leaves the
work.change default kinds.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A pointer before a payload:
- the notes arms fetch a few results past the menu; those that cleared
the floor but were held back by the gate, the band or the budget are
named by id per kind, with the call that opens each kind, in one line
("Also resembling this, not shown: ...") at the message and the write
path;
- they are recorded in the record ledger as `pointed`, so an open that
follows is counted apart from pushed lines;
- setting a task in progress returns records_in_area: the notes and open
issues tagged to the task's areas, by id (a work.start row in the
kind x moment table says which kinds; it answers in a tool reply, so it
is shown as unmeasured).
The static context says what a pointer line means. Plugin version minted.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The kind x moment table (services/record_kinds.py):
- every record search fires at a door: the operator message, or a
catalog moment (work.change for the write path);
- each door considers a set of kinds (snippet, note, lesson, process,
task:issue/work/spike/plan); a kind left out is never searched there;
- the shipped defaults are today's behaviour; a user's change is stored
per door, and putting a door back removes it.
Both note arms read it, replacing their fixed kind lists, and a reserved
slot whose kind is turned off is not reserved. The review re-run
searches the same kinds. Settings > Moments shows and edits the table,
with each cell's lines shown and opens from the record ledger.
list_moments returns it as record_kinds.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A ledger beside the rule deliveries (record_deliveries, migration 0136):
- every note, snippet, issue, lesson or process line a plugin door pushes
is recorded against the session, only when the payload kept it;
- a search the session runs itself records its results as asked, matched
to the server log of that call;
- an open is stamped on the delivery it followed, or recorded as direct
when nothing showed the record first.
The plugin reports opens and searches from the tool calls
(grimoire_record_read.sh). The readout is in retrieval_telemetry
(record_reach), at /api/retrieval/record-reach, and in Settings > Moments
as "How records reach the work". Plugin 2026.11.24.1827.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>