Skip to content

Retire an alert after a milestone

Before you start. Stories + AI actions for an automatic schedule via update_story.

Give a test story two distinct milestones and an expiry. Inspect the run that first verifies one milestone and check later activity for duplicate publication.

Check the result. Check the recorded milestone, its evidence and the expiry. A later run should not republish that same milestone as new.

Monitor one-time milestones and an end date · Tool reference

Source files api/src/lib/storyPolicy.ts.