Spans dir: rotation / TTL so ~/.local/share/repo-recall/spans/ doesn't grow without bound #55
Labels
No labels
burndown-2026-06
coherence-core
consult
headless
interactive
P0
P1
P2
P3
P4
No milestone
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set.
Reference
coilyco-flight-deck/repo-recall#55
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally filed by @coilysiren on 2026-05-09T02:09:56Z - https://github.com/coilysiren/repo-recall/issues/68
Cleanup debt from the LUCA tracer (luca#27).
Problem
The spans ingest dir (
~/.local/share/repo-recall/spans/orREPO_RECALL_SPANS_DIR) is append-only today. Every subagent run drops one file. There is no rotation, no TTL, no GC.repo-recall's cache wipes on every restart and re-ingests on every refresh, which means the cost of accumulated spans hits both directory walks and the wipe-rebuild cycle. With the SubagentStop hook live globally (coilysiren/coilyco-ai's promote-to-global issue), file count grows roughly N-subagents per session, which gets out of hand fast.
Candidate fixes
repo-recall spans gcverb (HTTP or CLI) that operators or cron can invoke.Default recommendation: TTL during refresh, with a config var
REPO_RECALL_SPANS_TTL_DAYSdefaulting to 30.Done when
~/.local/share/repo-recall/spans/does not grow indefinitely.Backlog burndown 2026-06-17: closing low-priority (P3/P4) to bring the open count to a manageable level. Nothing lost — reopen if this resurfaces. Batch tag:
burndown-2026-06.