From fe9fc69f9637a81c85adbb9f8d76c7e41878e9e5 Mon Sep 17 00:00:00 2001 From: dave Date: Sat, 28 Mar 2026 08:17:05 +0000 Subject: [PATCH] storkit: create 420_story_loc_for_a_specified_file_bot_command_and_web_ui_slash_command --- ...le_bot_command_and_web_ui_slash_command.md | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .storkit/work/1_backlog/420_story_loc_for_a_specified_file_bot_command_and_web_ui_slash_command.md diff --git a/.storkit/work/1_backlog/420_story_loc_for_a_specified_file_bot_command_and_web_ui_slash_command.md b/.storkit/work/1_backlog/420_story_loc_for_a_specified_file_bot_command_and_web_ui_slash_command.md new file mode 100644 index 00000000..f0f9ae90 --- /dev/null +++ b/.storkit/work/1_backlog/420_story_loc_for_a_specified_file_bot_command_and_web_ui_slash_command.md @@ -0,0 +1,22 @@ +--- +name: "loc for a specified file — bot command and web UI slash command" +--- + +# Story 420: loc for a specified file — bot command and web UI slash command + +## User Story + +As a developer, I want to send `loc ` to the bot or use it as a slash command in the web UI to see the line count for a specific file, so I can quickly check how large a file is without leaving my workflow. + +## Acceptance Criteria + +- [ ] loc returns the line count for the specified file +- [ ] Relative paths are resolved against the project root +- [ ] If the file does not exist, returns a clear error +- [ ] Works from all transports (Matrix, WhatsApp, Slack) +- [ ] Works as a slash command in the web UI +- [ ] loc with no argument retains existing behavior (top files by line count) + +## Out of Scope + +- TBD