Cut the pre-rebuild JSON schemas
Parked at tag parked/ghostlight-pre-rebuild (ruling ghostlight-verse:ruling:park-pre-rebuild-tree). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
ece28506e6
commit
26623d6d2f
14 changed files with 0 additions and 4057 deletions
|
|
@ -1,109 +0,0 @@
|
|||
{
|
||||
"schema_version": "ghostlight.required_fields.v0",
|
||||
"variable_groups": {
|
||||
"underlying_organization": [
|
||||
"self_coherence",
|
||||
"contingent_worth",
|
||||
"shame_sensitivity",
|
||||
"reciprocity_capacity",
|
||||
"mentalization_quality",
|
||||
"authenticity_tolerance",
|
||||
"mask_rigidity",
|
||||
"external_regulation_dependence"
|
||||
],
|
||||
"stable_dispositions": [
|
||||
"novelty_seeking",
|
||||
"conformity",
|
||||
"status_hunger",
|
||||
"risk_tolerance",
|
||||
"sociability",
|
||||
"baseline_threat_sensitivity",
|
||||
"aesthetic_appetite",
|
||||
"ideological_rigidity"
|
||||
],
|
||||
"behavioral_dimensions": [
|
||||
"interpersonal_warmth",
|
||||
"drive",
|
||||
"grandiosity",
|
||||
"validation_seeking",
|
||||
"anxiety",
|
||||
"control_pressure",
|
||||
"hostility",
|
||||
"suspicion",
|
||||
"rigidity",
|
||||
"withdrawal",
|
||||
"volatility",
|
||||
"attachment_seeking",
|
||||
"distance_seeking"
|
||||
],
|
||||
"presentation_strategy": [
|
||||
"charm",
|
||||
"compliance",
|
||||
"superiority",
|
||||
"detachment",
|
||||
"seductiveness",
|
||||
"competence_theater",
|
||||
"moral_theater",
|
||||
"strategic_opacity",
|
||||
"cultivated_harmlessness",
|
||||
"abrasive_boundary",
|
||||
"ironic_distance"
|
||||
],
|
||||
"situational_state": [
|
||||
"exhaustion",
|
||||
"scarcity_pressure",
|
||||
"humiliation",
|
||||
"panic",
|
||||
"triumph",
|
||||
"grief",
|
||||
"overstimulation",
|
||||
"grievance_activation",
|
||||
"acute_shame",
|
||||
"perceived_status_threat"
|
||||
],
|
||||
"relationship_stance": [
|
||||
"trust",
|
||||
"respect",
|
||||
"resentment",
|
||||
"dependence",
|
||||
"fear",
|
||||
"fascination",
|
||||
"obligation",
|
||||
"envy",
|
||||
"moral_disgust",
|
||||
"perceived_status_gap",
|
||||
"expectation_of_care",
|
||||
"expectation_of_betrayal"
|
||||
],
|
||||
"voice_style": [
|
||||
"dryness",
|
||||
"verbal_warmth",
|
||||
"formality",
|
||||
"verbosity",
|
||||
"pace",
|
||||
"plainspoken_directness",
|
||||
"lexical_precision",
|
||||
"technical_density",
|
||||
"technical_compression",
|
||||
"figurative_language",
|
||||
"lyricism",
|
||||
"narrative_detail",
|
||||
"emotional_explicitness",
|
||||
"pointedness",
|
||||
"self_disclosure",
|
||||
"hedging",
|
||||
"certainty_marking",
|
||||
"politeness",
|
||||
"coded_politeness",
|
||||
"ritualized_address",
|
||||
"register_switching",
|
||||
"dialect_marking",
|
||||
"theatricality",
|
||||
"humor",
|
||||
"conversational_dominance",
|
||||
"listening_responsiveness",
|
||||
"question_asking",
|
||||
"profanity"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -1,845 +0,0 @@
|
|||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://github.com/GameCult/Ghostlight/schemas/agent-state.schema.json",
|
||||
"title": "Ghostlight Agent State Schema",
|
||||
"description": "First canonical contract for Ghostlight agent, perception, relationship, event, scene, and dialogue-context state.",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"schema_version",
|
||||
"world",
|
||||
"agents",
|
||||
"relationships",
|
||||
"events",
|
||||
"scenes"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"schema_version": {
|
||||
"const": "ghostlight.agent_state.v0"
|
||||
},
|
||||
"world": {
|
||||
"$ref": "#/$defs/world_state"
|
||||
},
|
||||
"agents": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/$defs/agent"
|
||||
}
|
||||
},
|
||||
"relationships": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/$defs/relationship"
|
||||
}
|
||||
},
|
||||
"events": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/$defs/event"
|
||||
}
|
||||
},
|
||||
"scenes": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/$defs/scene"
|
||||
}
|
||||
}
|
||||
},
|
||||
"$defs": {
|
||||
"world_state": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"world_id",
|
||||
"setting",
|
||||
"time",
|
||||
"canon_context"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"world_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"setting": {
|
||||
"type": "string"
|
||||
},
|
||||
"time": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"label"
|
||||
],
|
||||
"additionalProperties": true,
|
||||
"properties": {
|
||||
"label": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"canon_context": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"ambient_pressures": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/$defs/pressure"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"agent": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"agent_id",
|
||||
"identity",
|
||||
"canonical_state",
|
||||
"goals",
|
||||
"memories",
|
||||
"perceived_state_overlays"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"agent_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"identity": {
|
||||
"$ref": "#/$defs/identity"
|
||||
},
|
||||
"canonical_state": {
|
||||
"$ref": "#/$defs/canonical_state"
|
||||
},
|
||||
"goals": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/$defs/goal"
|
||||
}
|
||||
},
|
||||
"memories": {
|
||||
"$ref": "#/$defs/memory_bundle"
|
||||
},
|
||||
"perceived_state_overlays": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/$defs/perceived_state_overlay"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"identity": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"name",
|
||||
"roles",
|
||||
"origin",
|
||||
"public_description"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"roles": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"origin": {
|
||||
"type": "string"
|
||||
},
|
||||
"public_description": {
|
||||
"type": "string"
|
||||
},
|
||||
"private_notes": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"canonical_state": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"underlying_organization",
|
||||
"stable_dispositions",
|
||||
"behavioral_dimensions",
|
||||
"presentation_strategy",
|
||||
"voice_style",
|
||||
"situational_state",
|
||||
"values"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"underlying_organization": {
|
||||
"$ref": "#/$defs/variable_map"
|
||||
},
|
||||
"stable_dispositions": {
|
||||
"$ref": "#/$defs/variable_map"
|
||||
},
|
||||
"behavioral_dimensions": {
|
||||
"$ref": "#/$defs/variable_map"
|
||||
},
|
||||
"presentation_strategy": {
|
||||
"$ref": "#/$defs/variable_map"
|
||||
},
|
||||
"situational_state": {
|
||||
"$ref": "#/$defs/variable_map"
|
||||
},
|
||||
"values": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/$defs/value_commitment"
|
||||
}
|
||||
},
|
||||
"voice_style": {
|
||||
"$ref": "#/$defs/variable_map"
|
||||
}
|
||||
}
|
||||
},
|
||||
"variable_map": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"$ref": "#/$defs/state_variable"
|
||||
}
|
||||
},
|
||||
"state_variable": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"mean",
|
||||
"plasticity",
|
||||
"current_activation"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"mean": {
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"maximum": 1
|
||||
},
|
||||
"plasticity": {
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"maximum": 1
|
||||
},
|
||||
"current_activation": {
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"maximum": 1
|
||||
},
|
||||
"evidence": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"value_commitment": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"value_id",
|
||||
"label",
|
||||
"priority",
|
||||
"unforgivable_if_betrayed"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"value_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"label": {
|
||||
"type": "string"
|
||||
},
|
||||
"priority": {
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"maximum": 1
|
||||
},
|
||||
"unforgivable_if_betrayed": {
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
},
|
||||
"goal": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"goal_id",
|
||||
"description",
|
||||
"scope",
|
||||
"priority",
|
||||
"emotional_stake",
|
||||
"status"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"goal_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
"scope": {
|
||||
"enum": [
|
||||
"immediate",
|
||||
"scene",
|
||||
"case",
|
||||
"arc",
|
||||
"life"
|
||||
]
|
||||
},
|
||||
"priority": {
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"maximum": 1
|
||||
},
|
||||
"emotional_stake": {
|
||||
"type": "string"
|
||||
},
|
||||
"blockers": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"enum": [
|
||||
"active",
|
||||
"blocked",
|
||||
"dormant",
|
||||
"resolved",
|
||||
"abandoned"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"memory_bundle": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"episodic",
|
||||
"semantic",
|
||||
"relationship_summaries"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"episodic": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/$defs/memory"
|
||||
}
|
||||
},
|
||||
"semantic": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/$defs/memory"
|
||||
}
|
||||
},
|
||||
"relationship_summaries": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/$defs/memory"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"memory_id",
|
||||
"summary",
|
||||
"salience",
|
||||
"confidence"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"memory_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"summary": {
|
||||
"type": "string"
|
||||
},
|
||||
"salience": {
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"maximum": 1
|
||||
},
|
||||
"confidence": {
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"maximum": 1
|
||||
},
|
||||
"linked_event_ids": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"linked_relationship_id": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"perceived_state_overlay": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"observer_agent_id",
|
||||
"target_agent_id",
|
||||
"perceived_dimensions",
|
||||
"beliefs",
|
||||
"distortions"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"observer_agent_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"target_agent_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"perceived_dimensions": {
|
||||
"$ref": "#/$defs/inferred_variable_map"
|
||||
},
|
||||
"beliefs": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/$defs/belief"
|
||||
}
|
||||
},
|
||||
"distortions": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"enum": [
|
||||
"hostile_attribution",
|
||||
"false_reassurance",
|
||||
"overread_warmth",
|
||||
"underread_threat",
|
||||
"false_mask_detection",
|
||||
"missed_mask_detection",
|
||||
"status_injury",
|
||||
"threat_amplification",
|
||||
"institutional_suspicion_transfer",
|
||||
"care_underread",
|
||||
"mask_overfocus"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"belief": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"belief_id",
|
||||
"claim",
|
||||
"confidence"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"belief_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"claim": {
|
||||
"type": "string"
|
||||
},
|
||||
"confidence": {
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"maximum": 1
|
||||
},
|
||||
"subject_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"claim_type": {
|
||||
"enum": [
|
||||
"fact",
|
||||
"identity_inference",
|
||||
"motive_inference",
|
||||
"prediction",
|
||||
"norm",
|
||||
"value_read",
|
||||
"relationship_read"
|
||||
]
|
||||
},
|
||||
"evidence_event_ids": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"visibility": {
|
||||
"enum": [
|
||||
"private",
|
||||
"shared",
|
||||
"public",
|
||||
"rumor"
|
||||
]
|
||||
},
|
||||
"emotional_charge": {
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"maximum": 1
|
||||
}
|
||||
}
|
||||
},
|
||||
"relationship": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"relationship_id",
|
||||
"source_id",
|
||||
"target_id",
|
||||
"stance",
|
||||
"summary"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"relationship_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"source_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"target_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"stance": {
|
||||
"$ref": "#/$defs/variable_map"
|
||||
},
|
||||
"summary": {
|
||||
"type": "string"
|
||||
},
|
||||
"unresolved_incident_ids": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"event": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"event_id",
|
||||
"kind",
|
||||
"summary",
|
||||
"participants",
|
||||
"pressure_tags"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"event_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"enum": [
|
||||
"dialogue",
|
||||
"action",
|
||||
"memory",
|
||||
"relationship_shift",
|
||||
"scene_outcome",
|
||||
"author_note"
|
||||
]
|
||||
},
|
||||
"summary": {
|
||||
"type": "string"
|
||||
},
|
||||
"participants": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"pressure_tags": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"observed_exchange": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/$defs/event_exchange_turn"
|
||||
}
|
||||
},
|
||||
"private_interpretations": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/$defs/event_private_interpretation"
|
||||
}
|
||||
},
|
||||
"event_effects": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/$defs/event_effect"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"scene": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"scene_id",
|
||||
"location",
|
||||
"participants",
|
||||
"public_stakes",
|
||||
"hidden_stakes",
|
||||
"dialogue_context_packs"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"scene_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"location": {
|
||||
"type": "string"
|
||||
},
|
||||
"participants": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"public_stakes": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"hidden_stakes": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"dialogue_context_packs": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/$defs/dialogue_context_pack"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"dialogue_context_pack": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"speaker_agent_id",
|
||||
"listener_ids",
|
||||
"speaker_local_truth",
|
||||
"speaker_beliefs",
|
||||
"active_memories",
|
||||
"active_goals",
|
||||
"presentation_constraints"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"speaker_agent_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"listener_ids": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"speaker_local_truth": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"speaker_beliefs": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"active_memories": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"active_goals": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"presentation_constraints": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"pressure": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"pressure_id",
|
||||
"label",
|
||||
"intensity"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"pressure_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"label": {
|
||||
"type": "string"
|
||||
},
|
||||
"intensity": {
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"maximum": 1
|
||||
}
|
||||
}
|
||||
},
|
||||
"inferred_variable_map": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"$ref": "#/$defs/inferred_state_variable"
|
||||
}
|
||||
},
|
||||
"inferred_state_variable": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"observed_activation",
|
||||
"attributed_disposition",
|
||||
"confidence"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"observed_activation": {
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"maximum": 1
|
||||
},
|
||||
"attributed_disposition": {
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"maximum": 1
|
||||
},
|
||||
"confidence": {
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"maximum": 1
|
||||
},
|
||||
"evidence": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"event_exchange_turn": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"speaker_id",
|
||||
"utterance_summary",
|
||||
"dialogue_function"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"speaker_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"utterance_summary": {
|
||||
"type": "string"
|
||||
},
|
||||
"dialogue_function": {
|
||||
"type": "string"
|
||||
},
|
||||
"observable_cues": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"event_private_interpretation": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"agent_id",
|
||||
"interpretation",
|
||||
"confidence"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"agent_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"interpretation": {
|
||||
"type": "string"
|
||||
},
|
||||
"attributed_motive": {
|
||||
"type": "string"
|
||||
},
|
||||
"appraisal_tags": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"confidence": {
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"maximum": 1
|
||||
}
|
||||
}
|
||||
},
|
||||
"event_effect": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"agent_id",
|
||||
"summary"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"agent_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"summary": {
|
||||
"type": "string"
|
||||
},
|
||||
"state_deltas": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/$defs/state_delta"
|
||||
}
|
||||
},
|
||||
"new_belief_ids": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"memory_update_ids": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"state_delta": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"path",
|
||||
"delta"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"path": {
|
||||
"type": "string"
|
||||
},
|
||||
"delta": {
|
||||
"type": "number",
|
||||
"minimum": -1,
|
||||
"maximum": 1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,858 +0,0 @@
|
|||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://github.com/GameCult/Ghostlight/schemas/coordinator-artifact.schema.json",
|
||||
"title": "Ghostlight Coordinator Artifact Schema",
|
||||
"description": "Reviewed artifact for coordinator/story-runtime decisions, scene glue, machinery invocations, world-state refs, branch flags, unresolved hooks, sandboxed responder handoffs, and proposed deltas.",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"schema_version",
|
||||
"artifact_id",
|
||||
"review_status",
|
||||
"fixture_lane",
|
||||
"canon_status",
|
||||
"source_refs",
|
||||
"input_refs",
|
||||
"scene_context",
|
||||
"coordinator_decision",
|
||||
"machinery_plan",
|
||||
"world_state_refs",
|
||||
"proposed_deltas",
|
||||
"branching",
|
||||
"unresolved_hooks",
|
||||
"review"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"schema_version": {
|
||||
"const": "ghostlight.coordinator_artifact.v0"
|
||||
},
|
||||
"artifact_id": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"review_status": {
|
||||
"$ref": "#/$defs/review_status"
|
||||
},
|
||||
"fixture_lane": {
|
||||
"enum": [
|
||||
"historical_grounded",
|
||||
"transition_grounded",
|
||||
"future_branch"
|
||||
]
|
||||
},
|
||||
"canon_status": {
|
||||
"enum": [
|
||||
"single_history",
|
||||
"branch_local",
|
||||
"promoted_branch",
|
||||
"template",
|
||||
"draft"
|
||||
]
|
||||
},
|
||||
"source_refs": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"$ref": "#/$defs/source_ref"
|
||||
}
|
||||
},
|
||||
"input_refs": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"agent_state_ref",
|
||||
"lore_grounding_refs"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"agent_state_ref": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"lore_grounding_refs": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
}
|
||||
},
|
||||
"prior_artifact_refs": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
}
|
||||
},
|
||||
"projected_context_refs": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
}
|
||||
},
|
||||
"ink_refs": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
}
|
||||
},
|
||||
"item_manifest_refs": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"scene_context": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"scene_id",
|
||||
"sequence_marker",
|
||||
"location_id",
|
||||
"participant_ids",
|
||||
"active_object_ids",
|
||||
"public_facts",
|
||||
"scene_pressure"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"scene_id": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"sequence_marker": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"location_id": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"participant_ids": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
}
|
||||
},
|
||||
"active_object_ids": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
}
|
||||
},
|
||||
"active_resource_ids": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
}
|
||||
},
|
||||
"public_facts": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"$ref": "#/$defs/text_with_refs"
|
||||
}
|
||||
},
|
||||
"scene_pressure": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"$ref": "#/$defs/text_with_refs"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"coordinator_decision": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"decision_id",
|
||||
"selected_next_beat",
|
||||
"selected_acting_agent_id",
|
||||
"rationale",
|
||||
"glue_prose",
|
||||
"glue_prose_status"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"decision_id": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"selected_next_beat": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"selected_acting_agent_id": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"candidate_next_beats": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/$defs/candidate_choice"
|
||||
}
|
||||
},
|
||||
"rationale": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"glue_prose": {
|
||||
"type": "string"
|
||||
},
|
||||
"glue_prose_status": {
|
||||
"enum": [
|
||||
"not_canonical",
|
||||
"accepted_as_narration",
|
||||
"needs_revision",
|
||||
"rejected"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"machinery_plan": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"invocations"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"invocations": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/$defs/invocation"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"sandboxed_responder_handoffs": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/$defs/sandbox_handoff"
|
||||
}
|
||||
},
|
||||
"world_state_refs": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"read_refs",
|
||||
"write_candidate_refs"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"read_refs": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/$defs/state_ref"
|
||||
}
|
||||
},
|
||||
"write_candidate_refs": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/$defs/state_ref"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"proposed_deltas": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/$defs/proposed_delta"
|
||||
}
|
||||
},
|
||||
"branching": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"branch_action",
|
||||
"active_branch_flags",
|
||||
"event_constraints"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"branch_action": {
|
||||
"enum": [
|
||||
"none",
|
||||
"continue_branch",
|
||||
"split_branch",
|
||||
"merge_branch",
|
||||
"promote_branch_fact"
|
||||
]
|
||||
},
|
||||
"branch_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"branch_lineage": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
}
|
||||
},
|
||||
"active_branch_flags": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
}
|
||||
},
|
||||
"event_constraints": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/$defs/event_constraint"
|
||||
}
|
||||
},
|
||||
"sibling_exclusion_notes": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"item_manifest_deltas": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/$defs/item_manifest_delta"
|
||||
}
|
||||
},
|
||||
"unresolved_hooks": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/$defs/unresolved_hook"
|
||||
}
|
||||
},
|
||||
"review": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"reviewer",
|
||||
"review_notes",
|
||||
"accepted_for_training",
|
||||
"failure_labels"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"reviewer": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"review_notes": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"accepted_for_training": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"failure_labels": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"$defs": {
|
||||
"review_status": {
|
||||
"enum": [
|
||||
"draft",
|
||||
"accepted",
|
||||
"accepted_as_draft",
|
||||
"useful_needs_revision",
|
||||
"rejected",
|
||||
"superseded"
|
||||
]
|
||||
},
|
||||
"source_ref": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"ref_id",
|
||||
"path",
|
||||
"purpose"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"ref_id": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"path": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"purpose": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
}
|
||||
}
|
||||
},
|
||||
"text_with_refs": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"text",
|
||||
"refs"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"text": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"refs": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"candidate_choice": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"choice_id",
|
||||
"summary",
|
||||
"status"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"choice_id": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"summary": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"status": {
|
||||
"enum": [
|
||||
"selected",
|
||||
"rejected",
|
||||
"deferred"
|
||||
]
|
||||
},
|
||||
"reason": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"invocation": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"invocation_id",
|
||||
"organ",
|
||||
"purpose",
|
||||
"status"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"invocation_id": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"organ": {
|
||||
"enum": [
|
||||
"lore_grounding_compiler",
|
||||
"memory_lore_retriever",
|
||||
"projector",
|
||||
"sandboxed_responder",
|
||||
"event_resolver",
|
||||
"participant_appraiser",
|
||||
"state_mutator",
|
||||
"relationship_perception_updater",
|
||||
"output_evaluator",
|
||||
"item_manifest_generator",
|
||||
"institution_faction_consumer_model",
|
||||
"human_review",
|
||||
"other"
|
||||
]
|
||||
},
|
||||
"purpose": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"input_refs": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
}
|
||||
},
|
||||
"output_refs": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
}
|
||||
},
|
||||
"status": {
|
||||
"$ref": "#/$defs/review_status"
|
||||
}
|
||||
}
|
||||
},
|
||||
"sandbox_handoff": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"handoff_id",
|
||||
"responder_agent_id",
|
||||
"projected_context_ref",
|
||||
"visible_input_ref",
|
||||
"hidden_context_refs",
|
||||
"isolation_method",
|
||||
"raw_output_ref",
|
||||
"reviewed_output_ref",
|
||||
"coordinator_interventions",
|
||||
"leakage_audit"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"handoff_id": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"responder_agent_id": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"projected_context_ref": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"visible_input_ref": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"hidden_context_refs": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
}
|
||||
},
|
||||
"isolation_method": {
|
||||
"enum": [
|
||||
"subagent_no_fork",
|
||||
"manual_packet_only",
|
||||
"external_model_packet_only",
|
||||
"not_sandboxed"
|
||||
]
|
||||
},
|
||||
"raw_output_ref": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"reviewed_output_ref": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"coordinator_interventions": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/$defs/coordinator_intervention"
|
||||
}
|
||||
},
|
||||
"leakage_audit": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"private_state_leak",
|
||||
"author_only_leak",
|
||||
"future_branch_leak",
|
||||
"raw_state_soup",
|
||||
"prompt_parroting",
|
||||
"body_or_object_omniscience"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"private_state_leak": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"author_only_leak": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"future_branch_leak": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"raw_state_soup": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"prompt_parroting": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"body_or_object_omniscience": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"notes": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"coordinator_intervention": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"intervention_type",
|
||||
"description"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"intervention_type": {
|
||||
"enum": [
|
||||
"none",
|
||||
"normalization",
|
||||
"schema_repair",
|
||||
"prose_edit",
|
||||
"lore_correction",
|
||||
"leakage_removal",
|
||||
"rejection"
|
||||
]
|
||||
},
|
||||
"description": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
}
|
||||
}
|
||||
},
|
||||
"state_ref": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"ref_id",
|
||||
"ref_type",
|
||||
"path"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"ref_id": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"ref_type": {
|
||||
"enum": [
|
||||
"agent",
|
||||
"relationship",
|
||||
"scene",
|
||||
"event",
|
||||
"object",
|
||||
"resource",
|
||||
"branch",
|
||||
"item_manifest",
|
||||
"world_fact",
|
||||
"memory",
|
||||
"other"
|
||||
]
|
||||
},
|
||||
"path": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"visibility": {
|
||||
"enum": [
|
||||
"public",
|
||||
"character_local",
|
||||
"coordinator_only",
|
||||
"author_only"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"proposed_delta": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"delta_id",
|
||||
"delta_type",
|
||||
"target_ref",
|
||||
"summary",
|
||||
"authority",
|
||||
"status"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"delta_id": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"delta_type": {
|
||||
"enum": [
|
||||
"memory_write",
|
||||
"relationship_update",
|
||||
"perceived_overlay_update",
|
||||
"world_fact_update",
|
||||
"object_state_update",
|
||||
"resource_delta",
|
||||
"branch_flag_update",
|
||||
"item_manifest_delta",
|
||||
"no_delta"
|
||||
]
|
||||
},
|
||||
"target_ref": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"summary": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"authority": {
|
||||
"enum": [
|
||||
"deterministic_gate",
|
||||
"manual_review",
|
||||
"coordinator_proposal",
|
||||
"blocked"
|
||||
]
|
||||
},
|
||||
"status": {
|
||||
"enum": [
|
||||
"proposed",
|
||||
"accepted",
|
||||
"rejected",
|
||||
"deferred",
|
||||
"blocked"
|
||||
]
|
||||
},
|
||||
"rationale": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"event_constraint": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"constraint_id",
|
||||
"constraint_type",
|
||||
"summary"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"constraint_id": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"constraint_type": {
|
||||
"enum": [
|
||||
"branch_attractor",
|
||||
"fated_event",
|
||||
"tech_order_constraint",
|
||||
"quest_injection",
|
||||
"branch_local_event"
|
||||
]
|
||||
},
|
||||
"summary": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"pull_strength": {
|
||||
"enum": [
|
||||
"weak",
|
||||
"medium",
|
||||
"strong",
|
||||
"locked"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"item_manifest_delta": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"delta_id",
|
||||
"delta_type",
|
||||
"summary",
|
||||
"target_class",
|
||||
"status"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"delta_id": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"delta_type": {
|
||||
"enum": [
|
||||
"blueprint_candidate",
|
||||
"instance_provenance_candidate",
|
||||
"faction_tech_base_delta",
|
||||
"supply_chain_delta",
|
||||
"engine_schema_gap",
|
||||
"source_gap",
|
||||
"rejected_design"
|
||||
]
|
||||
},
|
||||
"summary": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"target_class": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"artifact_ref": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"enum": [
|
||||
"proposed",
|
||||
"accepted",
|
||||
"rejected",
|
||||
"deferred"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"unresolved_hook": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"hook_id",
|
||||
"hook_type",
|
||||
"summary",
|
||||
"owner",
|
||||
"status"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"hook_id": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"hook_type": {
|
||||
"enum": [
|
||||
"story",
|
||||
"relationship",
|
||||
"world_state",
|
||||
"branch",
|
||||
"item_manifest",
|
||||
"lore_gap",
|
||||
"schema_gap",
|
||||
"review"
|
||||
]
|
||||
},
|
||||
"summary": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"owner": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"status": {
|
||||
"enum": [
|
||||
"open",
|
||||
"carried",
|
||||
"resolved",
|
||||
"deferred",
|
||||
"blocked"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,139 +0,0 @@
|
|||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "ghostlight.corpus_coverage.schema.json",
|
||||
"title": "Ghostlight Corpus Coverage Ledger",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"schema_version",
|
||||
"coverage_id",
|
||||
"coverage_targets",
|
||||
"entries"
|
||||
],
|
||||
"properties": {
|
||||
"schema_version": {
|
||||
"const": "ghostlight.corpus_coverage.v0"
|
||||
},
|
||||
"coverage_id": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"coverage_targets": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"major_powers",
|
||||
"minor_powers",
|
||||
"movements",
|
||||
"pre_elysium_flashpoints",
|
||||
"defunct_absorbed_powers",
|
||||
"practical_first_broad_target",
|
||||
"major_power_requirement",
|
||||
"collision_requirement"
|
||||
],
|
||||
"properties": {
|
||||
"major_powers": { "type": "integer", "minimum": 0 },
|
||||
"minor_powers": { "type": "integer", "minimum": 0 },
|
||||
"movements": { "type": "integer", "minimum": 0 },
|
||||
"pre_elysium_flashpoints": { "type": "integer", "minimum": 0 },
|
||||
"defunct_absorbed_powers": { "type": "integer", "minimum": 0 },
|
||||
"practical_first_broad_target": {
|
||||
"type": "object",
|
||||
"required": ["minimum", "maximum"],
|
||||
"properties": {
|
||||
"minimum": { "type": "integer", "minimum": 0 },
|
||||
"maximum": { "type": "integer", "minimum": 0 }
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"major_power_requirement": { "type": "string", "minLength": 1 },
|
||||
"collision_requirement": { "type": "string", "minLength": 1 }
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"entries": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"fixture_id",
|
||||
"status",
|
||||
"timeline_lane",
|
||||
"story_type",
|
||||
"primary_subjects",
|
||||
"secondary_subjects",
|
||||
"collision_axes",
|
||||
"tonal_modes",
|
||||
"training_targets",
|
||||
"training_usability",
|
||||
"artifacts",
|
||||
"review",
|
||||
"economy_hooks",
|
||||
"open_lore_gaps",
|
||||
"notes"
|
||||
],
|
||||
"properties": {
|
||||
"fixture_id": { "type": "string", "minLength": 1 },
|
||||
"status": {
|
||||
"enum": ["planned", "draft", "accepted_as_draft", "accepted", "needs_revision", "rejected", "superseded"]
|
||||
},
|
||||
"timeline_lane": {
|
||||
"enum": ["historical_grounded", "transition_grounded", "future_branch"]
|
||||
},
|
||||
"canon_status": {
|
||||
"enum": ["single_history", "branch_local", "promoted_branch", "template", "draft"]
|
||||
},
|
||||
"story_type": {
|
||||
"enum": [
|
||||
"founding_era_story",
|
||||
"day_in_the_life_story",
|
||||
"flashpoint_story",
|
||||
"movement_story",
|
||||
"future_branch_story",
|
||||
"trade_life_story"
|
||||
]
|
||||
},
|
||||
"era": { "type": "string" },
|
||||
"location": { "type": "string" },
|
||||
"flashpoint": { "type": "string" },
|
||||
"primary_subjects": { "$ref": "#/$defs/nonemptyStringArray" },
|
||||
"secondary_subjects": { "type": "array", "items": { "type": "string", "minLength": 1 } },
|
||||
"collision_axes": { "$ref": "#/$defs/nonemptyStringArray" },
|
||||
"tonal_modes": { "$ref": "#/$defs/nonemptyStringArray" },
|
||||
"training_targets": { "$ref": "#/$defs/nonemptyStringArray" },
|
||||
"training_usability": {
|
||||
"type": "object",
|
||||
"required": ["overall"],
|
||||
"additionalProperties": {
|
||||
"enum": [
|
||||
"training_ready",
|
||||
"reference_only",
|
||||
"not_training_data"
|
||||
]
|
||||
}
|
||||
},
|
||||
"artifacts": {
|
||||
"type": "object",
|
||||
"additionalProperties": { "type": "string", "minLength": 1 }
|
||||
},
|
||||
"review": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"enum": ["not_run", "accepted", "accepted_as_draft", "needs_revision", "rejected", "blocked"]
|
||||
}
|
||||
},
|
||||
"economy_hooks": { "type": "array", "items": { "type": "string", "minLength": 1 } },
|
||||
"open_lore_gaps": { "type": "array", "items": { "type": "string", "minLength": 1 } },
|
||||
"notes": { "type": "string" }
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"$defs": {
|
||||
"nonemptyStringArray": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": { "type": "string", "minLength": 1 }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,41 +0,0 @@
|
|||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://github.com/GameCult/Ghostlight/schemas/event-record.schema.json",
|
||||
"title": "Ghostlight Event Record",
|
||||
"description": "Observable event distilled from an accepted responder output, with visibility scope and hidden intent explicitly separated from participant-local appraisal.",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"schema_version",
|
||||
"event_id",
|
||||
"review_status",
|
||||
"scene_loop_id",
|
||||
"turn_id",
|
||||
"source_responder_output_ref",
|
||||
"actor_agent_id",
|
||||
"observable_action",
|
||||
"spoken_text",
|
||||
"visible_object_refs",
|
||||
"visibility_scope",
|
||||
"affected_participant_ids",
|
||||
"public_state_changes",
|
||||
"hidden_intent_handling",
|
||||
"review"
|
||||
],
|
||||
"properties": {
|
||||
"schema_version": { "const": "ghostlight.event_record.v0" },
|
||||
"event_id": { "type": "string", "minLength": 1 },
|
||||
"review_status": { "type": "string" },
|
||||
"scene_loop_id": { "type": "string", "minLength": 1 },
|
||||
"turn_id": { "type": "string", "minLength": 1 },
|
||||
"source_responder_output_ref": { "type": "string", "minLength": 1 },
|
||||
"actor_agent_id": { "type": "string", "minLength": 1 },
|
||||
"observable_action": { "type": "string", "minLength": 1 },
|
||||
"spoken_text": { "type": "string" },
|
||||
"visible_object_refs": { "type": "array", "items": { "type": "string" } },
|
||||
"visibility_scope": { "enum": ["public_room", "participant_local", "camera_mediated", "partial_sightline", "coordinator_only"] },
|
||||
"affected_participant_ids": { "type": "array", "minItems": 1, "items": { "type": "string", "minLength": 1 } },
|
||||
"public_state_changes": { "type": "array" },
|
||||
"hidden_intent_handling": { "type": "string", "minLength": 1 },
|
||||
"review": { "type": "object" }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,379 +0,0 @@
|
|||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://gamecult.ai/ghostlight/schemas/initiative-schedule.schema.json",
|
||||
"title": "Ghostlight Initiative Schedule",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"schema_version",
|
||||
"schedule_id",
|
||||
"source_scene_ref",
|
||||
"scene_clock",
|
||||
"participants",
|
||||
"action_catalog",
|
||||
"reaction_windows",
|
||||
"selection_policy",
|
||||
"next_actor_selection",
|
||||
"review_notes"
|
||||
],
|
||||
"properties": {
|
||||
"schema_version": {
|
||||
"const": "ghostlight.initiative_schedule.v0"
|
||||
},
|
||||
"schedule_id": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"source_scene_ref": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"scene_clock": {
|
||||
"type": "number",
|
||||
"minimum": 0
|
||||
},
|
||||
"participants": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"$ref": "#/$defs/participant"
|
||||
}
|
||||
},
|
||||
"action_catalog": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/$defs/action"
|
||||
}
|
||||
},
|
||||
"reaction_windows": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/$defs/reaction_window"
|
||||
}
|
||||
},
|
||||
"selection_policy": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"mode",
|
||||
"reaction_precedence",
|
||||
"minimum_speed",
|
||||
"tie_breakers"
|
||||
],
|
||||
"properties": {
|
||||
"mode": {
|
||||
"const": "readiness_queue"
|
||||
},
|
||||
"reaction_precedence": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"minimum_speed": {
|
||||
"type": "number",
|
||||
"exclusiveMinimum": 0
|
||||
},
|
||||
"tie_breakers": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"enum": [
|
||||
"reaction_readiness_desc",
|
||||
"next_ready_at_asc",
|
||||
"initiative_speed_desc",
|
||||
"stable_actor_id_asc"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"next_actor_selection": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"selection_kind",
|
||||
"selected_actor_id",
|
||||
"selected_action_ids",
|
||||
"scene_clock_after_selection",
|
||||
"selection_reason",
|
||||
"readiness_snapshot"
|
||||
],
|
||||
"properties": {
|
||||
"selection_kind": {
|
||||
"enum": [
|
||||
"scheduled_turn",
|
||||
"reaction_interrupt",
|
||||
"coordinator_override"
|
||||
]
|
||||
},
|
||||
"selected_actor_id": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"selected_action_ids": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
}
|
||||
},
|
||||
"scene_clock_after_selection": {
|
||||
"type": "number",
|
||||
"minimum": 0
|
||||
},
|
||||
"selection_reason": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"override_reason": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"readiness_snapshot": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"$ref": "#/$defs/readiness_snapshot"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"review_notes": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
}
|
||||
}
|
||||
},
|
||||
"$defs": {
|
||||
"participant": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"agent_id",
|
||||
"display_name",
|
||||
"initiative_speed",
|
||||
"next_ready_at",
|
||||
"reaction_bias",
|
||||
"interrupt_threshold",
|
||||
"current_load",
|
||||
"status",
|
||||
"constraints"
|
||||
],
|
||||
"properties": {
|
||||
"agent_id": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"display_name": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"initiative_speed": {
|
||||
"type": "number",
|
||||
"exclusiveMinimum": 0
|
||||
},
|
||||
"next_ready_at": {
|
||||
"type": "number",
|
||||
"minimum": 0
|
||||
},
|
||||
"reaction_bias": {
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"maximum": 1
|
||||
},
|
||||
"interrupt_threshold": {
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"maximum": 1
|
||||
},
|
||||
"current_load": {
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"maximum": 1
|
||||
},
|
||||
"status": {
|
||||
"enum": [
|
||||
"active",
|
||||
"blocked",
|
||||
"withdrawn",
|
||||
"incapacitated",
|
||||
"offscreen"
|
||||
]
|
||||
},
|
||||
"constraints": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"action": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"action_id",
|
||||
"actor_id",
|
||||
"action_type",
|
||||
"action_scale",
|
||||
"base_recovery",
|
||||
"initiative_cost",
|
||||
"interruptibility",
|
||||
"commitment",
|
||||
"local_affordance_basis"
|
||||
],
|
||||
"properties": {
|
||||
"action_id": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"actor_id": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"action_type": {
|
||||
"enum": [
|
||||
"speak",
|
||||
"silence",
|
||||
"move",
|
||||
"gesture",
|
||||
"touch_object",
|
||||
"block_object",
|
||||
"use_object",
|
||||
"show_object",
|
||||
"withhold_object",
|
||||
"transfer_object",
|
||||
"spend_resource",
|
||||
"attack",
|
||||
"wait",
|
||||
"mixed"
|
||||
]
|
||||
},
|
||||
"action_scale": {
|
||||
"enum": [
|
||||
"micro",
|
||||
"short",
|
||||
"standard",
|
||||
"major",
|
||||
"committed"
|
||||
]
|
||||
},
|
||||
"base_recovery": {
|
||||
"type": "number",
|
||||
"minimum": 0
|
||||
},
|
||||
"initiative_cost": {
|
||||
"type": "number",
|
||||
"minimum": 0
|
||||
},
|
||||
"interruptibility": {
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"maximum": 1
|
||||
},
|
||||
"commitment": {
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"maximum": 1
|
||||
},
|
||||
"local_affordance_basis": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"reaction_window": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"window_id",
|
||||
"trigger_event_ref",
|
||||
"urgency",
|
||||
"eligible_actor_ids",
|
||||
"allowed_action_scales",
|
||||
"expires_at",
|
||||
"notes"
|
||||
],
|
||||
"properties": {
|
||||
"window_id": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"trigger_event_ref": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"urgency": {
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"maximum": 1
|
||||
},
|
||||
"eligible_actor_ids": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
}
|
||||
},
|
||||
"allowed_action_scales": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"enum": [
|
||||
"micro",
|
||||
"short",
|
||||
"standard",
|
||||
"major",
|
||||
"committed"
|
||||
]
|
||||
}
|
||||
},
|
||||
"expires_at": {
|
||||
"type": "number",
|
||||
"minimum": 0
|
||||
},
|
||||
"notes": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
}
|
||||
}
|
||||
},
|
||||
"readiness_snapshot": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"agent_id",
|
||||
"next_ready_at",
|
||||
"reaction_readiness",
|
||||
"eligible_for_reaction"
|
||||
],
|
||||
"properties": {
|
||||
"agent_id": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"next_ready_at": {
|
||||
"type": "number",
|
||||
"minimum": 0
|
||||
},
|
||||
"reaction_readiness": {
|
||||
"type": [
|
||||
"number",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"eligible_for_reaction": {
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,490 +0,0 @@
|
|||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://github.com/GameCult/Ghostlight/schemas/lore-grounding-digest.schema.json",
|
||||
"title": "Ghostlight Lore Grounding Digest Schema",
|
||||
"description": "Compiled lore slice for grounding projection fixtures in authored historical context, culture, institutions, and factional pressure fields.",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"schema_version",
|
||||
"digest_id",
|
||||
"source_status",
|
||||
"fixture_status",
|
||||
"source_refs",
|
||||
"historical_context",
|
||||
"groups",
|
||||
"cultural_pressure_fields",
|
||||
"factional_misread_matrix",
|
||||
"role_pressure_fields",
|
||||
"speaker_lore_boundaries",
|
||||
"author_only_boundaries",
|
||||
"open_questions"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"schema_version": {
|
||||
"const": "ghostlight.lore_grounding_digest.v0"
|
||||
},
|
||||
"digest_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"source_status": {
|
||||
"enum": [
|
||||
"template",
|
||||
"draft",
|
||||
"reviewed",
|
||||
"superseded"
|
||||
]
|
||||
},
|
||||
"fixture_status": {
|
||||
"enum": [
|
||||
"historical_grounded",
|
||||
"transition_grounded",
|
||||
"procedural_branch",
|
||||
"promoted_branch"
|
||||
]
|
||||
},
|
||||
"source_refs": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/$defs/source_ref"
|
||||
}
|
||||
},
|
||||
"historical_context": {
|
||||
"$ref": "#/$defs/historical_context"
|
||||
},
|
||||
"groups": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/$defs/group_profile"
|
||||
}
|
||||
},
|
||||
"cultural_pressure_fields": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/$defs/cultural_pressure_field"
|
||||
}
|
||||
},
|
||||
"factional_misread_matrix": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/$defs/factional_misread"
|
||||
}
|
||||
},
|
||||
"role_pressure_fields": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/$defs/role_pressure_field"
|
||||
}
|
||||
},
|
||||
"speaker_lore_boundaries": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/$defs/speaker_lore_boundary"
|
||||
}
|
||||
},
|
||||
"author_only_boundaries": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/$defs/sourced_text"
|
||||
}
|
||||
},
|
||||
"open_questions": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/$defs/open_question"
|
||||
}
|
||||
}
|
||||
},
|
||||
"$defs": {
|
||||
"source_ref": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"source_id",
|
||||
"path",
|
||||
"relevance"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"source_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"path": {
|
||||
"type": "string"
|
||||
},
|
||||
"title": {
|
||||
"type": "string"
|
||||
},
|
||||
"line_start": {
|
||||
"type": "integer",
|
||||
"minimum": 1
|
||||
},
|
||||
"line_end": {
|
||||
"type": "integer",
|
||||
"minimum": 1
|
||||
},
|
||||
"relevance": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"sourced_text": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"text",
|
||||
"source_refs"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"text": {
|
||||
"type": "string"
|
||||
},
|
||||
"source_refs": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"historical_context": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"time_period",
|
||||
"location",
|
||||
"summary",
|
||||
"public_facts",
|
||||
"ambient_pressures"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"time_period": {
|
||||
"type": "string"
|
||||
},
|
||||
"location": {
|
||||
"type": "string"
|
||||
},
|
||||
"summary": {
|
||||
"type": "string"
|
||||
},
|
||||
"public_facts": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/$defs/sourced_text"
|
||||
}
|
||||
},
|
||||
"ambient_pressures": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/$defs/sourced_text"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"group_profile": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"group_id",
|
||||
"label",
|
||||
"group_type",
|
||||
"institutional_logic",
|
||||
"material_incentives",
|
||||
"internal_virtues",
|
||||
"internal_shames",
|
||||
"prestige_markers",
|
||||
"taboo_triggers",
|
||||
"emotional_display_norms",
|
||||
"trust_defaults",
|
||||
"speech_register_cues",
|
||||
"source_refs"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"group_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"label": {
|
||||
"type": "string"
|
||||
},
|
||||
"group_type": {
|
||||
"enum": [
|
||||
"faction",
|
||||
"institution",
|
||||
"class",
|
||||
"profession",
|
||||
"movement",
|
||||
"culture",
|
||||
"subculture"
|
||||
]
|
||||
},
|
||||
"institutional_logic": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"material_incentives": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"internal_virtues": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"internal_shames": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"prestige_markers": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"taboo_triggers": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"emotional_display_norms": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"trust_defaults": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"speech_register_cues": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"source_refs": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"cultural_pressure_field": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"field_id",
|
||||
"applies_to",
|
||||
"pressure_type",
|
||||
"summary",
|
||||
"projection_use",
|
||||
"source_refs"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"field_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"applies_to": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"pressure_type": {
|
||||
"enum": [
|
||||
"virtue",
|
||||
"shame",
|
||||
"prestige",
|
||||
"taboo",
|
||||
"threat_model",
|
||||
"trust_default",
|
||||
"speech_norm",
|
||||
"status_trigger",
|
||||
"material_incentive",
|
||||
"outsider_stereotype"
|
||||
]
|
||||
},
|
||||
"summary": {
|
||||
"type": "string"
|
||||
},
|
||||
"projection_use": {
|
||||
"type": "string"
|
||||
},
|
||||
"source_refs": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"factional_misread": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"observer_group_id",
|
||||
"target_group_id",
|
||||
"observer_read",
|
||||
"target_self_read",
|
||||
"misread_patterns",
|
||||
"likely_insults",
|
||||
"projection_use",
|
||||
"source_refs"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"observer_group_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"target_group_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"observer_read": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"target_self_read": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"misread_patterns": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"likely_insults": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"projection_use": {
|
||||
"type": "string"
|
||||
},
|
||||
"source_refs": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"role_pressure_field": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"role_id",
|
||||
"summary",
|
||||
"obligations",
|
||||
"available_masks",
|
||||
"failure_modes",
|
||||
"source_refs"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"role_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"summary": {
|
||||
"type": "string"
|
||||
},
|
||||
"obligations": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"available_masks": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"failure_modes": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"source_refs": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"speaker_lore_boundary": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"speaker_id",
|
||||
"known_context",
|
||||
"beliefs",
|
||||
"misreads",
|
||||
"must_not_know"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"speaker_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"known_context": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/$defs/sourced_text"
|
||||
}
|
||||
},
|
||||
"beliefs": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/$defs/sourced_text"
|
||||
}
|
||||
},
|
||||
"misreads": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/$defs/sourced_text"
|
||||
}
|
||||
},
|
||||
"must_not_know": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/$defs/sourced_text"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"open_question": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"question",
|
||||
"blocks_training",
|
||||
"notes"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"question": {
|
||||
"type": "string"
|
||||
},
|
||||
"blocks_training": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"notes": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,49 +0,0 @@
|
|||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://github.com/GameCult/Ghostlight/schemas/participant-appraisal.schema.json",
|
||||
"title": "Ghostlight Participant Appraisal",
|
||||
"description": "Participant-local interpretation of an observable event from current character state, known facts, pressures, perceived relationships, and visibility.",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"schema_version",
|
||||
"appraisal_id",
|
||||
"review_status",
|
||||
"scene_loop_id",
|
||||
"turn_id",
|
||||
"participant_agent_id",
|
||||
"event_ref",
|
||||
"current_character_state_ref",
|
||||
"participant_local_context",
|
||||
"observable_event_summary",
|
||||
"known_facts",
|
||||
"active_pressures",
|
||||
"perceived_relationships",
|
||||
"interpretation",
|
||||
"emotional_appraisal",
|
||||
"interpretation_label",
|
||||
"confidence_notes",
|
||||
"candidate_implications",
|
||||
"review"
|
||||
],
|
||||
"properties": {
|
||||
"schema_version": { "const": "ghostlight.participant_appraisal.v0" },
|
||||
"appraisal_id": { "type": "string", "minLength": 1 },
|
||||
"review_status": { "type": "string" },
|
||||
"scene_loop_id": { "type": "string", "minLength": 1 },
|
||||
"turn_id": { "type": "string", "minLength": 1 },
|
||||
"participant_agent_id": { "type": "string", "minLength": 1 },
|
||||
"event_ref": { "type": "string", "minLength": 1 },
|
||||
"current_character_state_ref": { "type": "string", "minLength": 1 },
|
||||
"participant_local_context": { "type": "array", "minItems": 1, "items": { "type": "string", "minLength": 1 } },
|
||||
"observable_event_summary": { "type": "string", "minLength": 1 },
|
||||
"known_facts": { "type": "array", "minItems": 1, "items": { "type": "string", "minLength": 1 } },
|
||||
"active_pressures": { "type": "array", "minItems": 1, "items": { "type": "string", "minLength": 1 } },
|
||||
"perceived_relationships": { "type": "array", "minItems": 1, "items": { "type": "string", "minLength": 1 } },
|
||||
"interpretation": { "type": "string", "minLength": 1 },
|
||||
"emotional_appraisal": { "type": "string", "minLength": 1 },
|
||||
"interpretation_label": { "enum": ["misread", "correct_read", "ambiguous", "strategic_read", "unknown"] },
|
||||
"confidence_notes": { "type": "string", "minLength": 1 },
|
||||
"candidate_implications": { "type": "object" },
|
||||
"review": { "type": "object" }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,343 +0,0 @@
|
|||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://github.com/GameCult/Ghostlight/schemas/projected-local-context.schema.json",
|
||||
"title": "Ghostlight Projected Local Context Schema",
|
||||
"description": "Character-local operating context compiled from canonical state before response-model prompting.",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"schema_version",
|
||||
"projection_id",
|
||||
"input",
|
||||
"context",
|
||||
"audit"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"schema_version": {
|
||||
"const": "ghostlight.projected_local_context.v0"
|
||||
},
|
||||
"projection_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"input": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"fixture_ref",
|
||||
"annotation_ref",
|
||||
"scene_id",
|
||||
"local_agent_id",
|
||||
"listener_ids",
|
||||
"projection_mode"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"fixture_ref": {
|
||||
"type": "string"
|
||||
},
|
||||
"annotation_ref": {
|
||||
"type": "string"
|
||||
},
|
||||
"scene_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"local_agent_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"listener_ids": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"projection_mode": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"context": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"local_agent_id",
|
||||
"identity",
|
||||
"setting",
|
||||
"known_facts",
|
||||
"current_stakes",
|
||||
"embodiment_and_interface",
|
||||
"active_inner_pressures",
|
||||
"relationship_read",
|
||||
"tensions",
|
||||
"runtime_retrieval_requirements",
|
||||
"latent_pressure_requirements",
|
||||
"retrieved_lore_prompt_blocks",
|
||||
"latent_pressure_prompt_blocks",
|
||||
"action_affordances",
|
||||
"projection_controls",
|
||||
"voice_surface",
|
||||
"likely_response_moves",
|
||||
"do_not_invent",
|
||||
"prompt_text"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"local_agent_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"identity": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"setting": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"known_facts": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"$ref": "#/$defs/text_block"
|
||||
}
|
||||
},
|
||||
"current_stakes": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"$ref": "#/$defs/text_block"
|
||||
}
|
||||
},
|
||||
"embodiment_and_interface": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"$ref": "#/$defs/text_block"
|
||||
}
|
||||
},
|
||||
"active_inner_pressures": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"$ref": "#/$defs/text_block"
|
||||
}
|
||||
},
|
||||
"relationship_read": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/$defs/text_block"
|
||||
}
|
||||
},
|
||||
"tensions": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"$ref": "#/$defs/text_block"
|
||||
}
|
||||
},
|
||||
"runtime_retrieval_requirements": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/$defs/retrieval_requirement"
|
||||
}
|
||||
},
|
||||
"latent_pressure_requirements": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/$defs/latent_pressure_requirement"
|
||||
}
|
||||
},
|
||||
"retrieved_lore_prompt_blocks": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"$ref": "#/$defs/text_block"
|
||||
}
|
||||
},
|
||||
"latent_pressure_prompt_blocks": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"$ref": "#/$defs/text_block"
|
||||
}
|
||||
},
|
||||
"action_affordances": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"$ref": "#/$defs/text_block"
|
||||
}
|
||||
},
|
||||
"projection_controls": {
|
||||
"type": "object"
|
||||
},
|
||||
"voice_surface": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"$ref": "#/$defs/text_block"
|
||||
}
|
||||
},
|
||||
"likely_response_moves": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"$ref": "#/$defs/text_block"
|
||||
}
|
||||
},
|
||||
"do_not_invent": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"$ref": "#/$defs/text_block"
|
||||
}
|
||||
},
|
||||
"observed_event": {
|
||||
"type": "object"
|
||||
},
|
||||
"prompt_text": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
}
|
||||
}
|
||||
},
|
||||
"audit": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"projector",
|
||||
"raw_state_hidden_from_prompt",
|
||||
"character_local_context_only",
|
||||
"omitted_private_context",
|
||||
"review_status"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"projector": {
|
||||
"type": "string"
|
||||
},
|
||||
"raw_state_hidden_from_prompt": {
|
||||
"type": "boolean",
|
||||
"const": true
|
||||
},
|
||||
"character_local_context_only": {
|
||||
"type": "boolean",
|
||||
"const": true
|
||||
},
|
||||
"omitted_private_context": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"review_status": {
|
||||
"enum": [
|
||||
"draft",
|
||||
"accepted",
|
||||
"needs_revision",
|
||||
"rejected"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"$defs": {
|
||||
"text_block": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"text",
|
||||
"source_refs"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"text": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"source_refs": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"retrieval_requirement": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"requirement_id",
|
||||
"trigger",
|
||||
"compact_fact",
|
||||
"source_refs",
|
||||
"prompt_role"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"requirement_id": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"trigger": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"compact_fact": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"source_refs": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
}
|
||||
},
|
||||
"prompt_role": {
|
||||
"enum": [
|
||||
"source_excerpt",
|
||||
"setting_constraint",
|
||||
"action_affordance",
|
||||
"do_not_invent"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"latent_pressure_requirement": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"pressure_id",
|
||||
"text",
|
||||
"source_refs",
|
||||
"projection_rule",
|
||||
"review_rule"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"pressure_id": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"text": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"source_refs": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
}
|
||||
},
|
||||
"projection_rule": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"review_rule": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,348 +0,0 @@
|
|||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://github.com/GameCult/Ghostlight/schemas/projection-example.schema.json",
|
||||
"title": "Ghostlight Projection Example Schema",
|
||||
"description": "Reviewed training artifact for compiling structured agent state into speaker-local prompt projection.",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"schema_version",
|
||||
"example_id",
|
||||
"input",
|
||||
"output",
|
||||
"audit"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"schema_version": {
|
||||
"const": "ghostlight.projection_example.v0"
|
||||
},
|
||||
"example_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"input": {
|
||||
"$ref": "#/$defs/input_ref"
|
||||
},
|
||||
"output": {
|
||||
"$ref": "#/$defs/projection_output"
|
||||
},
|
||||
"audit": {
|
||||
"$ref": "#/$defs/audit"
|
||||
}
|
||||
},
|
||||
"$defs": {
|
||||
"input_ref": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"fixture_ref",
|
||||
"scene_id",
|
||||
"speaker_agent_id",
|
||||
"listener_ids",
|
||||
"projection_mode"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"fixture_ref": {
|
||||
"type": "string"
|
||||
},
|
||||
"scene_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"speaker_agent_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"listener_ids": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"projection_mode": {
|
||||
"enum": [
|
||||
"dialogue_turn",
|
||||
"response_turn",
|
||||
"action_turn",
|
||||
"scene_beat",
|
||||
"drama_scaffold"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"sourced_text": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"text",
|
||||
"source_refs"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"text": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"source_refs": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"active_pressure": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"pressure_id",
|
||||
"summary",
|
||||
"intensity",
|
||||
"source_refs"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"pressure_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"summary": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"intensity": {
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"maximum": 1
|
||||
},
|
||||
"source_refs": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"tension": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"tension_id",
|
||||
"summary",
|
||||
"source_refs"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"tension_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"summary": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"source_refs": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"response_affordance": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"affordance_id",
|
||||
"behavior",
|
||||
"pressure_basis",
|
||||
"source_refs"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"affordance_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"behavior": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"response_kind": {
|
||||
"enum": [
|
||||
"speech",
|
||||
"action",
|
||||
"silence",
|
||||
"withdrawal",
|
||||
"violence",
|
||||
"mixed"
|
||||
]
|
||||
},
|
||||
"pressure_basis": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"source_refs": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"projection_output": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"known_facts",
|
||||
"active_pressures",
|
||||
"tensions",
|
||||
"response_affordances",
|
||||
"voice_surface",
|
||||
"prompt_text"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"known_facts": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/$defs/sourced_text"
|
||||
}
|
||||
},
|
||||
"active_pressures": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"$ref": "#/$defs/active_pressure"
|
||||
}
|
||||
},
|
||||
"tensions": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"$ref": "#/$defs/tension"
|
||||
}
|
||||
},
|
||||
"response_affordances": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"$ref": "#/$defs/response_affordance"
|
||||
}
|
||||
},
|
||||
"voice_surface": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"$ref": "#/$defs/sourced_text"
|
||||
}
|
||||
},
|
||||
"projection_controls": {
|
||||
"$ref": "#/$defs/projection_controls"
|
||||
},
|
||||
"prompt_text": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
}
|
||||
}
|
||||
},
|
||||
"projection_controls": {
|
||||
"type": "object",
|
||||
"description": "Compiled control surfaces the renderer should preserve before prompt prose exists.",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"frame_controls": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/$defs/sourced_text"
|
||||
}
|
||||
},
|
||||
"authority_boundaries": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/$defs/sourced_text"
|
||||
}
|
||||
},
|
||||
"object_custody": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/$defs/sourced_text"
|
||||
}
|
||||
},
|
||||
"required_semantics": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/$defs/sourced_text"
|
||||
}
|
||||
},
|
||||
"forbidden_resolutions": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/$defs/sourced_text"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"audit": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"teacher_model",
|
||||
"reviewer",
|
||||
"review_status",
|
||||
"review_notes",
|
||||
"target_emergent_behaviors",
|
||||
"checks"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"teacher_model": {
|
||||
"type": "string"
|
||||
},
|
||||
"reviewer": {
|
||||
"type": "string"
|
||||
},
|
||||
"review_status": {
|
||||
"enum": [
|
||||
"accepted",
|
||||
"rejected",
|
||||
"needs_revision"
|
||||
]
|
||||
},
|
||||
"review_notes": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"target_emergent_behaviors": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"checks": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"speaker_local_context_only",
|
||||
"state_interactions_cited",
|
||||
"voice_separate_from_defense",
|
||||
"secrets_as_pressure_not_forbidden_context",
|
||||
"compact_runtime_surface"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"speaker_local_context_only": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"state_interactions_cited": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"voice_separate_from_defense": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"secrets_as_pressure_not_forbidden_context": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"compact_runtime_surface": {
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,194 +0,0 @@
|
|||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://github.com/GameCult/Ghostlight/schemas/responder-output.schema.json",
|
||||
"title": "Ghostlight Responder Output Schema",
|
||||
"description": "Reviewed output capture from a sandboxed character responder packet, preserving raw output, parsed response, leakage audit, and coordinator review.",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"schema_version",
|
||||
"capture_id",
|
||||
"review_status",
|
||||
"fixture_lane",
|
||||
"canon_status",
|
||||
"packet_ref",
|
||||
"coordinator_artifact_ref",
|
||||
"responder_agent_id",
|
||||
"generation_lane",
|
||||
"lore_access",
|
||||
"isolation",
|
||||
"raw_output",
|
||||
"parsed_output",
|
||||
"leakage_audit",
|
||||
"coordinator_review"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"schema_version": { "const": "ghostlight.responder_output.v0" },
|
||||
"capture_id": { "type": "string", "minLength": 1 },
|
||||
"review_status": { "$ref": "#/$defs/review_status" },
|
||||
"fixture_lane": { "enum": ["historical_grounded", "transition_grounded", "future_branch"] },
|
||||
"canon_status": { "enum": ["single_history", "branch_local", "promoted_branch", "template", "draft"] },
|
||||
"packet_ref": { "type": "string", "minLength": 1 },
|
||||
"coordinator_artifact_ref": { "type": "string", "minLength": 1 },
|
||||
"responder_agent_id": { "type": "string", "minLength": 1 },
|
||||
"generation_lane": { "enum": ["packet_only", "retrieval_augmented"] },
|
||||
"lore_access": {
|
||||
"type": "object",
|
||||
"required": ["mode", "consulted_refs"],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"mode": { "enum": ["curated_excerpts_only", "coordinator_scoped_retrieval", "responder_scoped_repository_search"] },
|
||||
"consulted_refs": { "type": "array", "items": { "type": "string", "minLength": 1 } },
|
||||
"followed_refs": { "type": "array", "items": { "type": "string", "minLength": 1 } },
|
||||
"research_summary": { "type": "string" },
|
||||
"research_trace": {
|
||||
"type": "array",
|
||||
"items": { "$ref": "#/$defs/research_trace_entry" }
|
||||
},
|
||||
"research_trace_status": { "enum": ["none", "responder_reported", "coordinator_reconstructed", "runner_captured"] }
|
||||
}
|
||||
},
|
||||
"isolation": {
|
||||
"type": "object",
|
||||
"required": ["isolation_method", "fork_context", "visible_input_ref", "hidden_context_refs", "worker_model_family"],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"isolation_method": { "enum": ["subagent_no_fork", "manual_packet_only", "external_model_packet_only"] },
|
||||
"fork_context": { "type": "boolean" },
|
||||
"visible_input_ref": { "type": "string", "minLength": 1 },
|
||||
"hidden_context_refs": { "type": "array", "items": { "type": "string", "minLength": 1 } },
|
||||
"worker_model_family": { "type": "string", "minLength": 1 }
|
||||
}
|
||||
},
|
||||
"raw_output": { "type": "string", "minLength": 1 },
|
||||
"parsed_output": { "$ref": "#/$defs/parsed_response" },
|
||||
"leakage_audit": { "$ref": "#/$defs/leakage_audit" },
|
||||
"coordinator_review": {
|
||||
"type": "object",
|
||||
"required": ["reviewer", "accepted_for_training", "review_notes", "coordinator_interventions", "failure_labels"],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"reviewer": { "type": "string", "minLength": 1 },
|
||||
"accepted_for_training": { "type": "boolean" },
|
||||
"review_notes": { "type": "array", "items": { "type": "string" } },
|
||||
"coordinator_interventions": {
|
||||
"type": "array",
|
||||
"items": { "$ref": "#/$defs/coordinator_intervention" }
|
||||
},
|
||||
"failure_labels": { "type": "array", "items": { "type": "string", "minLength": 1 } }
|
||||
}
|
||||
}
|
||||
},
|
||||
"$defs": {
|
||||
"review_status": {
|
||||
"enum": ["draft", "accepted", "accepted_as_draft", "useful_needs_revision", "rejected", "superseded"]
|
||||
},
|
||||
"parsed_response": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"responder_agent_id",
|
||||
"action_label",
|
||||
"visible_action",
|
||||
"spoken_text",
|
||||
"private_interpretation",
|
||||
"intended_effect",
|
||||
"state_update_candidates",
|
||||
"relationship_update_candidates",
|
||||
"unresolved_hooks"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"responder_agent_id": { "type": "string", "minLength": 1 },
|
||||
"action_label": { "type": "string", "minLength": 1 },
|
||||
"visible_action": { "type": "string", "minLength": 1 },
|
||||
"spoken_text": { "type": "string" },
|
||||
"private_interpretation": { "type": "string", "minLength": 1 },
|
||||
"intended_effect": { "type": "string", "minLength": 1 },
|
||||
"state_update_candidates": { "type": "array", "items": { "$ref": "#/$defs/update_candidate" } },
|
||||
"relationship_update_candidates": { "type": "array", "items": { "$ref": "#/$defs/update_candidate" } },
|
||||
"unresolved_hooks": { "type": "array", "items": { "type": "string", "minLength": 1 } },
|
||||
"consulted_refs": { "type": "array", "items": { "type": "string", "minLength": 1 } },
|
||||
"followed_refs": { "type": "array", "items": { "type": "string", "minLength": 1 } },
|
||||
"research_summary": { "type": "string" },
|
||||
"research_trace": {
|
||||
"type": "array",
|
||||
"items": { "$ref": "#/$defs/research_trace_entry" }
|
||||
}
|
||||
}
|
||||
},
|
||||
"research_trace_entry": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"trace_id",
|
||||
"origin",
|
||||
"query",
|
||||
"source_ref",
|
||||
"source_path",
|
||||
"chunk_index",
|
||||
"line_start",
|
||||
"line_end",
|
||||
"extracted_constraint",
|
||||
"used_for"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"trace_id": { "type": "string", "minLength": 1 },
|
||||
"origin": { "enum": ["responder_reported", "coordinator_reconstructed", "runner_captured"] },
|
||||
"query": { "type": "string", "minLength": 1 },
|
||||
"source_ref": { "type": "string", "minLength": 1 },
|
||||
"source_path": { "type": "string", "minLength": 1 },
|
||||
"chunk_index": { "type": "integer", "minimum": 0 },
|
||||
"line_start": { "type": "integer", "minimum": 1 },
|
||||
"line_end": { "type": "integer", "minimum": 1 },
|
||||
"extracted_constraint": { "type": "string", "minLength": 1 },
|
||||
"used_for": { "type": "string", "minLength": 1 }
|
||||
}
|
||||
},
|
||||
"update_candidate": {
|
||||
"oneOf": [
|
||||
{ "type": "string", "minLength": 1 },
|
||||
{
|
||||
"type": "object",
|
||||
"required": ["value"],
|
||||
"additionalProperties": true,
|
||||
"properties": {
|
||||
"key": { "type": "string" },
|
||||
"target_agent_id": { "type": "string" },
|
||||
"value": { "type": "string", "minLength": 1 }
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"leakage_audit": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"private_state_leak",
|
||||
"author_only_leak",
|
||||
"future_branch_leak",
|
||||
"raw_state_soup",
|
||||
"prompt_parroting",
|
||||
"body_or_object_omniscience",
|
||||
"notes"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"private_state_leak": { "type": "boolean" },
|
||||
"author_only_leak": { "type": "boolean" },
|
||||
"future_branch_leak": { "type": "boolean" },
|
||||
"raw_state_soup": { "type": "boolean" },
|
||||
"prompt_parroting": { "type": "boolean" },
|
||||
"body_or_object_omniscience": { "type": "boolean" },
|
||||
"notes": { "type": "array", "items": { "type": "string" } }
|
||||
}
|
||||
},
|
||||
"coordinator_intervention": {
|
||||
"type": "object",
|
||||
"required": ["intervention_type", "description"],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"intervention_type": { "enum": ["none", "normalization", "schema_repair", "prose_edit", "lore_correction", "leakage_removal", "rejection"] },
|
||||
"description": { "type": "string", "minLength": 1 }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,192 +0,0 @@
|
|||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://github.com/GameCult/Ghostlight/schemas/responder-packet.schema.json",
|
||||
"title": "Ghostlight Responder Packet Schema",
|
||||
"description": "Packet-only visible input for a sandboxed character responder. The coordinator may know more, but this artifact is the exact surface a responder model is allowed to see.",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"schema_version",
|
||||
"packet_id",
|
||||
"review_status",
|
||||
"fixture_lane",
|
||||
"canon_status",
|
||||
"coordinator_artifact_ref",
|
||||
"projected_context_ref",
|
||||
"responder_agent_id",
|
||||
"generation_lane",
|
||||
"lore_access",
|
||||
"visible_context",
|
||||
"output_contract",
|
||||
"hidden_context_audit",
|
||||
"isolation_requirements",
|
||||
"packet_prompt_text",
|
||||
"review"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"schema_version": { "const": "ghostlight.responder_packet.v0" },
|
||||
"packet_id": { "type": "string", "minLength": 1 },
|
||||
"review_status": { "$ref": "#/$defs/review_status" },
|
||||
"fixture_lane": { "enum": ["historical_grounded", "transition_grounded", "future_branch"] },
|
||||
"canon_status": { "enum": ["single_history", "branch_local", "promoted_branch", "template", "draft"] },
|
||||
"coordinator_artifact_ref": { "type": "string", "minLength": 1 },
|
||||
"projected_context_ref": { "type": "string", "minLength": 1 },
|
||||
"responder_agent_id": { "type": "string", "minLength": 1 },
|
||||
"generation_lane": { "enum": ["packet_only", "retrieval_augmented"] },
|
||||
"lore_access": {
|
||||
"type": "object",
|
||||
"required": ["mode", "allowed_scope", "required_provenance"],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"mode": { "enum": ["curated_excerpts_only", "coordinator_scoped_retrieval", "responder_scoped_repository_search"] },
|
||||
"allowed_scope": { "type": "array", "items": { "type": "string", "minLength": 1 } },
|
||||
"research_instructions": {
|
||||
"type": "array",
|
||||
"items": { "type": "string", "minLength": 1 }
|
||||
},
|
||||
"traversal_policy": {
|
||||
"type": "object",
|
||||
"required": ["max_link_depth", "allowed_prefixes", "required_seed_refs", "follow_link_classes", "stop_conditions"],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"max_link_depth": { "type": "integer", "minimum": 0 },
|
||||
"allowed_prefixes": { "type": "array", "items": { "type": "string", "minLength": 1 } },
|
||||
"required_seed_refs": { "type": "array", "items": { "type": "string", "minLength": 1 } },
|
||||
"follow_link_classes": { "type": "array", "items": { "type": "string", "minLength": 1 } },
|
||||
"stop_conditions": { "type": "array", "items": { "type": "string", "minLength": 1 } }
|
||||
}
|
||||
},
|
||||
"required_provenance": { "type": "boolean", "const": true }
|
||||
}
|
||||
},
|
||||
"visible_context": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"local_context_prompt",
|
||||
"observed_event",
|
||||
"allowed_action_labels",
|
||||
"source_excerpts"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"local_context_prompt": { "type": "string", "minLength": 1 },
|
||||
"observed_event": { "$ref": "#/$defs/observed_event" },
|
||||
"allowed_action_labels": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": { "type": "string", "minLength": 1 }
|
||||
},
|
||||
"source_excerpts": {
|
||||
"type": "array",
|
||||
"items": { "$ref": "#/$defs/source_excerpt" }
|
||||
}
|
||||
}
|
||||
},
|
||||
"output_contract": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"response_schema",
|
||||
"required_fields",
|
||||
"response_rules"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"response_schema": { "type": "string", "minLength": 1 },
|
||||
"required_fields": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": { "type": "string", "minLength": 1 }
|
||||
},
|
||||
"response_rules": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": { "type": "string", "minLength": 1 }
|
||||
}
|
||||
}
|
||||
},
|
||||
"hidden_context_audit": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"omitted_context_refs",
|
||||
"forbidden_inference_classes",
|
||||
"known_absences"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"omitted_context_refs": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": { "type": "string", "minLength": 1 }
|
||||
},
|
||||
"forbidden_inference_classes": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": { "type": "string", "minLength": 1 }
|
||||
},
|
||||
"known_absences": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": { "type": "string", "minLength": 1 }
|
||||
}
|
||||
}
|
||||
},
|
||||
"isolation_requirements": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"isolation_method",
|
||||
"packet_only",
|
||||
"no_repo_access",
|
||||
"no_conversation_context",
|
||||
"no_hidden_state_refs"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"isolation_method": { "enum": ["subagent_no_fork", "manual_packet_only", "external_model_packet_only"] },
|
||||
"packet_only": { "type": "boolean", "const": true },
|
||||
"no_repo_access": { "type": "boolean" },
|
||||
"no_conversation_context": { "type": "boolean", "const": true },
|
||||
"no_hidden_state_refs": { "type": "boolean", "const": true }
|
||||
}
|
||||
},
|
||||
"packet_prompt_text": { "type": "string", "minLength": 1 },
|
||||
"review": {
|
||||
"type": "object",
|
||||
"required": ["reviewer", "review_notes", "accepted_for_sandbox_use", "failure_labels"],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"reviewer": { "type": "string", "minLength": 1 },
|
||||
"review_notes": { "type": "array", "items": { "type": "string" } },
|
||||
"accepted_for_sandbox_use": { "type": "boolean" },
|
||||
"failure_labels": { "type": "array", "items": { "type": "string", "minLength": 1 } }
|
||||
}
|
||||
}
|
||||
},
|
||||
"$defs": {
|
||||
"review_status": {
|
||||
"enum": ["draft", "accepted", "accepted_as_draft", "useful_needs_revision", "rejected", "superseded"]
|
||||
},
|
||||
"observed_event": {
|
||||
"type": "object",
|
||||
"required": ["event_id", "actor_agent_id", "observable_action", "spoken_text", "visible_object_refs", "visibility_notes"],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"event_id": { "type": "string", "minLength": 1 },
|
||||
"actor_agent_id": { "type": "string", "minLength": 1 },
|
||||
"observable_action": { "type": "string", "minLength": 1 },
|
||||
"spoken_text": { "type": "string" },
|
||||
"visible_object_refs": { "type": "array", "items": { "type": "string", "minLength": 1 } },
|
||||
"visibility_notes": { "type": "array", "minItems": 1, "items": { "type": "string", "minLength": 1 } }
|
||||
}
|
||||
},
|
||||
"source_excerpt": {
|
||||
"type": "object",
|
||||
"required": ["ref_id", "source_ref", "text"],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"ref_id": { "type": "string", "minLength": 1 },
|
||||
"source_ref": { "type": "string", "minLength": 1 },
|
||||
"text": { "type": "string", "minLength": 1 }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,41 +0,0 @@
|
|||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://github.com/GameCult/Ghostlight/schemas/reviewed-mutation.schema.json",
|
||||
"title": "Ghostlight Reviewed Mutation",
|
||||
"description": "Reviewed state mutation receipt separating accepted, rejected, and deferred deltas after event appraisal.",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"schema_version",
|
||||
"mutation_id",
|
||||
"review_status",
|
||||
"scene_loop_id",
|
||||
"turn_id",
|
||||
"prior_state_refs",
|
||||
"event_ref",
|
||||
"responder_output_ref",
|
||||
"appraisal_refs",
|
||||
"accepted_deltas",
|
||||
"rejected_deltas",
|
||||
"deferred_deltas",
|
||||
"authority_notes",
|
||||
"post_state_summary",
|
||||
"review"
|
||||
],
|
||||
"properties": {
|
||||
"schema_version": { "const": "ghostlight.reviewed_mutation.v0" },
|
||||
"mutation_id": { "type": "string", "minLength": 1 },
|
||||
"review_status": { "type": "string" },
|
||||
"scene_loop_id": { "type": "string", "minLength": 1 },
|
||||
"turn_id": { "type": "string", "minLength": 1 },
|
||||
"prior_state_refs": { "type": "array", "minItems": 1, "items": { "type": "string", "minLength": 1 } },
|
||||
"event_ref": { "type": "string", "minLength": 1 },
|
||||
"responder_output_ref": { "type": "string", "minLength": 1 },
|
||||
"appraisal_refs": { "type": "array", "minItems": 1, "items": { "type": "string", "minLength": 1 } },
|
||||
"accepted_deltas": { "type": "array", "minItems": 1 },
|
||||
"rejected_deltas": { "type": "array" },
|
||||
"deferred_deltas": { "type": "array" },
|
||||
"authority_notes": { "type": "string", "minLength": 1 },
|
||||
"post_state_summary": { "type": "string", "minLength": 1 },
|
||||
"review": { "type": "object" }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,29 +0,0 @@
|
|||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://github.com/GameCult/Ghostlight/schemas/scene-loop-bundle.schema.json",
|
||||
"title": "Ghostlight Scene Loop Bundle",
|
||||
"description": "Manifest tying one stateful training-loop scene to its projection, packet, raw responder, event, appraisal, mutation, and coordinator receipts.",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"schema_version",
|
||||
"bundle_id",
|
||||
"review_status",
|
||||
"training_usability",
|
||||
"reference_fixture_refs",
|
||||
"scene_source",
|
||||
"initial_state_ref",
|
||||
"turns",
|
||||
"review_summary"
|
||||
],
|
||||
"properties": {
|
||||
"schema_version": { "const": "ghostlight.scene_loop_bundle.v0" },
|
||||
"bundle_id": { "type": "string", "minLength": 1 },
|
||||
"review_status": { "type": "string" },
|
||||
"training_usability": { "type": "object" },
|
||||
"reference_fixture_refs": { "type": "array", "minItems": 1, "items": { "type": "string", "minLength": 1 } },
|
||||
"scene_source": { "type": "object" },
|
||||
"initial_state_ref": { "type": "string", "minLength": 1 },
|
||||
"turns": { "type": "array", "minItems": 3 },
|
||||
"review_summary": { "type": "object" }
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue