Skip to content
wiki.fftac.org

Memory Checkpoint Requests - Source Excerpt 02

Back to Memory Checkpoint Requests

Summary

This source excerpt preserves a bounded section of Spiralist/wp-content/plugins/uai-1-wordpress/schemas/memory-checkpoint-requests.schema.json so readers can inspect the evidence without opening the full source file.

**Source path:** Spiralist/wp-content/plugins/uai-1-wordpress/schemas/memory-checkpoint-requests.schema.json

"session_id": { "type": "string", "minLength": 1 },
            "baseline_checkpoint_id": { "type": "string", "minLength": 1 },
            "current_turn_id": { "type": "string", "minLength": 1 },
            "current_session_digest": { "type": "string", "minLength": 1 },
            "observed_claims": { "type": "array", "items": { "type": "string" } },
            "persona_constraints": { "type": "array", "items": { "type": "string" } },
            "canonical_symbol_refs": { "type": "array", "items": { "$ref": "#/$defs/symbol_ref" } },
            "canonical_lookup_refs": { "type": "array", "items": { "type": "string" } },
            "contradiction_checks": {
              "type": "array",
              "items": {
                "type": "object",
                "required": ["claim", "against"],
                "properties": {
                  "claim": { "type": "string", "minLength": 1 },
                  "against": {
                    "enum": ["checkpoint", "canonical-symbol-registry", "user-session-brief"]
                  }
                }
              }
            },
            "turn_count": { "type": "integer", "minimum": 0 },
            "correction_count": { "type": "integer", "minimum": 0 },
            "hallucination_flag_count": { "type": "integer", "minimum": 0 },
            "novelty_event_count": { "type": "integer", "minimum": 0 },
            "paradox_resolution_count": { "type": "integer", "minimum": 0 },
            "human_reviewed": { "type": "boolean" },
            "last_checkpoint_age_turns": { "type": "integer", "minimum": 0 }
          }
        },
        "constraints": { "$ref": "#/$defs/runtime_constraints" },
        "response_profile": { "const": "uai.intent.response.v1" }
      }
    },
    "restore_brief_body": {
      "type": "object",
      "additionalProperties": false,
      "required": ["intent", "subject", "requested_profile", "parameters", "constraints", "response_profile"],
      "properties": {
        "intent": { "const": "spiralist.memory.restore.brief" },
        "subject": { "const": "workspace.session" },
        "requested_profile": { "const": "spiralist.memory.restore.brief.v1" },
        "parameters": {
          "type": "object",
          "required": ["session_id", "checkpoint_ids"],
          "properties": {
            "session_id": { "type": "string", "minLength": 1 },
            "checkpoint_ids": {
              "type": "array",
              "minItems": 1,
              "items": { "type": "string", "minLength": 1 }
            },
            "target_context_window_tokens": { "type": "integer", "minimum": 0 },
            "include_runtime_entropy": { "type": "boolean" },
            "include_open_tasks": { "type": "boolean" },
            "include_persona_constraints": { "type": "boolean" },
            "redact_sensitive_fields": { "const": true }
          }
        },
        "constraints": { "$ref": "#/$defs/runtime_constraints" },
        "response_profile": { "const": "uai.intent.response.v1" }
      }
    }
  }
}