prospector/migrations
Natalie 9c4aaf8186
Some checks are pending
CI / verify (push) Waiting to run
feat(prospector): runtime config for GPU idle auto-teardown
The idle-teardown sweep was env-only (GPU_IDLE_TIMEOUT_MINUTES). Make it
operator-configurable at runtime via the settings singleton (like the
GO/PAUSE/AWAY kill-switch), editable from the Hosts view.

- migration 0013: gpu_idle_shutdown_enabled (bool, default true) +
  gpu_idle_timeout_minutes (int, default 30) on prospector_settings.
- settings PUT accepts the two fields; empty-patch guard relaxed.
- gpu.service idle sweep reads settings: skips teardown when disabled,
  uses the persisted minutes (env then 30 as fallback); status() reports
  the effective enabled flag + minutes (GpuModule imports SettingsModule,
  one-way, no cycle).
- Hosts view: idle auto-teardown panel (toggle + minutes + save) showing
  the server's effective state. Verified live: settings/gpu-status expose
  the fields, PUT persists, UI renders.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-29 18:24:47 -04:00
..
0001_prospector.sql docs: correct deploy target (black dead -> DO droplet) + on-demand GPU lifecycle 2026-06-29 07:22:29 -04:00
0002_drafts.sql docs: correct deploy target (black dead -> DO droplet) + on-demand GPU lifecycle 2026-06-29 07:22:29 -04:00
0003_corrections.sql docs: correct deploy target (black dead -> DO droplet) + on-demand GPU lifecycle 2026-06-29 07:22:29 -04:00
0004_booking.sql feat(prospector): enhance backend+MCP per MISSING_REQUIREMENTS.md (P0 gaps: real raw classify, booking triad+takeover verdict, composition+confidence, send safety floors incl vendor/human/known, structured returns; add /prospector/classify + mcp tool; richer inbound+runner+gate+people signals; update docs). Builds/tests green. Per PLAN.md + docs/features/mcp/MISSING_REQUIREMENTS.md. 2026-06-29 07:30:08 -04:00
0005_campaigns.sql feat(service): outbound campaign builder (facets / preview / launch) 2026-06-29 07:49:42 -04:00
0006_bilingual.sql feat(bilingual): add columns + audit/prospects capture + Triage/Detail toggle+dual render (designs/ + LP parity; UI unification foundation). Per MIGRATION-PLAN Phase 1. 2026-06-29 09:22:00 -04:00
0007_tasks.sql feat(prospector): auto-runner task queue + peer-network backend 2026-06-29 15:24:42 -04:00
0008_peers.sql feat(prospector): auto-runner task queue + peer-network backend 2026-06-29 15:24:42 -04:00
0009_provider_attestations.sql feat(prospector): auto-runner task queue + peer-network backend 2026-06-29 15:24:42 -04:00
0010_warm_intros.sql feat(prospector): auto-runner task queue + peer-network backend 2026-06-29 15:24:42 -04:00
0011_marketplace_routings.sql feat(prospector): auto-runner task queue + peer-network backend 2026-06-29 15:24:42 -04:00
0012_gpu_droplet.sql feat(prospector): on-demand DO GPU fleet + model-boss enrich (Hosts) 2026-06-29 15:59:01 -04:00
0013_gpu_idle_config.sql feat(prospector): runtime config for GPU idle auto-teardown 2026-06-29 18:24:47 -04:00