mirror of
https://github.com/bitbaum/ai-kit.git
synced 2026-12-04 05:30:38 +01:00
The unknown-citation rule is described in this file as catching "the strongest possible signal of fabrication — it invents its own proof". It matched /\[[FD]\d+\]/ — ASCII brackets only — and models do not reliably write those. Observed 2026-09-13, two models on Groq, both unprompted, from a prompt whose every example used [F1]: openai/gpt-oss-120b The most recent feedback was on project Heidi【F3】. groq/compound-mini ...concerned project **Heidi**【F3】. An ASCII-only match does not flag those as bad citations. It does not SEE them. So `【F9】` on a turn holding three records sails straight past the rule, while `[F9]` is caught — a hole opened by a character variant, in the one check whose whole job is invented proof. Nothing else covers it. A false citation hung on an otherwise attested claim trips neither the proper-noun rule nor the number rule: every name and number in the sentence really is in the records. Only the proof is invented, and that is exactly the shape a reader is least able to check. Brackets are normalised before matching — fullwidth 【】, lenticular 〔〕 and fullwidth square []. Every substitution is one character for one character, so offsets into the normalised copy still address the original, and the violation reports the citation VERBATIM. Telling an author their `[F9]` is wrong when they wrote `【F9】` sends them looking for a string that is not in their answer. Proved by mutation: dropping the normalisation fails the new fullwidth test and nothing else, which is the point — the rest of the suite could not see this. 263 tests pass, verify green. Claude-Session: https://claude.ai/code/session_01Nm2REqtdsVsvjukBU2maCz Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>