Skip to content

Give filesystem-backed subagents deliberate access to permitted web tools #2127

Open

Description

@JAORMX

Problem

Filesystem-backed generic Subagents do not receive WebFetch or WebSearch, even when those tools are available to the parent. A delegated research task can therefore finish without doing research, correctly reporting that neither tool is exposed. YOLO changes permissions, not catalog membership, so it does not resolve this limitation.

Evidence

At da970ce:

  • internal/app/build.go: readOnlyExplorerCatalog registers Read, ListDir, Grep, Glob, and optional Shell/ShellStatus, but neither web tool. Generic routed/model-override children use this catalog too; writable generic children also omit the web tools.
  • internal/app/agentdefs.go: named specialists use tools.All(), which includes WebFetch subject to definition scoping, but not dependency-injected WebSearch.
  • internal/app/catalog.go: newNoFSClassifiedChildCatalog registers both web tools, so availability differs by child profile.

This predates the recent routing changes; it is not evidence of a YOLO permission regression.

Desired outcome

Define and implement deliberate non-filesystem tool availability for filesystem-backed children, starting with WebFetch/WebSearch. A generic research child should be able to search and fetch when the parent has those capabilities and delegation policy permits them, rather than losing them solely because it has a filesystem.

Preserve parent authority intersections, explicit tightening, named-agent allow/deny scoping, configured Ask/Deny rules, search backend configuration, and no-FS isolation. Do not solve this by blindly copying the entire parent catalog or bypassing permissions.

Include real-factory/model-visible catalog tests for generic, routed/model-override, and named children, with negative cases for unavailable or restricted parent capabilities. Classify the capability/authority change before implementation; this issue does not authorize a blanket authority expansion.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions