Q38: the prompt names skill tools the run cannot call, not a fake allowlist

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ZacharyZhang-NYandClaude Opus 5.5 committed 2026-10-08 07:14:41 -04:00
1 parent e726c36bac
commit f7530ba65b
4 files changed
+21 -5

No files matched your search

+2 -1
View File
@@ -135,7 +135,8 @@ describe("task execution service", () => {
expect(capturedPrompt).toContain("Execution context:");
expect(capturedPrompt).toContain("Secret scope:");
expect(capturedPrompt).toContain("Skills you carry this run");
expect(capturedPrompt).toContain("Tool allowlist:");
expect(capturedPrompt).not.toContain("Tool allowlist");
expect(capturedPrompt).toContain("Your skills name tools you do not have in this run: file_search. Work without them, and say so if that blocks the task.");
expect(state.auditEvents.some((event) => event.entityType === "task_run" && event.action === "completed")).toBe(true);
rmSync(skillDir, { recursive: true, force: true });
connection.close();