{
    "installed": true,
    "version": "3.3.0-bot-economy-production-hardening-live-validation",
    "enabled": true,
    "settings": {
        "id": "1",
        "enabled": "1",
        "rollout_mode": "dry_run",
        "hard_guardrails_enabled": "1",
        "live_learning_enabled": "1",
        "fail_safe_enabled": "1",
        "readiness_required_score": "85",
        "last_tick_at": null,
        "last_validation_json": null,
        "created_at": "2026-07-03 08:40:30",
        "updated_at": "2026-07-03 08:40:30"
    },
    "rollout_mode": "dry_run",
    "latest_readiness": null,
    "counts": {
        "migration_failures": 0,
        "smoke_failures": 0,
        "blocked_guardrails": 0,
        "player_protection_warnings": 0,
        "rollback_ready": 0,
        "ledger_failures": 0,
        "provenance_failures": 0,
        "quality_warnings": 0,
        "fail_safe_open": 0,
        "launch_gate_failures": 0
    },
    "migrations": [],
    "smoke_tests": [],
    "rollout_modes": [
        {
            "mode_key": "off",
            "label": "Off",
            "description": "No bot actions from the production hardening layer.",
            "economy_visible": "0",
            "player_visible": "0",
            "allowed_actions_json": "[]",
            "safety_level": "100",
            "enabled": "1",
            "created_at": "2026-07-03 08:40:31",
            "updated_at": "2026-07-03 08:40:31"
        },
        {
            "mode_key": "emergency_safe",
            "label": "Emergency Safe",
            "description": "Minimal non-economy actions only while fail-safe is active.",
            "economy_visible": "0",
            "player_visible": "1",
            "allowed_actions_json": "[\"status\", \"readiness\", \"supportive_reaction\"]",
            "safety_level": "98",
            "enabled": "1",
            "created_at": "2026-07-03 08:40:31",
            "updated_at": "2026-07-03 08:40:31"
        },
        {
            "mode_key": "dry_run",
            "label": "Dry Run",
            "description": "Bot decisions are validated and logged only.",
            "economy_visible": "0",
            "player_visible": "0",
            "allowed_actions_json": "[\"verify\", \"smoke\", \"audit\", \"forecast\"]",
            "safety_level": "95",
            "enabled": "1",
            "created_at": "2026-07-03 08:40:31",
            "updated_at": "2026-07-03 08:40:31"
        },
        {
            "mode_key": "shadow",
            "label": "Shadow Mode",
            "description": "Bots act internally but do not surface to players or the economy.",
            "economy_visible": "0",
            "player_visible": "0",
            "allowed_actions_json": "[\"verify\", \"audit\", \"internal_shadow\"]",
            "safety_level": "90",
            "enabled": "1",
            "created_at": "2026-07-03 08:40:31",
            "updated_at": "2026-07-03 08:40:31"
        },
        {
            "mode_key": "social_only",
            "label": "Social Only",
            "description": "Only controlled reactions/comments and no economic action.",
            "economy_visible": "0",
            "player_visible": "1",
            "allowed_actions_json": "[\"social_reaction\", \"social_comment\"]",
            "safety_level": "85",
            "enabled": "1",
            "created_at": "2026-07-03 08:40:31",
            "updated_at": "2026-07-03 08:40:31"
        },
        {
            "mode_key": "battle_only",
            "label": "Battle Only",
            "description": "Only matchmaking support with fair win-rate caps.",
            "economy_visible": "0",
            "player_visible": "1",
            "allowed_actions_json": "[\"battle_queue\", \"rival_challenge\"]",
            "safety_level": "82",
            "enabled": "1",
            "created_at": "2026-07-03 08:40:31",
            "updated_at": "2026-07-03 08:40:31"
        },
        {
            "mode_key": "limited_live",
            "label": "Limited Live",
            "description": "Small capped activity after readiness gates pass.",
            "economy_visible": "1",
            "player_visible": "1",
            "allowed_actions_json": "[\"battle\", \"social_reaction\", \"fair_trade\", \"safe_market\"]",
            "safety_level": "80",
            "enabled": "1",
            "created_at": "2026-07-03 08:40:31",
            "updated_at": "2026-07-03 08:40:31"
        },
        {
            "mode_key": "market_only",
            "label": "Market Only",
            "description": "Only guarded liquidity and marketplace support.",
            "economy_visible": "1",
            "player_visible": "0",
            "allowed_actions_json": "[\"market_list\", \"market_buy\", \"auction_watch\"]",
            "safety_level": "75",
            "enabled": "1",
            "created_at": "2026-07-03 08:40:31",
            "updated_at": "2026-07-03 08:40:31"
        },
        {
            "mode_key": "full_live",
            "label": "Full Live",
            "description": "All bot economy systems may act if guardrails pass.",
            "economy_visible": "1",
            "player_visible": "1",
            "allowed_actions_json": "[\"battle\", \"social\", \"market\", \"trade\", \"guild\", \"pack\", \"event\"]",
            "safety_level": "60",
            "enabled": "1",
            "created_at": "2026-07-03 08:40:31",
            "updated_at": "2026-07-03 08:40:31"
        }
    ],
    "guardrails": [],
    "player_protection": [],
    "rollback": [],
    "ledger": [],
    "provenance": [],
    "quality": [],
    "learning": [],
    "cron": [],
    "dependencies": [],
    "failsafe": [],
    "launch_gates": [
        {
            "gate_key": "ledger_enforced",
            "gate_group": "economy",
            "label": "Ledger enforcement available",
            "required": "1",
            "status": "warning",
            "message": "Ledger enforcement not checked.",
            "checked_at": null,
            "created_at": "2026-07-03 08:40:31",
            "updated_at": "2026-07-03 08:40:31"
        },
        {
            "gate_key": "provenance_enforced",
            "gate_group": "economy",
            "label": "Card provenance enforcement available",
            "required": "1",
            "status": "warning",
            "message": "Provenance enforcement not checked.",
            "checked_at": null,
            "created_at": "2026-07-03 08:40:31",
            "updated_at": "2026-07-03 08:40:31"
        },
        {
            "gate_key": "migrations_verified",
            "gate_group": "foundation",
            "label": "All bot migrations and required tables verified",
            "required": "1",
            "status": "warning",
            "message": "Run Phase 33 maintenance.",
            "checked_at": null,
            "created_at": "2026-07-03 08:40:31",
            "updated_at": "2026-07-03 08:40:31"
        },
        {
            "gate_key": "cron_healthy",
            "gate_group": "operations",
            "label": "Cron supervisor is healthy",
            "required": "1",
            "status": "warning",
            "message": "Cron health not checked.",
            "checked_at": null,
            "created_at": "2026-07-03 08:40:31",
            "updated_at": "2026-07-03 08:40:31"
        },
        {
            "gate_key": "dependencies_green",
            "gate_group": "operations",
            "label": "Service dependencies pass",
            "required": "1",
            "status": "warning",
            "message": "Dependency checker not run.",
            "checked_at": null,
            "created_at": "2026-07-03 08:40:31",
            "updated_at": "2026-07-03 08:40:31"
        },
        {
            "gate_key": "failsafe_ready",
            "gate_group": "operations",
            "label": "Fail-safe mode is ready",
            "required": "1",
            "status": "warning",
            "message": "Fail-safe not checked.",
            "checked_at": null,
            "created_at": "2026-07-03 08:40:31",
            "updated_at": "2026-07-03 08:40:31"
        },
        {
            "gate_key": "rollback_ready",
            "gate_group": "recovery",
            "label": "Rollback centre is available",
            "required": "1",
            "status": "warning",
            "message": "Rollback centre not checked.",
            "checked_at": null,
            "created_at": "2026-07-03 08:40:31",
            "updated_at": "2026-07-03 08:40:31"
        },
        {
            "gate_key": "guardrails_green",
            "gate_group": "safety",
            "label": "Hard guardrails are passing",
            "required": "1",
            "status": "warning",
            "message": "Guardrails not checked.",
            "checked_at": null,
            "created_at": "2026-07-03 08:40:31",
            "updated_at": "2026-07-03 08:40:31"
        },
        {
            "gate_key": "player_protection_green",
            "gate_group": "safety",
            "label": "Real-player protection audit is passing",
            "required": "1",
            "status": "warning",
            "message": "Protection audit not checked.",
            "checked_at": null,
            "created_at": "2026-07-03 08:40:31",
            "updated_at": "2026-07-03 08:40:31"
        },
        {
            "gate_key": "smoke_tests_pass",
            "gate_group": "validation",
            "label": "Bot economy smoke tests pass",
            "required": "1",
            "status": "warning",
            "message": "Run smoke tests.",
            "checked_at": null,
            "created_at": "2026-07-03 08:40:31",
            "updated_at": "2026-07-03 08:40:31"
        }
    ],
    "audit": []
}