test(athena): add tests for intent addendums, hook enforcement, restriction parity, and council prompt regression

This commit is contained in:
ismeth
2026-02-27 16:46:38 +01:00
committed by YeonGyu-Kim
parent 6b450b42db
commit da446979f6
5 changed files with 279 additions and 3 deletions
@@ -14,7 +14,7 @@ import { getAgentToolRestrictions } from "./agent-tool-restrictions"
// Surface 1: Athena deny-list from src/agents/athena/agent.ts
// createAgentToolRestrictions(["write", "edit", "call_omo_agent"])
const ATHENA_DENY_LIST = ["write", "edit", "call_omo_agent"]
const ATHENA_DENY_LIST = ["call_omo_agent"]
// Surface 3: Council-member allowlist from src/agents/athena/council-member-agent.ts
// createAgentToolAllowlist([...])
@@ -7,8 +7,6 @@ describe("agent-tool-restrictions", () => {
//#when
const restrictions = getAgentToolRestrictions("athena")
//#then
expect(restrictions.write).toBe(false)
expect(restrictions.edit).toBe(false)
expect(restrictions.call_omo_agent).toBe(false)
})