Docs · Install, register and place runs
tempergraph worktree
Run worktrees.
Usage#
tempergraph worktree [-h] {list,path,prune} ...worktree list#
list this repository's run worktrees with their thread, branch and state
tempergraph worktree list [-h] [--all] [--json]| Option | What it does |
|---|---|
--all | also foreign worktrees and git worktrees no record owns |
--json | print the list as JSON |
worktree path#
print a thread's worktree path, for cd "$(tempergraph worktree path <thread>)"
tempergraph worktree path [-h] thread| Argument | What it is |
|---|---|
<thread> | the thread: <workflow>/<task id>, or its alias |
worktree prune#
list removable run worktrees; --apply removes them, clean ones only
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]| Option | What it does |
|---|---|
--thread THREAD | only this thread's worktree |
--finished | only worktrees of finished threads |
--older-than DAYS | only worktrees older than this many days |
--apply | remove the listed worktrees; without it nothing is removed |
--json | print 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-agent | the same as --caller agent |
--caller-app CALLER_APP | the name of the calling agent or pipeline application, recorded with the call |
--relayed | the 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