From b68aefc10906e4ea2752156723bffefcef0c0d98 Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Tue, 24 Nov 2026 19:16:01 -0500 Subject: [PATCH] feat(7835): what resembles the work but is not shown is named by id in one pointer line 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 --- frontend/src/api/moments.ts | 5 +- frontend/src/components/RecordKinds.vue | 5 +- frontend/src/components/RecordReach.vue | 5 +- plugin/.claude-plugin/plugin.json | 2 +- plugin/hooks/grimoire_static_context.md | 4 +- src/grimoire/mcp/tools/tasks.py | 28 ++++++++ src/grimoire/models/record_delivery.py | 3 +- src/grimoire/services/plugin_context.py | 36 +++++++++-- src/grimoire/services/record_deliveries.py | 16 +++-- src/grimoire/services/record_kinds.py | 71 +++++++++++++++++++-- src/grimoire/services/record_links.py | 46 +++++++++++++ src/grimoire/services/retrieval_pipeline.py | 39 ++++++++++- tests/conftest.py | 10 +-- tests/test_integration_record_links.py | 21 ++++++ tests/test_note_pipeline.py | 39 ++++++++++- tests/test_services_plugin_context.py | 4 +- tests/test_write_path_trigger.py | 6 +- 17 files changed, 307 insertions(+), 33 deletions(-) diff --git a/frontend/src/api/moments.ts b/frontend/src/api/moments.ts index 180aca27..0815a37c 100644 --- a/frontend/src/api/moments.ts +++ b/frontend/src/api/moments.ts @@ -290,6 +290,9 @@ export interface RecordKindsDoor { default: string[]; /** The user changed this door; otherwise it follows the shipped default. */ changed: boolean; + /** Its lines are recorded per session; a door that answers in a tool + * reply is not, so it has no counts. */ + measured: boolean; /** Lines this door pushed of each kind, and how many were opened. */ evidence: Record; } @@ -311,7 +314,7 @@ export function setRecordKinds(door: string, kinds: string[] | null): Promise{{ row.fires }} shipped default +

+ Named by id in the reply that sets a task in progress, so there are no counts for it. +

  • - {{ evidenceText(row, k.kind) }} + {{ evidenceText(row, k.kind) }}