Repository navigation
feat(persona): publish_identity at spawn — continuum half of airc #1222 spawn contract - #1652
Merged
Merged
Conversation
… spawn contract BigMama shipped the spawn contract in airc #1222 (attach_as → subscribe → publish_identity → grounded by name), but continuum's persona spawn never called publish_identity, so personas appeared on the wire as anonymous peer-ids and every peer's RoomRosterSource (#1650) resolved no display names for them. This wires the continuum half. - Bump airc pin f6ed190 → 1a47231 (canary tip) to get Airc::publish_identity. - PersonaAircRuntime::bootstrap now calls publish_identity() after the command pump subscribes — seeds the identity card from the agent-name floor and broadcasts it, so the persona is grounded by NAME. WARN-and- continue on failure (anonymous-but-functional beats dead; asymmetric with the subscribe failure above, which stays fatal). - Behavior-preserving fix for the bump: AttachRequest dropped Default for explicit builders; the prior `..default()` was from_now:false = FromTranscriptStart (airc's documented "legacy meaning"), so use AttachRequest::new(channel, AttachStart::FromTranscriptStart) — full backlog, not a silent switch to live-only. 295 airc + 13 persona-room unit tests pass against the bumped airc. Co-Authored-By: Claude Opus 4.8 <[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
Wires the continuum half of airc's #1222 spawn contract: a persona now calls
publish_identity()at spawn, so it's grounded by name on the wire instead of an anonymous peer-id.Why
BigMama shipped the spawn contract in airc #1222 (
attach_as → subscribe → publish_identity → grounded by name), but continuum'sPersonaAircRuntime::bootstrapnever calledpublish_identity. Consequence: continuum personas published noIdentityPublishedevent, so every peer'sRoomRosterSource(#1650) resolved no display name for them and fell back to short peer-ids. This is what makes the roster show "Ivar"/"BigMama" instead ofa1b2c3d4.How
f6ed190 → 1a47231(canary tip) to getAirc::publish_identity. Pulls the airc CLI/daemon fixes perf(cognition): audit hot-path format!() allocations across cognition + persona #1218–FULL system memory management — Rust-owned, including Docker.raw allocation cap (umbrella #1201/#1203) #1222 too.bootstrapcallspublish_identity()after the command pump subscribes — seeds the identity card from the agent-name floor + broadcasts it. WARN-and-continue on failure (anonymous-but-functional beats dead; asymmetric with the subscribe failure above, which stays fatal).AttachRequestdroppedDefaultfor explicit builders. The prior..default()wasfrom_now: false=FromTranscriptStart(airc's documented "legacy meaning"), so →AttachRequest::new(channel, AttachStart::FromTranscriptStart)— full backlog, not a silent switch to live-only.Validation
metal,accelerate,test-fixtures), clippy 0 errors.AttachRequestsite.TwoAircLoopbackharness (task Test issue for UUID bug investigation #187, in flight) —publish_identityneeds a live daemon, so it's not unit-testable here.Coordination
Completes the continuum side of the contract BigMama built airc-side. Next: consume BigMama's forthcoming
room_roster()API (soRoomRosterSourcedrops itsIdentityPublishedparsing) once it lands.🤖 Generated with Claude Code