Skip to content

fix(nap): Add silent-failure detection when archival returns null #25

@diberry

Description

@diberry

Problem

When archiveDecisions() returns null on a file over threshold (because all entries are undated or recent), the nap report says 'nothing to clean up' — indistinguishable from a healthy file under threshold. Users see no warning.

From

Postmortem action item A5, contributing factor CF4.

Proposed Fix

When file is over DECISION_THRESHOLD but archival returns null (no entries archived), emit a warn action in the nap report:
[WARN] decisions.md is 345KB but no entries could be archived (all recent or undated) Consider: squad nap --deep, or manually archive old entries

Distinguish 'nothing needed' from 'cleanup attempted but conditions not met'.

Owner

EECOM (Core Dev)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestgo:needs-researchNeeds investigationsquadSquad triage inbox — Lead will assign to a membersquad:fidoAssigned to FIDO (Quality Owner)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions