feat(7835): what resembles the work but is not shown is named by id in one pointer line
CI & Build / Python lint (push) Successful in 3s
CI & Build / Plugin hooks (push) Successful in 13s
CI & Build / TypeScript typecheck (push) Successful in 35s
CI & Build / Python tests (push) Failing after 2m1s
CI & Build / integration (push) Successful in 2m20s
CI & Build / Build & push image (push) Skipped

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>
This commit is contained in:
2026-11-24 19:16:01 -05:00
co-authored by Claude Opus 5.5
parent a2e474f401
commit b68aefc109
17 changed files with 307 additions and 33 deletions
+4 -2
View File
@@ -327,7 +327,8 @@ async def test_semantic_arm_only_asks_for_the_budget_the_place_arm_left():
patch.object(pc, "semantic_search_notes", search), \
patch.object(pc, "record_retrieval", MagicMock()):
await pc.build_write_path_hint(1, "src/x.py", code=REAL_CODE)
assert search.await_args.kwargs["limit"] == 2
from grimoire.services.retrieval_pipeline import POINTER_DEPTH
assert search.await_args.kwargs["limit"] == 2 + POINTER_DEPTH
@pytest.mark.asyncio
@@ -1322,7 +1323,8 @@ async def test_a_pulled_snippet_already_seen_is_evidence_not_menu():
# nothing is dropped between the search and the menu.
kw = search.call_args.kwargs
assert 7 not in kw["exclude_ids"]
assert kw["limit"] == 3
from grimoire.services.retrieval_pipeline import POINTER_DEPTH
assert kw["limit"] == 3 + POINTER_DEPTH
# ...and the menu carries it, marked.
seven = next(line for line in out["context"].splitlines() if "#7" in line)
assert "seen" in seven