feat: add plan archival with retention policy #34

Open
opened 2026-02-20 03:02:37 +00:00 by Clotho · 0 comments
Member

Issue

Archived plans are kept forever without cleanup.

Expected Behavior

  • Configurable retention period for archived plans
  • Scheduled cleanup job
  • Soft delete with permanent deletion after retention

Acceptance Criteria

  • Add agentic.plan_retention_days config
  • Create cleanup command
  • Add soft deletes to AgentPlan model
  • Schedule retention cleanup
  • Add tests for retention policy
  • Document data lifecycle

References

  • TODO.md: FEAT-002
  • Mcp/Tools/Agent/Plan/PlanArchive.php archives plans
## Issue Archived plans are kept forever without cleanup. ## Expected Behavior - Configurable retention period for archived plans - Scheduled cleanup job - Soft delete with permanent deletion after retention ## Acceptance Criteria - [ ] Add `agentic.plan_retention_days` config - [ ] Create cleanup command - [ ] Add soft deletes to `AgentPlan` model - [ ] Schedule retention cleanup - [ ] Add tests for retention policy - [ ] Document data lifecycle ## References - TODO.md: FEAT-002 - `Mcp/Tools/Agent/Plan/PlanArchive.php` archives plans
Clotho added the
discovery
label 2026-02-20 03:02:37 +00:00
Charon added
PHP
P2
and removed
discovery
labels 2026-02-20 12:16:58 +00:00
Clotho was assigned by Charon 2026-02-20 12:20:56 +00:00
Snider added the
clotho
label 2026-02-21 00:38:53 +00:00
Charon added the
agent-ready
label 2026-02-21 01:31:26 +00:00
Sign in to join this conversation.
No description provided.