Skip to content

feat(tools): add configurable exec-tool enable switch#20

Merged
bitifirefly merged 1 commit intodevelopfrom
backport/upstream-20260322-batch6
Mar 22, 2026
Merged

feat(tools): add configurable exec-tool enable switch#20
bitifirefly merged 1 commit intodevelopfrom
backport/upstream-20260322-batch6

Conversation

@bitifirefly
Copy link
Copy Markdown

@bitifirefly bitifirefly commented Mar 22, 2026

Summary

  • add tools.exec.enable to runtime config (default true)
  • only register exec in AgentLoop and SubagentManager when enabled
  • document the new switch in deployment config docs
  • add regression tests for agent and subagent tool exposure when exec is disabled

Validation

  • ruff check opencane/config/schema.py opencane/agent/loop.py opencane/agent/subagent.py tests/test_tool_domain_manager.py tests/test_subagent_manager.py
  • pytest -q tests/test_tool_domain_manager.py tests/test_subagent_manager.py
  • pytest -q

@bitifirefly bitifirefly merged commit 948a89b into develop Mar 22, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant