Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
docs(claude): cross-ref PTY coverage and compress list-features rubric (#2820)
Maximilian Roos3bc01ad85131
diff --git a/src/commands/list/CLAUDE.md b/src/commands/list/CLAUDE.mdindex 6fe2e8e0c..1e155aaf1 100644--- a/src/commands/list/CLAUDE.md+++ b/src/commands/list/CLAUDE.md@@ -36,18 +36,9 @@ Results update cells progressively as they complete.## Adding New Features-When adding a new column or feature, ask:--1. **Does it need data before skeleton?** Usually no. The skeleton can show a- placeholder or omit the column until data arrives.--2. **Can template expansion wait?** Yes. Expand templates post-skeleton, then- update the relevant cells.--3. **Does it require file I/O?** If so, it belongs post-skeleton.--**Default answer: defer to post-skeleton.** Only add pre-skeleton operations-when the skeleton literally cannot render without the data.+Default: defer to post-skeleton. Only add a pre-skeleton operation when the+skeleton literally cannot render without the data. File I/O and template+expansion always wait; new columns can render a placeholder until data arrives.## Benchmarking Skeleton Timediff --git a/tests/CLAUDE.md b/tests/CLAUDE.mdindex 1aee84459..f8d889e89 100644--- a/tests/CLAUDE.md+++ b/tests/CLAUDE.md@@ -33,6 +33,8 @@ For each uncovered function, either write a test (integration tests via `assert_**"N functions have mismatched data" warning:** `cargo llvm-cov` merges profiles from multiple compilation targets with minor codegen differences (typically 5–20 functions). Expected, harmless, no suppression flag exists ([LLVM #97574](https://github.com/llvm/llvm-project/issues/97574)).+PTY tests need extra setup to be measured at all — they `env_clear()` the subprocess, so LLVM env vars must be passed through explicitly. See "Coverage in PTY Tests" below.+## Running `wt` Commands in Tests**Use the correct helper to ensure test isolation.** Tests that spawn `wt` must