feat(threads): read every thread whole, dropping the per-channel toggle #834
No reviewers
Labels
No labels
move-to-repo
coilyco-bridge-deploy
move-to-repo
coilyco-flight-deck-agent-compose
move-to-repo
coilyco-gaming-eco-app
move-to-repo
coilysiren-inbox
move-to-repo
unknown
🔒⚠️📦⚠️🔒 SANDBOXED 🔒⚠️📦⚠️🔒
autonomy
async-consult
autonomy
epic
autonomy
headless
autonomy
live-collab
c#
priority
P0
priority
P1
priority
P2
priority
P3
priority
P4
role/ai
role/creator
role/design
role/director
role/engineer
role/exec
role/human
role/ops
role/qa
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
coilyco-gaming/sirens-echo!834
Loading…
Reference in a new issue
No description provided.
Delete branch "aos/claude/wy58-thread-prefill-always"
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?
Closes #769. Follow-on to #827, which landed the feature behind a toggle.
What this does
So the filter condition goes. A turn inside a thread reads the whole thread everywhere, with nothing to configure.
Removed:
SIRENS_ECHO_THREAD_PREFILL_CHANNELS, the boot check that a named parent channel is admitted, the opted-in count ondiscord.ready, andthreadPrefillOnitself.Everything #827 built stays untouched - the bounded walk, the
Cappedfloor and itsat leasthedge, oldest-first dropping, the annotation as a service-authored suffix. Only the condition in front of it changed.The consequence nobody asked for, named rather than absorbed
Removing the toggle removed the staged rollout with it. The spec's plan was ship-off, measure a long thread, then enable per channel. Nothing gates this on one channel now, so
threadPrefillBytes(32 KiB) andthreadPrefillReads(10 pages) carry the whole context risk on their own, on every thread turn rather than an opted-in few.history.thread.readandhistory.thread.droppedon thecommunity.historyspan are how to see what real threads produce. If you want a measure-first step back, loweringthreadPrefillBytesand raising it once you have numbers is the cheap version.The retired env var is inert, not fatal
A deployment still carrying
SIRENS_ECHO_THREAD_PREFILL_CHANNELSloads fine rather than failing boot, pinned by a test.coilyco-bridge/deploynever set it - checked, not assumed - so nothing needs cleaning up there.Tests
Four toggle tests removed, because they describe a knob that no longer exists. Two added:
MaxContextMessageswindow limit does not bound it (250 messages read againstlimit: 3)Verification
ward gategreen: build, policy-check, vet, test, test-skips, pre-commit.Note on #832
I opened #832 earlier today with a second, independent implementation of this issue. #827 merged five minutes after I branched and I did not re-check
mainbefore pushing. #832 is closed as duplicate with the details recorded there; #827's implementation is the better one and is what this builds on.🤖 Generated with Claude Code