The world’s first unified interface for agent harnessesOpen Source4.6kPowered by UHP

InsightsNov 27, 20263 min read

A tricky agent interview question: what crossed the edge?

A clean diff and passing tests can still miss the ticket. Richard explains how edge contracts change what crosses between the writer and reviewer agents.

Richard's original animation shows a reviewer approving a refund bug, then rejecting it when the ticket, evidence and assumptions cross the edge.

A tricky agent interview question

Originally shared on X and LinkedIn on November 27, 2026. The refund example below is illustrative; the original animation is preserved.

A tricky agent interview question:

Codex writes the code. Claude Code reviews every diff before merge.

The ticket says refunds are allowed within 30 days of delivery. Codex counts from the order date. All 14 of its tests pass. The reviewer approves.

Paste the ticket and the diff into a fresh Claude chat, and it finds the bug in seconds.

Same model. Why did it approve the bug in the pipeline?

(answer below)

The reviewer isn't the problem. The edge between the two agents is.

Look at what crossed it, and what didn't:

1) The writer's claim crossed.

The diff arrived with "Done. All 14 tests pass."

Models lean toward agreeing with a confident framing. Anthropic measured this in 2023: five AI assistants tailored their feedback to what the person asking appeared to believe. A writer's summary puts the reviewer in the same spot.

And those 14 tests came from the same agent, with the same wrong assumption. They test the writer's understanding, not the ticket.

2) The ticket didn't.

The reviewer got the diff, so it answered "is this good code?" A diff can be clean and still wrong.

In the fresh chat, you pasted the ticket, so it answered "does this do what was asked?"

3) The reviewer couldn't send it back.

Its verdicts were approve or comment. In a pipeline that has to finish, approve is the only exit.

So a smarter reviewer won't fix this. An edge contract will: a rule for what must cross between agents.

Here's how it works:

→ The spec crosses: the ticket and its acceptance criteria travel with the diff.

→ Evidence crosses, claims don't: drop the writer's summary. The reviewer re-runs the tests itself and adds at least one test written from the ticket.

→ Assumptions cross: the writer lists what it assumed ("30 days from the order date"). That one line exposes this bug.

→ The receiver decides: "send back" is a real verdict, and it must carry a failing test. "Approve" must name the criteria it checked.

Here, the reviewer adds one test from the ticket: delivered Mar 20, refund asked Apr 10. It fails, and the diff goes back with the reason attached.

(The refund example is illustrative.)

Same model, same diff, two verdicts. What crosses the edge decides the review.

This is graph engineering at its smallest: two harnesses, one edge. Swapping in a stronger reviewer never fixes an edge that drops the spec.

I wrote about why the edges between agents, not the agents, are becoming the bottleneck. Read it below.

→Next

Inspect what crosses between agent runs

Run supported harnesses through HarnessRouter and use task traces to inspect their execution.