Context
I'm using worktrunk alongside GitHub Copilot CLI for parallel agent work in a repo with ~11 worktrees. The CLI itself works great — wt list was exactly what I needed to survey branch / dirty state / ahead-behind / age in one shot and pick an idle worktree.
The gap
wt config plugins offers claude, codex, opencode (plus Gemini via gemini extensions). There's no Copilot CLI option, so the activity tracking markers (🤖 / 💬 in wt list) aren't available.
That's the capability I'd value most. "Which worktree already has an agent in it?" is the question I actually needed answered, and without markers there's no good signal — file mtimes are useless (running git status across candidates updates the very timestamps you're sampling), and commit age only tells you when someone last committed, not whether a session is live right now.
I searched the issue tracker and didn't find an existing request or workaround for Copilot CLI, so filing in case it's useful signal.
What already works
The marker mechanism itself is agent-agnostic — it's just git config underneath:
wt config state marker set "🤖"
wt config state marker set "🤖" --branch <branch>
wt config state marker clear
git config worktrunk.state.<branch>.marker '{"marker":"💬","set_at":0}'
So this is usable today by convention: set on entry, clear on exit. The only missing piece is session lifecycle, not the marker plumbing.
Ask
Either would solve it, and the first is much cheaper:
- Document a "generic agent" integration — a short section stating that any CLI can participate by calling
marker set / marker clear around a session, with the stale-marker caveat you already note. That would make the manual pattern a supported one rather than something users reverse-engineer from the manual-markers section.
- A Copilot CLI plugin, if its hook surface exposes something equivalent to Codex's
Stop / SessionEnd. I'm honestly not sure it does — I haven't confirmed what's available there — so I'd treat (1) as the realistic ask and (2) as a maybe.
Happy to test either. Not blocking anything for me; the manual convention is fine.
Environment: wt v0.74.0, Windows.
Context
I'm using worktrunk alongside GitHub Copilot CLI for parallel agent work in a repo with ~11 worktrees. The CLI itself works great —
wt listwas exactly what I needed to survey branch / dirty state / ahead-behind / age in one shot and pick an idle worktree.The gap
wt config pluginsoffersclaude,codex,opencode(plus Gemini viagemini extensions). There's no Copilot CLI option, so the activity tracking markers (🤖 / 💬 inwt list) aren't available.That's the capability I'd value most. "Which worktree already has an agent in it?" is the question I actually needed answered, and without markers there's no good signal — file mtimes are useless (running
git statusacross candidates updates the very timestamps you're sampling), and commit age only tells you when someone last committed, not whether a session is live right now.I searched the issue tracker and didn't find an existing request or workaround for Copilot CLI, so filing in case it's useful signal.
What already works
The marker mechanism itself is agent-agnostic — it's just git config underneath:
So this is usable today by convention: set on entry, clear on exit. The only missing piece is session lifecycle, not the marker plumbing.
Ask
Either would solve it, and the first is much cheaper:
marker set/marker cleararound a session, with the stale-marker caveat you already note. That would make the manual pattern a supported one rather than something users reverse-engineer from the manual-markers section.Stop/SessionEnd. I'm honestly not sure it does — I haven't confirmed what's available there — so I'd treat (1) as the realistic ask and (2) as a maybe.Happy to test either. Not blocking anything for me; the manual convention is fine.
Environment:
wt v0.74.0, Windows.