Answer prose round 1: 0 🔴, 3 🟡; state that a later ruling carries no second escalation, split the long sentences, and say rung

This commit is contained in:
2026-10-17 22:15:59 +02:00
parent e8898534c1
commit 7a30b818b7
4 changed files with 9 additions and 9 deletions
+3 -3
View File
@@ -40,7 +40,7 @@ class Cycle:
anchor: Rung | None
# Empty when the previous cycle's verdict was not Unfinished.
unfinished_evidence: str
# The route changes within a cycle only as an interrupt carries an escalation, and no transition reads it or the fields below, so they stay out of the states.
# Only an interrupt's escalation changes the route within a cycle. No transition reads the route or the fields below, so they stay out of the states.
# The route that interrupt left, for ask to archive; None unless the latest event stepped the route up.
stepped_from: Route | None = None
# Whether an interrupt of this cycle took an escalation, after which no ruling of the cycle carries one.
@@ -144,7 +144,7 @@ def rule(cycle: Cycle, transcript_path: str) -> Ruled | Stop:
def unspent(verdict: Verdict, spent: bool) -> Verdict:
"""The verdict without its escalation once an interrupt of the cycle took one. The judge may quote another passage for the trigger that stepped the route, which no comparison of quotes can tell, so one trigger buys one step. It lives here, not in judge.quotes_checked, since it reads the cycle, and judge-replay replays the judge alone."""
"""The verdict without its escalation once an interrupt of the cycle took one. The judge may quote a different passage for the trigger that already stepped the route, and no comparison of quotes tells the two apart, so one trigger buys one step. It lives here, not in judge.quotes_checked, since it reads the cycle, and judge-replay replays the judge alone."""
if spent and isinstance(verdict, Interrupt | Unfinished) and verdict.escalation:
return dataclasses.replace(verdict, escalation="")
return verdict
@@ -160,7 +160,7 @@ def keep_rejection(cycle: Cycle, transcript_path: str, rejected: Rejected) -> St
def ask(cycle: Cycle, transcript_path: str, ruling: Interrupt | QuotedAnswer) -> HumanAnswered | Stop:
question = question_for(ruling)
# Archived now, so the transcript the question was asked on is kept with it; the human's answer then grows the transcript.
# The interrupt names the rung the worker ran on until it, and a step-up then the rung it runs on from it, so the figures charge each stretch to its own rung.
# The interrupt names the rung the worker ran on before it; a step-up archived after it names the stepped rung, so the figures charge each stretch to its own rung.
interrupted = outcomes.interrupted(question, ruling.evidence, str(judge_of(cycle)), ruling.escalation if isinstance(ruling, Interrupt) else "", str(cycle.stepped_from or cycle.route))
for outcome in (interrupted, outcomes.stepped_up(str(cycle.route))) if cycle.stepped_from else (interrupted,):
if failure := archive(cycle.project_archive, transcript_path, cycle.task, outcome, cycle.effects.now()):
+3 -3
View File
@@ -81,9 +81,9 @@ E + I, or the routed item's (Route.reviewed_on in bin/model_routing/route.py). A
scale counts as none. Every second unfinished verdict on a chunk steps it up one rung
(routing.stepped). So does an unfinished verdict on a worker that ended its run asking for a
higher rung, once the judge quotes the transcript showing that the escalation trigger it named
fired (~/.claude/CLAUDE.md → "Working with the codebase" lists them); an interrupt with such a quote
steps the rung as it comes in, before the human is asked, and no later ruling of that cycle steps it
again (routing.stepped_by_interrupt). That step stops two rungs
fired (~/.claude/CLAUDE.md → "Working with the codebase" lists them). An interrupt with such a quote
steps the rung as it comes in, before the human is asked (routing.stepped_by_interrupt), and no later
ruling of that cycle carries a second escalation. Either step stops two rungs
above the rung the chunk's item picks, and the worker's prompts offer it only while the worker is
below that limit. Each finished or unfinished verdict, interrupt, stop and step-up in the archive names the
worker's rung, with the item, L and E + I that routed the chunk, and any taken-in E + I that picks a