fix(claude): preview images read from the workspace - #9119
Effect Service Conventions: All clear
All clear
Details
Note
Your check run agent prompt is: .macroscope/check-run-agents/effect-service-conventions.md
More information about how Check Run Agents work can be found in our Help Center.
🔍 Agent activity — 2 tool calls
💭 I'm scanning the diff for Effect service convention violations, checking whether the changes to threadActivity.ts, ActivityPayloadProjection.ts, and ClaudeAdapter.ts stay within pure helper functions and presentation logic, and confirming the new import of isWorkspaceImagePreviewPath is just a named pure helper. The remaining changes in session-logic.ts and work-log/presentation.ts also look like pure logic, and there's no sign of new Effect service definitions, errors, or ManagedRuntime usage anywhere. I'm now double-checking the ClaudeAdapter.test.ts imports for Random, Fiber, Effect, and Stream to confirm they're already established in the file and that the new Schema.encodeSync usage is properly imported.
1. browse_code — apps/server/src/provider/Layers/ClaudeAdapter.test.ts
2. browse_code — apps/server/src/orchestration/ActivityPayloadProjection.ts
💭 I don't see any Effect service violations here—these changes are just helper functions, presentation logic, and tests, all outside the scope of the conventions. Since the response needs to be JSON per the schema despite the instruction to say "All clear," I'll structure it with a success state and reflect "All clear" in the title and summary.
Agent Credits: 28 credits
Token usage: 4 uncached input · 32,681 cache-read input · 35,336 cache-write input · 985 output
Agent Credits may also include non-token charges from external tools such as web research.