docs(7832): the place arm is described as snippets beside the file, named by id
CI & Build / TypeScript typecheck (push) Successful in 33s
CI & Build / Plugin hooks (push) Successful in 14s
CI & Build / Python lint (push) Successful in 1s
CI & Build / Python tests (push) Successful in 2m32s
CI & Build / integration (push) Successful in 2m31s
CI & Build / Build & push image (push) Successful in 22s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-25 14:20:10 -05:00
co-authored by Claude Opus 5.5
parent 7c6b3fbc04
commit 0e946ffac8
2 changed files with 13 additions and 11 deletions
+7 -6
View File
@@ -1891,12 +1891,13 @@ async def build_write_path_hint(
lines.append(_copy_line(copies)) lines.append(_copy_line(copies))
parts.append(hook_payload.Part(text=lines[-1])) parts.append(hook_payload.Part(text=lines[-1]))
# Split by arm, which is the whole reason this table exists. The place arm # Split by arm, which is the whole reason this table exists. The lookups
# carries no score and so has no home in retrieval_logs, yet it fires on # by place carry no score and so have no home in retrieval_logs, yet they
# the strongest possible claim ("there is already a canonical helper in # must be measurable: the sync class makes the strongest claim here ("this
# this exact file") and must be measurable. The sync class gets its own # snippet records the file you are changing"), and its pull-through rate
# tag: its pull-through rate is the number that says whether edit-time # is the number that says whether edit-time record-sync actually happens.
# record-sync actually happens. # The place arm (snippets beside the file, named by id) and the linked
# issues get their own tags beside it.
by_arm: dict[str, list[int]] = {} by_arm: dict[str, list[int]] = {}
if sync_note_ids: if sync_note_ids:
by_arm["write_path_sync"] = list(sync_note_ids) by_arm["write_path_sync"] = list(sync_note_ids)
+6 -5
View File
@@ -176,11 +176,12 @@ POINTS: dict[str, Point] = dict([
# ── The write-path menu's own arms ─────────────────────────────────── # ── The write-path menu's own arms ───────────────────────────────────
# #
# These are NOT in retrieval_logs. The place arm carries no score and so # These are NOT in retrieval_logs. The lookups by place carry no score and
# has no row there at all; declaring it here is what lets the arm making # so have no row there at all; declaring them here is what lets them be
# the strongest possible claim, "there is already a canonical helper in # measured, the sync class ("this snippet records the file you are
# this exact file", be measured. # changing") above all.
_p("write_path_place", AMBIENT, "a snippet already placed in this very file"), _p("write_path_place", AMBIENT,
"a snippet recorded beside the file being written, named by id"),
_p("write_path_linked", AMBIENT, _p("write_path_linked", AMBIENT,
"an issue that names the file being written, or is open in its area"), "an issue that names the file being written, or is open in its area"),
_p("write_path_semantic", AMBIENT, "prior art matched by meaning"), _p("write_path_semantic", AMBIENT, "prior art matched by meaning"),