|
|
@@ -7,25 +7,30 @@ Probes for [the taxonomy](../SKILL.md#taxonomy), tuned during the 2026-08 purge.
|
|
|
- Add `--hidden --glob '!.git/**'` so `.agents/` is searched; ripgrep skips dot-directories by default and the purge's biggest miss risk was Agent Notes.
|
|
|
- Exclusions go last so a later include cannot re-admit them: `--glob '!vendor/**' --glob '!node_modules/**' --glob '!.agents/notes/archived/**' --glob '!.agents/skills/dsh-trim-cot-leakage/**'` (the skill's own files quote leaked wording as calibration), plus recorded fixture and snapshot directories in scope. The [owning note](../../../notes/implemented/process/2026-08-09-committed-artifact-citations.md) also self-hits through its quoted evidence; judge it as evidence, not usage.
|
|
|
- Natural-language lines carry `-i` so sentence-initial capitals hit ("This PR adds…", "Probably fine…"); the first line, which matches code patterns, stays case-sensitive — `-i` would turn `\bT\d\b` and `\bP-I\b` into noise.
|
|
|
-- A zero-hit pattern proves nothing until you have seen it match: test it against a known-positive string before trusting the negative.
|
|
|
+- Bound complete phrases. `\bthis PR\b` must match "this PR adds" without matching "this project", "this process", or "this provider".
|
|
|
+- A zero-hit pattern proves nothing until it matches a known positive, and a noisy pattern proves nothing until it rejects a near-miss negative. Calibrate both before trusting a corpus result.
|
|
|
+- Target authoring-language probes at the opposite-language surface: search Chinese residue in `*.md` while excluding `*.zh.md`, and search Chinese change narration within `*.zh.md`. A generic ASCII search for English residue in Chinese prose is too noisy around code and identifiers; compare the prose additions against their counterpart instead.
|
|
|
|
|
|
## English battery
|
|
|
|
|
|
```sh
|
|
|
rg -n --hidden '\(decision \d|\(audit [A-Z]\d|design §|plan §|design ledger|\(B ruling|\bP-I\b|\bW\d\b|\bT\d\b' ...
|
|
|
-rg -n --hidden -i 'this PR|this branch|this stack|later PR|previous commit|this commit' ...
|
|
|
-rg -n --hidden -i 'used to |no longer|previously|the old |was renamed|was moved' ...
|
|
|
+rg -n --hidden -i '\bthis PR\b|\bthis branch\b|\bthis stack\b|\blater PR\b|\bprevious commit\b|\bthis commit\b' ...
|
|
|
+rg -n --hidden -i '\bused to\b|\bno longer\b|\bpreviously\b|\bthe old\b|\bwas renamed\b|\bwas moved\b' ...
|
|
|
rg -n --hidden -i '\bv1\b|this cut|\bcut \d|\btoday\b|\bfor now\b|roadmap' ...
|
|
|
rg -n --hidden -i 'rejected in review|review round|reviewer|as of v\d' ...
|
|
|
rg -n --hidden -i 'probably |should be enough|should suffice|it simply|is safe —|is safe --' ...
|
|
|
rg -n --hidden '§\d' ...
|
|
|
```
|
|
|
|
|
|
-## Chinese battery
|
|
|
+## Chinese batteries
|
|
|
|
|
|
```sh
|
|
|
-rg -n --hidden '设计稿|评审|上一?轮|旧版|老的|不再|以前|本版|遗留|私有' ...
|
|
|
-rg -n --hidden '(^|[^a-zA-Z])端([^a-zA-Z]|$)' --glob '*.md' ...
|
|
|
+# Change or review narration in Chinese counterparts.
|
|
|
+rg -n --hidden '设计稿|评审|上一?轮|旧版|老的|不再|以前|本版|遗留|私有' --glob '*.zh.md' ...
|
|
|
+
|
|
|
+# Chinese authoring-language slips in English Markdown.
|
|
|
+rg -n --hidden '设计稿|评审|上一?轮|旧版|老的|不再|以前|本版|遗留|私有|(^|[^a-zA-Z])端([^a-zA-Z]|$)' --glob '*.md' --glob '!*.zh.md' ...
|
|
|
```
|
|
|
|
|
|
## Known false-positive families
|
|
|
@@ -38,6 +43,6 @@ Judged and kept during the purge; expect them again:
|
|
|
- **`v1` as protocol or path segment** — `/v1/chat` endpoints and wire-format names are identifiers, not version stamps.
|
|
|
- **`§N` with a committed owner** — external standards (RFC 9110 §10.1.5) and committed docs that own their §-numbering stay citable by section.
|
|
|
- **Contrastive "actually" and noun "wait"** — ordinary English, not hedging; no committed line probes them, so they surface only when you extend the battery with broader hedging patterns.
|
|
|
-- **"Today" in generated timestamps and CLI output samples** — recorded output keeps its voice.
|
|
|
+- **Runtime "today" and recorded timestamps** — prompts or tests that ask for the current date use natural time, not a repository version stamp; recorded CLI output keeps its voice. Wording that reaches a model or user still follows the behavior-evidence rule before any edit.
|
|
|
- **本版本 in zh prose** — a legitimate rendering of "this release" in versioned-artifact contexts; the banned indexical is 本版 as a bare stamp mirroring "this cut".
|
|
|
- **Alternatives-considered sections** — "rejected" inside an Agent Note's genre slot is the sanctioned home, not review choreography.
|