an-agent-loop-that-will-not-stop
The procedure as a graph, on its own page — zoom it, print it, send somebody the address. Back to the record for the steps, the trust panel and the provenance.
Procedure
The same procedure, read in order
- start start. Goes next to s1
- check Count the iterations that actually ran. Goes on_fail to s9; next to s2
- decision Past the budget, or stuck inside one call?. Goes if one_call to s9; if default to s3
- check Read what the last tools returned. Goes on_fail to s9; next to s4
- decision Could success be recognised at all?. Goes if ambiguous to s5; if default to s6
- action Make one tool say plainly that it worked, RW (reversible-write). Goes on_fail to s9; next to s6
- decision Is any tool's output crowding the window?. Goes if verbose to s7; if default to s8
- action Return less, and only what is used, RW (reversible-write). Goes on_fail to s9; next to s8
- action Give it a way to stop and ask, RW (reversible-write). Goes on_fail to s9; next to __end_success
- escalate Escalate with the trace. Terminal
- end success. Terminal