Skip to content

calibration: schedule the satisfaction-floor loosening evaluation on the cron tick, with an apply alert #8158

Description

@JSONbored

Problem

The #8121 narrow start ships the backtest-gated satisfaction-floor loosening with a MANUAL trigger only (POST /v1/internal/calibration/loosen-satisfaction-floor, flag-gated on SATISFACTION_FLOOR_AUTOTUNE_ENABLED). For the loop to be genuinely autonomous it needs scheduled evaluation.

Requirements

⚠️ Required pattern. Wire into the existing scheduled/cron tick the same way the auto-tune breaker wiring runs (see the cron-tick wiring notes in src/review/auto-tune.ts's header and outcomes-wire.ts) — not a new scheduler.

  • Runs runSatisfactionFloorLoosening (already idempotent, one candidate step per run) on the existing tick cadence, only when the env flag is on.
  • An APPLIED loosening must alert (the same operator-alert surface the circuit breakers use) — silent config drift is not acceptable even when backtest-justified.

Deliverables

  • Cron-tick wiring + alert on apply
  • Test: tick with flag off = no-op; tick with flag on delegates; applied result alerts once, not every tick

Links & Resources

#8121 (parent), src/services/satisfaction-floor-loosening-run.ts (the loop being scheduled)
maintainer-only — autonomous-loop wiring.

Metadata

Metadata

Assignees

Labels

maintainer-onlyOwner-only work — yields no Gittensor points.roadmapOn the Wave-2 agent-layer roadmap board (project 9)

Projects

Status
Done
Status
Done

Relationships

None yet

Development

No branches or pull requests

Issue actions