storkit: done 414_story_loc_command_filters_out_known_huge_files
This commit is contained in:
@@ -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
|
|
||||||
@@ -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
|
||||||
Reference in New Issue
Block a user