Commit graph Weksa/schemas
Author SHA1 Message Date
d9187aeec1 pd-name-spans: corpus import mints a public-domain work's cast and labelled name spans (#87) 2026-11-13 20:17:45 +00:00
516eb4b885 round: per-item Validation scores in the round record (cycle-floor-scores) (#71) 2026-11-13 03:47:53 +00:00
981ad0ea1f ja-seed-pairs: ja-JP :5/:7/:8 get certainty and restraint bounds (AtMostOrUnset) so the seed pairs never co-select (#58) 2026-11-12 19:52:14 +00:00
Weksa
139fa94b29 language-ontology-scene r2: a run reads entries and scenes at its own head, default bed is seed+proof+scene rev 3 (no Dao), politeness keyword guard replaced by model readings, nine seed entries reworded
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 17:11:57 +00:00
Weksa
f7f4e58d78 language-ontology-scene s1-2: the run pins the speaker-state store, assembled is the one scene door, select reads slot Scene, Prompt::lower refuses an unread scene, weksa scene put|dump, speaker_scene_revision(n)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 16:27:13 +00:00
Weksa
dc5e649851 language-ontology-seed fix s3: ja-JP:3 and :6 name no politeness level; README claim made true; schema clause dropped
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 15:44:08 +00:00
Weksa
79fcc313ed language-ontology-seed fix s2: neutral ja-JP:1 (no politeness per line), entry text defects, drafter residue out of the seed and score vectors, front-door and schema/tex prose
ontology.cc regenerated by weksa ontology admit, 9+9 entries, same generator string.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 15:39:48 +00:00
Weksa
fc99652f13 language-ontology-seed fix s1: rebuild the seed as 9+9 entries that read only stance and discourse and make true claims; pin the generator exactly; drop deleted store paths from the tex and schema; README says nothing grows the seed yet
ontology.cc is rebuilt from nothing (the branch is unmerged); no entry carries
over unchanged in number or text.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 15:29:11 +00:00
Weksa
6f14b00090 language-ontology-seed: model-drafted en-US and ja-JP seed entries; the target-language YAML, its typed copy and their schema prose deleted
Entries are Annotator::Model (Anthropic), inventory revision 1, drafted from the
YAML and standard references, not from any corpus text. pt-BR profiles are
deleted unconverted. Citations name data/ontology/ontology.cc.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 15:17:36 +00:00
Weksa
e46f933268 One language-tag owner: is_language_tag is canonical-case; tests for the case arms and Hangul fillers; leak-owner doc
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 14:51:31 +00:00
Weksa
602f7c2cd5 Ontology fix pass s1: refuse format and separator characters, canonical-case language, entries on retired features; kill six surviving mutants; two-language round test
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 14:31:35 +00:00
Weksa
0ea07d21fa Ontology entries per language, selected inside Prompt::lower and pinned by the run
OntologyEntry, OntologyStore::admit, ontology::select over the view's stance and discourse, OntologyDraft, run keys 15 and 16 with Drift(Ontology), weksa ontology admit and dump.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 14:11:51 +00:00
Weksa
f05906b1f7 Pin the panel sum rule's liveness, fix stale Ladder docs, name the composite verdict in the map record column
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 13:34:48 +00:00
Weksa
379c69eb06 decide owns the composite rule: no composite falls, non-finite readings fail closed; decide_panel only aggregates
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 13:11:22 +00:00
Weksa
14e94d4cb8 decide_panel rejects a composite fall past its floor; pin cycle floors, ablation, offer, recall and the ja-JP no-text check; drop the redundant tag branch
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 12:58:09 +00:00
Weksa
167ce83cfc Loop: lower each item in its own language, read and decide Validation per panel language
Prompt::lower takes the language; RunRecord carries the panel; RoundRecord and
Decision hold per-language readings (pooled keys retired); decide_panel is
Pareto non-regression over decide(); recall splits at UAX #29 word bounds.
Integration tests follow in the next commit.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 12:22:26 +00:00
Weksa
ff3261a50f Lows: show-working publishes by allowlist and prints Display, edition_year says first appearance
The split guard failed open on any new split name; it now allows Train and
split-less items only. The page printed Debug of Refusal/StoreError and the
EntityRead store message; it prints Display and a fixed line. edition_year
held the first-appearance year of the work or translation, not the page read:
the doc comment and published schema say so.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-12 09:46:50 +00:00
Weksa
2759c0f12d Round records carry a closed reason for every parse refusal and an own-family count
DraftClass (closed set from serde's category and leading words, never the
message) rides on DraftError; the round counts parse_reasons by code
('unreadable' for an answer that did not read as text) beside admit_rules.
RunRecord keeps the answerer's ModelFamily (loop open --answerer-family);
the round counts offered ModelWritten items of that family and the line
says own-family N. The corpus rule is documented as binding model judges:
the loop labels, it does not forbid. New fields and admit_rules are
cultcache default, so older run.cc records decode; schemas regenerated.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 17:05:07 +00:00
Weksa
d954cfb9e9 weksa loop recall: a recitation probe for public-domain items; admit_rules not required in the round schema
Each live public-domain Train and Validation item is offered to a model by its
opening alone and the completion is scored by chrF against the item's second
half (lowering-recall-diagnostic). Answers live in <root>/recall; the reading is
printed, recorded nowhere, never a gate. The round schema stops requiring
admit_rules, which older records lack.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 14:12:30 +00:00
Weksa
c527d0eb08 RoundRecord names the admission rules that refused items; the round line prints them
admit_rules (key 18) counts, over both splits, each rule an admission refusal
broke: validator codes (V2, V5) or a store refusal's variant name. Rule codes
only, no identifiers or text. The printed line gains admit-rules=... before the
lowerer-reach label.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 14:05:13 +00:00
Weksa
b569028f48 Soul s1 fixes: pin the lowerer reach, bound lowering text, pin the build refusal and the I/O discard
RunRecord key 12 LowererReach set by a required --lowerer-reach flag and
shown in round and cycle lines. PROMPT_SOURCE_DIGEST covers packet.rs.
Lowering text is refused when blank, over 4096 bytes or holding a control
character. Unanswered lowering digests are listed once. Tests for the
Prompt::lower build refusal and the packets.cc discard after a port error.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 09:32:28 +00:00
Weksa
74ebafbc65 The round lowers through the ModelPort: Prompt::lower over a LoweringInput, two answer phases
run::score_round no longer calls lower::lower. Prompt::lower prints the
meaning of an admitted view, en-US entity forms and the inventory at the
view's revision, and no item text, key, group, speaker or packet key. The
answer is a LoweringDraft {text}, held in score_round's locals and scored,
never written to run.cc, a RoundRecord, a Decision or EditFeedback. A round
or cycle asks every encode prompt, then every lowering prompt, all or
nothing. An entry an edit adds can now be lowered.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 09:18:38 +00:00
Weksa
3b7a6803bc Retire the lowerer source pin: one prompt pin over context, split and lower
Deletes LOWERER_SOURCE_DIGEST, DriftOf::Lowerer, RunRecord key 7 and
RoundRecord key 3 (retired, never reused). PROMPT_SOURCE_DIGEST now covers
lower.rs, which the lowering prompt will read. Schemas regenerated.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 09:10:56 +00:00
Weksa
ae8deb1e03 weksa loop cycle: a Train-only editor proposes an inventory edit, a candidate round scores it, a Ladder-stepped noise-floor rule accepts or rejects on Validation
Reading, decide and LADDER_STEP are pure; Decision (weksa.loop_decision) holds
digests and numbers; the latest Accepted decision names the run's head. The
candidate round and its decision are one batch put.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 05:10:47 +00:00
Weksa
fc52f3d3a4 RoundRecord keys 16 inventory_digest and 17 cycle; round becomes the drift check, score_round and one put
An encode answer the port reports as InvalidData is that item's Refused(Parse),
not an aborted round.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 05:01:18 +00:00
Weksa
a14bcaf9f8 The run stops opening the caller's inventory store: create copies it to <root>/inventory.cc and pins its digest (key 11)
RunRecord.inventory is provenance only; open refuses Drift(Inventory) when the
run's own file differs. A run.cc from before has no key 11 and its open fails.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 05:00:34 +00:00
Weksa
fd0c3b0edb Round: means count a refused item as 0, a failed round discards its packets, the round line is pinned
Validation and Train means are over every item of the split with scored counts
beside them, so refusing a weak item cannot raise a mean. A round that fails
before its record is put (embedder down) removes its packets.cc, and a round
starts from none, so a rerun with revised answers is not refused as a changed
packet. RoundRecord::summary_line owns the printed line and is pinned with exact
values. The RoundRecord compile_fail doctest gives every field and fails on
E0451, with its twin literal in a lib unit test.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 04:14:39 +00:00
Weksa
e7b4d9a68b RunStores is the one public producer of TrainItems and EncoderOffer: a run pins its corpus and entity stores by digest
TrainItems::from_corpus and EncoderOffer::for_round become pub(crate). RunStores
(run.rs) creates a run over three stores, records their canonical paths and
FNV-1a 64 digests plus the prompt and lowerer source digests in run.cc, and
reopens only from that record, refusing on drift. RunRecord and RoundRecord are
published CultCache types. tests/context.rs and the context.rs doctests move to
RunStores; the two mutated-clone gate cases become a unit test.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-10 03:45:49 +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
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
81572b1a54 Packet carries an addressee-consent fact (schema v5, V14, V15)
Discourse.addressee_consent names the predication the addressee asked for or
agreed to. V4 checks it resolves, V14 needs an addressee and a predication,
V15 allows only Authored or GameTelemetry sources. The English lowerer renders
no consent and refuses a packet carrying one.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 22:04:59 +00:00
Weksa
e7a3406b89 Entity forms carry a ruled pronunciation; lower --ipa emits it
LanguageForms gains an optional Pronunciation: bare stress-marked IPA, ruled_by,
date, source and a rejected list. The store checks its shape and freezes a
ruling once set. pronounce() and `weksa lower --ipa` print the stored IPA of each
cited entity and refuse with NoPronunciation / NoEntityReferent; rejected
variants are never read. Nibu is the first entry: ˈnibu, rejected ˈnɪbu.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 12:04:41 +00:00
Weksa
5eb58c3100 Dao De Jing test bed: PublicDomain provenance fields, Legge slice, first golf-loop number
Source::PublicDomain now requires licence, jurisdiction, translator and
edition_year; the store refuses an item missing any. data/daodejing holds
five Legge items (Gutenberg 216, no Gutenberg matter stored), inventory
revision 3, five packets with stance, and the lowerer rows to render them.
docs/targets/dao-de-jing-test-bed.md reports the first closeness number and
what the scorer cannot see.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-07 02:10:10 +00:00
Weksa
748aa083c0 Lowering input: the speaker's relation to the addressee (Scene slot, with_scene)
Slot::Scene, inventory revision 3 (relative_status, intimacy, in_group),
LoweringInput::with_scene validated like every feature list, V13 refuses a
relation without an addressee. Typed ids only; the English lowerer does not
render it.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 11:25:01 +00:00
Weksa
c1b2778b15 Merge weksa-lowering/speaker-state into main; adapt the lowerer to admit-only LoweringInput
No textual conflict except data/interlingua/inventory.cc (binary): regenerated as
the branch's rev 1 (61 entries) plus `weksa inventory proof` (rev 2, 7 entries).
Semantic breaks fixed: proof_packet() carries an empty Stance; `weksa lower`
re-admits the stored packet (idempotent) because validate no longer returns the
view; tests/lower.rs builds views through PacketStore::admit; seed_reseeded
expects seed plus proof revision. AGENTS.md records the CARGO_HOME requirement
and the proof packet key.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-03 15:54:42 +00:00
8d9c0270d1 entity-door-lows (2d): attested origins, every Cf refused in forms, bytes-only form bound, S6 under NFKC + case fold keeping marks, no-alnum texts refused, CLI flags and echoes (squash of weksa-lowering/entity-door-lows f1c9815..57dacf4; Soul s1, s2)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 18:44:02 +01:00
283678a58b speaker-state: reseed inventory rev 1, regenerate schemas (packet v4), fmt
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 17:38:05 +01:00
20865cac59 entity-store (2c): referents cite entity ids; typed entity store with bounded NFC forms per language; corpus name spans on grapheme boundaries; required CorpusItemId; packet schema v3 (squash of weksa-lowering/entity-store 29d671e..ea2c96c; Soul s1, s2)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 17:14:06 +01:00
c47e8e415d packet-store-corpus (2b): truthful corpus labels with ModelFamily and verbatim generator, whole-item S1, canonical keys, S6 no copy under a new key (squash of weksa-lowering/packet-store-corpus 491536c..f9258d5; Soul s1)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 14:34:00 +01:00
28284cc8db packet-store: weksa crate with typed packet, inventory and corpus stores, validator V1-V8 and V10-V12, derived split, published schemas and CLI (squash of weksa-lowering/packet-store 35fa979..c6190a6; spec r3, Soul s1-s4)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 13:40:49 +01:00
3327eddca3 park-node-body: park the Node body and Discord-sourced harness at parked/weksa-node-body; true README (squash of weksa-lowering/park-node-body 2583fb9..e41b60d)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 10:28:33 +01:00
Meta Vens
8ad1b2e79d Split MiMo performance register from language register 2026-06-11 20:27:51 +01:00
Meta Vens
773078daff Use MiMo VoiceDesign for speech provider projection 2026-06-11 20:10:02 +01:00
Meta Vens
0065fec2b3 Add MiMo speech provider target contract 2026-06-11 19:17:02 +01:00
Meta Vens
743f3aabe2 Define nested cultural ontology profile state 2026-06-09 16:40:31 +01:00
Meta Vens
6f74b726f4 Add multilingual utterance lowering profiles 2026-06-09 14:29:09 +01:00
Meta Vens
69ae7730b8 Validate tiny PanPhon handoff fixtures 2026-06-03 12:29:22 +01:00
Meta Vens
4f12b24794 Name PanPhon feature basis directly 2026-05-21 10:21:48 +01:00
Meta Vens
5a38fb62a4 Emit tiny PanPhon handoff fixtures 2026-05-20 23:23:11 +01:00
Meta Vens
4a03d242e8 Fix utterance embedding handoff dimensions 2026-05-20 23:13:02 +01:00