storkit: create 439_refactor_unify_story_stuck_states_into_a_single_status_field

This commit is contained in:
dave
2026-03-28 16:27:36 +00:00
parent 209e01bc06
commit 0ab1b1232b
@@ -0,0 +1,25 @@
---
name: "Unify story stuck states into a single status field"
---
# Refactor 439: Unify story stuck states into a single status field
## Current State
- TBD
## Desired State
Eight Matrix transport files (assign.rs, delete.rs, start.rs, rebuild.rs, reset.rs, rmtree.rs, htop.rs, timer.rs) each contain their own private copies of `strip_prefix_ci` and `strip_bot_mention`. The canonical versions already live in `chat::util` with the correct `is_char_boundary` guard. The duplicates should be removed and all call sites should use `util::strip_bot_mention` instead.
## Acceptance Criteria
- [ ] All 8 private copies of strip_prefix_ci are removed
- [ ] All 8 private copies of strip_bot_mention are removed
- [ ] All call sites use chat::util::strip_bot_mention instead
- [ ] Existing tests in util.rs continue to pass
- [ ] No new copies of strip_prefix_ci exist outside util.rs
## Out of Scope
- TBD