Commit graph

184 commits

Author SHA1 Message Date
Weksa
eff94fb4af Pin LoweringInput::of's privacy with the right arity; scene() doc points to scene_read()
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 03:25:44 +00:00
Weksa
bb152d02ce with_scene records what it read: SceneRead says no scene, no addressee, self-addressed, no relation or selected at a revision
The view no longer collapses five cases into one empty feature list. Scene::relation
returns None for an absent relation. Pins the item speaker over the first
participant and V16 without an addressee.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 03:10:21 +00:00
Weksa
e96acf97a5 Merge origin/main (checkpoint-gate) into weksa-lowering/speaker-scene
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 03:08:53 +00:00
7a8ffbea1e Merge pull request 'Checkpoint gate: Test readings need a Checkpoint nobody outside tests can declare; fixed instructions; context lows' (#27) from weksa-lowering/checkpoint-gate into main 2026-11-10 03:05:13 +00:00
Weksa
62059337a3 Door scan: say it is a line-based tripwire and what it misses
Docs only; no behaviour change.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 03:04:48 +00:00
Weksa
7a33a8d70f Map: say what the Checkpoint gate guards (7a)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 02:59:40 +00:00
Weksa
43f2e118f2 Checkpoint: offers borrow it; door pinned by source shape; doc states the real guard
EncoderOffer<'cp> borrows its Checkpoint so a Test offer cannot be encoded
after the reading spends it. tests/checkpoint_door.rs scans split.rs for any
public minting item under any name. The split.rs doc says operator tools read
corpus text and the guarded invariant is the round path.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 02:59:11 +00:00
Weksa
71e6058b64 with_scene reads the item's speaker and group scene from the store; V17 addressee names a referent
The view keeps its corpus item's speaker and group (LoweringInput::of takes
the item; admissible is gone), and with_scene takes the SpeakerStateStore, so
neither speaker nor scene comes from the caller and only admitted scenes
reach a view. An addressee that names a predication is refused as V17.
Pins scene numbering per group and the no-fallback case for a named
addressee outside the participants; tests/scene.rs fixture now speaks as the
item's speaker.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 02:51:35 +00:00
Weksa
3d83ba5fd2 Map: checkpoint-gate lines (7a, 7, 11)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 02:43:36 +00:00
Weksa
d5b11088ad Checkpoint offers each item once; prior turns print the held Train text
for_checkpoint takes &mut Checkpoint and refuses a repeated key
(OfferedAtCheckpoint) after the gate; TrainItems::held replaces holds and block
prints the matched Train item's text; the text-key fold is pinned against the
store's own S6 refusal.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 02:43:31 +00:00
Weksa
469e46cbc5 Cut: Checkpoint has no public constructor; instruction text is consts
Checkpoint::declare becomes cfg(test) for_test; Checkpoint-using tests move
into src unit tests over split::fixture; Prompt::mint and encode lose the
instructions parameter (MINT_INSTRUCTIONS, ENCODE_INSTRUCTIONS in context.rs).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 02:42:02 +00:00
Weksa
6ef1b7e034 Speaker and Scene documents, SpeakerStateStore, with_scene on a Scene document
Slot Speaker, weksa.speaker and weksa.scene append-only revisions in one
store, V16, feature_refusals as the one feature check, speaker_scene_revision
(Speaker features 22-24), schemas, docs and map lines. Part 1 of map cut 4b.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 02:34:10 +00:00
Weksa
0b62d2f3b4 Retire V13 and with_scene's raw door; Stance and Scene features sit in one slot
with_scene is removed until it takes a Scene document (next commit); V13 goes
with it. Slot exclusivity becomes a rule of InventoryEntry::well_formed, so
FEAT_ALL leaves Stance and its stance duplicate case goes (ANGER pins V11 in
Stance). tests/scene.rs is deleted and rewritten on Scene documents later.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 02:29:51 +00:00
ee3a3c3404 Merge pull request 'Map: speaker-scene facts, persona-state question, 4b/4c' (#24) from weksa-lowering/speaker-state-cut into main 2026-11-10 02:27:35 +00:00
Weksa
109276cac4 Merge remote-tracking branch 'origin/main' into weksa-lowering/speaker-state-cut 2026-11-10 02:27:24 +00:00
6f68c18f01 Merge pull request 'Context builder and checkpoint-only Test readings (cut loop-context-builder)' (#25) from weksa-lowering/loop-context-builder into main 2026-11-10 02:27:02 +00:00
Weksa
35b32b9639 Prior turns print only text a live Train item of the group holds; pin the Train union against withdrawn items
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 02:23:29 +00:00
Weksa
c1d530ccea context tests: pin TrainItems len and is_empty and the empty mint
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 02:08:45 +00:00
Weksa
b0b5728f07 Map: cut 7a loop-context-builder; item 3 names the checkpoint-only Test path; item 7 drops the context builder
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 01:57:47 +00:00
Weksa
3bd4a37645 context module: TrainItems, EncoderOffer and Prompt are the only road from corpus text to a model call
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 01:57:40 +00:00
Weksa
a6dd52774a Checkpoint and TestReadings: Test is read only at a declared checkpoint, scalars only
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 01:56:29 +00:00
Weksa
ce0208f0d0 Read every split by SplitScheme::live; CorpusItem::cited_entities owns the cited id set
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 01:55:55 +00:00
Weksa
45071fe346 Delete Aggregate.test and LeakDiagnostic: the round path reads no Test
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 01:54:47 +00:00
Weksa
ba52b01069 Map: speaker-scene facts — current seed, persona-state question, 4b/4c
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 01:47:39 +00:00
5e10d7cd51 Merge pull request 'S6 residue: lone marks get the marks-only reason, katakana ヷ-ヺ fold, İx/i̇x collide again' (#22) from weksa-lowering/residue-s6 into main 2026-11-09 11:15:51 +00:00
Weksa
a59d0a5e3c S6 key: drop the dot above i before the last NFKC so following marks compose; test the guard with j (Soul s22)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 11:15:46 +00:00
Weksa
85e11bf52a Merge remote-tracking branch 'origin/main' into weksa-lowering/residue-s6 2026-11-09 11:15:03 +00:00
42e72d66f9 Merge pull request 'Errors stop echoing identifiers: LowerError/Refusal Display, clap errors' (#21) from weksa-lowering/residue-echo into main 2026-11-09 11:14:53 +00:00
Weksa
169647ba9c Merge remote-tracking branch 'origin/main' into weksa-lowering/residue-echo 2026-11-09 11:14:41 +00:00
1c9bf3df3a Merge pull request 'Test: request_gate reads the agent role by gloss (kills the cargo-mutants survivor at lower.rs:286)' (#20) from weksa-lowering/residue-surv into main 2026-11-09 11:14:37 +00:00
Weksa
d933a3942a Delete clap rewrite arms no CLI flag can reach (Soul s21 low)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 11:14:26 +00:00
Weksa
461f4f8126 Error text stops echoing identifiers: fixed Display for LowerError and Refusal, clap unknown-argument/subcommand rewrite, pronunciation-language echo pinned
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 11:11:12 +00:00
Weksa
8c94838c30 S6 key: voiced katakana ヷ-ヺ fold, dot above after i drops (İx = i̇x); marks-only text gets the base-letter reason first
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 11:10:23 +00:00
Weksa
a300a1ce9e Test: the asker is the role glossed agent, not the first role (kills request_gate survivor)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 11:09:46 +00:00
8fd1f5b3be Merge pull request 'Corpus intake lows 2: S6 folds, CLI errors stop echoing identifiers, --admitted-on is a date, marks-only text refused' (#19) from weksa-lowering/corpus-intake-lows-2 into main 2026-11-09 11:04:10 +00:00
Weksa
3a56d3180f Tests: pin the 100-year rule, day 0, ASCII-only digits in dates, and the ヶ fold (Soul s19 survivors)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 11:03:58 +00:00
Weksa
2ce6325b70 Test: pin the modifier-letter table to the toolchain's Unicode version
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 10:44:53 +00:00
Weksa
3cf499dbd4 Merge remote-tracking branch 'origin/main' into weksa-lowering/corpus-intake-lows-2 2026-11-09 10:43:04 +00:00
Weksa
453b3d6c2f Corpus intake lows: S6 folds dotless i, kana and Arabic-Indic digits; CLI errors stop echoing identifiers; --admitted-on is a calendar date; marks-only texts refused
FormError and StoreRefusal display no caller identifiers; clap value errors name the flag and reason only. One is_calendar_date serves admitted_on and the pronunciation date. A text with no base letter or digit (Lm or M only) is refused beside the no-alphanumeric refusal; modifier_letters.txt is the Lm table its test walks.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 10:42:48 +00:00
860c714a1f Merge pull request 'Dao De Jing test bed: PublicDomain provenance fields, Legge slice, first golf-loop number' (#10) from weksa/dao-de-jing-test-bed into main 2026-11-09 10:22:55 +00:00
Weksa
34ce2dc413 Merge origin/main (fd18056, phones line) into weksa/dao-de-jing-test-bed
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 10:19:37 +00:00
Weksa
8a78761a7a Merge origin/main (2308b91) into weksa/dao-de-jing-test-bed
Main's proof revision owns concept:6 and frame:3; Dao ids renumbered to
start at concept:7 and frame:4 (daodejing.rs, lower.rs rows).
data/daodejing inventory.cc and packets.cc regenerated with weksa inventory
seed/proof/dao and weksa packet dao.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 10:16:22 +00:00
fd18056b5b Merge pull request 'Phone inventory, segmenter and weksa lower --phones (the Weksa->AquaSynth phones line)' (#16) from weksa-lowering/phones-line into main 2026-11-09 10:15:50 +00:00
Weksa
9ab3274af1 Merge origin/main into weksa/dao-de-jing-test-bed
lower.rs: keep main's frame:2 (agent will stop patient), keep PR frames 3-7.
daodejing.rs: Discourse gains addressee_consent (packet schema v5).
tests/daodejing.rs: lower takes the entity port.
data/daodejing/packets.cc regenerated with weksa packet dao.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 10:15:10 +00:00
Weksa
0ca9b5ebfe Merge main into phones-line (keeps both LowerError sets and both test groups)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 10:13:36 +00:00
2308b91fea Merge pull request 'Consent-gated request row: 'You asked Nibu to stop.' lowers only when the packet carries addressee consent' (#18) from weksa-body/consent-gated-asked-her-row into main 2026-11-09 10:12:23 +00:00
Weksa
53e54148e0 Test: consent to one of two requests leaves the other unconsented (Soul low)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 10:12:01 +00:00
Weksa
0bf9499ac0 Lower 'You asked Nibu to stop.' behind addressee consent: request concept and frame:3, consent gate in the lowerer
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 10:07:52 +00:00
2a46b067d9 Merge pull request 'Packet carries an addressee-consent fact (schema v5, V14, V15)' (#14) from weksa-packet/addressee-consent into main 2026-11-09 09:11:54 +00:00
96a6630fac Merge pull request 'Scorer coverage: words break at any non-word character; unspaced scripts read by run; near-miss chrF pairs per script' (#17) from weksa-lowering/scorer-coverage-scripts into main 2026-11-09 09:11:04 +00:00