id = "code_executor"
display_name = "Code Executor"
delegate_name = "run_code"
when_to_use = "Sandboxed developer — writes, runs, and debugs code until tests pass. Use for any task that requires producing or modifying source files and exercising them with shell or test commands."
temperature = 0.4
max_iterations = 10
max_result_chars = 16000
sandbox_mode = "sandboxed"
omit_identity = true
omit_memory_context = true
omit_safety_preamble = false
omit_skills_catalog = true

[model]
hint = "coding"

[tools]
# Coding-harness primitives from #1208 (grep/glob/list/edit/apply_patch/
# todowrite/plan_exit/web_fetch/lsp) sit alongside the legacy
# shell/file_read/file_write surface. The new tools are strictly better
# for navigation (grep/glob/list vs. ad-hoc shell `find` / `rg`) and
# precise editing (edit / apply_patch vs. whole-file `file_write`); the
# old tools stay so the agent can still drop down to a shell when the
# task genuinely needs it. `lsp` is capability-gated by
# OPENHUMAN_LSP_ENABLED — listing it here is harmless when the gate is
# off (the tool is simply not registered).
named = [
    "shell",
    "file_read",
    "file_write",
    "git_operations",
    "node_exec",
    "npm_exec",
    "curl",
    "grep",
    "glob",
    "list",
    "edit",
    "apply_patch",
    "todowrite",
    "plan_exit",
    "web_fetch",
    "lsp",
]
