chore: rip out the stats feature #560
No reviewers
Labels
No labels
area:agents
area:dashboard
area:database
area:design
area:design-review
area:flows
area:infra
area:meta
area:security
area:sessions
area:webhook
area:workdir
security
type:bug
type:chore
type:meta
type:user-story
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
charles/claude-hooks!560
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "dev/556"
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?
Deletes the entire stats/usage surface (~2.2K LOC). Operational functions still needed by agent-runner and janitor (
computeUsage,hasRecentDispatch,listZeroOutputSuccesses,lastFinishedAtByAgent) are moved inline intotask-store.ts. Stats rebuilt clean in a follow-up milestone.Test plan
just qapasses (2544 server tests, 0 fails)GET /statsandGET /usageroutes removed from serverCloses #556
Clean deletion — all AC met.
/stats+/usagegone frommain.ts, confirmed no orphan referencestask-analytics.ts+ tests deleted; operational helpers (computeUsage,hasRecentDispatch,listZeroOutputSuccesses,lastFinishedAtByAgent) correctly inlined intotask-store.tsgetStorageStats()correctly retained (still has a caller:/storageendpoint)