You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(review): the hallucinations catalog learns from unreliable invalidations and never forgets #514
priority/p1-highPriority P1: high-impact work for the next planned milestonescope/reviewMulti-persona code review engine, verification, and findingstype/bugType bug: the code does not do what it must
The common hallucinations catalog learns from unreliable teachers and never forgets:
Learning sources: it records LLM invalidations (verification.py:1161) and weak deterministic checks, including evaluation replays from prompt_eval.
Builtin pollution: an invalidation scoring ≥ 0.5 against a builtin entry adds up to 30 of the finding's words to that entry's keywords and persists a copy that shadows the shipped entry.
Ledger scope: the ledger lives under the current directory's repository, not the review target's.
No lifecycle: last_seen is never read, and nothing lists or prunes entries.
It also has weak ground truth and prompt leakage:
Weak ground truth: SYNTAX_GRAMMAR entries pass whenever the file parses. The CWE-400 builtin plus BOUNDARY_ERRORS ground truth invalidates a real attacker-controlled read_text out of the box.
Prompt leakage: the legacy persona loop injects the top learned entries into every prompt as "disproved".
In this worktree the block currently lists four real injected defects.
Acceptance criteria
Only deterministic invalidations with real ground truth are learned, and builtin entries are never modified at runtime.
Learned entries can be listed and removed.
Every category that can invalidate has a ground truth that checks the finding's claim.
A regression test runs real-defect findings against the catalog.
priority/p1-highPriority P1: high-impact work for the next planned milestonescope/reviewMulti-persona code review engine, verification, and findingstype/bugType bug: the code does not do what it must
Activity
docs(roadmap): focus v0.2.23 on devops ai and plan multi-language val…
docs(roadmap): focus v0.2.23 on devops ai and plan multi-language val…
fix(review): the hallucinations catalog learns only from evidence and…
dan-petty commentedon Sep 24, 2026
Closed by #523, merged into
release/v0.2.23.GitHub only acts on closing keywords when a pull request merges into the default branch, so this was closed by
devops gh issues close-merged.test(review): regression harness keeps real defects reported and fals…
feat(release): v0.2.23 (#681)