initial: import DOLPHIN baseline 2026-04-21 from dolphinng5_predict working tree
Includes core prod + GREEN/BLUE subsystems: - prod/ (BLUE harness, configs, scripts, docs) - nautilus_dolphin/ (GREEN Nautilus-native impl + dvae/ preserved) - adaptive_exit/ (AEM engine + models/bucket_assignments.pkl) - Observability/ (EsoF advisor, TUI, dashboards) - external_factors/ (EsoF producer) - mc_forewarning_qlabs_fork/ (MC regime/envelope) Excludes runtime caches, logs, backups, and reproducible artifacts per .gitignore.
This commit is contained in:
59
prod/prefect.yaml
Executable file
59
prod/prefect.yaml
Executable file
@@ -0,0 +1,59 @@
|
||||
# Prefect Configuration for DOLPHIN Scan Bridge Daemon
|
||||
#
|
||||
# Usage:
|
||||
# 1. Create deployment: python scan_bridge_deploy.py create
|
||||
# 2. Start worker: prefect worker start --pool dolphin-daemon-pool
|
||||
#
|
||||
|
||||
name: dolphin-scan-bridge
|
||||
|
||||
# Build configuration
|
||||
build:
|
||||
- prefect.deployments.steps.set_working_directory:
|
||||
directory: /mnt/dolphinng5_predict/prod
|
||||
|
||||
# Pull configuration
|
||||
pull:
|
||||
- prefect.deployments.steps.set_working_directory:
|
||||
directory: /mnt/dolphinng5_predict/prod
|
||||
|
||||
# Deployments
|
||||
deployments:
|
||||
- name: scan-bridge-daemon
|
||||
description: |
|
||||
Long-running daemon that supervises the scan bridge service.
|
||||
Monitors health every 30s and restarts on failure.
|
||||
entrypoint: scan_bridge_prefect_daemon.py:scan_bridge_daemon_flow
|
||||
work_pool:
|
||||
name: dolphin-daemon-pool
|
||||
work_queue_name: default
|
||||
parameters: {}
|
||||
|
||||
# Schedule - run continuously (no schedule, always on)
|
||||
schedules: []
|
||||
|
||||
# Enforcement
|
||||
enforce_parameter_schema: false
|
||||
|
||||
# Concurrency - only one instance
|
||||
concurrency_limit: 1
|
||||
|
||||
# Tags
|
||||
tags:
|
||||
- daemon
|
||||
- infrastructure
|
||||
- scan-bridge
|
||||
|
||||
- name: scan-bridge-health-check
|
||||
description: |
|
||||
Standalone health check for scan bridge.
|
||||
Can be scheduled independently for monitoring.
|
||||
entrypoint: scan_bridge_prefect_daemon.py:quick_health_check
|
||||
work_pool:
|
||||
name: dolphin-daemon-pool
|
||||
work_queue_name: default
|
||||
parameters: {}
|
||||
schedules: [] # Add schedule here for periodic checks
|
||||
tags:
|
||||
- health-check
|
||||
- monitoring
|
||||
Reference in New Issue
Block a user