Docs · Install, register and place runs

tempergraph worktree

Run worktrees.

Usage#

usage
tempergraph worktree [-h] {list,path,prune} ...

worktree list#

list this repository's run worktrees with their thread, branch and state

usage
tempergraph worktree list [-h] [--all] [--json]
OptionWhat it does
--allalso foreign worktrees and git worktrees no record owns
--jsonprint the list as JSON

worktree path#

print a thread's worktree path, for cd "$(tempergraph worktree path <thread>)"

usage
tempergraph worktree path [-h] thread
ArgumentWhat it is
<thread>the thread: <workflow>/<task id>, or its alias

worktree prune#

list removable run worktrees; --apply removes them, clean ones only

usage
tempergraph worktree prune [-h] [--thread THREAD] [--finished] [--older-than DAYS] [--apply] [--json] [--caller {person,agent,pipeline,orchestrator,scheduler,engine}] [--as-agent] [--caller-app CALLER_APP] [--relayed]
OptionWhat it does
--thread THREADonly this thread's worktree
--finishedonly worktrees of finished threads
--older-than DAYSonly worktrees older than this many days
--applyremove the listed worktrees; without it nothing is removed
--jsonprint the list as JSON
--caller {person,agent,pipeline,orchestrator,scheduler,engine}who is calling: person, agent or pipeline (the others are kept for the engine's own supervisors); a declaration can only lower trust
--as-agentthe same as --caller agent
--caller-app CALLER_APPthe name of the calling agent or pipeline application, recorded with the call
--relayedthe decision is a person's, carried by an agent; checked against the person's last turn

Edit this page on GitHub · engine 0.9.0