Skip to content

Make attachments accessible to task's Claude#61

Merged
bborn merged 1 commit intomainfrom
task/133-when-attachments-are-added-to-a-task-the
Jan 9, 2026
Merged

Make attachments accessible to task's Claude#61
bborn merged 1 commit intomainfrom
task/133-when-attachments-are-added-to-a-task-the

Conversation

@bborn
Copy link
Copy Markdown
Owner

@bborn bborn commented Jan 9, 2026

Summary

  • Fix attachment prompt to reference "Read tool" instead of "View tool" (Claude Code uses Read, not View)
  • When retrying a task with attachments while the Claude session is alive, write attachment files to .task-attachments directory and include paths in feedback sent to Claude
  • Add tests for attachment functionality

Test plan

  • Verify tests pass (go test ./internal/executor/...)
  • Create a task with attachments and verify Claude can read them
  • Add attachments during a retry and verify Claude receives the file paths

🤖 Generated with Claude Code

- Fix attachment prompt to reference "Read tool" instead of "View tool"
  (Claude Code uses Read, not View)

- When retrying a task with attachments while the Claude session is alive:
  - Write attachment files to .task-attachments directory in worktree
  - Include attachment file paths in the feedback sent to Claude
  - This ensures Claude can access newly added attachments without
    requiring a session restart

- Add tests for attachment functionality

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@bborn bborn merged commit c46bd95 into main Jan 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant