Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
WIP: Auto-commit before merge
Maximilian Roos0604d9821d82
diff --git a/CLAUDE.md b/CLAUDE.mdindex fa1563665..d7c4582aa 100644--- a/CLAUDE.md+++ b/CLAUDE.md@@ -270,7 +270,7 @@ Global Config: /path/to/config**Command approval:**```- project wants to execute:+project wants to execute:[ -d {repo_root}/target ] &&[ ! -e {worktree}/target ] &&cp -cR {repo_root}/target/. {worktree}/target/diff --git a/src/commands/command_approval.rs b/src/commands/command_approval.rsindex fa4ba7e8a..a7e5b39ea 100644--- a/src/commands/command_approval.rs+++ b/src/commands/command_approval.rs@@ -106,10 +106,10 @@ fn prompt_for_approval(command: &str, project_id: &str) -> std::io::Result<bool>eprintln!();eprintln!("{WARNING_EMOJI} {WARNING}Permission required to execute in worktree{WARNING:#}");eprintln!();- eprintln!(" {bold}{project_name}{bold:#} ({dim}{project_id}{dim:#}) wants to execute:");+ eprintln!("{bold}{project_name}{bold:#} ({dim}{project_id}{dim:#}) wants to execute:");eprint!("{}", format_with_gutter(command, "")); // Gutter at column 0, provides visual separationeprintln!();- eprint!(" {HINT_EMOJI} Allow and remember? {bold}[y/N]{bold:#} ");+ eprint!("{HINT_EMOJI} Allow and remember? {bold}[y/N]{bold:#} ");io::stderr().flush()?;let mut response = String::new();