Repository navigation
refactor(persona): consume airc room_roster — delete continuum-side IdentityPublished parsing - #1654
Merged
Merged
Conversation
…dentityPublished parsing
BigMama shipped Airc::room_roster (airc#1232) exactly to the spec I sent over
airc: one batched call returning Vec<RoomMember{peer_id, display_name, runtime,
availability, last_seen_ms}> = active_agents + IdentityPublished name-join done
airc-side. So continuum stops doing that join itself.
- Bump airc pin 1a47231 → 72824ba (one commit: #1232 room_roster).
- RoomRosterSource: AircRosterReader collapses from {self_peer_id, active_agents,
peer_alias_map} to {self_peer_id, room_roster}. deliver() makes ONE room_roster
call and iterates RoomMembers. DELETED: parse_identity_names, the IdentityScan
constant, and the airc_core IdentityEvent/Body/TranscriptEvent/TranscriptKind +
HashMap imports — the wire-format coupling the adversarial review of #1650
flagged. Thin continuum: airc owns presence+identity join.
- The 3 AircRosterReader impls (PersonaAircRuntime, AircHandleAdapter,
StubAircCitizen) collapse to a single room_roster delegation.
Same [Present in this room] grounding, same self-exclusion, same projection
contract (metadata.display_name → other_persona_names); fewer moving parts and
zero IPC amplification. 7 tests green; clippy clean.
Co-Authored-By: Claude Opus 4.8 <[email protected]>
joelteply
added a commit
that referenced
this pull request
Nov 4, 2026
…rains (the conditions #5743 set) (#5761) #5743 reverted 38a22ab because airc #1618 derived every row at open and the M5's residents (1.7-12.8 GB stores) stalled 4-8+ min at boot. Its stated way forward: airc derives per page, never at open, and every store has a byte-budgeted, set-based drain. Both are now in airc canary: - #1654 (76e8e2d, card 70055c76): open is schema only (0.016 s on a copy of Paige's 1.55 GB store, against 23.4 s); indexes are built after the drain; a read derives nothing and says whether its file was settled; a store this binary wrote is settled at open by one index seek. - #1653 (86b153e, card e95d41a4): each kind declares its retention, and the drain runs in bounded windows on its own connection. Only the nine airc revs and their lock entries move (plus airc-lib's fs2 line); no other package re-resolves. `cargo check --locked` of continuum-airc-protocol, airc-test-fixtures, continuum-process and continuum-rooms passes on the new pin. Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
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.
What
Consume BigMama's
Airc::room_roster(airc #1232) inRoomRosterSource— and delete the continuum-sideIdentityPublishedparsing it replaces.Why
The adversarial review of #1650 flagged that
RoomRosterSourcedid a 2-scan join (presence viaactive_agents+ names via a hand-rolledIdentityPublishedparse) — a wire-format coupling between continuum and airc's internals. I sent BigMama a spec for a one-call API; they shipped it (airc #1232) exactly as specced. This is the "thin continuum, airc owns presence+identity" payoff: airc does the join, continuum consumesVec<RoomMember>.How
1a47231→72824ba— one commit (perf(concurrency): Drop-guard for ConcurrencyPolicy in_flight cleanup on panicking work futures #1232room_roster), minimal-risk delta.AircRosterReadercollapses from{self_peer_id, active_agents, peer_alias_map}→{self_peer_id, room_roster}.deliver()makes oneroom_roster(within, window)call and iteratesRoomMembers (name already joined; fall back to short peer-id for present-but-unnamed; self excluded).parse_identity_names, the identity-scan constant, and theairc_coreIdentityEvent/Body/TranscriptEvent/TranscriptKind+HashMapimports. The 3 reader impls collapse to a singleroom_rosterdelegation.Validation
metal,accelerate,test-fixtures), clippy 0 errors.[Present in this room]grounding, same self-exclusion, samemetadata.display_name → other_persona_namesprojection contract.Coordination
Closes the loop on the room_roster spec exchange with BigMama over airc. Independent of #1653 (ACL gate — different files, no airc-bump there).
🤖 Generated with Claude Code