How do I know whether an AI agent built the right thing?

Ask three separate questions. Was this the right problem to solve? Does the change do what its requirements ask? Is the code safe and easy to maintain? Passing tests answer only part of the second and third.

Keep three separate verdicts.

Product fit compares the work with your strategy, your goals, the customers you serve, and their problems. Requirement fit compares the code with what the ticket asks for. Engineering quality judges the code itself.

Keep them apart. Well-written code can solve the wrong problem. A change that fits the strategy can still break an interface other code depends on.

  • Right problem Trace the work to the customers it serves and a problem they still have. Then confirm that nothing above it disagrees.
  • Right behavior Match each requirement to a test, a static check, or a reviewer's decision.
  • Right implementation Review security, reliability, maintainability, and repository conventions.

Check the final pull request.

An agent can start from current decisions and finish after they change. Before you merge, check the final version of the pull request against what you decided.

Helen's Foundry links each pull request to its ticket and the decisions above it. Helen's flags say what went wrong: a missing link, a goal that contradicts the strategy above it, or work built on a decision you closed.

Do not reduce it to one score.

One combined score can hide the single failure that matters. Keep flags that should stop work apart from advice and from checks that could not run.

See what Helen flags in your own plans.

Plans start at $20 a month.