test-text-guard: AnswerFiles refuses a prompt that holds the text of an item in a Test group #65

Merged
weksa merged 3 commits from weksa-lowering/test-text-guard into main 2026-11-13 00:57:33 +00:00
Member

AnswerFiles, the one door a prompt leaves the loop by, refuses (PortError::Withheld, RunError::Withheld) any prompt whose normalised text contains the normalised text of an item in a Test group (12+ normalised chars, the corpus door's own sameness), before any file is read or written. RunStores::answer_files is the one constructor; main.rs no longer builds AnswerFiles. PROMPT_SOURCE_DIGEST inputs are unchanged. Zero hits over 1,896 real prompt files. Soul: cut-test-text-guard.s1, .s2. Ruling test-text-tripwire.

Limits: Test texts under 12 normalised chars are not caught (none live); the cycle editor and lowering Withheld arms are not pinned by a test.

🤖 Generated with Claude Code

AnswerFiles, the one door a prompt leaves the loop by, refuses (PortError::Withheld, RunError::Withheld) any prompt whose normalised text contains the normalised text of an item in a Test group (12+ normalised chars, the corpus door's own sameness), before any file is read or written. RunStores::answer_files is the one constructor; main.rs no longer builds AnswerFiles. PROMPT_SOURCE_DIGEST inputs are unchanged. Zero hits over 1,896 real prompt files. Soul: cut-test-text-guard.s1, .s2. Ruling test-text-tripwire. Limits: Test texts under 12 normalised chars are not caught (none live); the cycle editor and lowering Withheld arms are not pinned by a test. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
RunStores::answer_files is the one constructor; the five CLI sites use it.
Whole lines and JSON strings match at any length, fragments from 24 chars.
Zero hits over 168 real measure-ja prompts.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
weksa merged commit 736b6a4acb into main 2026-11-13 00:57:33 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
GameCult/Weksa!65
No description provided.