Skip to content

[P2/doc-drift] No age-based history retention (FR-9.1.3) #592

Closed

Description

@EVWorth

FR-9.1.3 asks for a configurable retention period, default 90 days. Only a count limit exists (#323 made that configurable and marked the requirement partial).

Expected

Entries older than the configured age are dropped, alongside the count cap. Both apply; whichever bites first wins. Best done once history is in SQLite (#585), where it is a DELETE ... WHERE executed_at < ? on startup rather than a scan.

Acceptance

With retention set to 30 days, an entry stamped 31 days ago is gone after a restart; one stamped 29 days ago is not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/historykind/doc-driftseverity/p2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions