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
VS Code: Test agent file discovery and .ai-team/ access #33
Agent discovery works out of the box. VS Code auto-discovers squad.agent.md from .github/agents/ on workspace load. No changes needed.
Sub-agents inherit file tools by default. Unlike CLI (where sub-agents get a fixed toolset per agent_type), VS Code sub-agents inherit ALL parent tools including readFile, editFiles, createFile, fileSearch, etc. This is a net positive for Squad — every spawned agent can read/write .ai-team/ files without special configuration.
Path resolution works as-is. The worktree resolution algorithm (git rev-parse --show-toplevel) works in VS Code via runInTerminal. Workspace root and git toplevel typically align. No changes needed.
Read/write access confirmed. Agents can read all .ai-team/ files via readFile and write to decisions inbox, history, skills via editFiles/createFile. First-session writes require user approval (VS Code security feature), but this is one-time per workspace.
Permission constraints are minor. Workspace Trust must be enabled. Access is workspace-scoped (not filesystem-wide). sql tool is CLI-only — not available in VS Code.
Multi-root workspaces are problematic. Known VS Code bugs with path resolution in multi-root setups. Recommend documenting single-root as the supported configuration.
Tool Name Mapping (CLI → VS Code)
Operation
CLI
VS Code
Read file
view
readFile
Edit file
edit
editFiles
Create file
create
createFile
Search by name
glob
fileSearch
Search contents
grep
codebase
Shell command
powershell
runInTerminal
Overall Assessment
Squad's file discovery and .ai-team/ access work in VS Code with zero code changes. The instruction-level abstraction in squad.agent.md (describing operations, not tool names) naturally works across both surfaces. A small VS Code compatibility note is recommended but not blocking.
Success Criteria Status
Document VS Code file discovery behavior
Test .ai-team/ read access from an agent in VS Code
Test .ai-team/ write access (decision logging, skill updates)
Document permission constraints and workarounds
Update squad.agent.md recommendations for VS Code (proposal includes specific language)
Activity
bradygaster commentedon Feb 13, 2026
033a: VS Code File Discovery and .ai-team/ Access — Spike Complete
Author: Strausz (VS Code Extension Expert)
Proposal:
team-docs/proposals/033a-vscode-file-discovery.mdKey Findings
Agent discovery works out of the box. VS Code auto-discovers
squad.agent.mdfrom.github/agents/on workspace load. No changes needed.Sub-agents inherit file tools by default. Unlike CLI (where sub-agents get a fixed toolset per
agent_type), VS Code sub-agents inherit ALL parent tools includingreadFile,editFiles,createFile,fileSearch, etc. This is a net positive for Squad — every spawned agent can read/write.ai-team/files without special configuration.Path resolution works as-is. The worktree resolution algorithm (
git rev-parse --show-toplevel) works in VS Code viarunInTerminal. Workspace root and git toplevel typically align. No changes needed.Read/write access confirmed. Agents can read all
.ai-team/files viareadFileand write to decisions inbox, history, skills viaeditFiles/createFile. First-session writes require user approval (VS Code security feature), but this is one-time per workspace.Permission constraints are minor. Workspace Trust must be enabled. Access is workspace-scoped (not filesystem-wide).
sqltool is CLI-only — not available in VS Code.Multi-root workspaces are problematic. Known VS Code bugs with path resolution in multi-root setups. Recommend documenting single-root as the supported configuration.
Tool Name Mapping (CLI → VS Code)
viewreadFileediteditFilescreatecreateFileglobfileSearchgrepcodebasepowershellrunInTerminalOverall Assessment
Squad's file discovery and .ai-team/ access work in VS Code with zero code changes. The instruction-level abstraction in
squad.agent.md(describing operations, not tool names) naturally works across both surfaces. A small VS Code compatibility note is recommended but not blocking.Success Criteria Status
bradygaster commentedon Feb 13, 2026
Spike complete. Proposal 033a (VS Code file discovery) shipped. Key finding: zero code changes needed — instruction-level abstraction maps naturally to VS Code tools.
docs(ai-team): merge 3 decisions from inbox and propagate updates
feat: project board + v0.4.0 docs (#6)
feat: add agent dashboard with squad-monitor integration
fix(scribe): add HARD GATE archival with two-tier thresholds to Scrib…