diff --git a/.huskies/work/1_backlog/479_story_build_agent_mode_with_crdt_based_work_claiming.md b/.huskies/work/1_backlog/479_story_build_agent_mode_with_crdt_based_work_claiming.md new file mode 100644 index 00000000..dc0e1cd7 --- /dev/null +++ b/.huskies/work/1_backlog/479_story_build_agent_mode_with_crdt_based_work_claiming.md @@ -0,0 +1,22 @@ +--- +name: "Build agent mode with CRDT-based work claiming" +--- + +# Story 479: Build agent mode with CRDT-based work claiming + +## User Story + +As a user with multiple laptops, I want to run huskies in build agent mode so it connects to the mesh, syncs state, and autonomously picks up and runs coding work. + +## Acceptance Criteria + +- [ ] New CLI mode: huskies agent --rendezvous ws://host:3001 +- [ ] Agent mode: syncs CRDT state, runs coders, no web UI or chat interface +- [ ] Work claiming via CRDT: node writes claim (node ID) to CRDT doc, merge resolves conflicts deterministically, losing node stops work +- [ ] Agent picks up stories in current stage and runs Claude Code locally +- [ ] Agent pushes feature branch to Gitea when done, reports completion via CRDT +- [ ] Handles offline/reconnect: CRDT merges on reconnect, interrupted work is reclaimed after timeout + +## Out of Scope + +- TBD