Development record
Each prompt reads every kept status announcement to decide what to show, at about 0.17 ms per announcement, so at the 2,000-announcement keep cap the prompt hook spends about 340 ms of its one-second budget on this read alone (measured in the messaging step 3 fix round, 2026-10-16).
Each prompt reads every kept status announcement to decide what to show, at about 0.17 ms per announcement, so at the 2,000-announcement keep cap the prompt hook spends about 340 ms of its one-second budget on this read alone (measured in the messaging step 3 fix round, 2026-10-16).
Above 2,000 kept files the read is also uncapped before the cap applies: keptAnnouncementsCounted (internal/core/claim/status.go) takes the details of every kept file and sorts them all by when each was written, before it keeps the newest 2,000, so that step grows with every file kept past the cap (found in the messaging step 3 fix round 4 review, 2026-10-16).
Frontmatter
| id | iss-2610161839527371 |
|---|---|
| type | issue |
| lifecycle | open |
| severity | minor |
.abcd/work/issues/open/iss-2610161839527371-each-prompt-reads-every-kept-status.md
open on GitHub ↗ · commit history ↗