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 _ #1992
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.
Activity
[Bugfix #1992] Fix: name a task worktree's role id with buildAgentName
[Bugfix #1992] Test: live task builders with -, _ or all-digit ids st…
[Bugfix #1992] Thread log
[Bugfix #1992] Fix: name protocol role ids and cleanup's task lookup …
[Bugfix #1992] Test: protocol short ids and cleanup -p task-0123 matc…
[Bugfix #1992] Thread log: CMAP round 1
[Bugfix #1992] Fix: test cleanup's real task lookups; pin the worktre…
[Bugfix #1992] Test: drive cleanup's real lookups (--task 0123, -p ta…
[Bugfix #1992] Thread log: CMAP round 2
[Bugfix #1992] Test: pin literal role ids and test taskBuilderId dire…
[Bugfix #1992] Thread log: CMAP round 3
[Bugfix #1992] Thread log: architect decisions at the pr gate
[Bugfix #1992] Reduce to what main lacks after #1993
[Bugfix #1992] Thread log: reduced after #1993
Merge origin/main into builder/spir-1967