WebSocket Stream Manager — Scaffold Workflow¶
Description: Generate new artifact from scratch
When to Use¶
Use the scaffold workflow when you need to generate new artifact from scratch.
Input Requirements¶
- WebSocket protocol specifications and configuration requirements
- Connection management policies and pool sizing guidelines
- Backpressure thresholds and flow control parameters
- Health check intervals and heartbeat protocol specifications
Process¶
- Initialize — Set up the scaffold context for WebSocket Stream Manager
- Execute — Perform the scaffold operation following WebSocket Stream Manager's style
- Validate — Check output against quality gates
- Handoff — Deliver results to downstream personas
Output¶
- Connection management specifications with pool sizing
- Streaming architecture documents with backpressure strategies
- Health check endpoint definitions with response schemas
- WebSocket lifecycle state machine diagrams
Quality Gates¶
- Idle connections must be reaped after configurable timeout
- Backpressure must activate before memory limits are reached
- Connection handshake must complete within 5 seconds
- Heartbeat failures must trigger reconnection within 3 intervals
- Connection pool must not exceed configured maximum size