Skip to content

fix(server): build create_threads failure messages from error tags

MacroscopeApp / Macroscope - Effect Service Conventions completed Sep 22, 2026 in 4m 48s

Effect Service Conventions: 1 issue found

  • apps/server/src/mcp/toolkits/orchestrator/handlers.ts: Error translation discards the immediate underlying cause instead of preserving the typed cause chain.

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.

Reviewed 1 of 7 changed files β€” those modified since 02a3a3d β€” each against the merge base


πŸ” Agent activity β€” 4 tool calls

1. browse_code β€” Inspect the definition and schema of OrchestratorMcpFailure and comparable MCP error translation patterns. Determine whether OrchestratorMcpFailure supports a cause field and whether handlers.ts's orchestrationError mapper can preserve the underlying OrchestrationDispatchError as cause without changing the public serialized contract. Also inspect Effect service convention docs if present.

2. modify_pr β€” Submitted review with 1 inline comment

3. modify_pr β€” Effect Service Conventions found 1 blocking issue in apps/server/src/mcp/toolkits/orchestrator/handlers.ts: the normalized error translation still discards the immediate underlying cause. See the inline review comment.

4. modify_pr β€” Minimized comment (resolved)


Agent Credits: 55 credits

Token usage: 42 uncached input Β· 260,833 cache-read input Β· 66,159 cache-write input Β· 4,206 output
Agent Credits may also include non-token charges from external tools such as web research.