diff --git a/.weksa/cultural-ontology/README.md b/.weksa/cultural-ontology/README.md new file mode 100644 index 0000000..a424e82 --- /dev/null +++ b/.weksa/cultural-ontology/README.md @@ -0,0 +1,27 @@ +# Cultural Ontology CultCache Seeds + +This directory stores Weksa cultural ontology as CultCache `.cc` witnesses. + +## Starter Database + +- `starter-targets.cc` + +This store contains one catalog entry and three draft guarded profile entries: + +- `weksa.cultural_ontology.pt-BR.vanilla_brazilian.v0` +- `weksa.cultural_ontology.en.transatlantic.v0` +- `weksa.cultural_ontology.ja-JP.kanto.contemporary.v0` + +The catalog entry is: + +- `weksa.cultural_ontology.catalog.seed_targets.v0` + +The `.cc` file is the typed state witness. This README is only an inspection +guide; it does not own cultural ontology truth. + +The profiles follow `schemas/cultural-ontology-profile.md`: salience axes and +linguistic affordances are nested typed state with feature IDs, activation +gates, constraints, indexicality, evidence, uncertainty, and trace labels. + +Qdrant retrieval may later propose evidence bundles for these profiles. It does +not own accepted profile state. diff --git a/.weksa/cultural-ontology/starter-targets.cc b/.weksa/cultural-ontology/starter-targets.cc new file mode 100644 index 0000000..680b06c Binary files /dev/null and b/.weksa/cultural-ontology/starter-targets.cc differ diff --git a/docs/fixtures/weksa-provider-advertisement.json b/docs/fixtures/weksa-provider-advertisement.json index 26a05bc..7d4a1a7 100644 --- a/docs/fixtures/weksa-provider-advertisement.json +++ b/docs/fixtures/weksa-provider-advertisement.json @@ -60,6 +60,16 @@ "weksa.operator_state.v0", "gamecult.eve.surface.v1" ] + }, + { + "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": [ @@ -96,6 +106,15 @@ ], "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" + }, { "family": "eve", "namespace": "weksa.eve.*", diff --git a/docs/verse-service-contract.md b/docs/verse-service-contract.md index 28e0b86..2946141 100644 --- a/docs/verse-service-contract.md +++ b/docs/verse-service-contract.md @@ -40,6 +40,8 @@ compilation, live instrument handles, and rendered audio. - `.weksa/traces/{traceId}.cc`: lowering traces naming the stage that made each decision. - `.weksa/projects/{projectId}.cc`: language-project and flavor-profile state. +- `.weksa/cultural-ontology/{storeId}.cc`: reviewed or draft guarded cultural + ontology profile stores used by utterance lowering. 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 @@ -51,6 +53,8 @@ commit when the runtime lands. - `weksa.intent`: conversational intent documents and review queues. - `weksa.language_project`: language-project state, flavor profiles, and pronunciation rules. +- `weksa.cultural_ontology`: cultural ontology catalogs, profile stacks, + salience axes, linguistic affordances, activation gates, and evidence refs. - `weksa.pronunciation`: phonetic plans, IPA spans, prosody, and trace evidence. - `weksa.utterance`: utterance handoff documents, packed embedding requests, diff --git a/tools/export-provider-advertisement.mjs b/tools/export-provider-advertisement.mjs index e0fa56c..94c817a 100644 --- a/tools/export-provider-advertisement.mjs +++ b/tools/export-provider-advertisement.mjs @@ -56,6 +56,13 @@ const document = { authority: "Weksa daemon runtime", schemas: ["weksa.operator_state.v0", "gamecult.eve.surface.v1"], }, + { + 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: [ { @@ -82,6 +89,12 @@ const document = { 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", + }, { family: "eve", namespace: "weksa.eve.*",