Respect The Process - Andrew Dumit, Watershed Technology Inc.
Jul 7, 2026 · 16:43
Andrew Dumit of Watershed explains how to deploy coding agents for editing complex supply chain graphs in sustainability, arguing that in a domain rife with expert judgment calls, you must constrain the agent's effects through a typed SDK and deterministic execution while leaving its reasoning free. Unconstrained coding agents caused inconsistency, hallucination, and false reports—saying edits were made when they weren't—and made review impossible for non-coders. Their solution: a TypeScript SDK as the only way to edit graphs, plus a harness that lints agent code, catches conflicts, runs the script, and validates output artifacts, producing traceable, replayable edits. This approach improved accuracy from 43% to 92% on internal evals, with further gains from prompt improvements, few-shot examples, and breaking tasks into plan-and-execute loops. Even when the agent lands on a different expert answer, every change is valid and reviewable without reading code.