iso-code-cli-0.1.0 is not a library.
iso-code-cli
wt — a safe git worktree CLI for AI coding agents.
Command-line interface for the iso-code worktree
management library. Drop-in replacement for git worktree with safety guarantees
that prevent the data-loss bugs documented in Claude Code, Cursor, Claude Squad,
OpenCode, and VS Code Copilot.
Install
The binary is named wt.
Usage
# List all worktrees tracked for this repo
# Create a worktree for a branch
# Delete a worktree (runs 5-step unmerged-commit check)
# Garbage-collect orphaned worktrees (dry run by default)
# Attach an existing worktree path to iso-code's state
# Claude Code hook integration — prints the new worktree path on stdout
Safety guarantees
- Never deletes branches with unmerged commits (5-step check)
- Never leaves partial worktrees on disk (cleanup on failure)
- Never corrupts git-crypt repos (post-create verification)
- Never creates nested worktrees (bidirectional path check)
- Never evicts locked worktrees
state.jsonis crash-safe (atomic write via tmp + fsync + rename)
Status
Milestone 1 (Foundation). --setup adapter flags will ship in milestone 2.
See the PRD
for the roadmap.
License
Licensed under either of Apache License 2.0 or MIT License at your option.