{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://gamecult.dev/epiphany/cultnet/epiphany.thread-state.schema.json",
"title": "Epiphany Thread State",
"description": "Typed Epiphany control-plane state. Codex rollout storage is a compatibility source, not the logical state contract.",
"type": "object",
"additionalProperties": true,
"properties": {
"revision": {
"type": "integer",
"minimum": 0
},
"objective": {
"type": [
"string",
"null"
]
"activeSubgoalId": {
"subgoals": {
"type": "array",
"items": {
"additionalProperties": true
}
"invariants": {
"graphs": {
"observations": {
"recentEvidence": {
"planning": {
"required": [
"revision"