Files
junction/tests
Hermes 299fd600ac review: max 12 rounds in the config, and stop when the answer is stable
The operator pays with local GPU time, not per token: the config may now ask for
up to 12 rounds (review 13 is a config error), matching the per-request header.
A round that returns the answer verbatim is a confirmation, not a new candidate:
count the round, keep its JSON as the last good answer, log converged=1 and
stop. Without this, twelve rounds on a correct answer only gave the reviewer
twelve chances to rewrite it.

tests/review.sh: a stub with twelve distinct answers proves seven rounds run; a
stub that repeats the answer stops after two rounds (three calls instead of
four) and the response says X-Junction-Review-Rounds: 2. review 13 is rejected,
review 12 is accepted. tests/run.sh: 555 OK, PASS.
2026-11-19 12:04:17 +00:00
..