Count-based capture pruning keeps the newest N captures within the inserted capture's org, so one org's volume never evicts another org's recent captures.
Evidence
DeleteCapturesBeyondCount keeps the newest N rows table-wide on every insert. Age-based pruning is unaffected: its cutoff is absolute.
Rules
Read CLAUDE.md. Do only what the Goal and Stop when need. File anything else you notice as a bead; do not fix it. No new config mechanism.
Stop when
[ ] Beyond-count pruning scopes to the inserted capture's org.
[ ] A regression test fills one org past the cap and the other org's captures survive.
[ ] task check passes.
Close reason
53bd52fd: fix(captures): keep count-retention inside the inserted capture's org (already on HEAD; TestCaptureCountPruneStaysInOrg passes)
Imported from beads archie-core-kgxw.22 · GitHub #1565 · type task · priority P2 · created 2026-10-08 · closed 2026-10-10
## Goal
Count-based capture pruning keeps the newest N captures within the inserted capture's org, so one org's volume never evicts another org's recent captures.
## Evidence
DeleteCapturesBeyondCount keeps the newest N rows table-wide on every insert. Age-based pruning is unaffected: its cutoff is absolute.
## Rules
Read CLAUDE.md. Do only what the Goal and Stop when need. File anything else you notice as a bead; do not fix it. No new config mechanism.
## Stop when
[ ] Beyond-count pruning scopes to the inserted capture's org.
[ ] A regression test fills one org past the cap and the other org's captures survive.
[ ] task check passes.
### Close reason
53bd52fd: fix(captures): keep count-retention inside the inserted capture's org (already on HEAD; TestCaptureCountPruneStaysInOrg passes)
---
_Imported from beads `archie-core-kgxw.22` · GitHub #1565 · type task · priority P2 · created 2026-10-08 · closed 2026-10-10_
sam
added the mediumtask labels 2026-10-27 13:35:48 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Goal
Count-based capture pruning keeps the newest N captures within the inserted capture's org, so one org's volume never evicts another org's recent captures.
Evidence
DeleteCapturesBeyondCount keeps the newest N rows table-wide on every insert. Age-based pruning is unaffected: its cutoff is absolute.
Rules
Read CLAUDE.md. Do only what the Goal and Stop when need. File anything else you notice as a bead; do not fix it. No new config mechanism.
Stop when
[ ] Beyond-count pruning scopes to the inserted capture's org.
[ ] A regression test fills one org past the cap and the other org's captures survive.
[ ] task check passes.
Close reason
53bd52fd: fix(captures): keep count-retention inside the inserted capture's org (already on HEAD; TestCaptureCountPruneStaysInOrg passes)Imported from beads
archie-core-kgxw.22· GitHub #1565 · type task · priority P2 · created 2026-10-08 · closed 2026-10-10