Skip to content

bug: VSCode Autopilot breaks Squad agent execution #613

@andikrueger

Description

@andikrueger

Squad routing fails to be applied during Autopilot-driven work. Although specialist roles and routing rules are defined, Autopilot continues execution as the active agent instead of dispatching work to the assigned Squad specialists. This results in specialist-scoped work being performed outside the intended routing model.

What Is Failing

Squad routing rules exist and are correctly defined.
However, they are not enforced by Autopilot or the editor runtime.
If the coordinator does not explicitly invoke the Squad flow, routing is silently bypassed.
As a result, work that clearly matches specialist ownership continues inline with the coordinator.

Expected Behavior

When Squad mode is active, requests that match routing rules should be dispatched to the assigned specialists.
If routing is advisory-only, this must be clearly disclosed.
It should be explicit whether work is being done inside or outside Squad routing.

Actual Behavior

Autopilot continues as the active coding agent even when routing rules apply.
Specialist configuration gives a false sense of enforcement.
Specialist reasoning may inform decisions, but execution remains with the coordinator.
This creates a mismatch between perceived and actual ownership.

Impact

Specialist ownership boundaries are broken.
Coordinator and specialist responsibilities are mixed.
Traceability, review expectations, and accountability are weakened—especially during critical-path work.

Root Cause (Confirmed)

Squad configuration (team.md, routing.md) is guidance only.
It is not an enforcement layer.
Routing only happens if the coordinator explicitly hands off the task. When that does not occur, the system fails silently.

Why This Matters

The current behavior breaks the Squad mental model. Users reasonably expect routing rules to either:

be enforced, or
clearly fail loud.

Right now, routing fails quietly, which is the worst possible mode during high-risk or release-critical work.

User: 
Why is it not using the squad agent here? There are rules!

Agent: 

Squad v0.8.25-build.4

Because I violated the repo’s workflow. I continued as the active coding agent in this VS Code chat instead of dispatching through the Squad coordinator and the CEHub specialists.

The rules exist in the repo, but they are not hard-enforced by VS Code Autopilot on every turn. They only take effect if the active session actually routes through the Squad coordinator path and launches the relevant agents. In this session, that handoff did not happen, and I incorrectly kept working inline. That is the exact failure mode you called out.

Concretely:

The roster and routing in [.squad/team.md](vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/cfbea10c5f/resources/app/out/vs/code/electron-browser/workbench/workbench.html) and [.squad/routing.md](vscode-file://vscode-app/c:/Program%20Files/Microsoft%20VS%20Code/cfbea10c5f/resources/app/out/vs/code/electron-browser/workbench/workbench.html) are guidance unless I actually invoke the Squad flow.
I should have routed CEHub extension work to Reginald Barclay and MCP/backend work to Tasha Yar instead of editing directly.
That was my mistake, not a missing repo rule.
If you want, I’ll correct course from here in one of two ways:

Stop all inline work and re-run this through Squad specialists only.
Finish the cookie-session test implementation myself, but explicitly note that it is outside Squad routing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggo:needs-researchNeeds investigationsquadSquad triage inbox — Lead will assign to a membersquad:fidoAssigned to FIDO (Quality Owner)squad:guidoAssigned to GUIDO (VS Code Extension)squad:proceduresAssigned to Procedures (Prompt Engineer)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions