delegate-task: block prometheus task delegation

This commit is contained in:
YeonGyu-Kim
2026-04-10 13:42:53 +09:00
parent e86b4f4c2b
commit c173fa8f24
7 changed files with 33 additions and 16 deletions
+2 -2
View File
@@ -4105,7 +4105,7 @@ describe("sisyphus-task", () => {
expect(promptBody.tools.task).toBe(true)
}, { timeout: 20000 })
test("prometheus subagent should have task permission (plan family)", async () => {
test("prometheus subagent should NOT have task permission", async () => {
//#given
const { createDelegateTask } = require("./tools")
let promptBody: any
@@ -4131,7 +4131,7 @@ describe("sisyphus-task", () => {
)
//#then
expect(promptBody.tools.task).toBe(true)
expect(promptBody.tools.task).toBe(false)
}, { timeout: 20000 })
test("non-plan subagent should NOT have task permission", async () => {