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:
ismeth
2026-03-03 16:35:58 +01:00
committed by YeonGyu-Kim
parent 30cf71a845
commit c384fd0a02

View File

@@ -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", () => {