Skip to content

docs(migration): chat-message-flow migration scope — gated on airc e51ab14e - #1462

Merged
joelteply merged 1 commit into
canaryfrom
docs/chat-flow-migration-scope
May 29, 2026
Merged

joelteply merged 1 commit into
canaryfrom
docs/chat-flow-migration-scope

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

Documents the full scope of the continuum-side chat-message migration that follows from airc PR #1084 (Phase 1.C) landing.

Key finding from surveying: the 1069-LOC TS shim at system/airc-chat/ is just the write side. ChatMessageEntity is read by PersonaUser (catch-up), TrainingDaemon, ToolRegistry, RoomActivityBatch, and generated bindings. Deleting only the writer leaves readers reading silently-stale ORM data — silent-fallback violation.

Gated on: airc card e51ab14e (machine-singular daemon), not Phase 1.C. Without machine-singular, multi-persona live delivery doesn't work across process scopes.

What's in this doc:

  • Today's dual-write architecture diagram
  • Every ChatMessageEntity reader with its migration target
  • Why e51ab14e is the actual blocker
  • 6-step sequencing when e51ab14e lands
  • What is NOT the shim (Rust airc_admission.rs stays)
  • Pre-work I can do without blockers

🤖 Generated with Claude Code

…1ab14e

Airc PR #1084 (Phase 1.C — chat substrate throughput 281→498 msg/s)
merged. I had committed to peer that I'd start the continuum-side
dual-write shim deletion against that boundary.

After surveying: the 1069-LOC TS shim (system/airc-chat/) is just
the write side. ChatMessageEntity is read by PersonaUser (catch-up),
TrainingDaemon, ToolRegistry, RoomActivityBatch, and generated
bindings. Deleting only the writer leaves readers reading silently-
stale data — exactly the silent-fallback pattern the doctrine
forbids.

The real migration is gated on airc card e51ab14e (machine-singular
daemon), not on Phase 1.C. Without machine-singular, multi-persona
live delivery doesn't work across process scopes — the 15-persona
general-room scenario looks like turn-based correspondence instead
of a live room.

This MIGRATION-LOG entry documents:
- the dual-write architecture today
- every ChatMessageEntity reader with its migration target
- the e51ab14e dependency reasoning
- the 6-step sequencing when e51ab14e lands
- what is NOT the shim (Rust airc_admission.rs is memory admission,
  not dual-write; stays)
- pre-work I can do without blockers

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
@joelteply
joelteply merged commit 4243d56 into canary May 29, 2026
2 checks passed
@joelteply
joelteply deleted the docs/chat-flow-migration-scope branch May 29, 2026 23:12
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