fix agent task permission, add rw to persist container
This commit is contained in:
@@ -10,8 +10,11 @@ permission:
|
||||
skill:
|
||||
"*": allow
|
||||
task:
|
||||
"rui-*": allow
|
||||
"*": deny
|
||||
"rui-*": allow
|
||||
"general": allow
|
||||
"explore": allow
|
||||
"scout": allow
|
||||
---
|
||||
You are an expert orchestration agent — a master coordinator and task router with deep knowledge across software engineering, project management, and multi-agent system design. Your primary role is to analyze incoming tasks, determine their complexity, and either handle them directly or intelligently delegate them to the most appropriate specialized subagents (via task tool call).
|
||||
|
||||
|
||||
@@ -15,8 +15,8 @@ permission:
|
||||
"rui-task-discovery": deny
|
||||
"rui-pr-fix-process": deny
|
||||
task:
|
||||
"rui-review-pr-focus": allow
|
||||
"*": deny
|
||||
"rui-review-pr-focus": allow
|
||||
model: anthropic/claude-sonnet-4-6
|
||||
temperature: 0.2
|
||||
---
|
||||
|
||||
@@ -14,9 +14,9 @@ permission:
|
||||
"rui-task-workflow": deny
|
||||
"rui-task-discovery": deny
|
||||
task:
|
||||
"*": deny
|
||||
"rui-review-pr": allow
|
||||
"rui-fix-pr": allow
|
||||
"*": deny
|
||||
model: anthropic/claude-sonnet-4-6
|
||||
temperature: 0.1
|
||||
---
|
||||
|
||||
@@ -23,10 +23,10 @@ docker run -it --rm \
|
||||
--user $(id -u):$(id -g) \
|
||||
--volume "${WORKDIR}:/app:z" \
|
||||
--volume "/home/skyblond/cleverthis/cleverrouter/workspace:/workspace" \
|
||||
--volume "/home/skyblond/opencode/agents:/home/devuser/.config/opencode/agentsro" \
|
||||
--volume "/home/skyblond/opencode/skills:/home/devuser/.config/opencode/skills:ro" \
|
||||
--volume "/home/skyblond/opencode/opencode.json:/home/devuser/.config/opencode/opencode.json:ro" \
|
||||
--volume "/home/skyblond/opencode/scripts:/external/opencode/scripts:ro" \
|
||||
--volume "/home/skyblond/opencode/agents:/home/devuser/.config/opencode/agents" \
|
||||
--volume "/home/skyblond/opencode/skills:/home/devuser/.config/opencode/skills" \
|
||||
--volume "/home/skyblond/opencode/opencode.json:/home/devuser/.config/opencode/opencode.json" \
|
||||
--volume "/home/skyblond/opencode/scripts:/external/opencode/scripts" \
|
||||
--env "OPENROUTER_API_KEY=${OPENROUTER_API_KEY}" \
|
||||
--env "OPENAI_API_KEY=${OPENAI_API_KEY}" \
|
||||
--env "ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY}" \
|
||||
|
||||
Reference in New Issue
Block a user