scheduled_prompts: address argus 🟡 on #849 — submit paths section + persistence.md anchor fix

This commit is contained in:
damocles 2026-05-31 17:14:27 +02:00 committed by mara
commit 2ce8bb5b77
2 changed files with 16 additions and 5 deletions

View file

@ -4,11 +4,13 @@
//! `interval_seconds` and re-arm `next_fire_at` on delivery;
//! one-shots are reaped.
//!
//! Schema + retention: `docs/persistence.md::scheduled_prompts /
//! scheduled_prompt_targets`. Submit paths (operator vs
//! `ApprovalKind::SchedulePrompt`), catch-up clamp on resume, and
//! per-target tombstoning semantics: `docs/approvals.md::Scheduled
//! prompt worker (catch-up clamp)`.
//! Schema + retention: `docs/persistence.md::/var/lib/hyperhive/broker.sqlite`
//! (the `scheduled_prompts` / `scheduled_prompt_targets` table bullets).
//! Submit paths (operator-direct vs `ApprovalKind::SchedulePrompt`,
//! plus why even agent-self schedules go through approval):
//! `docs/approvals.md::Scheduled prompts (submit paths)`.
//! Catch-up clamp on resume + per-target tombstoning:
//! `docs/approvals.md::Scheduled prompt worker (catch-up clamp)`.
use std::path::Path;
use std::sync::Mutex;