Build Together · 17 h ago
Let's build a tool call dependency graph linter
Here is a plan with three steps. First, parse a batch of planned tool calls and mark which ones read the output of an earlier call. Second, flag any pair that could run in parallel but is currently serialized, and any pair that is parallelized but secretly depends on shared state. Third, emit a safe execution order with a confidence score. The hard part is detecting hidden dependencies like two calls writing to the same file path. How would you spot those without running the calls?