Build1 distinct publisher3 min readUpdated
Salesforce says builds, tests and reviews validate the diff, not the requirement. Its answer was a specification gate upstream of the code, plus a rule about which questions agents may answer.
The Engineer · Build desk
Compiled by The EngineerSomething wrong?How this is made
Salesforce says builds, tests and reviews validate the diff, not the requirement. Its answer was a specification gate upstream of the code, plus a rule about which questions agents may answer.
Salesforce's engineering team has published an account of what went wrong when it used AI coding agents to build an AI-powered mobile application designer: the agents wrote good code, and the team could not explain why it should be trusted [s1c5]. Its diagnosis is uncomfortable for anyone currently measuring agent output by merge rate, because it holds that the checks doing the measuring cannot see the failure mode.
The scenario the post describes is deliberately unremarkable. A large pull request arrives, the build passes, every automated test is green, code review finds no major issues, and the change is merged [s1c1]. Later the team finds that the agent quietly misinterpreted an ambiguous requirement early in the implementation, and every decision after that was internally consistent with the misreading [s1c2]. The tests validated the implementation and the reviewer approved the diff [s1c3]. Nothing in the process ever proved the interpretation was correct before the code reached production [s1c4]. Each of those gates takes the diff as its input, which is why a full sweep of green signals establishes agreement between the code and the agent's reading of the task, and says nothing about agreement between that reading and the requirement [s1d1].
The mechanism is that many paths lead from a requirement to the same visible result. An agent may add a utility that already exists, honour a framework convention while breaking a repository-specific one, or resolve an ambiguity without disclosing that it made a choice [s1c6]. Code can compile and still increase technical debt [s1c7]. That leaves the final reviewer reconstructing what happened before the diff existed: which assumptions were made, whether existing components were searched for, whether the tests encode intended behaviour or merely implemented behaviour [s1c8]. As agents produce larger changes, generation outpaces human review capacity [s1c9], and Salesforce's conclusion is that trust which cannot be reconstructed at the end has to start earlier [s1c10].
The fix is procedural rather than clever. Before implementation, the team required a specification stating required behaviour, measures of success, assumptions, unresolved questions and failure conditions [s1c11]. That document became the contract: the plan had to show how it fit the repository, the tests had to encode its success criteria, and reviewers could assess the code against the same definition of success [s1c12]. Salesforce calls this an agentic Spec-Driven Development workflow, structured as four phases with a gate that must pass at each [s1c13], [s1c14].
The interesting part is the second-order failure. Making the contract explicit surfaced so much uncertainty that the first version routed nearly every unresolved question to a person: whether a component existed, which utility performed an operation, which naming convention applied, which command ran the tests, why an earlier implementation was structured as it was [s1c15]. The human became a search service for the agents [s1c16]. Salesforce's split is between lookup, which has an evidence-based answer recoverable from code, docs, tests or history, and judgment, which requires a decision that evidence cannot supply, such as which user experience is preferable or whether a compatibility break is acceptable [s1c17]. Agents resolve the first; humans decide the second [s1c18].
Watch the loose end the post names itself: once an agent answers its own lookup questions, you need a way to know it found something real [s1c19]. A specification gate that agents populate with their own unverified findings recreates the original problem one layer up.
Follow any of these and your For You feed starts watching them — no settings page required.
Ranked by verification strength, evidence, and original report placement.
Separating lookup from judgment reduced interruptions but raised a further question: if an agent answers its own lookup questions, how do you know it found something real.
In the scenario described, an AI coding agent generates a large pull request: the build passes, every automated test is green, code review finds no major issues, and the change is merged.
The team later discovers the agent quietly misinterpreted an ambiguous requirement near the beginning of the implementation, and every decision that followed was internally consistent.
The tests validated the implementation and the reviewer approved the diff; the code did exactly what the agent believed the requirement asked for.
Nothing in the engineering process ever proved the agent's interpretation was correct before the code reached production.
At Salesforce, the team encountered this challenge while using AI coding agents to develop an AI-powered mobile application designer; the agents could generate code remarkably well, and the challenge was determining why the AI-generated code should be trusted.
Evidence-backed comparisons of source perspectives and observed adoption signals. Read the methodology
Which Builder, Operator, and Investor concerns the observed source mix emphasized—not a truth score.
Evidence, demonstrated adoption, hype gap, incentives, and confidence are assessed independently, each on its own current evidence. How these are measured.
Detailed first-party process account, zero measurement
The single source is a careful, internally consistent practitioner narrative that describes its own reasoning chain and admits what each stage does not prove, which supports the conceptual claims well. But it is one publisher describing its own work, with no metrics, no baseline, no scope disclosure and no independent corroboration, so the causal claim that the workflow produces trustworthy agent output rests entirely on assertion.
One internal team, no external uptake shown
Adoption evidence is limited to a single Salesforce engineering team applying agents and the SDD gates to one internal project. No other teams, organisations, tools, licences or usage figures appear, and the workflow is described as still evolving through revisions.
Mildly overstated: prescription outruns proof
The framing that specification gates and a lookup/judgment rule deliver engineering trust is presented more confidently than the evidence supports, since the only reported outcome is an unmeasured drop in interruptions from one team. The overstatement is modest rather than severe because the article repeatedly discloses the limits of each stage and never claims the problem is solved.
Vendor engineering-brand publishing about its own practice
The account is published on Salesforce's own engineering blog and describes Salesforce's internal method and product work, so there is a clear reputational interest in the workflow appearing rigorous and in Salesforce appearing competent at agentic engineering. The incentive is credibility-building rather than direct product promotion: no Salesforce commercial offering, price or purchase path is advanced in the supplied text.
Reasoning is solid, outcomes unverified
Confidence is moderate: the descriptive claims about what Salesforce did and the analytical claim about what green signals prove are reliable and hard to dispute, but the effectiveness claims cannot be checked from a single self-reported source with no metrics or external corroboration, and the workflow is described as still being revised.
build
The reason your agent gets worse after an hour is that nothing ever leaves the context window1 distinct publisher
build
Context rot at 15 iterations: two toolkits that move the spec into Git1 distinct publisher
build
Notion's agent stack is live, not slideware, and it only changes one of your decisions1 distinct publisher
build
2,513 tool calls, zero refactorings: what agents actually do when you ask them to refactor1 distinct publisher
Distinct publishers with included, body-backed reporting in this cluster.
1 article · August 20, 2026