huskies: create 495_bug_status_traffic_light_dots_use_unsupported_html_colouring_switch_to_emoji

This commit is contained in:
dave
2026-04-07 14:41:00 +00:00
parent 1acb8123ae
commit 1b8c391836
2 changed files with 34 additions and 21 deletions
@@ -1,21 +0,0 @@
---
name: "MCP tool to run project test suite"
---
# Story 494: MCP tool to run project test suite
## User Story
As an LLM agent or web UI user, I want an MCP tool that runs the project's test suite so I can verify code changes without shelling out to Bash.
## Acceptance Criteria
- [ ] New MCP tool `run_tests` that executes `script/test` and returns pass/fail with output
- [ ] Available as a bot command (`test`) in all chat transports
- [ ] Available as a slash command (`/test`) in the web UI
- [ ] Returns structured result: pass/fail, test count, and truncated output for failures
- [ ] Runs in the project root (or optionally in a specified worktree path)
## Out of Scope
- TBD
@@ -0,0 +1,34 @@
---
name: "Status traffic light dots use unsupported HTML colouring - switch to emoji"
---
# Bug 495: Status traffic light dots use unsupported HTML colouring - switch to emoji
## Description
The status command uses Unicode dots (●, ◑, ✗, ○) with `<font data-mx-color>` HTML tags for colouring. Element X (and most modern Matrix clients) doesn't support inline text colouring via any HTML method — not `data-mx-color`, not `style="color:"`, nothing.
Switch to coloured emoji which render natively in all clients:
- 🟢 running normally (was ● green)
- 🟠 throttled/rate limited (was ◑ orange)
- 🔴 blocked (was ✗ red)
- ⚪ idle / no agent (was ○ grey)
Remove the `build_pipeline_status_html` colour-wrapping logic since it's dead code with emoji.
## How to Reproduce
1. Run `@timmy status` in Element X
2. Observe dots are not coloured
## Actual Result
Plain uncoloured Unicode dots.
## Expected Result
Coloured indicators visible in all Matrix clients.
## Acceptance Criteria
- [ ] Bug is fixed and verified