17 KiB
17 KiB
ai-exchange Tasks
Execution Mode
- Autonomous mode enabled
- No per-stage confirmation required
- Each stage must close the loop through implementation, validation, deploy/smoke when possible, and state writeback
- P0-P6 Research Council phase expansion is frozen
- P6
no_op_healthymust not create Research Council P7/P8 - Stable monitor quality may enter automation execution-layer P7
- User explicitly requested the next P8 product-development round
- User requested a finite P15-PXX task list so future phases can continue without per-phase stops
In Progress
- P22 Maintenance And Retention Rollup local closure complete
Next Up
- P8 local closure complete
- P9 local closure complete
- P10 local closure complete
- P11 local closure complete
- P12 local closure complete
- P13 local closure complete
- P14 local closure complete
- Define finite P15-PXX continuation queue
- P15 local closure complete
- P16 local closure complete
- P17 local closure complete
- P18 local closure complete
- P19 local closure complete
- P20 local closure complete
- P21 local closure complete
- P22 local closure complete
- Start P23 End-To-End Unattended Harness
- Continue periodic analysis-decision monitoring with maturity rollup in parallel
- Treat browser screenshot capture and additional external media adapters as future enhancements
Automation Status
- state: automation_execution_layer_p22_maintenance_retention_rollup_closed
- current_phase: P22 Maintenance And Retention Rollup
- latest_p7_selector_choice: continue_periodic_analysis_decision_monitoring_with_maturity_rollup
- latest_p14_slice: webhook_transport_retry
- latest_p15_pxx_tasklist_status: ready
- latest_p15_pxx_tasklist_path: docs/AI_ICT_自动化执行层_P15-PXX闭环任务清单_v1.md
- latest_p15_slice: alert_noise_policy_matrix
- latest_alert_noise_policy_status: implemented
- latest_alert_noise_policy_route_status: visible_existing_quality_summary
- latest_alert_noise_policy_runtime_status: visible
- latest_p16_slice: browser_screenshot_capture_adapter
- latest_visual_browser_capture_status: implemented
- latest_visual_browser_capture_smoke_status: captured
- latest_visual_capture_script_noop_status: ignored_watch_run_missing
- latest_p17_slice: visual_trigger_roi_router
- latest_visual_trigger_policy_status: implemented
- latest_visual_trigger_policy_smoke_status: idle_no_pending_watch_runs
- latest_visual_trigger_runtime_status: visible
- latest_visual_trigger_quality_summary_status: visible
- latest_p18_slice: visual_evidence_media_dispatch
- latest_visual_media_evidence_status: implemented
- latest_visual_media_evidence_dispatch_status: visible
- latest_visual_media_evidence_smoke_status: no_pending_alerts_safe_noop
- latest_p19_slice: multi_channel_alert_routing
- latest_channel_router_status: implemented
- latest_channel_health_status: visible
- latest_disabled_adapter_status: visible_credential_missing
- latest_channel_routing_smoke_status: no_pending_alerts_safe_noop
- latest_p20_slice: operator_digest_review_queue
- latest_operator_digest_status: implemented
- latest_operator_digest_route_status: ok
- latest_operator_digest_workbench_status: visible
- latest_operator_digest_smoke_status: safe_noop_or_completed
- latest_p21_slice: runtime_incident_journal
- latest_runtime_incident_journal_status: implemented
- latest_runtime_incident_journal_route_status: ok
- latest_runtime_incident_journal_workbench_status: visible
- latest_runtime_incident_journal_smoke_status: idle_persisted
- latest_p22_slice: maintenance_retention_rollup
- latest_maintenance_summary_status: implemented
- latest_maintenance_summary_route_status: ok
- latest_maintenance_summary_workbench_status: visible
- latest_maintenance_summary_smoke_status: warning_feedback_sample_health
- next_execution_layer_phase: P23 End-To-End Unattended Harness
- latest_visual_review_script_status: idle
- latest_runtime_visual_watch_task_status: ok
- latest_visual_capture_cleanup_task_status: ok
- latest_runtime_watchdog_task_status: implemented
- latest_visual_snapshot_capture_status: implemented
- latest_visual_reviews_panel_status: visible
- latest_visual_feedback_status: implemented
- latest_visual_alert_evidence_dispatch_status: implemented_existing_channels
- latest_alert_quality_summary_status: implemented
- latest_review_packet_alert_quality_status: visible
- latest_alert_quality_route_status: ok
- latest_visual_capture_cleanup_status: implemented
- latest_visual_capture_cleanup_route_status: ok
- latest_runtime_watchdog_status: implemented
- latest_runtime_watchdog_route_status: ok
- latest_alert_silent_window_status: implemented
- latest_alert_silent_window_route_status: ok
- latest_alert_retry_recovery_status: implemented
- latest_alert_transport_retry_status: implemented
- latest_runtime_blockers: none
- no_new_research_council_phase_created: true
Newly Done
- Completed P7-4 bounded automation slice selector before opening P8
- Added
VisualReviewService - Added
scripts/run_visual_review.py - Added
VisualSnapshotCaptureServiceandscripts/run_visual_snapshot_capture.py - Added visual review API routes
- Added a read-only workbench panel for recent visual reviews
- Added
alert_feedbackpersistence and feedback service - Added visual review feedback API routes
- Added workbench feedback actions for useful / misleading / actionable labels
- Added visual evidence to alert dispatch messages and delivery payloads for existing channels
- Added
AlertQualitySummaryService - Added
GET /trading/alerts/quality-summary - Added
review_packet.alert_quality_summary - Added dashboard
Alert Qualitypanel - Applied local migrations through
042_create_alert_feedback.sql - Added
VisualCaptureRetentionService - Added
scripts/run_visual_capture_cleanup.py - Added
POST /trading/visual-watch/cleanup-captures - Added runtime
visual_capture_cleanuptask - Added workbench
Cleanup Old Capturesaction - Added
RuntimeTaskWatchdogService - Added
scripts/run_runtime_task_watchdog.py - Added
GET /trading/runtime-watchdog - Added
runtime_status.runtime_watchdog - Added runtime panel stalled-task visibility
- Added
AlertSilentWindowService - Added
scripts/run_alert_silent_window_status.py - Added
GET /trading/alerts/silent-window-status - Added silent-window suppression to dispatcher and alert quality summary
- Added
Alert Qualitypanel silent-window visibility - Added failed-alert retry recovery to
AlertDispatcherService - Added bounded retry attempts and retry backoff settings
- Added retry counters to dispatcher payloads, delivery summary, and runtime
alert_dispatchdetails - Added bounded webhook transport retry inside
AlertDispatcherService._send - Added transport retry counters to dispatcher payloads, delivery summary, and runtime
alert_dispatchdetails - Added
docs/AI_ICT_自动化执行层_P15-PXX闭环任务清单_v1.md - Defined P15-PXX as a finite queue ending at PXX closure gate instead of open-ended phase growth
- Added alert noise policy matrix settings
- Added structured
evaluate_alert_delivery_policy() - Added policy counters to dispatcher payloads
- Added noise-policy/workbench-only/external-allowed counters to alert quality summary
- Added policy counters to runtime
alert_dispatchtask details - Added policy counters to the workbench
Alert Qualitypanel - Added focused P15 policy, dispatcher, summary, runtime, and docs inventory tests
- Added browser-backed screenshot capture to
VisualSnapshotCaptureService - Added visual capture payload fields for
html_path,screenshot_path,metadata_path,capture_url, andbrowser_capture_status - Extended visual snapshot capture script and API route with browser capture controls
- Added browser capture status and HTML path visibility to workbench Visual Reviews
- Added focused P16 browser capture, script, and API tests
- Added structured
evaluate_visual_trigger_policy()for visual trigger/skip routing - Added
visual_trigger_policy,visual_trigger_skip_reason, andvisual_trigger_roito decision alert payloads - Added policy metadata to reserved visual watch requests and visual review payloads
- Added trigger/skip counters to runtime
decision_packetandvisual_watchtask details - Added trigger type counts and review result counts to alert quality visual review summary
- Added trigger visibility to workbench Alert Quality and Visual Reviews panels
- Added focused P17 visual trigger, decision packet, visual review, quality summary, runtime, and script tests
- Added
build_visual_media_evidence()andsummarize_visual_media_evidence() - Added stable
media_evidenceblocks to alert dispatcher delivery payloads and dispatcher results - Added
media_attached,media_linked, andmedia_unavailablecounters to dispatcher, delivery summary, runtimealert_dispatch, and dispatcher script output - Added media evidence status and primary path visibility to Visual Reviews API/workbench
- Added focused P18 media evidence, dispatcher, quality summary, runtime, and API tests
- Added structured channel route/capability helpers for workbench, webhook, WeCom, and email
- Added channel health summary with enabled/disabled/credential-missing channel visibility
- Added disabled adapter states for WeCom and email when credentials or adapter support are unavailable
- Added per-channel summary to dispatcher results, delivery summary, runtime
alert_dispatch, dispatcher script output, and workbench Alert Quality - Added focused P19 channel router, disabled channel, summary, and runtime tests
- Added
OperatorDigestServicefor recent alert, delivery, visual review, quality flag, and feedback-gap aggregation - Added
scripts/run_operator_digest.py - Added
GET /trading/alerts/operator-digest - Added operator digest/review queue visibility to the workbench
Alert Qualitypanel - Added focused P20 digest service, script, API, and dashboard route tests
- Added
runtime_incidentspersistence with upsert aggregation by incident key - Added
RuntimeIncidentJournalService - Added
scripts/run_runtime_incident_journal.py - Added
GET /trading/runtime-incidents - Added
runtime_status.incident_summary - Added incident journal visibility to
run_trading_runtime.pyand the workbench runtime panel - Added focused P21 service, script, API, runtime, and dashboard route tests
- Added
MaintenanceSummaryService - Added
scripts/run_maintenance_summary.py - Added
GET /trading/maintenance-summary - Added maintenance rollup visibility to the workbench runtime panel
- Added focused P22 maintenance service, script, API, and dashboard route tests
- Added runtime
visual_watchtask - Added focused service, script, API, and runtime tests
- Smoked the visual review script with no pending reviews
- Smoked the capture script with no watch run provided
- Smoked the cleanup script with expired temporary artifacts
- Smoked the runtime watchdog script with
stalled_task_count=0 - Smoked the silent-window script with
active=true - Smoked the dispatcher script with retry counters visible
- Smoked the trading runtime with blockers=none
- Smoked P15 dispatcher with policy counters visible
- Smoked P15 quality-summary API with policy counters visible
- Smoked P16 direct browser screenshot capture with a real PNG output
- Smoked P16 capture script safe no-op without watch run
- Smoked P17 visual review safe no-op with
skip_reason=no_pending_visual_watch_runs - Smoked P17 quality-summary API with trigger counters visible
- Smoked P17 trading runtime with blockers=none and visual trigger details visible
- Smoked P18 dispatcher safe no-op with media counters visible
- Smoked P18 quality-summary API with media counters visible
- Smoked P18 trading runtime with blockers=none and alert dispatch media counters visible
- Smoked P19 dispatcher safe no-op with channel health visible
- Smoked P19 quality-summary API with channel status counts visible
- Smoked P19 trading runtime with blockers=none and alert dispatch channel health visible
- Smoked P20 operator digest script/API completed state with review queue fields visible
- Completed P20 full validation: 685 unit tests, 68 script static checks, dashboard JS syntax, operator digest script/API smoke, and runtime smoke blockers=none
- Applied local migration
043_create_runtime_incidents.sql - Smoked P21 runtime incident journal script/API with idle persisted state
- Completed P21 full validation: 691 unit tests, 69 script static checks, dashboard JS syntax, runtime incident script/API smoke, and runtime smoke blockers=none
- Smoked P22 maintenance summary script/API with warning-only feedback sample health and no blockers
- Completed P22 full validation: 696 unit tests, 70 script static checks, dashboard JS syntax, maintenance summary script/API smoke
Blocked
- none
Standing Guardrails
decision_support_readyremains strict unrestricted lane and must not be force-enabledreal_live_path_readyremains intentionally disabled until the live adapter is real-live ready- Visual review is advisory and must not alter execution permission
- Keep OKX fills out of the current analysis/restricted-decision blocker set
Future Enhancements Not Blocking P8
- none currently tracked outside the finite P15-PXX queue
Deferred Until Real-Trading Phase
real_trade_sample_verifiedis not required in the current analysis/decision-only phase- Real fill reconciliation should be verified only when the project intentionally enters a real-trading validation phase
Operational Dependencies
- Keep
D:\v2rayN-windows-64\v2rayN.exe/xray.exerunning on the local Windows host - Keep remote
.envproxy path compatible withMARKET_TRUTH_PROXY_URL=http://192.168.3.73:10808
Major Done Milestones
Research Council P6remote deploy and governance tick smoke gateP0-P6reasonableness review and phase freeze gateanalysis_decision_monitor_runnerCurrent-phase single-command monitorautomation_execution_layer_p7_monitor_maturity_rollupP7-1 maturity rollupautomation_execution_layer_p7_remote_drift_checkP7-2 remote drift checkautomation_execution_layer_p7_alert_decision_support_quality_reviewP7-3 quality reviewautomation_execution_layer_p7_bounded_automation_slice_selectorP7-4 bounded automation slice selectorautomation_execution_layer_p8_visual_watch_review_loopP8 first sliceautomation_execution_layer_p8_visual_watch_snapshot_capture_adapterautomation_execution_layer_p8_visual_review_workbench_panelautomation_execution_layer_p9_alert_quality_rollupautomation_execution_layer_p10_visual_capture_retention_cleanupautomation_execution_layer_p11_runtime_task_watchdogautomation_execution_layer_p12_alert_silent_window_noise_controlautomation_execution_layer_p13_alert_dispatch_retry_recoveryautomation_execution_layer_p14_webhook_transport_retryautomation_execution_layer_p15_pxx_tasklist_readyautomation_execution_layer_p15_alert_noise_policy_matrixautomation_execution_layer_p16_browser_screenshot_capture_adapterautomation_execution_layer_p17_visual_trigger_roi_routerautomation_execution_layer_p18_visual_evidence_media_dispatchautomation_execution_layer_p19_multi_channel_alert_routingautomation_execution_layer_p20_operator_digest_review_queueautomation_execution_layer_p21_runtime_incident_journalautomation_execution_layer_p22_maintenance_retention_rollup
P15-PXX Finite Queue
P15Alert Noise Policy MatrixP16Browser Screenshot Capture AdapterP17Visual Trigger ROI RouterP18Visual Evidence Media DispatchP19Multi-Channel Alert RoutingP20Operator Digest And Review QueueP21Runtime Incident JournalP22Maintenance And Retention RollupP23End-To-End Unattended HarnessP24Remote Smoke And Ops ClosurePXXAutomation Execution Closure Gate
Backlog
- Long-term target: complete
Real-time Assisted Trading V1without enabling default live auto-trading