Repository navigation
feat(airc): one page back on first attach — airc f01a3f4 + backlog_tail(32) - #2098
Merged
Merged
Conversation
…cklog_tail(32) (#295 follow-up) Joel: 'When you join a Discord channel do you read the whole history from 10 years back? No — one page.' #2094 bounded the first-ever attach to zero backlog (pure live-edge join); airc PR #1312 adds the backlog_tail knob — the daemon streams the newest N backlog events at the catch-up seam and coalesces everything older into the watermark summary, tail delivered BEFORE the summary so the #261 cursor discipline holds. Continuum side: bump ALL airc crate pins 816a0be → f01a3f4 together (mixed revs would produce two airc-core versions and type clashes) and set FIRST_ATTACH_PAGE = 32 on the no-cursor attach. Resumed attaches unchanged: gap replay stays uncoalesced. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Completes the #295 arc per Joel's Discord analogy: a fresh node's first attach now shows one page of recent room history (32 events) instead of either extreme — the old full-history storm (fixed in #2094) or #2094's zero-backlog void.
airc PR #1312 (merged, f01a3f4) added the
backlog_tailknob: the daemon streams the newest N backlog events at the catch-up seam, coalescing older history into the watermark summary — tail delivered before the summary, so the #261 cursor discipline holds (a persisted watermark never skips an undelivered event).Changes
FIRST_ATTACH_PAGE = 32on the no-cursor attach viawith_backlog_tailTesting
inbound_attachmod 9/9 green against the bumped rev; first-attach test now asserts the page.🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo