{ "deployment.json": { "deployed_at": "2026-11-16T09:50:15.258787+08:00", "targets": [ "pms-web", "pms-worker" ], "drained": { "active": 0, "reserved": 0, "scheduled": 0, "active_queues": 0 }, "images": { "web": "pms:remediation-grid-0ea114f-web", "worker": "pms:remediation-grid-0ea114f-worker" } }, "verify.json": { "at": "2026-11-16T09:50:44.204140+08:00", "total_containers": 30, "unchanged_other_containers": 28, "targets": [ { "name": "pms-web", "id": "299c9aec0ea204d43680229ea8ba4aac15ca1cac673c967ea2e7d529ac33845f", "image": "sha256:421f64c76db6f07c8fd6436f8201b2dccecd38430ffe53d91e767fceb2e34141", "tag": "pms:remediation-grid-0ea114f-web", "started": "2026-11-16T01:50:14.623281944Z", "health": "healthy", "files_match_candidate": true }, { "name": "pms-worker", "id": "97f03a39a2dc15caf8811d80dceb61bde2e29bda2af251d7cf379c45b0410041", "image": "sha256:537afcc93e2ac138e546a5f89eb634f48d21eefb74492f6405814011653498ec", "tag": "pms:remediation-grid-0ea114f-worker", "started": "2026-11-16T01:50:14.623901137Z", "health": null, "files_match_candidate": true } ], "private_configuration_unchanged": true, "worker": { "queues": [ "celery" ], "tasks": [ "pms.command_poll", "pms.daily_report", "pms.daily_settle", "pms.execution_basis_refresh", "pms.execution_cancel_confirm", "pms.intraday_exec", "pms.macro_scan", "pms.monitor_watch_sync", "pms.nav_snapshot", "pms.plan_pull", "pms.premarket", "pms.proposal_scan", "pms.replay_fills", "pms.rotation_tick", "pms.signal_digest", "pms.strategy_attach", "pms.t0_close", "pms.tech_pull" ] } }, "candidate.json": { "code": "0ea114f", "files": { "app/core/grid_inventory.py": "e72ef0b16bee924a4fc26ad6e30bc3608096cbc5176044adb27e644c74b335c8", "app/services/strategy_runner.py": "560dc9afca5190325b8fd1a75c28fc3b4c19f19e57f7baabdc136b0c40002dd0", "scripts/test_grid_execution.py": "55ca2b7c298a48f65e940238f8def173f247079f6601f7f68342fd58a80d7888" }, "targets": { "web": { "base": "pms:etf-names-975fa5a", "base_id": "sha256:d3bc536e8c0927f83f9bbb6311dd1639909c5bc0456fd8bd94a6699a830369cf", "candidate": "pms:remediation-grid-0ea114f-web", "image_id": "sha256:421f64c76db6f07c8fd6436f8201b2dccecd38430ffe53d91e767fceb2e34141", "suites": 86, "passed": true }, "worker": { "base": "pms:watch-alert-71f8278", "base_id": "sha256:9530b16f5a219c2dbf71764919576cdd37813b8f4721d7db04a4b5888240c89f", "candidate": "pms:remediation-grid-0ea114f-worker", "image_id": "sha256:537afcc93e2ac138e546a5f89eb634f48d21eefb74492f6405814011653498ec", "suites": 85, "passed": true } }, "completed_at": "2026-11-16T09:48:36.640464+08:00" }, "code_commit": "0ea114f", "branch": "codex/trading-remediation-20261116", "backup_directory": "/home/factor/project/tradingSystem/backups/remediation-grid-20261116-0ea114f", "development_validation": { "python": "3.12.14", "grid_tests": 62, "new_tests": 12, "full_suites": 86, "log": "/private/tmp/pms-remediation-grid-full.log" }, "before": { "at": "2026-11-16T09:50:03.227960+08:00", "prefix": "", "scope": "pms-sim-155", "params": { "PMS_DISPATCH_MODE": "ws", "PMS_GLOBAL_BUY_HALT": false, "PMS_GLOBAL_EXEC_HALT": false, "PMS_AUTO_GRID_STEP_PCT": 0.04, "PMS_RISK_EXIT_ENABLED": true, "PMS_TIMING_FUSION_ENABLED": true, "PMS_TIMING_FUSION_START_AT": "2026-11-11T16:17:11.269641+08:00", "PMS_SELF_DECIDE_TRIAL": true }, "ws": { "conn_state": "ONLINE", "last_seq": 1892848, "acked_seq": 1892848, "resync_flag": 0, "heartbeat_at": "2026-11-16 09:50:02", "last_error": "", "stat": { "pending_gap": 0, "ooo": 0, "reconnects": 2, "dropped": 0, "seq_hwm": 1892847 } }, "funds": { "seq": 1892848, "received_at": "2026-11-16 09:49:59", "age_sec": 4.1 }, "pending": 0, "orphan": 0, "open_orders": 0, "reconciliation": { "ok": true, "diffs": [], "fixes": [], "errors": [], "severity": "OK", "source": "ws", "note": "策略数量之和核对账户;不猜测差异归属,不自动把差异并入任何策略" }, "cash_difference": 0.0, "valuation_ready": true, "positions": [ { "strategy_book": null, "ts_code": "002979.SZ", "total_qty": 100, "avg_cost": null, "base_qty": 100 }, { "strategy_book": null, "ts_code": "300750.SZ", "total_qty": 100, "avg_cost": "252.880", "base_qty": 100 }, { "strategy_book": null, "ts_code": "601126.SH", "total_qty": 2700, "avg_cost": "31.313", "base_qty": 700 }, { "strategy_book": null, "ts_code": "603259.SH", "total_qty": 100, "avg_cost": "150.580", "base_qty": 100 } ], "files": { "app/core/grid_inventory.py": "543aa146054e7db518b613351f8282c998b18960e59dd6b3bdcb5d4a33777111", "app/services/strategy_runner.py": "df01701a3cb0bfbb5134322a9d230a55c82f834c8a2c154438cc4d7228c8ad06", "scripts/test_grid_execution.py": "4eb34b46fd1cbfb1d4f65145f0898de9836754abfcc7697826992694a3937286" }, "http_health": 200, "health": { "status": "ok", "version": "0.2.0-dev", "service": "pms-web", "now": "2026-11-16 09:50:03", "trade_day": true, "calendar_degraded": false, "db_ok": true } }, "after": { "at": "2026-11-16T09:52:39.833397+08:00", "prefix": "", "scope": "pms-sim-155", "params": { "PMS_DISPATCH_MODE": "ws", "PMS_GLOBAL_BUY_HALT": false, "PMS_GLOBAL_EXEC_HALT": false, "PMS_AUTO_GRID_STEP_PCT": 0.04, "PMS_RISK_EXIT_ENABLED": true, "PMS_TIMING_FUSION_ENABLED": true, "PMS_TIMING_FUSION_START_AT": "2026-11-11T16:17:11.269641+08:00", "PMS_SELF_DECIDE_TRIAL": true }, "ws": { "conn_state": "ONLINE", "last_seq": 1892889, "acked_seq": 1892889, "resync_flag": 0, "heartbeat_at": "2026-11-16 09:52:38", "last_error": "", "stat": { "pending_gap": 0, "ooo": 0, "reconnects": 2, "dropped": 0, "seq_hwm": 1892889 } }, "funds": { "seq": 1892886, "received_at": "2026-11-16 09:52:29", "age_sec": 10.7 }, "pending": 0, "orphan": 0, "open_orders": 0, "reconciliation": { "ok": true, "diffs": [], "fixes": [], "errors": [], "severity": "OK", "source": "ws", "note": "策略数量之和核对账户;不猜测差异归属,不自动把差异并入任何策略" }, "cash_difference": 0.0, "valuation_ready": true, "positions": [ { "strategy_book": null, "ts_code": "002979.SZ", "total_qty": 100, "avg_cost": null, "base_qty": 100 }, { "strategy_book": null, "ts_code": "300750.SZ", "total_qty": 100, "avg_cost": "252.880", "base_qty": 100 }, { "strategy_book": null, "ts_code": "601126.SH", "total_qty": 2700, "avg_cost": "31.313", "base_qty": 700 }, { "strategy_book": null, "ts_code": "603259.SH", "total_qty": 100, "avg_cost": "150.580", "base_qty": 100 } ], "files": { "app/core/grid_inventory.py": "e72ef0b16bee924a4fc26ad6e30bc3608096cbc5176044adb27e644c74b335c8", "app/services/strategy_runner.py": "560dc9afca5190325b8fd1a75c28fc3b4c19f19e57f7baabdc136b0c40002dd0", "scripts/test_grid_execution.py": "55ca2b7c298a48f65e940238f8def173f247079f6601f7f68342fd58a80d7888" }, "http_health": 200, "health": { "status": "ok", "version": "0.2.0-dev", "service": "pms-web", "now": "2026-11-16 09:52:39", "trade_day": true, "calendar_degraded": false, "db_ok": true } }, "runtime_comparison": { "before_at": "2026-11-16T09:26:38.763986", "after_at": "2026-11-16T09:51:30.002746", "params_equal": true, "codes": { "688025.SH": { "position_equal": true, "lots_equal": true, "strategy_params_equal": true, "total_qty": 0, "lot_compare": "all fields" }, "601126.SH": { "position_equal": true, "lots_equal": true, "strategy_params_equal": true, "total_qty": 2700, "lot_compare": "all fields" }, "002979.SZ": { "position_equal": true, "lots_equal": true, "strategy_params_equal": true, "total_qty": 100, "lot_compare": "all fields" }, "300750.SZ": { "position_equal": true, "lots_equal": true, "strategy_params_equal": true, "total_qty": 100, "lot_compare": "all fields" } } }, "natural": { "at": "2026-11-16T09:52:08.278521+08:00", "success_counts": { "pms.command_poll": 2, "pms.rotation_tick": 1, "pms.signal_digest": 2, "pms.execution_basis_refresh": 2, "pms.replay_fills": 2, "pms.execution_cancel_confirm": 2, "pms.monitor_watch_sync": 2, "pms.intraday_exec": 2, "pms.proposal_scan": 1 }, "failed_task_names": [], "intraday_task_id": "44092a6f-b123-40f2-a78a-069dce462714", "intraday_ok": true, "intraday_errors": [], "strategy_result": { "enabled": true, "checked": 2, "fired": [], "queued": [], "skipped": [], "notes": [ "601126.SH 自动网格买入等待三源合议放行:等待新的有效合成择时", "002979.SZ 自动网格买入等待三源合议放行:等待新的有效合成择时" ], "errors": [], "dry_run": false, "ok": true }, "waited": [ { "instruction_id": "INS_20261112_300364SZ_OPEN_001_b8a67bfde6f2", "code": "300364.SZ", "reason": "跨日买入尚未完成当日决策复核" } ], "replay_fills": { "task_id": "2437c0e7-4cd7-44a1-bf48-a2139c6d1142", "status": "SUCCESS", "result": { "ok": true, "fills": 0, "actions": 0, "alerts": [], "errors": [], "cursor": "2026-11-13 10:00:54", "ws": { "ok": true, "trades": 0, "actions": 0, "fees": 0, "alerts": [], "errors": [] }, "corrections": { "ok": true, "applied": 0, "waiting": 0, "held": 0, "errors": [], "alerts": [] }, "light_recon": { "diffs": 0, "severity": "OK" } } }, "basis_refresh": { "task_id": "64cc901b-0653-4e06-aafc-413629a8b0c4", "status": "SUCCESS", "result": { "enabled": true, "refreshed": [ "INS_20261112_300364SZ_OPEN_001_b8a67bfde6f2" ], "errors": [], "skipped": [], "risk_reviews": { "enabled": true, "ok": true, "reviews": {}, "errors": [], "skipped": "尚未到持仓评析刷新时间" } } } }, "pending_acceptance": [ "实际行情触发新的库存限制", "已有库存卖出入账后恢复同价完整循环" ], "scope_note": "仅首个网格工作包上线;试探预算与退出方案未完成;未人工触发交易或模型任务。" }