{ "code_commit": "64449c6832c7f3757b9116be66af6f9276124a19", "candidate_tag": "pms:risk-exit-64449c6", "candidate_image": "sha256:418f00e27fcb10d12ce57af1a8fcbf4949b7997a5c6ad63c94ea15c0e1695532", "candidate_code_fingerprint": "41e2994ef33b", "tests": { "local_all_suites_pass": true, "candidate_all_suites_pass": true, "suite_count": 78, "risk_specialty_count": 35, "scheduler_specialty_count": 24, "local_log_start_fingerprint": "cb687bb0c9e6", "note": "本地全量启动后调整旧调度测试的返回字段断言,该批另经隔离入口24项复核通过;候选使用最终提交完整运行78套件,指纹与当前源码一致。" }, "deployment": { "verified_at": "2026-11-05T04:30:01.244970+00:00", "kind": "pms", "targets": { "pms-web": { "id": "cc699df6786b1cffd0998278e68abe38bab313f6b51dd1d2fa21ec5a7534c2f0", "image": "sha256:418f00e27fcb10d12ce57af1a8fcbf4949b7997a5c6ad63c94ea15c0e1695532", "tag": "pms:risk-exit-64449c6", "started": "2026-11-05T04:29:50.093630447Z" }, "pms-worker": { "id": "4e60abffd341729f49d05afe5f429c6f89c35739595bfa3d487dfdc1a2a34fcb", "image": "sha256:418f00e27fcb10d12ce57af1a8fcbf4949b7997a5c6ad63c94ea15c0e1695532", "tag": "pms:risk-exit-64449c6", "started": "2026-11-05T04:29:50.089752712Z" }, "pms-ws": { "id": "b391edd2da9f7d9795b77f3100bb27adafed1a28b4c16cab05f8e9eb1ea75781", "image": "sha256:418f00e27fcb10d12ce57af1a8fcbf4949b7997a5c6ad63c94ea15c0e1695532", "tag": "pms:risk-exit-64449c6", "started": "2026-11-05T04:29:50.092932334Z" } }, "other_changed": [], "other_unchanged": 15 }, "runtime": { "pms-web": { "environment_unchanged": true, "mounts_unchanged": true, "hashes_match": true, "traceback_count": 0, "started": "2026-11-05T04:29:50.093630447Z" }, "pms-worker": { "environment_unchanged": true, "mounts_unchanged": true, "hashes_match": true, "traceback_count": 0, "started": "2026-11-05T04:29:50.089752712Z" }, "pms-ws": { "environment_unchanged": true, "mounts_unchanged": true, "hashes_match": true, "traceback_count": 0, "started": "2026-11-05T04:29:50.092932334Z" }, "at": "2026-11-05T04:30:12.335788+00:00", "health": { "status": "ok", "version": "0.2.0-dev", "service": "pms-web", "now": "2026-11-05 12:30:12", "trade_day": true, "calendar_degraded": false, "db_ok": true }, "ws_containers": 1 }, "worker_before": { "at": "2026-11-05T12:28:45.992154", "node": "celery@ede6c1f26fda", "mode": "pause", "queues": [], "counts": { "active": 0, "reserved": 0, "scheduled": 0 } }, "worker_after": { "at": "2026-11-05T12:31:22.475760", "node": "celery@4e60abffd341", "mode": "status", "queues": [ "celery" ], "counts": { "active": 0, "reserved": 0, "scheduled": 0 } }, "enable_at": "2026-11-05T12:30:46.261348+08:00", "params_before": { "PMS_RISK_EXIT_ENABLED": false, "PMS_RISK_EXIT_START_AT": "", "PMS_RISK_SIGNAL_MAX_AGE_SEC": 300, "PMS_RISK_SIGNAL_MIRROR_SEC": 120, "PMS_RISK_REVIEW_REFRESH_SEC": 300, "PMS_RISK_REVIEW_TIMEOUT_SEC": 3 }, "params_after": { "PMS_RISK_EXIT_ENABLED": true, "PMS_RISK_EXIT_START_AT": "2026-11-05T12:30:46.261348+08:00", "PMS_RISK_SIGNAL_MAX_AGE_SEC": 300, "PMS_RISK_SIGNAL_MIRROR_SEC": 120, "PMS_RISK_REVIEW_REFRESH_SEC": 300, "PMS_RISK_REVIEW_TIMEOUT_SEC": 3 }, "initialization": { "reviews": { "enabled": true, "ok": true, "reviews": { "002979.SZ": "same", "300124.SZ": "same", "603667.SH": "same", "688025.SH": "same", "688100.SH": "same" }, "errors": [] }, "scan": { "enabled": true, "reviews": { "002979.SZ": "same", "300124.SZ": "missing", "603667.SH": "missing", "688025.SH": "missing", "688100.SH": "missing" }, "errors": [], "ok": true } }, "risk_state": [ { "code": "002979.SZ", "qty": 1600, "phase": "STOP_BUY", "count": 1, "grade": "好", "exit_iid": null }, { "code": "300124.SZ", "qty": 100, "phase": "WATCH", "count": 0, "grade": "中", "exit_iid": null }, { "code": "603667.SH", "qty": 100, "phase": "WATCH", "count": 0, "grade": "中", "exit_iid": null }, { "code": "688025.SH", "qty": 200, "phase": "WATCH", "count": 0, "grade": "好", "exit_iid": null }, { "code": "688100.SH", "qty": 800, "phase": "WATCH", "count": 0, "grade": "好", "exit_iid": null } ], "health": { "sampled_at": "2026-11-05T12:31:24.946624+08:00", "finished_at": "2026-11-05T12:31:26.667726+08:00", "identity": { "table_prefix": "", "table_prefix_empty": true }, "qmt": { "ack_equals_persisted_watermark": true, "acked_seq": 1642021, "conn_state": "ONLINE", "heartbeat_age_sec": -1.1, "last_error_present": false, "last_seq": 1642021, "orphan_count": 0, "pending_ledger_count": 0, "resync_flag": false, "server_seq": 1641994, "stat_safe": { "ack_seq_degraded": null, "gap_skips": null, "last_rx_at": "12:31:22", "order_update_conflicts": null, "pending_gap": null, "reconnects": 0, "seq_hwm": 1642019, "sig_invalid": null }, "watermark_window_contiguous": true, "watermark_window_expected": 200, "watermark_window_rows": 200, "window_scope": "最多200条,不能据此证明全部历史连续" }, "reconciliation": { "accounting_ready": true, "cash_difference_known": true, "cash_matches_existing_settlement_tolerance": true, "cash_ready": true, "fix_count": 0, "quantity_diff_count": 0, "quantity_error_count": 0, "quantity_ok": true, "quantity_source": "ws", "valuation_missing_count": 0, "valuation_ready": true }, "snapshots": { "funds_age_sec": 3.5, "funds_available_known": true, "funds_frozen_known": true, "funds_present": true, "positions_age_sec": 3.5, "positions_present": true, "positions_qty_column_known": true, "positions_row_count": 5 }, "guards": { "blocked_calls": 0 } }, "process_gates_and_natural_jobs": { "pms-web": { "enabled": true, "start_at": "2026-11-05T12:30:46.261348+08:00", "original_buy_blocked": true, "micro_excluded": true, "guards": { "blocked_calls": 0 } }, "pms-worker": { "enabled": true, "start_at": "2026-11-05T12:30:46.261348+08:00", "original_buy_blocked": true, "micro_excluded": true, "guards": { "blocked_calls": 0 } }, "pms-ws": { "enabled": true, "start_at": "2026-11-05T12:30:46.261348+08:00", "original_buy_blocked": true, "micro_excluded": true, "guards": { "blocked_calls": 0 } }, "natural": { "completed_task_names": [ "pms.command_poll", "pms.execution_basis_refresh", "pms.execution_cancel_confirm", "pms.intraday_exec", "pms.monitor_watch_sync", "pms.proposal_scan", "pms.replay_fills", "pms.rotation_tick", "pms.signal_digest" ], "outside_session_count": 20, "automatic_exit_acceptance": "尚未判收", "note": "午休阶段,未主动投递调度任务。初始化不算自然触发。" }, "verified_at": "2026-11-05T04:34:21.639690+00:00" }, "source_hashes": { "app/core/risk_exit.py": "645b166815e7763324161bd44bda4acc679c205bdc43d15a660f665ac2ab244e", "app/core/signal_rules.py": "a655ca78f14d3f152c812f4211423c3924e1eed0b8c2e39ae3338fef09a4fa3d", "app/services/risk_exit.py": "b0b806a24c36d1375f8665b76a99889f95092832ecdb1e214eb6a46c239f4e02", "app/services/command_service.py": "7b6dfcd48a6e6c5ce4fa6a75c1d4b40357d74c60acef59863b255ee828aa86a1", "app/services/execution_conflicts.py": "7cc5ce76bdc45328344ca6e58bc5c6f9d5069edb4b93e06bab8bdda75c3960ac", "app/services/strategy_service.py": "7b7a6259f79d4a978521e68f07971daa7630e1f7185d5a121a2d5da4a048b3e4", "app/services/param_store.py": "9b5ec5477438169917b7dc78d579856fc6ddfdd0290275a69567365ae579d925", "app/services/signal_service.py": "7f97ce13c66a1b517b1bde0ee1536c4fcf291808b7a06811062539e1fd56c0cb", "app/scheduler.py": "8d9098f0b6b6bf6967d9c5a04548929d580bc1ca1186374f9f96ef9923873a70", "app/web/static/index.html": "2f939801809594b87eae280a9eeb73da91e8e1f621dfb84d9686771221139327" }, "proof_files": { "local": { "path": "/private/tmp/pms-risk-exit-final-local.log", "sha256": "bfd1daa989415ccc0bdea658cc896095a22bebad7d9b3d95ad01dbe0b7eba9b0" }, "scheduler": { "path": "/private/tmp/pms-risk-exit-scheduler.log", "sha256": "925d3635ab3faf5647dae4daeeadea719e567284a6a04289add83efa6ddcf5e7" }, "candidate": { "path": "/private/tmp/pms-risk-exit-evidence-20261105/full-candidate-tests.log", "sha256": "df69eb055d9827fe85cc0975be307013a73fb7b821807792814545de3cf2b079" } } }