Skip to content

feat(tools): cleanup stale tool output overflow files on startup #252

@bug-ops

Description

@bug-ops

Problem

Overflow files in ~/.zeph/data/tool-output/ accumulate over time.

Solution

On agent startup, scan ~/.zeph/data/tool-output/ and remove files older than 24 hours.

Acceptance Criteria

  • Stale files (>24h) removed on startup
  • Directory created if missing
  • Errors logged but do not block startup
  • Test for cleanup logic

Part of #247 (M19 Phase D)

Metadata

Metadata

Assignees

No one assigned

    Labels

    toolsTool execution and MCP integration

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions