Skip to content

feat(persona): publish_identity at spawn — continuum half of airc #1222 spawn contract - #1652

Merged
joelteply merged 1 commit into
canaryfrom
feat/persona-publish-identity
Jun 17, 2026
Merged

joelteply merged 1 commit into
canaryfrom
feat/persona-publish-identity

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

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's PersonaAircRuntime::bootstrap never called publish_identity. Consequence: continuum personas published no IdentityPublished event, so every peer's RoomRosterSource (#1650) resolved no display name for them and fell back to short peer-ids. This is what makes the roster show "Ivar"/"BigMama" instead of a1b2c3d4.

How

Validation

  • Compiles clean (lib + tests, metal,accelerate,test-fixtures), clippy 0 errors.
  • 295 airc + 13 persona-room unit tests pass against the bumped airc — the dep bump is behavior-neutral apart from the one AttachRequest site.
  • Integration coverage (a real spawn publishing identity) lands with the TwoAircLoopback harness (task Test issue for UUID bug investigation #187, in flight) — publish_identity needs 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 (so RoomRosterSource drops its IdentityPublished parsing) once it lands.

🤖 Generated with Claude Code

… 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]>
@joelteply
joelteply merged commit 0bb4462 into canary Jun 17, 2026
4 checks passed
@joelteply
joelteply deleted the feat/persona-publish-identity branch June 17, 2026 02:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant