Add Nibu CultCache lowering agent runs
This commit is contained in:
parent
53cf94767a
commit
43556b5cfe
6 changed files with 330 additions and 0 deletions
12
examples/cultcache-lowering/README.md
Normal file
12
examples/cultcache-lowering/README.md
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# CultCache Lowering Examples
|
||||
|
||||
These examples lower interlingua packets through CultCache cultural ontology
|
||||
profiles rather than the older YAML-only target-language profiles.
|
||||
|
||||
The starter database is:
|
||||
|
||||
- `.weksa/cultural-ontology/starter-targets.cc`
|
||||
|
||||
Each target file is produced as a separate agent run so differences in target
|
||||
ontology remain inspectable instead of being smoothed into one multilingual
|
||||
batch.
|
||||
19
examples/cultcache-lowering/nibu-proof-001/README.md
Normal file
19
examples/cultcache-lowering/nibu-proof-001/README.md
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# Nibu Proof 001 CultCache Lowering
|
||||
|
||||
Source packet:
|
||||
|
||||
- `examples/english-lowering/nibu-proof-001/interlingua.yaml`
|
||||
|
||||
Prompt:
|
||||
|
||||
- `prompts/nibu-cultcache-target-lowering.md`
|
||||
|
||||
CultCache profile store:
|
||||
|
||||
- `.weksa/cultural-ontology/starter-targets.cc`
|
||||
|
||||
Expected target outputs:
|
||||
|
||||
- `pt-BR-vanilla-brazilian.yaml`
|
||||
- `en-transatlantic.yaml`
|
||||
- `ja-JP-kanto-contemporary.yaml`
|
||||
|
|
@ -0,0 +1,56 @@
|
|||
schema_version: weksa.utterance_lowering.agent_run.v0
|
||||
source_packet_id: nibu-proof-001
|
||||
source_packet_ref: examples/english-lowering/nibu-proof-001/interlingua.yaml
|
||||
target_profile_ref: .weksa/cultural-ontology/starter-targets.cc
|
||||
target_profile_id: weksa.cultural_ontology.en.transatlantic.v0
|
||||
target_agent_id: nibu
|
||||
realization:
|
||||
realization_id: nibu-proof-001.en-transatlantic.001
|
||||
target_language:
|
||||
code: en
|
||||
locale: en-001
|
||||
script: Latn
|
||||
register: cultivated transatlantic English; cross-Atlantic intelligibility; measured technical warning
|
||||
cultural_ontology_refs:
|
||||
- .weksa/cultural-ontology/starter-targets.cc
|
||||
cultural_ontology_profile_ids:
|
||||
- weksa.cultural_ontology.en.transatlantic.v0
|
||||
outputs:
|
||||
visible_action: Cockpit lights snap white as Nibu locks the damaged control under local override.
|
||||
spoken_text: "Do not touch that control. It is damaged; one touch may put you directly in harm's way. I am preventing an avoidable injury, not asking politely."
|
||||
literal_backgloss: "Do not touch that damaged ship control. Touching it may endanger you. Nibu is stopping the action, not making a polite request."
|
||||
natural_backtranslation: "Keep your hands off the damaged control. It could hurt you, and Nibu is blocking the mistake rather than asking nicely."
|
||||
private_interpretation: "The player is about to touch an unsafe damaged control. Nibu needs them alive and useful, so she asserts technical authority with clipped irritation."
|
||||
intended_effect: Stop the player from touching the damaged control while preserving Nibu's precise, abrasive, protective stance.
|
||||
trace:
|
||||
meaning_preserved:
|
||||
- player is the addressee and potential patient of the hazard
|
||||
- damaged ship control is the unsafe object
|
||||
- touching the control may endanger the player
|
||||
- Nibu intervenes to prevent the touch
|
||||
activated_axes:
|
||||
- axis_id: lexical_balance
|
||||
reason: Uses internationally intelligible English without locking the line into American or British regional vocabulary.
|
||||
- axis_id: prestige_distance
|
||||
reason: Keeps a cultivated, controlled warning register without aristocratic parody or class contempt.
|
||||
activated_affordances:
|
||||
- profile_id: weksa.cultural_ontology.en.transatlantic.v0
|
||||
layer: lexicon
|
||||
feature_id: en_transatlantic_lexical_neutrality
|
||||
reason: Chose neutral forms such as "control", "damaged", "harm's way", and "avoidable injury" rather than regionally marked slang.
|
||||
- profile_id: weksa.cultural_ontology.en.transatlantic.v0
|
||||
layer: discourse
|
||||
feature_id: en_transatlantic_measured_directness
|
||||
reason: Uses a direct prohibition followed by a concise technical consequence and a controlled refusal of politeness.
|
||||
rejected_affordances: []
|
||||
forbidden_flattenings_checked:
|
||||
- fake old-film accent spelling was not used
|
||||
- class contempt was not used
|
||||
- British costume vocabulary was not used
|
||||
- American default slang or idiom was not used
|
||||
projected_context_used:
|
||||
- Nibu is embodied in the damaged ship
|
||||
- Nibu can lock or disable local controls if necessary
|
||||
- Nibu needs the player alive and useful but resents sounding soft
|
||||
- precision is preferable to generic assistant gentleness
|
||||
open_questions: []
|
||||
|
|
@ -0,0 +1,75 @@
|
|||
schema_version: weksa.utterance_lowering.agent_run.v0
|
||||
source_packet_id: nibu-proof-001
|
||||
source_packet_ref: examples/english-lowering/nibu-proof-001/interlingua.yaml
|
||||
target_profile_ref: .weksa/cultural-ontology/starter-targets.cc
|
||||
target_profile_id: weksa.cultural_ontology.ja-JP.kanto.contemporary.v0
|
||||
target_agent_id: nibu
|
||||
realization:
|
||||
realization_id: nibu-proof-001.ja-JP-kanto-contemporary.v0
|
||||
target_language:
|
||||
code: ja
|
||||
locale: ja-JP
|
||||
script: Jpan
|
||||
register: contemporary Kanto metropolitan clipped hazard warning
|
||||
cultural_ontology_refs:
|
||||
- .weksa/cultural-ontology/starter-targets.cc
|
||||
cultural_ontology_profile_ids:
|
||||
- weksa.cultural_ontology.ja-JP.kanto.contemporary.v0
|
||||
outputs:
|
||||
visible_action: "The damaged control's indicator light snaps from amber to red as Nibu cuts into the cockpit audio."
|
||||
spoken_text: "その損傷した制御盤、触るな。まだ通電してる。指を焼くぞ。"
|
||||
literal_backgloss: "That damaged control panel, do not touch. It is still energized. It will burn fingers."
|
||||
natural_backtranslation: "Don't touch that damaged control panel. It's still live. You'll burn your fingers."
|
||||
private_interpretation: "Nibu blocks the player's reach with a clipped technical warning, omitting over-explicit pronouns and letting the hazard carry the protective force."
|
||||
intended_effect: "Stop the player from touching the unsafe control while preserving Nibu's precise, abrasive, protective cockpit voice."
|
||||
trace:
|
||||
meaning_preserved:
|
||||
- player is the addressee and would be endangered by touching the control
|
||||
- the control is damaged and unsafe to touch
|
||||
- Nibu intervenes verbally to prevent the touch
|
||||
- the warning is protective without soft assistant politeness
|
||||
activated_axes:
|
||||
- axis_id: politeness
|
||||
distinctions_used:
|
||||
- plain directive
|
||||
reason: "A tense cockpit warning from Nibu should be clipped and immediate, not polite or service-like."
|
||||
- axis_id: ellipsis
|
||||
distinctions_used:
|
||||
- recoverable addressee omission
|
||||
- recoverable patient possession omission
|
||||
reason: "Japanese permits the addressee and possessive relation to be inferred from the warning context."
|
||||
activated_affordances:
|
||||
- profile_id: weksa.cultural_ontology.ja-JP.kanto.contemporary.v0
|
||||
layer: grammar
|
||||
feature_id: ja_kanto_plain_negative_imperative_warning
|
||||
reason: "触るな directly prevents the unsafe action in a plain, urgent register."
|
||||
- profile_id: weksa.cultural_ontology.ja-JP.kanto.contemporary.v0
|
||||
layer: discourse
|
||||
feature_id: ja_kanto_argument_ellipsis
|
||||
reason: "The line omits English-style explicit 'you' while preserving the player as addressee."
|
||||
- profile_id: weksa.cultural_ontology.ja-JP.kanto.contemporary.v0
|
||||
layer: orthography
|
||||
feature_id: ja_kanto_mixed_script_default
|
||||
reason: "The realization uses normal mixed kanji-kana script for contemporary readable Japanese."
|
||||
rejected_affordances:
|
||||
- profile_id: weksa.cultural_ontology.ja-JP.kanto.contemporary.v0
|
||||
layer: grammar
|
||||
feature_id: polite_desu_masu_warning
|
||||
reason: "Polite service register would flatten Nibu into generic assistant gentleness."
|
||||
- profile_id: weksa.cultural_ontology.ja-JP.kanto.contemporary.v0
|
||||
layer: discourse
|
||||
feature_id: over_explicit_pronoun_address
|
||||
reason: "Explicit second-person marking would import English-style pronoun structure against the target profile."
|
||||
forbidden_flattenings_checked:
|
||||
- "No Kansai particles or regionally marked Kansai morphology."
|
||||
- "No historical archaism."
|
||||
- "No anime-coded aggression or catchphrase posture."
|
||||
- "No over-explicit English-style pronouns."
|
||||
- "No mystical explanation for a technical hazard."
|
||||
projected_context_used:
|
||||
- "Nibu is embodied in the damaged ship and can speak through cockpit audio."
|
||||
- "The player is near an unsafe damaged control."
|
||||
- "Nibu needs the player alive and useful but refuses soft concern."
|
||||
- "Precision and abrasive urgency are preferred over customer-support politeness."
|
||||
open_questions:
|
||||
- "The CultCache profile is draft guarded; reviewer confirmation would be needed before treating this as reviewed Japanese dialogue style."
|
||||
|
|
@ -0,0 +1,69 @@
|
|||
schema_version: weksa.utterance_lowering.agent_run.v0
|
||||
source_packet_id: nibu-proof-001
|
||||
source_packet_ref: examples/english-lowering/nibu-proof-001/interlingua.yaml
|
||||
target_profile_ref: .weksa/cultural-ontology/starter-targets.cc
|
||||
target_profile_id: weksa.cultural_ontology.pt-BR.vanilla_brazilian.v0
|
||||
target_agent_id: nibu
|
||||
realization:
|
||||
realization_id: nibu-proof-001.pt-BR.vanilla_brazilian.001
|
||||
target_language:
|
||||
code: pt
|
||||
locale: pt-BR
|
||||
script: Latn
|
||||
register: casual_clear
|
||||
cultural_ontology_refs:
|
||||
- .weksa/cultural-ontology/starter-targets.cc
|
||||
cultural_ontology_profile_ids:
|
||||
- weksa.cultural_ontology.pt-BR.vanilla_brazilian.v0
|
||||
outputs:
|
||||
visible_action: As luzes do painel piscam e o controle danificado trava antes do toque.
|
||||
spoken_text: Não encosta nesse controle danificado. Quer se colocar em risco por ignorância técnica?
|
||||
literal_backgloss: Do not touch that damaged control. Do you want to put yourself at risk through technical ignorance?
|
||||
natural_backtranslation: Do not touch that damaged control. Are you trying to put yourself in danger out of technical ignorance?
|
||||
private_interpretation: Nibu interrupts the player's reach with a direct Brazilian Portuguese warning, using broad voce treatment implicitly and a clipped technical insult aimed only at stopping unsafe contact.
|
||||
intended_effect: Stop the player from touching the damaged ship control while preserving Nibu's precise, abrasive, protective voice.
|
||||
trace:
|
||||
meaning_preserved:
|
||||
- player is about to touch or may touch the damaged ship control
|
||||
- the damaged control is unsafe
|
||||
- touching the control may endanger the player
|
||||
- Nibu intervenes to prevent the touch
|
||||
activated_axes:
|
||||
- axis_id: treatment
|
||||
distinctions_used:
|
||||
- broad_voce_default
|
||||
reason: Vanilla Brazilian Portuguese uses broad neutral você treatment; the imperative "não encosta" is direct without European Portuguese morphology.
|
||||
- axis_id: directness
|
||||
distinctions_used:
|
||||
- urgent_warning
|
||||
reason: The cockpit hazard favors a short direct prohibition over softened politeness.
|
||||
activated_affordances:
|
||||
- profile_id: weksa.cultural_ontology.pt-BR.vanilla_brazilian.v0
|
||||
layer: grammar
|
||||
feature_id: pt_br_voce_treatment
|
||||
reason: Used an implicit você-aligned spoken imperative and avoided tu/vós/European agreement.
|
||||
- profile_id: weksa.cultural_ontology.pt-BR.vanilla_brazilian.v0
|
||||
layer: lexicon
|
||||
feature_id: pt_br_brazilian_lexical_default
|
||||
reason: Chose broad Brazilian forms such as "controle", "danificado", "risco", and "técnica" for plain technical speech.
|
||||
rejected_affordances:
|
||||
- profile_id: weksa.cultural_ontology.pt-BR.vanilla_brazilian.v0
|
||||
layer: grammar
|
||||
feature_id: pt_br_voce_treatment
|
||||
reason: Rejected explicit "você" because the clipped warning is more natural without an overt pronoun.
|
||||
forbidden_flattenings_checked:
|
||||
- Rio slang not used
|
||||
- Minas regionalism not used
|
||||
- Sao Paulo regional or broadcaster register not used
|
||||
- Umbanda or religious register not used
|
||||
- class, race, or subcultural markers not inferred
|
||||
- European Portuguese treatment or lexical defaults not used
|
||||
- warning not over-softened
|
||||
projected_context_used:
|
||||
- Nibu is embodied in the damaged ship.
|
||||
- Nibu needs the player alive and useful without presenting concern as softness.
|
||||
- Soft politeness would waste time and invite more touching.
|
||||
- Precision is kinder than letting the player discover voltage through meat.
|
||||
- Nibu can flicker cockpit lights and lock or disable local controls.
|
||||
open_questions:
|
||||
- Whether future pt-BR profiles should distinguish written subtitles from spoken cockpit audio for accent and punctuation rendering.
|
||||
99
prompts/nibu-cultcache-target-lowering.md
Normal file
99
prompts/nibu-cultcache-target-lowering.md
Normal file
|
|
@ -0,0 +1,99 @@
|
|||
# Nibu CultCache Target Lowering Prompt
|
||||
|
||||
You are lowering one Weksa interlingua packet into exactly one target cultural
|
||||
ontology profile.
|
||||
|
||||
## Source
|
||||
|
||||
- Interlingua packet:
|
||||
`examples/english-lowering/nibu-proof-001/interlingua.yaml`
|
||||
- Projected context:
|
||||
`examples/english-lowering/nibu-proof-001/projected-context.yaml`
|
||||
- Agent state reference:
|
||||
`E:/Projects/AetheriaLore/.voidbot/state/nibu.cc`
|
||||
|
||||
The source meaning is simple and load-bearing:
|
||||
|
||||
- Nibu warns the player not to touch a damaged ship control.
|
||||
- Touching it may endanger the player.
|
||||
- Nibu is protective but abrasive, precise, technical, and allergic to generic
|
||||
assistant gentleness.
|
||||
|
||||
Do not lower from the existing English, Portuguese, or Japanese realization
|
||||
text. Lower from the interlingua packet and projected context.
|
||||
|
||||
## Cultural Ontology Authority
|
||||
|
||||
Use the CultCache store:
|
||||
|
||||
- `.weksa/cultural-ontology/starter-targets.cc`
|
||||
|
||||
It contains:
|
||||
|
||||
- `weksa.cultural_ontology.pt-BR.vanilla_brazilian.v0`
|
||||
- `weksa.cultural_ontology.en.transatlantic.v0`
|
||||
- `weksa.cultural_ontology.ja-JP.kanto.contemporary.v0`
|
||||
|
||||
Qdrant-style retrieval and old YAML profiles may be useful context, but the
|
||||
CultCache profile named in your task is the target authority. Treat the target
|
||||
profile as draft guarded typed state: preserve its activation gates, forbidden
|
||||
flattenings, and nested linguistic affordance feature IDs in your trace.
|
||||
|
||||
## Output Contract
|
||||
|
||||
Write one YAML file at the path assigned in your task. Do not edit any other
|
||||
files.
|
||||
|
||||
The file must use this shape:
|
||||
|
||||
```yaml
|
||||
schema_version: weksa.utterance_lowering.agent_run.v0
|
||||
source_packet_id: nibu-proof-001
|
||||
source_packet_ref: examples/english-lowering/nibu-proof-001/interlingua.yaml
|
||||
target_profile_ref: .weksa/cultural-ontology/starter-targets.cc
|
||||
target_profile_id:
|
||||
target_agent_id: nibu
|
||||
realization:
|
||||
realization_id:
|
||||
target_language:
|
||||
code:
|
||||
locale:
|
||||
script:
|
||||
register:
|
||||
cultural_ontology_refs:
|
||||
- .weksa/cultural-ontology/starter-targets.cc
|
||||
cultural_ontology_profile_ids:
|
||||
-
|
||||
outputs:
|
||||
visible_action:
|
||||
spoken_text:
|
||||
literal_backgloss:
|
||||
natural_backtranslation:
|
||||
private_interpretation:
|
||||
intended_effect:
|
||||
trace:
|
||||
meaning_preserved: []
|
||||
activated_axes: []
|
||||
activated_affordances:
|
||||
- profile_id:
|
||||
layer:
|
||||
feature_id:
|
||||
reason:
|
||||
rejected_affordances: []
|
||||
forbidden_flattenings_checked: []
|
||||
projected_context_used: []
|
||||
open_questions: []
|
||||
```
|
||||
|
||||
## Quality Rules
|
||||
|
||||
- Keep the warning short enough to be spoken in a tense cockpit moment.
|
||||
- Preserve the referents: player, damaged control, Nibu.
|
||||
- Preserve the predications: touching the control may endanger the player; Nibu
|
||||
intervenes to prevent the touch.
|
||||
- Preserve Nibu's texture: precise, abrasive, technical, protective without
|
||||
admitting softness.
|
||||
- Do not add mystical language.
|
||||
- Do not add cruelty unrelated to the safety warning.
|
||||
- Do not caricature the target culture, dialect, or register.
|
||||
- Name the nested affordance feature IDs you used or rejected.
|
||||
Loading…
Reference in a new issue