programs = [
"bundle", "createdb", "dotnet", "dropdb", "git", "id", "jj", "mise", "mix", "mysqladmin",
"npx", "php", "pgrep", "pkill", "ps", "rm", "zellij",
]
layout_commands = ["branchdiff", "claude"]
[[runtime]]
call = "src/deps.rs: Cmd::new(path.to_string_lossy().as_ref())"
why = "the `--version` of a layout command `which` just found: a stub when PATH is the stub directory"
[[runtime]]
call = "src/mise_env.rs: Cmd::new(program)"
why = "always `mise` outside unit tests, which pass a stand-in script"
[[runtime]]
call = "src/session.rs: Cmd::new(zellij)"
why = "always `zellij` outside unit tests (session_exists, delete_session), which pass a stand-in"
[[runtime]]
call = "src/provision/alembic.rs: Cmd::new(venv_python(ctx.ws_dir))"
why = "the project's own .venv/bin/python inside the worktree, which the project supplies"
[[pty]]
what = "-w provisions a worktree, hands it to zellij, and removes it on quit with nothing to ask"
test = "tests/tui/mod.rs::w_hands_a_new_workspace_to_zellij_and_removes_it_on_quit"
[[pty]]
what = "-w's save prompt: y keeps the work on workon/<ws_id>"
test = "tests/tui/mod.rs::save_prompt_yes_keeps_the_work_on_a_branch"
[[pty]]
what = "-w's save prompt: n discards the work"
test = "tests/tui/mod.rs::save_prompt_no_discards_the_work"
[[pty]]
what = "workon launches a session named for the project, in the project"
test = "tests/tui/mod.rs::workon_launches_a_session_named_for_the_project_in_the_project"
[[pty]]
what = "workon attaches to the project's running session instead of launching"
test = "tests/tui/mod.rs::workon_attaches_to_the_projects_running_session"
[[pty]]
what = "--new-session deletes the running session and launches a new one"
test = "tests/tui/mod.rs::new_session_deletes_the_running_session_and_launches_anew"
[[pty]]
what = "attach hands an existing workspace to zellij and leaves it in place"
test = "tests/tui/mod.rs::attach_hands_an_existing_workspace_to_zellij_and_keeps_it"
[[pty]]
what = "-w --resume copies the agent transcript into the new workspace before launch"
test = "tests/tui/mod.rs::w_resume_carries_the_transcript_into_the_new_workspace"
[[pty]]
what = "not-ready pause: Enter opens the session anyway"
test = "tests/tui/mod.rs::not_ready_pause_enter_opens_the_session_anyway"
[[pty]]
what = "not-ready pause: n removes the workspace without launching, exit 3"
test = "tests/tui/mod.rs::not_ready_pause_n_removes_the_workspace_without_launching"
[[key]]
what = "save prompt: empty, EOF, y and yes save"
test = "src/save_prompt.rs::is_affirmative_defaults_to_yes"
[[key]]
what = "save prompt: n and anything else discard"
test = "src/save_prompt.rs::is_affirmative_explicit_no_declines"
[[key]]
what = "not-ready pause: only n or no declines; Enter, EOF, a typo or a read error opens"
test = "src/not_ready.rs::a_failed_step_asks_and_only_n_or_no_declines"
owed = [
"a hung zellij (list-sessions times out) is killed with pkill and its socket removed before launch",
]