Files
pubsub/tasks/010-review-websocket-adapters.md
glm-5.1 1306716897 Decompose architecture into atomic, dependency-ordered tasks
19 tasks covering core testing, Redis hardening, WebSocket client/server
adapters, Worker adapter, and final review gates. Iroh adapters are tracked
as a deferred placeholder blocked on the @alkdev/iroh fork.

Phases: core validation → Redis hardening → review gate → WebSocket
adapters → review gate → Worker adapter → review gate → final validation.
2026-05-08 05:50:43 +00:00

1.5 KiB

id, name, status, depends_on, scope, risk, impact, level
id name status depends_on scope risk impact level
review-websocket-adapters Review WebSocket client and server adapters pending
websocket-client-tests
websocket-server-tests
narrow low phase review

Description

Review checkpoint after implementing both WebSocket adapters. These are the first fan-out adapter (server) and the first subscription-control adapter (client), so they establish patterns that the Worker and Iroh adapters will follow.

Verify:

  • Subscription control protocol (__subscribe/__unsubscribe) is correctly implemented in both client and server
  • Topic-based fan-out works end-to-end: client subscribes → server tracks → server fans out
  • Backpressure protection works correctly
  • Error handling matches the architecture spec
  • Build, type-check, and test suite all pass

Acceptance Criteria

  • npm run build passes cleanly
  • npm run lint passes
  • npm test passes with all core + Redis + WebSocket tests
  • WebSocket client subscription forwarding matches ADR-003
  • WebSocket server fan-out and subscription tracking matches architecture spec
  • No unnecessary comments in source (project convention)
  • License headers present where needed

References

  • docs/architecture/event-targets/websocket-client.md
  • docs/architecture/event-targets/websocket-server.md
  • docs/architecture/decisions/003-subscription-control-protocol.md

Notes

To be filled by implementation agent

Summary

To be filled on completion