This repository has been archived on 2026-10-29. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
Epiphany/schemas/cultnet
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens 9699751f00 Key a resolution and a stewardship by sequence
A subject's resolutions and a repo's assignments on a mind each carried
one key, so the second record of either overwrote the first and a
withdrawn resolution could not be kept under its subject. Both keys now
end in a writer-set `sequence: u32`, `n<N>`, last so the history of a
subject or a repo is one key prefix and R2 keeps that prefix exact:
`question.Q1.n` cannot match `question.Q10.n1`, and a withdrawal keys one
nesting out under the resolution it withdraws.

`assigned_on` stops being a key input and stays a field, validated where
every field is, so the same assignment recorded on two days is one
document and a repo transferred away and back on one day does not
collide. A hand-off is unchanged in shape and key: a transfer back is the
same document with the instances swapped, and no field names a return.

Nesting arithmetic moves with the shape: each nesting prepends
`resolution.` and appends `.n<s>`, so a chain composes `14 * (d - 1) + L`
bytes against `LOCAL_MAX`, and both fixtures key four deep. The leaf
refuses no sequence value -- not `0`, not a gap -- as it refuses no
`revision` value; which sequence a document may claim and which record is
in force are admission's, and are not in this crate. `pipeline_id` gains
no arm and no key is parsed back.

Two schema files regenerate from the derivation, gaining the property,
the required entry and the new doc comments. No epoch moves: no store is
written at this epoch and no reader is pinned to the file.

Cut 6b's M2 is re-anchored on the new parts line, as N7 and N8 re-anchored
Cut 6's M12 and M13.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-16 18:26:46 +02:00
..
epiphany.pipeline.campaign.v1.schema.json Close Soul's Cut 3a findings and land rulings 10-12 2026-09-15 22:55:00 +02:00
epiphany.pipeline.cut_report.v1.schema.json Cut 6c: the Ghostlight shapes 2026-09-16 15:33:25 +02:00
epiphany.pipeline.cut_spec.v1.schema.json Cut 6c: the Ghostlight shapes 2026-09-16 15:33:25 +02:00
epiphany.pipeline.finding.v1.schema.json Cut 6c: the Ghostlight shapes 2026-09-16 15:33:25 +02:00
epiphany.pipeline.follow_up.v1.schema.json Extract epiphany-pipeline, and add the three kinds a mind is keyed by 2026-09-16 11:40:12 +02:00
epiphany.pipeline.hand_off.v1.schema.json Extract epiphany-pipeline, and add the three kinds a mind is keyed by 2026-09-16 11:40:12 +02:00
epiphany.pipeline.instance.v1.schema.json Extract epiphany-pipeline, and add the three kinds a mind is keyed by 2026-09-16 11:40:12 +02:00
epiphany.pipeline.question.v1.schema.json Extract epiphany-pipeline, and add the three kinds a mind is keyed by 2026-09-16 11:40:12 +02:00
epiphany.pipeline.resolution.v1.schema.json Key a resolution and a stewardship by sequence 2026-09-16 18:26:46 +02:00
epiphany.pipeline.ruling.v1.schema.json Cut 6c: the Ghostlight shapes 2026-09-16 15:33:25 +02:00
epiphany.pipeline.stewardship.v1.schema.json Key a resolution and a stewardship by sequence 2026-09-16 18:26:46 +02:00
epiphany.pipeline.target.v1.schema.json Close Soul's Cut 3a findings and land rulings 10-12 2026-09-15 22:55:00 +02:00
epiphany.pipeline.verdict.v1.schema.json Cut 6c: the Ghostlight shapes 2026-09-16 15:33:25 +02:00
epiphany.work_organ_state.v0.schema.json Rename Face to Persona and Proprioception to Modeling 2026-06-15 16:38:09 +01:00
gamecult.persona_state.v0.schema.json Rename Face to Persona and Proprioception to Modeling 2026-06-15 16:38:09 +01:00
index.json Extract epiphany-pipeline, and add the three kinds a mind is keyed by 2026-09-16 11:40:12 +02:00
README.md State that enum widening keeps the epoch 2026-09-16 12:19:14 +02:00

CultNet Schemas

This folder contains Epiphany's JSON Schema publication artifacts for typed CultNet boundaries. Typed Rust documents registered in CultCache remain the runtime authority; these files help foreign consumers inspect the wire shape.

The product direction is project-native agency: clients should speak to a project or one of its Personas/Personas, then watch typed scheduling, memory, evidence, and authority surfaces do the structuring work. Aquarium is the most direct client, but Discord, voice/WebRTC rooms, stream overlays, native CLIs, and other trusted tools should discover the same contracts instead of inventing private command verbs.

What Lives Here

  • index.json: publication manifest for providers that expose these contracts.
  • *.schema.json: top-level JSON Schema receipts for payload/document shapes.

The catalog contains only contracts that cross an owned boundary. Runtime-local CultCache documents are discovered from the runtime's native registration and projected by their owning CultMesh provider. They are not copied into a second hand-maintained JSON registry.

Main Families

  • gamecult.persona_state.v0: portable public Persona state.
  • epiphany.work_organ_state.v0: portable state for lean work organs.
  • epiphany.pipeline.*.v1: Eureka pipeline state (campaign, target, question, ruling, cut spec, cut report, verdict, finding, follow-up, resolution, plus instance, stewardship and hand-off), stored in an instance's mind and owned by the Huginn memory organ. A store is canonical to exactly one instance, so the instance document carries the identity, stewardship records which repos that instance is assigned, and a hand-off records a reassignment in both minds.

Pipeline wire note: each document payload is [value], a one-element MessagePack array whose element is the named map the schema describes. These contracts cross to the Huginn organ and its eureka-state client. The files are derived from the Rust value types and checked byte-for-byte by epiphany-pipeline's pipeline_published_schemas_match_derivation; text bounds are UTF-8 bytes and enforced by admission, not by the schema. Evolution is additive: a new named field with a serde default keeps epiphany.pipeline.epoch.v1, and so does widening an enum such as PipelineKind, because these readers are ours and each ships with the variants it knows -- one that meets a kind it has never heard of refuses it on the kind, not on the epoch. A breaking change bumps the epoch, and the new binary refuses the old store.

Provider request contracts are owned by their provider boundary. The shared Codex contract lives in GameCult/CodexConnector; Epiphany's closed durable provider-request document is private Mind state, not a public CultNet promise.

The catalog publishes contracts the executable body actually produces or consumes. Editor capabilities are provider-owned CultMesh/Eve surfaces, not Epiphany-owned Rider or Unity command families. Brokkr owns Unity editor inspection and actuation; a future Rider daemon will own Rider integration.

Publication Path

The provider that owns a live CultMesh/CultNet surface owns its schema-catalog response. This directory supplies publication artifacts; it is not a second runtime registry and no standalone Epiphany catalog command impersonates a service. The native model preflight derives its accepted document types from the same CultCache registrations used to open the runtime Mind store.