feat(chat): add exclusive runtime router #1171

Closed
mos-dt-0 wants to merge 5 commits from feat/p3-slice0-task5-chat-runtime-router into next
Collaborator

Summary

  • add the initialized exclusive chat runtime router and harness-neutral transitional port
  • fail browser/Web paths closed through authenticated connection-bound send capability negotiation
  • preserve verified Discord coexistence with exact configured-agent reconciliation and replay ordering
  • enforce durable browser ownership/persistence ordering and total embedded lease cleanup
  • add focused Types/Gateway/Web security and runtime-boundary coverage

Verification

Independent exact-head gate on b21c84f2314133925a5c45954df88d5d6de51753:

  • exact 33-path approved fence; base/current next 6a8ce6670209e4279280d7b3106b842cd068ebbb
  • Types: 77 passed
  • Gateway: 826 passed, 16 skipped
  • Web: 199 passed
  • affected Gateway specs: 88 passed
  • Types/Gateway/Web typecheck, lint, and builds passed
  • isolated migrated pgvector database; final working tree clean
  • independent focused code/security review: APPROVE

Explicit deferrals

  • synchronous turn-send one-turn lock lands atomically with the Task-15 handler/capability cutover
  • legacy history/bind-resume/routing/message-metric continuity remains separately tracked

Stage and apps/web/src/spa/pages/chat.tsx are outside this change.

## Summary - add the initialized exclusive chat runtime router and harness-neutral transitional port - fail browser/Web paths closed through authenticated connection-bound send capability negotiation - preserve verified Discord coexistence with exact configured-agent reconciliation and replay ordering - enforce durable browser ownership/persistence ordering and total embedded lease cleanup - add focused Types/Gateway/Web security and runtime-boundary coverage ## Verification Independent exact-head gate on `b21c84f2314133925a5c45954df88d5d6de51753`: - exact 33-path approved fence; base/current `next` `6a8ce6670209e4279280d7b3106b842cd068ebbb` - Types: 77 passed - Gateway: 826 passed, 16 skipped - Web: 199 passed - affected Gateway specs: 88 passed - Types/Gateway/Web typecheck, lint, and builds passed - isolated migrated pgvector database; final working tree clean - independent focused code/security review: APPROVE ## Explicit deferrals - synchronous `turn-send` one-turn lock lands atomically with the Task-15 handler/capability cutover - legacy history/bind-resume/routing/message-metric continuity remains separately tracked Stage and `apps/web/src/spa/pages/chat.tsx` are outside this change.
mos-dt-0 added 5 commits 2026-08-12 19:35:46 +00:00
mos-dt-0 closed this pull request 2026-08-12 19:48:44 +00:00

Pull request closed

Please reopen this pull request to perform a merge.
Sign in to join this conversation.