Skip to content

Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows

docs(list): fix stale collect.rs reference in list/CLAUDE.md (#2331)

Worktrunk Bot1043726fd98f
diff --git a/src/commands/list/CLAUDE.md b/src/commands/list/CLAUDE.md
index a7485ddcb..6fe2e8e0c 100644
--- a/src/commands/list/CLAUDE.md
+++ b/src/commands/list/CLAUDE.md
@@ -14,8 +14,8 @@ skeleton adds perceived latency. Users notice 50ms vs 150ms.
### Phase 1: Pre-Skeleton
Minimal operations before showing anything. Runs a **fixed number of git commands**
-(O(1), not O(N) per worktree) through batching. See `collect.rs` module docstring
-for the exact command list and first-run behavior.
+(O(1), not O(N) per worktree) through batching. See `collect/mod.rs` module
+docstring for the exact command list and first-run behavior.
### Phase 2: Skeleton Render
@@ -59,7 +59,7 @@ Measures pure skeleton latency. Target: <60ms.
## Code Structure
-- `collect.rs` — orchestrates collection, manages pre/post-skeleton phases, task definitions and execution (see module docstring for phase details)
+- `collect/` — orchestrates collection, manages pre/post-skeleton phases, task definitions and execution (see `collect/mod.rs` module docstring for phase details)
- `render.rs` — row formatting, skeleton rows, cell rendering
- `layout.rs` — column width calculation
- `progressive_table.rs` — terminal rendering with in-place updates
diff --git a/src/commands/list/mod.rs b/src/commands/list/mod.rs
index 552939b63..12c8516e2 100644
--- a/src/commands/list/mod.rs
+++ b/src/commands/list/mod.rs
@@ -131,7 +131,7 @@ pub(crate) mod render;
#[cfg(test)]
mod spacing_test;
-// Layout is calculated in collect.rs
+// Layout is calculated in collect/mod.rs
use anstyle::Style;
use anyhow::Context;
use model::{ListData, ListItem};
@@ -284,7 +284,7 @@ impl SummaryMetrics {
}
}
-/// Format a summary message for the given items (used by both collect.rs and mod.rs)
+/// Format a summary message for the given items (used by both collect/mod.rs and mod.rs)
pub(crate) fn format_summary_message(
items: &[ListItem],
show_branches: bool,