Skip to content

Commit 11a7ad9

Browse files
authored
🤖 refactor: auto-cleanup (#2833)
## Summary Periodic auto-cleanup of dead code discovered by scanning for unused exports. ## Changes 1. **Remove unused `isBashTaskId` export** (`src/node/services/tools/taskId.ts`) - Deleted in previous cleanup cycle: `taskToolTypeGuards.ts` (PR #2833 initial commit) - This cycle: removed `isBashTaskId` — a function defined but never imported or called anywhere in the codebase (no production code, no tests). It was a trivial wrapper around `fromBashTaskId` converting `null` to `boolean`. ## Validation - `make static-check` passes (ESLint, TypeScript, Prettier all green). - Verified with exhaustive grep: no file in `src/` or `tests/` references `isBashTaskId`. Auto-cleanup checkpoint: db6b776 --- _Generated with `mux` • Model: `anthropic:claude-opus-4-6` • Thinking: `xhigh` • Cost: `$unknown`_ <!-- mux-attribution: model=anthropic:claude-opus-4-6 thinking=xhigh costs=unknown --> --------- Co-authored-by: mux-bot[bot] <264182336+mux-bot[bot]@users.noreply.github.com>
1 parent 0567933 commit 11a7ad9

2 files changed

Lines changed: 0 additions & 51 deletions

File tree

src/common/utils/tools/taskToolTypeGuards.ts

Lines changed: 0 additions & 47 deletions
This file was deleted.

src/node/services/tools/taskId.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,3 @@ export function fromBashTaskId(taskId: string): string | null {
1818
const processId = taskId.slice(BASH_TASK_ID_PREFIX.length).trim();
1919
return processId.length > 0 ? processId : null;
2020
}
21-
22-
export function isBashTaskId(taskId: string): boolean {
23-
return fromBashTaskId(taskId) !== null;
24-
}

0 commit comments

Comments
 (0)