huskies: create 477_spike_distributed_build_agents_via_bft_crdts_over_websocket

This commit is contained in:
dave
2026-04-04 20:14:31 +00:00
parent 78b3f4c165
commit 1d95ee17bb
@@ -10,7 +10,9 @@ Investigate integrating the existing BFT JSON CRDT Rust crate (to be placed in c
## Goal
Replace or augment the filesystem-based pipeline state with a CRDT document synced over WebSocket between nodes. Each node (Docker container on a different laptop) sees the full pipeline state and self-assigns work autonomously. No central scheduler.
Replace the filesystem-based pipeline state (`.huskies/work/` stage directories) with a CRDT document synced over WebSocket between nodes. The CRDT becomes the single source of truth for pipeline metadata (stage, agent assignments, retry counts, blocked flags). Each node (Docker container on a different laptop) sees the full pipeline state and self-assigns work autonomously. No central scheduler.
Story markdown files (content/AC), worktrees, and config files remain on the filesystem. Only the pipeline orchestration state moves into the CRDT.
## Key Questions