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>
This commit is contained in:
Eureka 2026-10-29 10:28:33 +01:00
commit 3327eddca3
36 changed files with 56 additions and 6615 deletions

View file

@ -1,7 +1,8 @@
# Architecture
Weksa is the language-intent daemon surface: currently a state spine, pipeline
map, fixtures, and service contract waiting for its runtime loop.
Weksa is a language-intent engine: currently a state spine, pipeline map,
fixtures, ontology data and a planned service contract. No daemon runs; the
planned packet crate is `crates/weksa` (cut `packet-store`).
See [Verse Service Contract](./verse-service-contract.md) for the
CultCache/CultMesh authority map.
@ -9,8 +10,8 @@ CultCache/CultMesh authority map.
## Objective
Build a procedural alien-language engine whose outputs are grounded in
worldview, semantics, grammar, phonology, morphology, and history. As a daemon,
Weksa also turns writing plus agent state into typed conversational intent, then
worldview, semantics, grammar, phonology, morphology, and history. Once a service is
earned (planned), Weksa also turns writing plus agent state into typed conversational intent, then
lowers that intent into written realizations, pronunciation plans, speech-provider
requests, and utterance handoff documents.

View file

@ -1,166 +0,0 @@
{
"schema": "gamecult.eve.provider_advertisement.v1",
"providerId": "weksa.intent.service",
"title": "Weksa Intent Service",
"description": "Weksa converts writing, interlingua, and agent state into typed conversational intent, pronunciation plans, and utterance handoff documents for AquaSynth and other consumers.",
"mode": "fixture-read-only",
"serviceVerse": {
"id": "verse.weksa.service.v1",
"cultMeshKey": "weksa.service/provider-advertisement",
"authority": "Weksa daemon identity, schema catalog, and provider publication",
"owns": [
"typed conversational intent",
"pronunciation plans",
"utterance handoff documents",
"lowering traces",
"language-project and flavor-profile state"
],
"doesNotOwn": [
"AquaSynth learned embeddings",
"Faust compilation",
"rendered audio",
"Persona canonical state"
]
},
"nestedVerses": [
{
"id": "weksa.intent",
"kind": "intent",
"cultMeshKey": "weksa.intent/current",
"authority": "Weksa conversational intent compiler",
"schemas": [
"weksa.conversational_intent.v0"
]
},
{
"id": "weksa.pronunciation",
"kind": "pronunciation",
"cultMeshKey": "weksa.pronunciation/current",
"authority": "Weksa pronunciation lowering",
"schemas": [
"weksa.pronunciation_plan.v0"
]
},
{
"id": "weksa.utterance",
"kind": "utterance",
"cultMeshKey": "weksa.utterance/handoffs",
"authority": "Weksa utterance handoff export",
"schemas": [
"weksa.utterance_handoff.v0",
"weksa.utterance_embedding_handoff.v0.1"
]
},
{
"id": "weksa.operator",
"kind": "operator",
"cultMeshKey": "weksa.operator/status",
"authority": "Weksa daemon runtime",
"schemas": [
"weksa.operator_state.v0"
]
},
{
"id": "weksa.cultural_ontology",
"kind": "cultural_ontology",
"cultMeshKey": "weksa.cultural-ontology/catalogs",
"authority": "Weksa cultural ontology profile store",
"schemas": [
"weksa.cultural_ontology_profile.v0",
"weksa.cultural_ontology_catalog.v0"
]
}
],
"schemaWitnessFamilies": [
{
"family": "intent",
"namespace": "weksa.intent.*",
"witnesses": [
"weksa.conversational_intent.v0"
],
"durableShape": ".weksa/intent/{intentId}.cc"
},
{
"family": "pronunciation",
"namespace": "weksa.pronunciation.*",
"witnesses": [
"weksa.pronunciation_plan.v0"
],
"durableShape": ".weksa/pronunciation/{utteranceId}.cc"
},
{
"family": "utterance",
"namespace": "weksa.utterance.*",
"witnesses": [
"weksa.utterance_handoff.v0",
"weksa.utterance_embedding_handoff.v0.1"
],
"durableShape": ".weksa/handoff/{utteranceId}.cc"
},
{
"family": "trace",
"namespace": "weksa.trace.*",
"witnesses": [
"weksa.lowering_trace.v0"
],
"durableShape": ".weksa/traces/{traceId}.cc"
},
{
"family": "cultural_ontology",
"namespace": "weksa.cultural_ontology.*",
"witnesses": [
"weksa.cultural_ontology_profile.v0",
"weksa.cultural_ontology_catalog.v0"
],
"durableShape": ".weksa/cultural-ontology/{storeId}.cc"
}
],
"commandBoundaries": [
{
"id": "weksa.command.intent.create",
"owner": "Weksa",
"acceptedByFixture": false,
"allowedInputs": [
"writing",
"interlingua packet",
"Persona/agent state projection"
],
"emits": [
"weksa.conversational_intent.v0",
"weksa.lowering_trace.v0"
]
},
{
"id": "weksa.command.utterance.lower",
"owner": "Weksa",
"acceptedByFixture": false,
"allowedInputs": [
"accepted conversational intent",
"language project",
"speaker state"
],
"emits": [
"weksa.pronunciation_plan.v0",
"weksa.utterance_handoff.v0"
]
},
{
"id": "weksa.command.handoff.export",
"owner": "Weksa",
"acceptedByFixture": false,
"emits": [
"weksa.utterance_embedding_handoff.v0.1"
],
"forbiddenTargets": [
"Faust compilation",
"audio rendering",
"AquaSynth synth driver truth"
]
}
],
"loweringRules": [
"Weksa owns conversational intent and utterance lowering.",
"AquaSynth owns learned embeddings, synth controls, Faust compilation, and audio output.",
"Fixture exports are discovery metadata until the daemon loop commits typed witnesses."
]
}

View file

@ -1,158 +0,0 @@
# MiMo TTS Lowering
Version: `0.1-draft`
MiMo VoiceDesign is an expressive spoken-output target for Weksa interlingua
lowering. It is not the source of meaning, language choice, character state, or
delivery truth.
```text
interlingua packet
-> projected speaker-local context
-> target-language utterance realization
-> Weksa delivery intent from the same projection
-> MiMo TTS VoiceDesign request projection
-> rendered audio artifact
```
MiMo sits beside written output and AquaSynth handoffs. Written realizations
prove that meaning, register, and cultural ontology survived lowering.
AquaSynth handoffs train or drive GameCult-owned synthesis. MiMo VoiceDesign
requests let an external provider speak a Weksa-authored utterance with a
generated voice derived from the same projected Persona state, delivery controls,
and trace that produced the utterance.
The MiMo pass is choreography and provider flavor. It is not a second Persona
projection pass and it does not re-interpret raw Persona state after the line has
already been lowered.
## Authority
Weksa owns:
- target-language spoken text selected from interlingua
- target-language register, script, cultural ontology, and trace
- projected speaker-local context used for the utterance
- speaker-local delivery pressure derived during utterance lowering
- provider-neutral prosody and emphasis intent
- the MiMo request projection as an export artifact
MiMo owns:
- generation of a provider voice from the requested voice design description
- interpretation of MiMo natural-language voice/style guidance
- interpretation of MiMo inline audio/style tags
- rendered audio bytes or streaming audio chunks
MiMo does not own:
- source meaning
- target-language cultural ontology
- canonical speaker or Persona state
- fresh Persona-state interpretation
- Weksa pronunciation plans
- AquaSynth learned embeddings, synth controls, or audio truth
## Projection Rule
The MiMo request must be derived from an accepted target-language realization and
the same projected speaker-local context that created it. It must not lower
directly from English unless English is the selected target language for that
realization. It must not read raw Persona state to discover a different voice
after Weksa has already chosen the utterance.
Natural-language voice design and style guidance belongs in the MiMo `user`
message. The spoken target-language text belongs in the MiMo `assistant`
message. Inline MiMo tags may appear in the assistant content only when they are
derived from Weksa delivery intent or explicit target-language realization notes.
## Request Shape
```yaml
schema_version: weksa.mimo_tts_request.v0
source_realization_ref:
speaker_agent_id:
provider:
id: xiaomi-mimo
model: mimo-v2.5-tts-voicedesign
target_language:
code:
locale:
script:
register:
performance_register:
label:
medium:
delivery_archetype:
voice_design:
description:
source_controls:
projected_context_refs:
forbidden_traits:
messages:
user_voice_design_instruction:
assistant_spoken_content:
audio:
format:
optimize_text_preview:
streaming:
trace:
source_fields:
delivery_controls_used:
provider_tags_used:
uncertainties:
```
## Delivery Mapping
`target_language.register` is the linguistic/social register of the accepted
realization. It is not a provider style knob. For MiMo, Weksa should derive an
explicit `performance_register` from the same projection so speech choreography
can say "anime visual-novel heroine warning" without pretending English itself
has that register.
Weksa should map the utterance's existing projected Persona pressure into
provider-neutral delivery labels before emitting MiMo-specific instructions:
- pace, pause pressure, and urgency
- pitch contour and pitch range
- loudness and attack
- articulation precision
- warmth, threat, tenderness, contempt, play, fatigue, secrecy, formality
- span-level emphasis and pauses
The MiMo projection may turn those labels into a concise VoiceDesign prompt or
inline tags, but the trace must preserve the Weksa-owned source controls.
Persona presentation details such as youth-coded, loli-coded, product-voice, or
other culturally loaded styling may enter the MiMo request only when they are
already present in the projected context or accepted delivery intent. They should
be described as presentation/cultural coding and kept subordinate to agency,
personality, affect, and scene purpose. They must not become sexualized content
or a generic anime voice pasted over the line.
For Weksa-authored dialogue, `optimize_text_preview` should normally be `false`
or omitted. MiMo should speak the accepted target-language realization, not
rewrite it. Text polishing is only allowed for explicit preview/prototyping
passes that are marked non-authoritative.
## Language Rule
Weksa should be able to write and speak in any target language whose utterance
realization it can justify. MiMo output for Brazilian Portuguese should consume
the accepted `pt-BR` spoken text. Japanese output should consume accepted
Japanese text. Alien-language output should consume accepted alien rendered
speech or phonetic text only after the language project owns that surface.
Backtranslations are reviewer aids. They must not become MiMo spoken content.
## First Proof
The first proof should use the Nibu warning packet already used by multilingual
lowering:
- emit the accepted English, `pt-BR`, or Japanese realization
- derive a provider-neutral delivery intent from Nibu's projected context
- project that into a MiMo `mimo-v2.5-tts-voicedesign` request
- verify that the request speaks the target text, not the backtranslation
- verify that style guidance is traceable to Weksa delivery controls

View file

@ -180,9 +180,10 @@ meaning sources. A provider request must consume the target-language
`spoken_text` that Weksa already accepted and must carry a trace back to the
interlingua packet, projected speaker context, and target-language profile.
MiMo V2.5 TTS is the first external provider target. Its natural-language style
MiMo V2.5 TTS is a candidate external provider target; its lowering path is
parked at tag `parked/weksa-node-body`. Its natural-language style
instruction is a projection of Weksa delivery intent, and its assistant content
is the selected target-language spoken text. See [MiMo TTS Lowering](./mimo-tts-lowering.md).
is the selected target-language spoken text.
AquaSynth remains the GameCult-owned synthesis path for learned utterance
embeddings and synth-control work. MiMo and AquaSynth are sibling target

View file

@ -1,212 +0,0 @@
# Persona Fine-Tuning Dataset Exploration
This note profiles the Discord archive as a candidate source for fine-tuning the
Metame/Metacrat lowering pipeline.
## Pipeline Target
The live architecture should not fine-tune a model to directly impersonate from
raw chat history.
The training shape should stay aligned with Weksa:
1. Persona state and current situation produce interlingua intent.
2. Persona state references a culture/subculture stack.
3. Weksa lowers interlingua through that culture stack into a flavored
utterance.
Useful datasets therefore split into two families:
- Persona intent extraction: current context plus Persona state projection to
interlingua intent.
- Weksa lowering: interlingua plus culture stack to actual utterance.
Direct `context -> utterance` rows can be used as a baseline or critic set, but
they should not become the canonical architecture.
## Corpus Snapshot
Profiled archive:
`E:/Projects/VoidBot/.voidbot/rag/messages.json`
Author:
`113785782975594501`
Cutoff:
`2025-01-01T00:00:00Z`
Current aggregate counts:
- archive messages: 40,657
- usable text messages: 39,508
- authored Metacrat messages: 19,385
- authored Metacrat messages before 2025: 18,049
- crude pre-2025 casual candidates: 16,499
- pre-2025 authored messages with recent same-channel context: 16,530
- adjacent reply-to-other rows: 7,894
- adjacent self-continuation rows: 8,636
Length distribution for authored Metacrat messages:
- p10: 14 chars
- p25: 30 chars
- median: 56 chars
- p75: 101 chars
- p90: 166 chars
Adjacent candidate length classes:
- short: 11,430
- medium: 4,535
- long: 565
The corpus is large enough for held-out evaluation splits. It is also uneven:
2020 and 2021 dominate the pre-2025 archive.
## Dominant Channels
Top adjacent candidate channels:
- `general`: 6,286
- `development`: 2,911
- `narrative`: 2,169
- `management`: 1,103
- `website`: 753
- `soundtrack`: 437
- `gamedesign`: 433
- `programming`: 408
- `prose`: 320
- `politics`: 291
- `pics`: 273
- `advertising`: 115
These should become strata, not one blended dataset. A single mixed fine-tune
will learn that legal explanations, horny little design jokes, political
argument, and casual encouragement all belong in the same response slot. That
is how the soup gets teeth.
## Candidate Row Types
For Weksa lowering:
```yaml
schema_version: weksa.finetune.lowering_row.v0
row_id:
split:
target_message_id:
target_text:
interlingua_intent:
culture_stack_refs: []
target_overlay_refs: []
context_window:
before: []
after: []
labels:
channel:
year:
length_class:
speech_act:
register:
reply_to_other:
```
For Persona intent extraction:
```yaml
schema_version: weksa.finetune.persona_interlingua_row.v0
row_id:
split:
persona_state_ref:
projected_context_ref:
current_situation:
target_message_id:
derived_interlingua:
derivation:
reviewed:
model:
evidence_refs: []
```
The target utterance should be hidden from the Persona-intent generator during
inference. For training, target utterance may be used to derive a reviewed
interlingua label, but that label must be marked as derived from answer-key
surface evidence.
## Split Policy
Recommended first split:
- train: 2018-2021
- validation: early/mid 2022
- test: late 2022 plus selected hand-reviewed fixtures
- quarantine: 2023-2026 until the current post-2025 voice target is deliberate
Also reserve channel-level holdouts:
- one casual/social channel
- one technical channel
- one political/management channel
This catches overfitting to one room's register.
## Filters
Start with conservative row filters:
- target author is Metacrat
- target timestamp before 2025
- target is not deleted
- target is not a bot prompt
- target text length between 3 and 220 chars for casual lowering
- same-channel prior context exists within 60 minutes
- exclude pure URLs, code blocks, and attachment-only rows
- retain but label profanity, mentions, quotes, and markdown emphasis
Do not discard long messages globally. Keep them in a separate explanatory-prose
slice.
## Next Work
1. Build an exporter that writes JSONL rows without leaking private Persona
projection into git.
2. Add labelers for speech act, register, channel stratum, and culture-stack
refs.
3. Use a model-assisted pass to derive interlingua labels from held-out target
utterances, then sample-review before training.
4. Fine-tune or train adapters separately for Persona intent extraction and
Weksa lowering.
5. Keep a frozen golf set where answer-key utterances are redacted from all
culture/profile prompt material.
Reproduce the aggregate profile:
```powershell
node scripts/profile-metame-finetune-dataset.mjs
```
## Swarm Exploration
Use the swarm explorer to chase high-loss moments instead of uniform random
examples:
```powershell
node scripts/run-metame-swarm-explorer.mjs --agents 4 --seed metame-scout
node scripts/run-metame-swarm-explorer.mjs --real --agents 4 --seed metame-scout
```
The default mode is a dry run. Real mode runs Codex workers:
1. select one timeline candidate per agent using underexplored strata, feature
novelty, prior loss, and seeded jitter
2. run each Face normally against its assigned scenario
3. run an Interpreter pass that converts the Face output to Weksa interlingua
4. lower that interlingua with Weksa and score against the hidden utterance
5. run an optimizer pass over high-loss outputs
6. rerun the same scenarios once per agent after optimization
Artifacts are written under `.weksa-runs/metame-swarm/`, which is ignored by
git because run packets may include projected Persona memory and raw Discord
context.

View file

@ -25,10 +25,9 @@
IPA.
- Add one toy utterance embedding handoff fixture, then replace hand-authored
values with the AquaSynth-owned learned encoder.
- Add a daemon loop that commits conversational intent, pronunciation plans, and
utterance handoffs as typed CultCache witnesses.
- Publish the provider advertisement through CultMesh for Odin discovery; the
operator view returns on Thing 2 (Eve is deprecated).
- Follow the cut sequence in
[the lowering map](./targets/interlingua-lowering-map.md): packet store,
lowering, the golf loop, then a service if one is earned.
- Preserve the first English-only lowering proof under
`examples/english-lowering/`, and the shared multilingual proof under
`examples/multilingual-lowering/`.
@ -39,7 +38,7 @@
- Render glossed output through grammar, morphology, phonology, and diachrony.
- Emit a trace explaining which stage made each decision.
- Keep runtime LLM-free; model use belongs in authoring and critique.
- Keep CLI tools, fixtures, and daemon jobs on the same commit and
- Keep CLI tools and fixtures on the same commit and
derivation paths so Weksa does not grow split-brained intent truth.
## Later

View file

@ -1,5 +1,9 @@
# Weksa Verse Service Contract
> Status: planned contract. No daemon runs on main; the Node body is at tag
> `parked/weksa-node-body`. A service is earned by cut `live-lowering`
> (see [the lowering map](./targets/interlingua-lowering-map.md)).
Weksa is the language-intent daemon. It turns writing, dialogue pressure, and
agent state into typed conversational intent, then lowers that intent into
utterance documents for speech, text, and synthesis consumers.
@ -73,14 +77,8 @@ Early exporters may publish fixtures before a daemon loop exists, but the
witness names are not decorative. These are the state surfaces the daemon must
commit when the runtime lands.
The local Starfire daemon is launched by `scripts/start-weksa-daemon.ps1`,
checked by `scripts/health-weksa-daemon.cmd`, and restarted by
`scripts/restart-weksa-daemon.cmd`. Its daemon-owned health path publishes
`weksa.cultnet-rudp-provider-health` to Idunn over
`cultnet.transport.rudp.v0` after each serialized witness refresh, and MiMo
VoiceDesign commands arrive on `rudp://127.0.0.1:8813` as
`weksa.mimo_voicedesign_command.v0` documents. Health and operator truth live
in `.weksa/*.cc` witnesses; the HTTP daemon surface is deleted.
No daemon runs. The Node daemon, its launchers and its RUDP health and command
shims are parked at tag `parked/weksa-node-body`.
## CultMesh Verses