Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
docs: correct three stale code references found in the nightly survey (#3989)
Worktrunk Bot7ac6357f922c
diff --git a/CLAUDE.md b/CLAUDE.mdindex e929d4eba..8aef09081 100644--- a/CLAUDE.md+++ b/CLAUDE.md@@ -86,7 +86,7 @@ Cmd::new("gh").args(["pr", "list"]).run()?; // no context for standalone tools### Git-Discovery Env Vars Follow Who Chose the Cwd-Git resolves `GIT_DIR`/`GIT_WORK_TREE` (and the rest of `INHERITED_GIT_PATH_VARS`) before walking up from the cwd, so an inherited value silently overrides a child's working directory. **Any spawn site that relocates a user command into a `wt`-chosen worktree — hooks, `wt step for-each`, the `--execute` no-integration fallback — must scrub these vars** (`Cmd::scrub_git_discovery_env` or `scrub_git_discovery_env_vars`); children running in the user's own context (aliases, `commit.generation`) and `wt`'s internal git plumbing keep the inherited context (absolutized). Full site classification and rationale: `scrub_git_discovery_env_vars` in `src/shell_exec.rs`.+Git resolves `GIT_DIR`/`GIT_WORK_TREE` (and the rest of `INHERITED_GIT_PATH_VARS`) before walking up from the cwd, so an inherited value silently overrides a child's working directory. **Any spawn site that relocates a user command into a `wt`-chosen worktree — hooks, `wt step for-each`, the `--execute` program — must scrub these vars** (`Cmd::scrub_git_discovery_env` or `scrub_git_discovery_env_vars`); children running in the user's own context (aliases, `commit.generation`) and `wt`'s internal git plumbing keep the inherited context (absolutized). Full site classification and rationale: `scrub_git_discovery_env_vars` in `src/shell_exec.rs`.### Real-time Output Streamingdiff --git a/src/commands/list/ci_status/gitlab.rs b/src/commands/list/ci_status/gitlab.rsindex b3d0578f4..6e07e18d4 100644--- a/src/commands/list/ci_status/gitlab.rs+++ b/src/commands/list/ci_status/gitlab.rs@@ -296,6 +296,13 @@ pub(super) fn detect_gitlab_pipeline(})}+/// The `author` object nested in a `glab mr list` entry.+#[derive(Debug, Default, Deserialize)]+struct GitLabMrAuthor {+ #[serde(default)]+ username: String,+}+/// Basic MR info from `glab mr list --output json`.////// Note: `glab mr list` does NOT return `head_pipeline` or `pipeline` fields.@@ -303,12 +310,6 @@ pub(super) fn detect_gitlab_pipeline(////// We include `source_project_id` for client-side filtering by source project./// See the `# Filtering Strategy` docs on [`detect_gitlab`] for why we filter by source, not by author.-#[derive(Debug, Default, Deserialize)]-struct GitLabMrAuthor {- #[serde(default)]- username: String,-}-#[derive(Debug, Deserialize)]struct GitLabMrListEntry {/// The internal MR ID (used to fetch full details via `glab mr view <iid>`)diff --git a/src/md_help.rs b/src/md_help.rsindex cc29e8097..c59e70a66 100644--- a/src/md_help.rs+++ b/src/md_help.rs@@ -453,7 +453,7 @@ fn render_inline_formatting(line: &str) -> String {/// Add colors to status symbols in help text (matching wt list output colors)fn colorize_status_symbols(text: &str) -> String {- // Define semantic styles matching src/commands/list/model.rs StatusSymbols::styled_symbols+ // Define semantic styles matching src/commands/list/model/status_symbols.rs StatusSymbols::styled_symbolslet error = Style::new().fg_color(Some(AnsiStyleColor::Ansi(AnsiColor::Red)));let warning = Style::new().fg_color(Some(AnsiStyleColor::Ansi(AnsiColor::Yellow)));let success = Style::new().fg_color(Some(AnsiStyleColor::Ansi(AnsiColor::Green)));