Return a typed verdict from the judge
This commit is contained in:
@@ -8,7 +8,6 @@ The rebuild lifts every dimension, one chunk per item, until the last item opens
|
||||
|
||||
The places the panel on `rebuild` at 7f9de5c named (`docs/decisions.md`), capping dimension first:
|
||||
|
||||
- **Return a typed verdict from `judge`, so `cycle.py` reads its fields and only `judge.py` knows the schema's keys.** Three seats: `judge_through_interrupts` indexes a dict that only `incomplete` checked.
|
||||
- **Make `mark_trusted` return the updated `~/.claude.json`, so `trust` writes what it was handed and `formats.py` mutates nothing.** Three seats: `trust_records` `setdefault`s into the config and `trust` writes `data` changed through an alias.
|
||||
- **Make `decode_state` check the fields' types without relying on the annotations being runtime types.** Two seats: `from __future__ import annotations` in `main.py` would fail every reload.
|
||||
- **State once, in `outcome.py`, that a `Failure` is retried and a `Stop` exits.** Three seats inferred it from `run_loop`.
|
||||
|
||||
Reference in New Issue
Block a user