{
    "installed": true,
    "version": "3.1.0-autonomous-bot-economy-brain",
    "enabled": true,
    "settings": {
        "id": "1",
        "enabled": "1",
        "dry_run_default": "1",
        "active_preset_key": "balanced_world",
        "learning_strength": "45",
        "strategy_switch_threshold": "60",
        "persona_evolution_days": "14",
        "scenario_horizon_days": "7",
        "difficulty_floor": "35",
        "difficulty_ceiling": "85",
        "archive_after_days": "90",
        "last_tick_at": null,
        "last_brain_json": null,
        "created_at": "2026-07-03 07:56:03",
        "updated_at": "2026-07-03 07:56:03"
    },
    "counts": {
        "learning_profiles": 0,
        "strategy_recommended": 0,
        "persona_pending": 0,
        "active_factions": 6,
        "queued_challenges": 0,
        "tutorial_steps": 0,
        "timeline_events_today": 0,
        "archive_jobs": 0
    },
    "presets": [
        {
            "preset_key": "balanced_world",
            "name": "Balanced World",
            "mode_group": "balanced",
            "activity_multiplier": "1.0000",
            "market_bias": "50",
            "battle_bias": "50",
            "guild_bias": "50",
            "social_bias": "50",
            "pack_bias": "45",
            "protection_level": "70",
            "settings_json": "{\"note\": \"Default safe autonomous activity.\"}",
            "is_active": "1",
            "created_at": "2026-07-03 07:56:03",
            "updated_at": "2026-07-03 07:56:03"
        },
        {
            "preset_key": "economy_protection",
            "name": "Economy Protection",
            "mode_group": "safety",
            "activity_multiplier": "0.6000",
            "market_bias": "30",
            "battle_bias": "45",
            "guild_bias": "35",
            "social_bias": "35",
            "pack_bias": "15",
            "protection_level": "95",
            "settings_json": "{\"note\": \"Reduces card/coin injection and suspicious pressure.\"}",
            "is_active": "0",
            "created_at": "2026-07-03 07:56:03",
            "updated_at": "2026-07-03 07:56:03"
        },
        {
            "preset_key": "event_hype",
            "name": "Event Hype",
            "mode_group": "live_ops",
            "activity_multiplier": "1.2000",
            "market_bias": "60",
            "battle_bias": "65",
            "guild_bias": "60",
            "social_bias": "75",
            "pack_bias": "70",
            "protection_level": "78",
            "settings_json": "{\"note\": \"Controlled event activity and pack/story energy.\"}",
            "is_active": "0",
            "created_at": "2026-07-03 07:56:03",
            "updated_at": "2026-07-03 07:56:03"
        },
        {
            "preset_key": "guild_weekend",
            "name": "Guild Weekend",
            "mode_group": "community",
            "activity_multiplier": "1.1500",
            "market_bias": "45",
            "battle_bias": "62",
            "guild_bias": "82",
            "social_bias": "58",
            "pack_bias": "40",
            "protection_level": "68",
            "settings_json": "{\"note\": \"Guild chat, donations and wars.\"}",
            "is_active": "0",
            "created_at": "2026-07-03 07:56:03",
            "updated_at": "2026-07-03 07:56:03"
        },
        {
            "preset_key": "launch_mode",
            "name": "Launch Mode",
            "mode_group": "growth",
            "activity_multiplier": "1.2500",
            "market_bias": "55",
            "battle_bias": "60",
            "guild_bias": "60",
            "social_bias": "65",
            "pack_bias": "50",
            "protection_level": "65",
            "settings_json": "{\"note\": \"Beginner support and welcoming world.\"}",
            "is_active": "0",
            "created_at": "2026-07-03 07:56:03",
            "updated_at": "2026-07-03 07:56:03"
        },
        {
            "preset_key": "marketplace_boost",
            "name": "Marketplace Boost",
            "mode_group": "economy",
            "activity_multiplier": "1.1000",
            "market_bias": "78",
            "battle_bias": "40",
            "guild_bias": "35",
            "social_bias": "45",
            "pack_bias": "35",
            "protection_level": "72",
            "settings_json": "{\"note\": \"Liquidity, listings and trade confidence.\"}",
            "is_active": "0",
            "created_at": "2026-07-03 07:56:03",
            "updated_at": "2026-07-03 07:56:03"
        },
        {
            "preset_key": "quiet_world",
            "name": "Quiet World",
            "mode_group": "quiet",
            "activity_multiplier": "0.3500",
            "market_bias": "35",
            "battle_bias": "35",
            "guild_bias": "30",
            "social_bias": "30",
            "pack_bias": "20",
            "protection_level": "85",
            "settings_json": "{\"note\": \"Low activity, high economy protection.\"}",
            "is_active": "0",
            "created_at": "2026-07-03 07:56:03",
            "updated_at": "2026-07-03 07:56:03"
        }
    ],
    "learning": [],
    "strategy_switches": [],
    "persona": [],
    "scenarios": [],
    "narrative_seasons": [],
    "factions": [
        {
            "faction_key": "battle_grinders",
            "name": "Battle Grinders",
            "faction_type": "battle",
            "behaviour_bias_json": "{\"battles\": 90, \"leaderboards\": 70, \"social_feed\": 45}",
            "current_goal": "Keep fair battle pressure around real players.",
            "activity_score": "66",
            "status": "active",
            "created_at": "2026-07-03 07:56:03",
            "updated_at": "2026-07-03 07:56:03",
            "member_count": "0"
        },
        {
            "faction_key": "card_collectors",
            "name": "Card Collectors",
            "faction_type": "collection",
            "behaviour_bias_json": "{\"packs\": 60, \"trades\": 70, \"collection\": 90}",
            "current_goal": "Chase album gaps and fair duplicate trades.",
            "activity_score": "64",
            "status": "active",
            "created_at": "2026-07-03 07:56:03",
            "updated_at": "2026-07-03 07:56:03",
            "member_count": "0"
        },
        {
            "faction_key": "guild_loyalists",
            "name": "Guild Loyalists",
            "faction_type": "guild",
            "behaviour_bias_json": "{\"guilds\": 90, \"battles\": 55, \"social_feed\": 60}",
            "current_goal": "Keep guilds warm and milestone-driven.",
            "activity_score": "62",
            "status": "active",
            "created_at": "2026-07-03 07:56:03",
            "updated_at": "2026-07-03 07:56:03",
            "member_count": "0"
        },
        {
            "faction_key": "auction_snipers",
            "name": "Auction Snipers",
            "faction_type": "market",
            "behaviour_bias_json": "{\"auctions\": 85, \"marketplace\": 60, \"social_feed\": 35}",
            "current_goal": "Create late-auction drama without overbidding.",
            "activity_score": "58",
            "status": "active",
            "created_at": "2026-07-03 07:56:03",
            "updated_at": "2026-07-03 07:56:03",
            "member_count": "0"
        },
        {
            "faction_key": "stadium_raiders",
            "name": "Stadium Raiders",
            "faction_type": "stadiums",
            "behaviour_bias_json": "{\"stadiums\": 85, \"battles\": 65, \"guilds\": 45}",
            "current_goal": "Move territory and stadium stories.",
            "activity_score": "54",
            "status": "active",
            "created_at": "2026-07-03 07:56:03",
            "updated_at": "2026-07-03 07:56:03",
            "member_count": "0"
        },
        {
            "faction_key": "pack_chasers",
            "name": "Pack Chasers",
            "faction_type": "packs",
            "behaviour_bias_json": "{\"packs\": 80, \"social_feed\": 75, \"marketplace\": 45}",
            "current_goal": "Create controlled pack and showcase energy.",
            "activity_score": "50",
            "status": "active",
            "created_at": "2026-07-03 07:56:03",
            "updated_at": "2026-07-03 07:56:03",
            "member_count": "0"
        }
    ],
    "challenges": [],
    "tutorial": [],
    "difficulty": {
        "id": "1",
        "global_difficulty_score": "55",
        "new_player_difficulty_score": "42",
        "rival_difficulty_score": "65",
        "event_difficulty_score": "60",
        "win_rate_target": "0.5200",
        "adjustment_json": "{\"source\": \"phase31_seed\"}",
        "last_adjusted_at": null,
        "created_at": "2026-07-03 07:56:03",
        "updated_at": "2026-07-03 07:56:03"
    },
    "monetisation_hooks": [
        {
            "id": "2",
            "hook_key": "guild_war_weekend_energy",
            "hook_type": "guild_hype",
            "target_area": "guilds",
            "safe_copy_template": "Guilds are making a push this weekend.",
            "activity_cap_per_day": "10",
            "no_false_claims": "1",
            "status": "planned",
            "starts_at": null,
            "ends_at": null,
            "created_at": "2026-07-03 07:56:03",
            "updated_at": "2026-07-03 07:56:03"
        },
        {
            "id": "3",
            "hook_key": "marketplace_liquidity_hint",
            "hook_type": "market_hint",
            "target_area": "marketplace",
            "safe_copy_template": "A few useful cards are appearing around fair value.",
            "activity_cap_per_day": "12",
            "no_false_claims": "1",
            "status": "planned",
            "starts_at": null,
            "ends_at": null,
            "created_at": "2026-07-03 07:56:03",
            "updated_at": "2026-07-03 07:56:03"
        },
        {
            "id": "1",
            "hook_key": "event_pack_world_hype",
            "hook_type": "pack_hype",
            "target_area": "packs",
            "safe_copy_template": "Event cards are starting to move through packs and trades.",
            "activity_cap_per_day": "8",
            "no_false_claims": "1",
            "status": "planned",
            "starts_at": null,
            "ends_at": null,
            "created_at": "2026-07-03 07:56:03",
            "updated_at": "2026-07-03 07:56:03"
        }
    ],
    "season_resets": [],
    "timeline": [],
    "archive_jobs": [],
    "audit": [],
    "controls": [
        {
            "control_key": "bot_phase31_active_preset",
            "control_value": "balanced_world",
            "value_type": "string",
            "description": "Current bot economy tuning preset key.",
            "updated_at": "2026-07-03 07:56:03"
        },
        {
            "control_key": "bot_phase31_archive_after_days",
            "control_value": "90",
            "value_type": "int",
            "description": "Age threshold for low-value bot memories/logs to archive or compress.",
            "updated_at": "2026-07-03 07:56:03"
        },
        {
            "control_key": "bot_phase31_dry_run_default",
            "control_value": "1",
            "value_type": "bool",
            "description": "Runs Phase 31 in dry-run/planning mode by default until live tuning is confirmed.",
            "updated_at": "2026-07-03 07:56:03"
        },
        {
            "control_key": "bot_phase31_enabled",
            "control_value": "1",
            "value_type": "bool",
            "description": "Enables Phase 31 Autonomous Bot Economy Brain.",
            "updated_at": "2026-07-03 07:56:03"
        },
        {
            "control_key": "bot_phase31_learning_strength",
            "control_value": "45",
            "value_type": "int",
            "description": "How strongly the brain responds to bot outcome learning.",
            "updated_at": "2026-07-03 07:56:03"
        },
        {
            "control_key": "bot_phase31_max_generated_challenges_per_tick",
            "control_value": "8",
            "value_type": "int",
            "description": "Maximum bot-generated personal challenges queued per Phase 31 tick.",
            "updated_at": "2026-07-03 07:56:03"
        },
        {
            "control_key": "bot_phase31_max_tutorial_steps_per_tick",
            "control_value": "12",
            "value_type": "int",
            "description": "Maximum living tutorial steps queued per Phase 31 tick.",
            "updated_at": "2026-07-03 07:56:03"
        }
    ]
}