diff --git a/.storkit/work/5_done/443_refactor_extract_shared_find_story_name_from_commands.md b/.storkit/work/5_done/443_refactor_extract_shared_find_story_name_from_commands.md new file mode 100644 index 00000000..631a6531 --- /dev/null +++ b/.storkit/work/5_done/443_refactor_extract_shared_find_story_name_from_commands.md @@ -0,0 +1,23 @@ +--- +name: "Extract shared find_story_name from commands" +--- + +# Refactor 443: Extract shared find_story_name from commands + +## Current State + +- TBD + +## Desired State + +`find_story_name` is nearly identical in `chat/commands/overview.rs` and `chat/commands/unreleased.rs` (minor style diff: `let stages` vs `const STAGES`). Extract to a shared location (e.g. `chat::commands::util` or `io::stories`) and have both callers use it. + +## Acceptance Criteria + +- [ ] Single shared find_story_name function exists +- [ ] Both overview.rs and unreleased.rs use the shared version +- [ ] Private copies are removed + +## Out of Scope + +- TBD