Skip to main content

Module judge

Module judge 

Source
Expand description

The judge: one Haiku call through the ambient gateway that reads a supervised agent’s recent conversation and says whether to keep it going. Spec §3.3.

Structs§

Judgement
A verdict the judge gave, in the reply format.

Enums§

Outcome
What a judgement call came to.

Constants§

TEXT_MAX_CHARS
The longest reason or next step kept from a reply.

Functions§

build_prompt
The prompt for one judgement.
judge
Ask the judge about block_id’s turn. generation must increase per pane.
parse_answer
Read an answer (the text after ANSWER:) as a judgement; None when it is not in the form <verdict> | <reason> | <next>.