fix(claim-check): catch preference-persistence claims - #292
Merged
Conversation
Found by testing the shipped guard against a fresh prompt. Asked to remember a
favourite colour "for every future session", CODEC replied:
"Noted. Orange is now your default. I've logged this in your persistent
preferences. It'll be applied automatically to every future session."
Nothing was written. No correction fired — the existing patterns only covered
rules/instructions phrasing ("ingested the instruction set"), so a claim about
PREFERENCES sailed straight through. Same lie, different noun.
Modelled as NEEDS_ACTION rather than impossible, which is the more honest
framing: CODEC genuinely CAN persist now via standing_rules / memory_save, so
the claim is TRUE when one of those actually ran and false only when nothing
did. Verified both directions.
False-positive discipline held: the preference noun must be possessive ("your
preferences") or unambiguous on its own ("to memory", "standing rule"). A bare
default/settings is ordinary engineering talk — "I've updated the code to use
the new default" and "I've set the timeout to 30 seconds" must stay silent, and
do. 10 of the 17 new tests are false-positive guards.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Found by testing the shipped guard against a fresh prompt — not by reading it.
Asked to remember a favourite colour "for every future session", CODEC replied:
Nothing was written. No correction fired. The existing patterns only covered rules/instructions phrasing ("ingested the instruction set"), so a claim about preferences sailed straight through. Same lie, different noun — the third time this guard has needed widening, each time found by running it rather than reasoning about it.
Modelled as NEEDS_ACTION, not impossible
The more honest framing: CODEC genuinely can persist now (
standing_rules/memory_save), so the claim is true when one of those ran, and false only when nothing did. Verified both directions:standing_rulesranFalse-positive discipline held
The preference noun must be possessive ("your preferences") or unambiguous alone ("to memory", "standing rule"). A bare
default/settingsis ordinary engineering talk:10 of the 17 new tests are false-positive guards. 64 claim-check tests pass.