---
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
