You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
VSCode Agents view hides task builders whose id contains - or _ #1844
VSCode Agents view hides task builders whose id contains - or _
Version: @cluesmith/codev 3.3.4 (CLI and cluesmith.codev-vscode 3.3.4), Linux, Node 22.19.0
What happens
A builder spawned with afx spawn --task "..." whose random id contains - or _ (for example task-S0-L, task-_-LM) never appears in the VSCode Agents view, even after Developer: Reload Window. afx status lists it,
and its terminal is live.
For the worktree task-S0-L this returns builder-task-s0, while the live terminal is registered as builder-task-s0-l. getOverview() then filters the builder out:
So /workspace/<ws>/api/overview returns builders: [], while /workspace/<ws>/api/state correctly lists builder-task-s0-l.
Steps to reproduce
Spawn task builders until one gets an id containing - or _ (the ids look base64url-like).
afx status shows the builder. GET /workspace/<ws>/api/state lists it under builders.
GET /workspace/<ws>/api/overview omits it, and the VSCode Agents view does not show it.
Expected
Every live builder appears in the Agents view, whatever characters its id contains.
Suggested fix
Take the whole suffix for task (and probably worktree- and the generic protocol) names, for example /^task-([a-z0-9_-]+)$/. Or better, derive the role id from the same function that registers the terminal, so the
two cannot drift. A unit test with ids task-S0-L and task-_-LM would cover it.
Thanks for the precise report. The task-S0-L / task-_-LM case was fixed in v3.3.6, so upgrading resolves it. The fix that just merged closes the remaining drift in the same function (all-digit short ids such as task-0042) by deriving the role id from the function that names the terminal, as you suggested.
Activity
[Bugfix #1844] Fix: derive fallback builder role ids through buildAge…
[Bugfix #1844] Test: overview keeps live task builders with any short…
Merge pull request #1993 from cluesmith/builder/bugfix-1844
waleedkadous commentedon Nov 26, 2026
Thanks for the precise report. The task-S0-L / task-_-LM case was fixed in v3.3.6, so upgrading resolves it. The fix that just merged closes the remaining drift in the same function (all-digit short ids such as task-0042) by deriving the role id from the function that names the terminal, as you suggested.