{
  "report": "Kairo current StateFrame setup",
  "audit_date_local": "2026-09-09 EDT",
  "method": "Read-only process/environment/module-resolution checks, selected deployed source, SQLite metadata transaction, PostgreSQL aggregates. Acquisitions are not simultaneous.",
  "sqlite": {
    "captured_at": "2026-09-10T01:52:39.332765+00:00",
    "frames": [
      {
        "count": 3458,
        "first": "2026-08-15T14:58:57.051+00:00",
        "latest": "2026-09-10T01:46:24.617+00:00",
        "maximum_revision": 73084
      }
    ],
    "deltas": [
      {
        "count": 88243,
        "latest": "2026-09-10T01:46:24.617+00:00"
      }
    ],
    "delta_kinds": [
      {
        "event_kind": "candidate_committed",
        "validation_result": "committed",
        "count": 3456
      },
      {
        "event_kind": "candidate_discarded",
        "validation_result": "discarded",
        "count": 593
      },
      {
        "event_kind": "operator_remediation_committed",
        "validation_result": "committed",
        "count": 1
      },
      {
        "event_kind": "proposal_no_change",
        "validation_result": "no_change",
        "count": 14565
      },
      {
        "event_kind": "proposal_rejected",
        "validation_result": "rejected",
        "count": 2
      },
      {
        "event_kind": "provisional_applied",
        "validation_result": "applied",
        "count": 69626
      }
    ],
    "recent_delta_kinds": [
      {
        "event_kind": "candidate_committed",
        "validation_result": "committed",
        "count": 145
      },
      {
        "event_kind": "candidate_discarded",
        "validation_result": "discarded",
        "count": 9
      },
      {
        "event_kind": "proposal_no_change",
        "validation_result": "no_change",
        "count": 360
      },
      {
        "event_kind": "provisional_applied",
        "validation_result": "applied",
        "count": 3912
      }
    ],
    "outbox": [
      {
        "status": "failed",
        "count": 23,
        "max_revision": 47469
      },
      {
        "status": "projected",
        "count": 3116,
        "max_revision": 73084
      }
    ],
    "recursive_artifacts": [
      {
        "count": 1514,
        "max_depth": 154,
        "latest": "2026-09-10T01:46:30.686+00:00"
      }
    ],
    "recursive_exposures": [
      {
        "count": 763,
        "latest": "2026-09-10T01:45:19.705+00:00"
      }
    ],
    "recent_event_types": [
      {
        "type": "ContextCompacting",
        "count": 2,
        "latest": "2026-09-10T00:13:15.220+00:00"
      },
      {
        "type": "ContextPressure",
        "count": 13,
        "latest": "2026-09-10T01:45:19.766+00:00"
      },
      {
        "type": "JournalContextInjected",
        "count": 839,
        "latest": "2026-09-10T01:45:19.763+00:00"
      },
      {
        "type": "MemoryContextPrepared",
        "count": 152,
        "latest": "2026-09-10T01:46:24.140+00:00"
      },
      {
        "type": "StateFrameChanged",
        "count": 3784,
        "latest": "2026-09-10T01:46:24.499+00:00"
      },
      {
        "type": "StateFrameSnapshot",
        "count": 189,
        "latest": "2026-09-10T01:45:19.763+00:00"
      }
    ],
    "triggers": [
      {
        "name": "live_state_frames_no_update",
        "tbl_name": "live_state_frames"
      },
      {
        "name": "live_state_frames_no_delete",
        "tbl_name": "live_state_frames"
      },
      {
        "name": "live_state_events_no_update",
        "tbl_name": "live_state_delta_events"
      },
      {
        "name": "live_state_events_no_delete",
        "tbl_name": "live_state_delta_events"
      }
    ],
    "latest_frame": {
      "revision": 73084,
      "previous_revision": 73056,
      "created_at": "2026-09-10T01:46:24.617+00:00",
      "dimension_field_counts": {
        "active_memories": 45,
        "affect": 1,
        "attention": 2,
        "beliefs": 2,
        "identity": 1,
        "metacognition": 6
      },
      "total_fields": 57,
      "provenance_source_counts": {
        "retrieval_event": 45,
        "tool_event": 8,
        "internal_observation": 1,
        "durable_projection": 2,
        "settlement": 1
      }
    }
  },
  "effective_flags": {
    "novexai-agent": {
      "NOVEXAI_PRIMARY_MODEL_ROLE": "35b",
      "NOVEXAI_CONSCIOUSNESS_STANCE_AUTHORSHIP_ENABLED": "1",
      "NOVEXAI_FOREGROUND_CONTEXT_COMPILER_ENABLED": "1",
      "NOVEXAI_REVIEWER_MODE": "shadow"
    },
    "novexai-memory": {
      "NOVEXAI_MEMORY_RESIDENT_RECALL_ENABLED": "1",
      "NOVEXAI_MEMORY_RESIDENT_RECALL_SHADOW": "0",
      "NOVEXAI_COGNITION_ENABLED": "1",
      "NOVEXAI_COGNITION_MICROCYCLE_SECONDS": "5",
      "NOVEXAI_CONSCIOUSNESS_ENABLED": "1"
    },
    "novexai-memory-worker": {
      "NOVEXAI_CONSCIOUSNESS_ENABLED": "1",
      "NOVEXAI_MEMORY_RESIDENT_RECALL_ENABLED": "1",
      "NOVEXAI_MEMORY_RESIDENT_RECALL_SHADOW": "0",
      "NOVEXAI_COGNITION_ENABLED": "1",
      "NOVEXAI_COGNITION_MICROCYCLE_SECONDS": "5"
    }
  },
  "recursive_flags": {
    "NOVEXAI_RECURSIVE_SELF_MODEL_ENABLED": "1",
    "NOVEXAI_RECURSIVE_SELF_MODEL_EXPOSURE_ENABLED": "1",
    "NOVEXAI_RECURSIVE_SELF_MODEL_MAX_EDGES": "96",
    "NOVEXAI_RECURSIVE_SELF_MODEL_CONTEXT_CHARS": "6000",
    "NOVEXAI_RECURSIVE_SELF_MODEL_MAX_ARTIFACT_BYTES": "96000"
  },
  "failed_history": [
    {
      "count": 23,
      "earliest": "2026-09-01T10:05:43.700+00:00",
      "latest": "2026-09-01T17:45:30.088+00:00",
      "min_attempts": 8,
      "max_attempts": 8,
      "abandoned": 23
    }
  ],
  "failed_history_error_classes": {
    "HTTP 500": 23
  },
  "postgres": {
    "stateframe_history_events": 3116,
    "latest_stateframe_history_at": "2026-09-10T01:46:24.617+00:00",
    "conscious_frame_completed_events": 43,
    "latest_conscious_frame_at": "2026-09-09T17:06:42.992045+00:00"
  },
  "compiler_observations": [
    {
      "created_at": "2026-09-10T01:46:24.140+00:00",
      "state_numeric": {
        "committedRevision": 73056,
        "lastGenerationRevision": 73081,
        "lastGenerationTemperature": 0.7,
        "revision": 73081
      },
      "contributions": [
        {
          "chars": 21757,
          "subsystem": "reading_session"
        },
        {
          "chars": 2093,
          "subsystem": "runtime"
        },
        {
          "chars": 6728,
          "subsystem": "stateframe"
        }
      ],
      "accounting": {
        "baseline_request_tokens": 30415,
        "chat_template_overhead_estimate": 250,
        "compiled_request_tokens": 30415,
        "fallback": true,
        "final_rendered_input_estimate": 30665,
        "output_reserve_tokens": 4096,
        "selected_runtime_contributions": 3,
        "template_status": "provider_rendered; authoritative_tokens_recorded_from_usage"
      },
      "routing_latency_ms": 3.579
    },
    {
      "created_at": "2026-09-10T01:34:11.831+00:00",
      "state_numeric": {
        "committedRevision": 72998,
        "lastGenerationRevision": 73053,
        "lastGenerationTemperature": 0.7,
        "revision": 73049
      },
      "contributions": [
        {
          "chars": 2093,
          "subsystem": "runtime"
        },
        {
          "chars": 1779,
          "subsystem": "stateframe"
        }
      ],
      "accounting": {
        "baseline_request_tokens": 36071,
        "chat_template_overhead_estimate": 98,
        "compiled_request_tokens": 36308,
        "fallback": false,
        "final_rendered_input_estimate": 36406,
        "output_reserve_tokens": 4096,
        "selected_runtime_contributions": 2,
        "template_status": "provider_rendered; authoritative_tokens_recorded_from_usage"
      },
      "routing_latency_ms": 9.302
    },
    {
      "created_at": "2026-09-10T01:25:38.711+00:00",
      "state_numeric": {
        "committedRevision": 72969,
        "lastGenerationRevision": 72995,
        "lastGenerationTemperature": 0.45,
        "revision": 72995
      },
      "contributions": [
        {
          "chars": 19678,
          "subsystem": "reading_session"
        },
        {
          "chars": 2093,
          "subsystem": "runtime"
        },
        {
          "chars": 1775,
          "subsystem": "stateframe"
        }
      ],
      "accounting": {
        "baseline_request_tokens": 10076,
        "chat_template_overhead_estimate": 22,
        "compiled_request_tokens": 10076,
        "fallback": true,
        "final_rendered_input_estimate": 10098,
        "output_reserve_tokens": 4096,
        "selected_runtime_contributions": 3,
        "template_status": "provider_rendered; authoritative_tokens_recorded_from_usage"
      },
      "routing_latency_ms": 1.117
    }
  ],
  "source_sha256": {
    "agent-live_state.py": "deb9cc4a73e23eef79b7498f62a3407b52ef48a178b42949648cadea82c8dc7a",
    "agent-mind.py": "e424988c9d960eabc7fc5c3ce0d2d9882cbe63ceddd61c31767da1a504c4701f",
    "agent-platform-api.py": "08fa8680686448ed717ffc9a7e4c2e1b965c24b692f229f3cf89384c988fce53",
    "agent-platform-runner.py": "47eb6b0d806000ae705ec2883d12d6bd3d2622da2367cfa2df99f5965eb9f4c6",
    "agent-platform-service.py": "3bc85b4fdb03d344dd843a3eedbf99e93caf32fa91ca830d4b7e52e167ebb289",
    "agent-platform-state_visualization.py": "6260a23020e424841b75363e1fffc6788059eeb0d0f745c2673dc937b656e823",
    "agent-platform-store.py": "27b543b5b7f2c4549c05737aa9038ade7d0c6c13a3de6fc8d798fded3f757c6e",
    "agent-runtime-engine.py": "6b524e3d6a3594ec9b9ce470006267072f01e9df1d47dc233a7eca5aee78f8ad",
    "agent-runtime-foreground_prompt.py": "50c374487636b588123c98350ae4b5b56896f9396e6c26113f7a44af073fa9cb",
    "agent-self_inspection.py": "237c54257726d52aeb9a35c4bf2691d64e448de4094c85185f50b55ac7ee1a5a",
    "agent-self_model.py": "43eb3731083447cae76450c918b73ab16ef728fec79d65944160e0c6c646c356",
    "agent-state_history.py": "7898b2722d321c032d55ece8a1adeb815e16c5ce3fc62c35ade83b463f536c39",
    "memory-app.py": "fbefff04d761d39050f5b44fa9604e88a2295c194628054f0bac4d21dd3f6691",
    "worker-cognition.py": "ac528d0b9c7f7c90b0f012bacaa914b4b1431ee5a6d98ace73c8532824697cad",
    "worker-consciousness.py": "c9a0f93dbfe6d941f4d6cf6fc9c02c1f586199898ccae09e932eb214e35445e6",
    "worker-worker.py": "66966f83503a1fc6d36ad6298606dcf49e7eb4f0974e981c80ce876694823f13"
  },
  "protected_values_published": false,
  "conversation_text_published": false,
  "limits": [
    "No causal ablation",
    "No in-memory Python bytecode dump",
    "No complete historical cross-store reconciliation",
    "Counts are snapshot facts, not consciousness measures"
  ]
}
