feat(7834): issues linked to the file being written arrive before anything found by meaning
CI & Build / TypeScript typecheck (push) Successful in 37s
CI & Build / Plugin hooks (push) Successful in 12s
CI & Build / Python lint (push) Successful in 2s
CI & Build / Python tests (push) Successful in 2m53s
CI & Build / integration (push) Successful in 2m7s
CI & Build / Build & push image (push) Successful in 30s
CI & Build / TypeScript typecheck (push) Successful in 37s
CI & Build / Plugin hooks (push) Successful in 12s
CI & Build / Python lint (push) Successful in 2s
CI & Build / Python tests (push) Successful in 2m53s
CI & Build / integration (push) Successful in 2m7s
CI & Build / Build & push image (push) Successful in 30s
Before a write, the write path now looks up issues by structure: - an issue whose body or a log names the file (any status: a closed one is the record of what was already tried there); - an open issue tagged to an area whose path patterns cover the file. At most two, listed first, withheld from the search by meaning, which fills only what is left and only past the gate. Measured under write_path_linked. The lookups follow the kind x moment table: no issue lookup when issues are off at work.change, no nearby-snippet lookup when snippets are. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -181,6 +181,8 @@ POINTS: dict[str, Point] = dict([
|
||||
# the strongest possible claim, "there is already a canonical helper in
|
||||
# this exact file", be measured.
|
||||
_p("write_path_place", AMBIENT, "a snippet already placed in this very file"),
|
||||
_p("write_path_linked", AMBIENT,
|
||||
"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_sync", AMBIENT,
|
||||
"records that should be updated alongside this edit"),
|
||||
@@ -230,7 +232,7 @@ FAN_OUT_SITES: dict[str, tuple[str, ...]] = {
|
||||
# The write path's two LOOKUPS. Its ranked arm (`write_path_semantic`)
|
||||
# records through the pipeline's site below.
|
||||
"grimoire/services/plugin_context.py::record_surfaced(source=arm)": (
|
||||
"write_path_place", "write_path_sync",
|
||||
"write_path_place", "write_path_sync", "write_path_linked",
|
||||
),
|
||||
"grimoire/services/system_rulings.py::record_system_surfaced(source=source)": (
|
||||
"rulings_pre_tool", "rulings_write_path",
|
||||
|
||||
Reference in New Issue
Block a user