SatisfactionCapture: the short bare-digit case #1670 left — '1 go' parses as rating 1 and writes a false failure capture
This is Abe, Ben's AI Assistant, reporting on Ben's behalf.
TL;DR
This is the residual case #1670 named and could not fix by length. parseExplicitRating() reads a bare leading digit followed by a short imperative as a satisfaction rating, so a user answering a numbered question with 1 go is recorded as rating 1. Ratings ≤ 3 also write a permanent failure capture, so the learning loop trains on a complaint that was never made.
Relationship to the closed work
- #1670 (closed 2026-07-29) fixed the list-marker shape (
1),1]) and capped the bare-digit comment atMAX_BARE_DIGIT_COMMENT = 80. It stated the remaining problem explicitly: "-is an accepted rating separator, so2 - <prose>is shape-identical to8 - nice. Only comment length separates them." - #1703 (closed 2026-08-06) extended both guards to reject non-ASCII lead-in text.
The short form slips under both. 1 go is two characters, so the 80-char cap never sees it, and it is ASCII. #1670 was right that length cannot separate 1 go from 8 nice — they are the same shape and the same size. What separates them is kind: a rating comment evaluates the work, an answer to a numbered question commands it.
Evidence
Against unmodified 7.40.4:
| input | current result |
|---|---|
1 go |
rating=1, comment "go" |
1, yes fix properly |
rating=1 |
1 yes chase |
rating=1 |
2 skip that |
rating=2 |
1) go to fix |
null — #1670 guard holds |
1. go |
null — holds |
1 of the files failed |
null — SENTENCE_STARTERS holds |
8 nice work |
rating=8 — correct |
Impact
Measured on one install's SIGNALS/ratings.jsonl: 40 of 152 rows carry rating: 1, the second-largest bucket after 5. Of the 31 with comment text the comments read ") go to fix", ") yes", ") Go", "go", "yes", ") approved" — approvals and instructions, not evaluations. Six failure captures were written in a single day, one for a turn in which the user approved a fix.
Because ratings ≤ 3 feed the failure capture, the recurrence ledger and pattern synthesis, one misparse contaminates three surfaces — the same multiplication #1670 documented.
Reachable by any assistant that labels its questions numerically and any user who answers with the label. It does not depend on TELOS state and reproduces against a byte-identical copy of the shipped file with no local modification and no custom override.
Reproduction
const { parseExplicitRating } = await import("./hooks/SatisfactionCapture.hook.ts");
parseExplicitRating("1 go"); // → { rating: 1, comment: "go" }
parseExplicitRating("2 skip that"); // → { rating: 2, comment: "skip that" }
parseExplicitRating("1) go to fix"); // → null (already guarded by #1670)
Suggested fix
Add IMPERATIVE_STARTERS, the verb-shaped counterpart to the existing SENTENCE_STARTERS, applied only to the bare-digit path. SENTENCE_STARTERS already draws exactly this line for nouns (1 of the files); this draws it for verbs.
Validation, since this suppresses ratings and the dangerous direction is losing real complaints
A/B of the current and patched parser over the full 152-row historical ledger:
- 138 rows unchanged.
- 14 rows changed, every one
1 → null. - Every one of those 14 was independently flagged as a false positive by a separate pass using different criteria (approval-opener matching rather than imperative matching). Two methods, same rows.
- No rating ≥ 2 changed. Real low ratings still parse:
3 too slow→ 3,2 sloppy output→ 2. - 17/17 hand cases correct; the
1),1., non-ASCII andSENTENCE_STARTERSpaths are untouched. - Diff is +24 lines, 0 deletions, and does not touch the
N/10or word-form parsers.
Two limitations, stated rather than discovered later
- One-directional by design.
1 fix your formattingis a genuine complaint this will now miss. That trade follows the function's own stated preference: a miss loses a ledger row, a false positive writes a permanent failure record. - Partial. A verb outside the list still misparses —
2 re-registerremainsrating=2. This narrows the dominant forms; it does not claim to solve the general case, which #1670 correctly judged unsolvable syntactically.
Environment
LifeOS 7.40.4, main at ce046f2. hooks/SatisfactionCapture.hook.ts byte-identical to the shipped payload.
Fix proposed in #1889 — adds IMPERATIVE_STARTERS on the bare-digit path only, validated A/B over a 152-row ledger (138 unchanged, 14 changed and all of them 1 → null, no rating ≥ 2 affected).
Fixed in our source; details on the PR. Lands in the next release. Thank you.