storkit: accept 410_story_loc_bot_command_top_files_by_line_count

This commit is contained in:
dave
2026-03-27 18:32:34 +00:00
parent 6b71c07f5b
commit b0e21abb6e
2 changed files with 0 additions and 28 deletions
@@ -1,22 +0,0 @@
---
name: "loc bot command — top files by line count"
---
# Story 410: loc bot command — top files by line count
## User Story
As a developer, I want to send `loc` to the bot and see the top files by line count, so I can spot files that are getting too large before they become a problem for agents.
## Acceptance Criteria
- [ ] loc command is registered in chat/commands/mod.rs and appears in help output
- [ ] `loc` returns the top 10 source files by line count (excluding generated files, node_modules, target/, .storkit/worktrees/)
- [ ] `loc 5` returns the top 5 files
- [ ] `loc 20` returns the top 20 files
- [ ] Output includes file path, line count, and rank
- [ ] Command works from all transports (Matrix, WhatsApp, Slack)
## Out of Scope
- TBD