Pilot is on auto-pilot and I did not touch any files, but I often see this error message when it tries to finish the work and merge the worktree...
Bash(/.pilot/bin/pilot worktree sync --json slice1-csv-sqlite-sources &&
PROJECT_ROOT=$(/.pilot/bin/pilot worktree cleanup --force --json
slice1-csv-sqlite-sources | python3 -c "import sys,json;
print(json.load(sys.stdin)['project_root'])") && cd "$PROJECT_ROOT")
⎿ Error: Exit code 1
{"success": false, "error": "Working tree has uncommitted changes. Commit or
discard them before syncing.\nRun: git status (to see what's changed)\nThen: git
stash (to temporarily set aside changes)", "files_changed": 0, "commit_hash":
null}
⎿ Async hook PostToolUse completed
⏺ The main branch has an untracked file. Let me stash it.
Pilot is on auto-pilot and I did not touch any files, but I often see this error message when it tries to finish the work and merge the worktree...
Bash(
/.pilot/bin/pilot worktree sync --json slice1-csv-sqlite-sources &&/.pilot/bin/pilot worktree cleanup --force --jsonPROJECT_ROOT=$(
slice1-csv-sqlite-sources | python3 -c "import sys,json;
print(json.load(sys.stdin)['project_root'])") && cd "$PROJECT_ROOT")
⎿ Error: Exit code 1
{"success": false, "error": "Working tree has uncommitted changes. Commit or
discard them before syncing.\nRun: git status (to see what's changed)\nThen: git
stash (to temporarily set aside changes)", "files_changed": 0, "commit_hash":
null}
⎿ Async hook PostToolUse completed
⏺ The main branch has an untracked file. Let me stash it.