Commit graph Weksa/crates/weksa/src/model.rs
Author SHA1 Message Date
Weksa
8e50bac366 test-text-guard s2 fixes: drop the short-text path, pin the 12-char threshold, round and mint-ontology stop on Withheld, model-written Test-group text withheld
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-13 00:57:21 +00:00
Weksa
f2b1e4fb81 test-text-guard s1 fixes: corpus-door sameness for texts of 12+ normalised chars, short texts as a line's end, every Test-group item withheld, round/cycle path pinned, split.rs doc dropped so PROMPT_SOURCE_DIGEST is unchanged
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-13 00:40:26 +00:00
Weksa
b3821810a5 test-text-guard: AnswerFiles refuses a prompt that holds the text of a live Test item, before any file is read or written
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>
2026-11-13 00:29:13 +00:00
Weksa
e0e3c93d97 Stance ablation: replay, drop and permute a packet's stance beside recall
RecordedAnswers is the one reader of <digest>.answer files (AnswerFiles reads
through it). RunStores::stance_ablation asks a fresh lowerer the round's own
lowering prompt again (replay), with the stance emptied (drop) and with the
next item's stance in its split (permute), for live Train and Validation
packets only, and reads how far the lowering moves and what the item's own
stance adds to fidelity. A diagnostic in <root>/ablation-<n>: records nothing,
never writes round-<n>. `weksa loop ablate <root> --round n`; exits 3 until
answered. Touches no pinned prompt-source file.

The source tripwire now allows the ablation as a second Prompt::lower call site.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 18:26:31 +00:00
Weksa
77d8b13952 ModelPort and AnswerFiles; the encode prompt lists the live inventory and has a digest
The encoder's instructions are written, Prompt::encode takes the run inventory
and revision, and Prompt::digest names a prompt for AnswerFiles: a prompt with
no answer file is written to <digest>.prompt and nothing else happens.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 03:47:24 +00:00