Skip to content

config.yaml enabled: false is ignored for builtin extensions — developer (shell/text_editor) tools remain callable in biorouter run #42

Description

@Broccolito

Summary

Setting enabled: false for a builtin extension in ~/.config/biorouter/config.yaml does not actually remove its tools from a biorouter run session. The agent can still call them.

Environment

  • biorouter 1.88.3, macOS (Apple Silicon)
  • Headless: biorouter run --quiet --output-format json --provider ... --model ... -t "..."

Reproduction

  1. In ~/.config/biorouter/config.yaml, set the developer (and computercontroller) builtin blocks to enabled: false:
  developer:
    enabled: false
    type: builtin
    name: developer
    ...
  computercontroller:
    enabled: false
    type: builtin
    ...
  1. Run any headless biorouter run task that tempts the model toward shell/file work.
  2. Observe the transcript: the model still calls shell and text_editor (the developer builtin's tools).

Confirmed over a large automated batch: with the config above in place (file unmodified since), transcripts recorded 11 shell and 12 text_editor calls, including runs executed many hours after the config change. Other builtins whose tools also still appeared: read_file, read_app/update_app, kb_search.

Expected

enabled: false should remove that extension's tools from the session (they should not be offered to the model, and calls to them should not be possible) — the same way a disabled stdio extension's tools disappear.

Actual

The tools remain available and callable. There appears to be no supported way to disable a builtin's tools for headless runs via config.

Impact

Suggestion

Honor enabled: false for builtins in biorouter run (filter them out of the tool list at session construction), or document a supported mechanism (CLI flag / env var / permission.yaml never_allow) to run with a restricted builtin tool set, and make --with-builtin the sole opt-in when specified.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions