Q116: a task without file access cannot write files, and its prompt says to use documents

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ZacharyZhang-NYandClaude Opus 5.5 committed 2026-10-08 19:00:42 -04:00
1 parent 938c8cad79
commit d67996fd25
5 files changed
+29 -4

No files matched your search

+3
View File
@@ -226,6 +226,9 @@ describe("agent instruction wiring", () => {
expect(capturedPrompt).toContain("Tell your manager the plan in a direct message.");
expect(capturedPrompt).not.toContain("#general");
expect(capturedPrompt).not.toContain("Then do the work: write real output");
// A task without file access plans in a document; it is never told to write files.
expect(capturedPrompt).toContain("write the initial operating plan as a document (create_document)");
expect(capturedPrompt).not.toContain("(write_deliverable)");
connection.close();
});
});