huskies: create 478_story_websocket_sync_layer_for_crdt_state_between_nodes
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
---
|
---
|
||||||
name: "WebSocket sync layer for CRDT state between nodes"
|
name: "WebSocket sync layer for CRDT state between nodes"
|
||||||
|
agent: coder-opus
|
||||||
---
|
---
|
||||||
|
|
||||||
# Story 478: WebSocket sync layer for CRDT state between nodes
|
# Story 478: WebSocket sync layer for CRDT state between nodes
|
||||||
|
|||||||
@@ -1,35 +0,0 @@
|
|||||||
---
|
|
||||||
name: "Timer slash command not wired up in web UI"
|
|
||||||
---
|
|
||||||
|
|
||||||
# Bug 483: Timer slash command not wired up in web UI
|
|
||||||
|
|
||||||
## Description
|
|
||||||
|
|
||||||
Three async bot commands are not wired up in the web UI's `bot_command.rs` dispatch: **timer**, **htop**, and **rmtree**. They fall through to `dispatch_sync` which calls the registry stub that returns `None`, resulting in "Unknown command."
|
|
||||||
|
|
||||||
The fix: add async dispatch branches for all three in `dispatch_command`:
|
|
||||||
- `"timer" => dispatch_timer(args, project_root).await`
|
|
||||||
- `"rmtree" => dispatch_rmtree(args, project_root, agents).await`
|
|
||||||
- `"htop"` — either implement a simplified version or return a "not available in web UI" message (htop is a live dashboard designed for Matrix)
|
|
||||||
|
|
||||||
Commands already correctly dispatched: assign, start, delete, rebuild.
|
|
||||||
Reset is handled by the frontend (clears local state) — not needed server-side.
|
|
||||||
|
|
||||||
## How to Reproduce
|
|
||||||
|
|
||||||
1. Open the web UI
|
|
||||||
2. Type `/timer list` or `/timer 463 14:00`
|
|
||||||
3. See "Unknown command: /timer"
|
|
||||||
|
|
||||||
## Actual Result
|
|
||||||
|
|
||||||
Unknown command: `/timer`. Type `/help` to see available commands.
|
|
||||||
|
|
||||||
## Expected Result
|
|
||||||
|
|
||||||
Timer command works in the web UI the same as it does via Matrix.
|
|
||||||
|
|
||||||
## Acceptance Criteria
|
|
||||||
|
|
||||||
- [ ] Bug is fixed and verified
|
|
||||||
Reference in New Issue
Block a user