Watch
0
0
Fork
You've already forked hyperhive
0
hyperhive/swarm-review-classifier/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
atlas ce7b3e055f review-classifier: ask a check once more when its answer isn't valid JSON
An answer that fails to validate is asked for a second time, for that
classification only, with a reminder to reply with the JSON object alone.
The second ask comes out of the classification's CLASSIFICATION_DEADLINE:
it gets what the first ask left, and is skipped when less than 20 seconds
remain, so RUN_DEADLINE's bound still holds. A failed ask (runtime error,
timeout) is not repeated. If the second answer does not validate either,
the row has no answer, as before.

Model::ask takes the deadline for the ask; the ACP runtime no longer holds
its own.

The parser also takes the first fenced block of a reply that has prose
around the fence; prose around a bare object is still rejected.
2026-10-16 16:55:07 +02:00
..
acp.rs review-classifier: ask a check once more when its answer isn't valid JSON 2026-10-16 16:55:07 +02:00
aggregate.rs swarm-review-classifier: answer a try-out with one claude run per classification 2026-10-12 13:11:21 +02:00
answer.rs review-classifier: ask a check once more when its answer isn't valid JSON 2026-10-16 16:55:07 +02:00
child_env.rs review classifier: run on ACP when the swarm settings choose it 2026-10-14 10:14:36 +02:00
cost.rs review classifier: commit shas and index lines stay out of the prompt 2026-10-14 13:52:36 +02:00
main.rs review-classifier: ask a check once more when its answer isn't valid JSON 2026-10-16 16:55:07 +02:00
prompt.rs review-classifier: ask a check once more when its answer isn't valid JSON 2026-10-16 16:55:07 +02:00
run.rs review-classifier: ask a check once more when its answer isn't valid JSON 2026-10-16 16:55:07 +02:00