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/README.md

47 lines
1.8 KiB
Markdown
Raw Normal View History

2026-05-07 22:12:33 +01:00
# Schemas
This folder is the canonical paperwork shrine for Epiphany's shared state
contracts.
If a Persona field or Mind document matters
2026-08-23 04:02:50 +02:00
enough to steer the machine, it should have a receipt here instead of living
only in one Rust struct or one developer's damp recollection.
2026-05-07 22:12:33 +01:00
## Canonical surfaces
2026-05-07 22:12:33 +01:00
2026-05-29 01:23:43 +01:00
- [cultnet/gamecult.persona_state.v0.schema.json](./cultnet/gamecult.persona_state.v0.schema.json):
portable Persona state contract for Epiphany Persona, VoidBot repo Personas, and
2026-05-29 01:49:54 +01:00
Ghostlight characters. It carries explicit provenance, public presentation
2026-05-29 02:02:42 +01:00
metadata, typed `candidateActions`, and a non-authoritative extension bag for
source-specific fields; social bonds, status reads, and doctrine stances are
typed affect records rather than generic thought blobs. Timestamps use JSON
Schema `date-time`, `presentation` is required, and `custom` enum values have
companion custom-label fields.
2026-05-29 01:23:43 +01:00
- [cultnet/epiphany.work_organ_state.v0.schema.json](./cultnet/epiphany.work_organ_state.v0.schema.json):
light function-shaped state for Epiphany internal work organs.
- [cultnet/README.md](./cultnet/README.md):
2026-08-23 16:29:33 +02:00
JSON Schema publication artifacts for typed CultNet boundaries. Live
providers own their schema-catalog responses.
2026-05-07 22:12:33 +01:00
## Source Of Truth
The living implementation is in code:
2026-08-23 16:29:33 +02:00
- [mind_documents.rs](/F:/Projects/Epiphany/epiphany-core/src/mind_documents.rs)
2026-05-07 22:12:33 +01:00
The rule is simple:
- code owns executable truth
- this folder owns human-readable contract receipts
- vendored copies are downstream, not the throne
## Update Discipline
When changing any of the following, update this folder in the same pass:
2026-05-29 01:23:43 +01:00
- canonical organ-state or Persona family names
2026-05-07 22:12:33 +01:00
- standing role trait names
- schema version identifiers
If a change lands in code without a matching receipt here, assume the machine
has started whispering to itself in the walls again.