{"ok":true,"stage":"6.3C_live_worker_upstash_idle_zero","worker_id":"ibkr-oauth-rehearsal-1","worker_boot_id":"ibkr-oauth-rehearsal-1-mtb5h9yv-t0ly2z","booted_at":"2026-08-27T06:37:09.943Z","worker_role":"production_live_worker","worker_mode":"ibkr_oauth_rehearsal","requested_worker_mode":"auto","live_submission_eligibility":{"current_mode":"ibkr_oauth_rehearsal","requested_mode":"auto","live_submission_policy":"available_only_when_explicit_live_mode_and_broker_adapter_status_poller_are_ready","currently_ready_for_real_live_submit":false,"required_gates":["TRADELUMA_LIVE_WORKER_ENABLED=true","TRADELUMA_LIVE_WORKER_CLAIM_ENABLED=true","TRADELUMA_LIVE_WORKER_NO_SUBMIT=false","TRADELUMA_LIVE_WORKER_PREFLIGHT_ONLY=false","TRADELUMA_LIVE_EXECUTION_ENABLED=true","TRADELUMA_LIVE_TRADING_ENABLED=true","TRADELUMA_BROKER_API_CALLS_ENABLED=true","TRADELUMA_LIVE_SUBMIT_PILOT_ENABLED=true","TRADELUMA_LIVE_KILL_SWITCH=false","TRADELUMA_GLOBAL_EXECUTION_PAUSED=false","TRADELUMA_REAL_LIVE_BROKER_ADAPTER_ENABLED=true","TRADELUMA_REAL_LIVE_CREDENTIAL_READ_ENABLED=true","TRADELUMA_REAL_LIVE_STATUS_POLLER_INSTALLED=true","TRADELUMA_REAL_LIVE_STATUS_POLLER_ENABLED=true"],"missing_or_blocking_gates":["live_claim_disabled","live_worker_no_submit_enabled","live_worker_preflight_only_enabled","live_execution_disabled","live_trading_disabled","broker_api_calls_disabled","live_submit_pilot_disabled","live_kill_switch_enabled","real_live_broker_adapter_disabled_env","real_live_credential_read_disabled_env","real_live_status_poller_not_installed","real_live_status_poller_not_enabled"],"note":"Live trading is the product goal. Stage 5.9C has the live adapter path and the companion status-poller path. Submit runs only in explicit live mode when adapter, credential, account, platform, and status-poller gates are ready."},"live_worker_enabled":true,"live_claim_enabled":false,"preflight_only":true,"live_execution_enabled":false,"live_worker_no_submit":true,"live_kill_switch_enabled":true,"global_execution_paused":false,"live_trading_enabled":false,"broker_api_calls_enabled":false,"live_submit_pilot_enabled":false,"broker_submit_enabled":false,"broker_allowlist":["ibkr_cloud"],"connection_filter":"57ddb7b3-e038-4567-b41d-6194aabebd84","broker_credential_read_for_real_live_submit":false,"broker_order_submit_available":false,"paper_as_live_emulator":{"enabled":false,"submit_enabled":false,"broker_api_calls_enabled":false,"credential_read_enabled":false,"require_synthetic_marker":true,"paper_connection_id_configured":false,"max_quantity":1,"real_live_submit_locked":{"ok":true,"reasons":[]},"can_submit_to_paper_only":false,"safety_note":"Paper-as-live test mode can only hit Alpaca paper and only while real-live submit gates are not active."},"ibkr_oauth_no_submit_rehearsal":{"enabled":true,"locks":{"ok":true,"reasons":[],"broker_allowlist":["ibkr_cloud"],"connection_id":"57ddb7b3-e038-4567-b41d-6194aabebd84"},"require_marker":true,"max_quantity":1,"exact_connection_filter":"57ddb7b3-e038-4567-b41d-6194aabebd84","ext_operator_configured":false,"expected_account_configured":true,"broker_api_calls":false,"credential_reads":false,"brokerage_session_init":false,"safety_note":"Targeted rehearsal accepts only an explicitly marked order ID through /wake; polling/Redis claiming stays off."},"http_dispatcher":{"configured":true,"dispatcher_configured":true,"reason":"undici_dispatcher_configured"},"redis_execution_queue":{"enabled":false,"listener_enabled":false,"key":"tl:cloud_order_queue:live:v1","transport":"redis_protocol","url_configured":false,"timeout_seconds":300,"estimated_idle_brpop_reads_per_day":0,"listener_started":false,"listener_running":false,"last_wake_at":null,"last_error":null,"pending_target_order_ids":0},"live_direct_execute":{"enabled":true,"wake_secret_configured":true,"pending_direct_processing_orders":0,"wake_sequence":0,"fallback_poll_ms":30000,"redis_target_claim_wait_ms":1000,"redis_target_claim_retry_ms":10,"safety_note":"Direct live wake only claims execution_mode=live rows and still passes through live locks/emulator paper-only gates."},"live_emulator_caches":{"connection_cache_entries":0,"credential_cache_entries":0,"connection_cache_ms":300000,"credential_cache_ms":300000},"live_functional_parity":{"stage_59b_real_live_broker_adapter_path":true,"stage_59a_production_shell":true,"stage_58c":true,"fast_status_sync_enabled":true,"fast_status_sync_delays_ms":[50,100,250],"event_ledger_enabled":true,"retry_deadletter_enabled":true,"client_order_id_recovery_enabled":true,"position_sync_owner":"poller_status_sync_service","real_live_status_poller_enabled":false,"real_live_broker_adapter_installed":true,"real_live_broker_adapter_enabled":false,"real_live_credential_read_enabled":false,"real_live_credential_cache_entries":0,"bracket_submit_enabled":false,"bracket_submit_mode":"paper_as_live_native_broker_only","bracket_safety_rule":"If bracket intent is present, parent submit is blocked unless the Alpaca paper adapter can submit a native broker-held bracket/OCO order in one request.","risk_coverage_matrix":{"stage":"6.3C_live_worker_upstash_idle_zero","source_of_truth":"tradeluma_live_order_preflight_v1","paper_worker_reference_checks":["localOrderInputValid","readinessValid","evaluateStrategyCoreRisk","evaluateSameSymbolGuard","orderExpired","positionCapacityFromOrderSnapshot","closeAvailabilityFromOrderSnapshot"],"live_preflight_expected_coverage":["tenant/order ownership","execution_mode=live","linked cloud broker connection","live approval gates","platform emergency pause/kill switch","broker connection readiness","order age/expiry","position/open-close availability","symbol and strategy safety","duplicate/idempotency safety"],"live_worker_local_boundary_checks":["live_worker_refuses_non_live_order","real_live_submit_locked_for_emulator","paper_as_live_emulator_requires_paper_connection","paper_as_live_emulator_native_bracket_gate","broker_submit_enabled_final_gate"],"safety_note":"Live worker keeps the live preflight RPC as source of truth instead of duplicating paper-worker business logic locally; this matrix is audited before live pilot."}},"processed_orders_since_boot":0,"safety_note":"Production live worker shell is stable. Live trading becomes active only when explicit live mode, broker adapter, and status poller gates are ready."}