From 7f7f49d757f8793abab0603fe0fe717868b4870e Mon Sep 17 00:00:00 2001 From: dave Date: Fri, 27 Mar 2026 15:37:54 +0000 Subject: [PATCH] storkit: done 414_story_loc_command_filters_out_known_huge_files --- ...plit_agents_pool_mod_rs_into_submodules.md | 29 ------------------- ...oc_command_filters_out_known_huge_files.md | 19 ++++++++++++ 2 files changed, 19 insertions(+), 29 deletions(-) delete mode 100644 .storkit/work/1_backlog/415_refactor_split_agents_pool_mod_rs_into_submodules.md create mode 100644 .storkit/work/5_done/414_story_loc_command_filters_out_known_huge_files.md diff --git a/.storkit/work/1_backlog/415_refactor_split_agents_pool_mod_rs_into_submodules.md b/.storkit/work/1_backlog/415_refactor_split_agents_pool_mod_rs_into_submodules.md deleted file mode 100644 index 72955a4d..00000000 --- a/.storkit/work/1_backlog/415_refactor_split_agents_pool_mod_rs_into_submodules.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -name: "Split agents/pool/mod.rs into submodules" ---- - -# Refactor 415: Split agents/pool/mod.rs into submodules - -## Current State - -- TBD - -## Desired State - -Refactor the monolithic server/src/agents/pool/mod.rs (2407 lines) into focused submodules within the pool/ directory. - -## Acceptance Criteria - -- [ ] types.rs contains StoryAgent, PendingGuard, AgentInfo, composite_key, and related helper structs -- [ ] lifecycle.rs contains start_agent, stop_agent, wait_for_agent and their unit tests -- [ ] worktree.rs contains create_worktree, get_project_root, find_active_story_stage and their unit tests -- [ ] query.rs contains list_agents, available_agents_for_stage, get_log_info, subscribe, drain_events and their unit tests -- [ ] process.rs contains kill_all_children, kill_child_for_key, ChildKiller registry methods and their unit tests -- [ ] test_helpers.rs contains inject_test_agent and its variants (4 methods) -- [ ] mod.rs contains AgentPool struct, new(), and re-exports all public types -- [ ] Unit tests live in their respective module files, not in a separate tests module -- [ ] No public API changes — all existing imports continue to work - -## Out of Scope - -- TBD diff --git a/.storkit/work/5_done/414_story_loc_command_filters_out_known_huge_files.md b/.storkit/work/5_done/414_story_loc_command_filters_out_known_huge_files.md new file mode 100644 index 00000000..c58d1621 --- /dev/null +++ b/.storkit/work/5_done/414_story_loc_command_filters_out_known_huge_files.md @@ -0,0 +1,19 @@ +--- +name: "loc command filters out known-huge files" +--- + +# Story 414: loc command filters out known-huge files + +## User Story + +As a ..., I want ..., so that ... + +## Acceptance Criteria + +- [ ] loc command excludes lockfiles and generated files (e.g. package-lock.json, Cargo.lock, frontend/package-lock.json) from results +- [ ] Exclusion list is defined as a constant, easy to extend +- [ ] Excluded files do not count toward line totals + +## Out of Scope + +- TBD