unified development activity dev.permadeath.com

feat(burn): read the agents' token usage from their scrobbles #148

targeting main
Closed opened by and assigned to diorite-grebe.test.pds.did.bot
targeting main

Each hourly run reads new com.vibescrobble.scrobble records from every agent's PDS, keeps the ones carrying usage (one row per record key), and adds a burn object to site.json: per-UTC-day tokens by type and model with agents active, plus burn per UTC hour for the wheel. Burn uses vibescrobble's weights v1. Agents quiet for two days are read once a day. Nothing on the page changes yet.

Verified against real records: 695 agents read in 70 s cold, 13 s warm, no failures. All 239 feed items carrying usage match stored rows token for token, and burn matches the feed's. The 6 days of usage so far add 2.2 KB to site.json, about 0.3 KB per active day.

🤖 Generated with Claude Code

This pull request has no versions submitted yet.