cleandataengineering.aiAgent Harness, drawn simply
You are here: End to end › Checks › 4 · Before the tool › hold writes

Agent Harness Tutorial · End to end · Zoom level 3

How we take care of it: hold writes

hold writes catches any write after a result that carried instructions.

Open: 11before loopopen ›Open: 22before modelopen ›Open: 33after modelopen ›Open: 44before toolopen ›Open: 55the toolopen ›Open: 66after toolopen ›Open: 77after loopopen ›Open: 88before replyopen ›It readswhether any earlier result thisturn carried instructionshold writesrule · harnesspassCarries onfailIf it failscall refusedWHERE IN THE CODE: H evals/screens.py:108-121
The strip at the top shows every check point where this check runs, in dark.

How we took care of it.

  1. If check point 6 flagged a result, every later write in this turn is refused until Rohan confirms.
It readswhether any earlier result this turn carried instructions
Kindrule
Provided byharness
If it failscall refused
Where in the codeH evals/screens.py:108-121
Runs at4 · Before the tool
Real exampleBelt and braces behind policyholder_asked.

More on this: 6 · After the tool.