mirror of
https://mirror.skon.top/github.com/code-yeongyu/oh-my-opencode
synced 2026-04-30 10:40:24 +08:00
fix(athena): grant athena_council tool to athena primary agent
Council tools (prepare_council_prompt, council_finalize, athena_council) are globally disabled and only re-enabled for athena and athena-junior. Athena was missing athena_council — now both agents have symmetric access. Also fix parity test to include council_finalize and athena_council in ATHENA_HANDLER_GRANTS for complete coverage.
This commit is contained in:
@@ -34,7 +34,7 @@ const COUNCIL_MEMBER_ALLOWLIST = [
|
||||
]
|
||||
|
||||
// Tools granted to Athena by tool-config-handler.ts (not in deny-list, not in AGENT_RESTRICTIONS)
|
||||
const ATHENA_HANDLER_GRANTS = ["task", "prepare_council_prompt"]
|
||||
const ATHENA_HANDLER_GRANTS = ["task", "prepare_council_prompt", "council_finalize", "athena_council"]
|
||||
|
||||
describe("agent tool restrictions parity", () => {
|
||||
describe("given Athena restrictions", () => {
|
||||
|
||||
Reference in New Issue
Block a user