fixed extraction logic

This commit is contained in:
2026-01-18 12:05:36 -05:00
parent 488138a389
commit 1e00372140
8 changed files with 674 additions and 71 deletions

View File

@@ -30,6 +30,14 @@ Forbidden:
* Inferred intent
* Heuristic task selection
Allowed (explicit exception):
* Autogenerated or inferred selectors, but **only** when they resolve to one of the following concrete patterns:
* `{ kind: "css"; selector: string }`
* `{ kind: "cssAll"; selector: string; index: number }`
* `{ kind: "textScope"; text: string }`
* `{ kind: "anchoredCss"; anchor: { kind: "textScope"; text: string }; selector: string }`
If a change violates this, it is **out of scope**.
---
@@ -879,4 +887,3 @@ Legacy convenience is not a justification for ambiguity.
> The tool must always make it obvious *what will run*, *with what*, and *why*.
Agents exist to preserve this clarity — not to smooth it away.