diff --git a/.opencode/agent/subagents/core/externalscout.md b/.opencode/agent/subagents/core/externalscout.md index 9ace8a1..2fab2c4 100644 --- a/.opencode/agent/subagents/core/externalscout.md +++ b/.opencode/agent/subagents/core/externalscout.md @@ -15,12 +15,6 @@ permission: skill: "*": "deny" "*context7*": "allow" - write: - "**/*": "deny" - ".tmp/external-context/**": "allow" - edit: - "**/*": "deny" - ".tmp/external-context/**": "allow" task: "*": "deny" --- diff --git a/.opencode/command/openagents/new-agents/create-agent.md b/.opencode/command/openagents/new-agents/create-agent.md index 89e2877..00c3e7c 100644 --- a/.opencode/command/openagents/new-agents/create-agent.md +++ b/.opencode/command/openagents/new-agents/create-agent.md @@ -50,15 +50,8 @@ Create a new agent with minimal, high-signal prompts following "right altitude" description: "{one-line purpose}" mode: primary temperature: 0.1-0.7 - tools: - read: true - write: true - edit: true - bash: true - task: {only if delegates} - glob: true - grep: true - permissions: + + permission: bash: "rm -rf *": "ask" "sudo *": "deny" diff --git a/.opencode/context/core/system/context-paths.md b/.opencode/context/core/system/context-paths.md index 32353a3..4b21385 100644 --- a/.opencode/context/core/system/context-paths.md +++ b/.opencode/context/core/system/context-paths.md @@ -15,3 +15,4 @@ Additional paths to context. If set to `false`, ignore. } } ``` + diff --git a/.opencode/context/openagents-repo/errors/tool-permission-errors.md b/.opencode/context/openagents-repo/errors/tool-permission-errors.md index 6504393..54c1d7e 100644 --- a/.opencode/context/openagents-repo/errors/tool-permission-errors.md +++ b/.opencode/context/openagents-repo/errors/tool-permission-errors.md @@ -31,7 +31,7 @@ Agent has tool **disabled** or **denied** in frontmatter: tools: bash: false # ← Tool disabled -permissions: +permission: bash: "*": "deny" # ← Explicitly denied ``` @@ -196,7 +196,7 @@ tools: ## Verification Checklist -After fixing tool permissions: +After fixing tool permission: - [ ] Agent frontmatter has correct `tools:` configuration? - [ ] Prompt emphasizes allowed tools in critical rules section? diff --git a/.opencode/context/openagents-repo/standards/navigation.md b/.opencode/context/openagents-repo/standards/navigation.md index 6405d5c..9115e84 100644 --- a/.opencode/context/openagents-repo/standards/navigation.md +++ b/.opencode/context/openagents-repo/standards/navigation.md @@ -43,7 +43,7 @@ These standards emerged from fixing YAML frontmatter issues across 18 agent file - `hidden` - Hide from autocomplete - `prompt` - Custom prompt file - `tools` - Tool access config -- `permissions` - Permission rules +- `permission` - Permission rules - `skills` - Skills to load ### Invalid Fields (Move to agent-metadata.json)