Answer architecture round 1: 1 🔴, 21 🟡 (0 misread); skip the routing call where no development clone exists, name the judge's rules the setup's, record two accepted trade-offs, and update stale plan paths

This commit is contained in:
2026-12-04 10:19:24 +01:00
parent b568445ed8
commit 9450017fd3
15 changed files with 53 additions and 33 deletions
+2 -2
View File
@@ -60,10 +60,10 @@ FINISHED_RULES = (
"The chunk is the piece of work the worker is on, shipped as one pull request.\n\n"
"finished=true when the chunk is complete: merged, or nothing remains that the worker could do on "
"its own. Even then, it is finished only once {answers_recorded}.\n\n"
"An answer counts as recorded where the premises or the records above already hold it, the human's rules "
"An answer counts as recorded where the premises or the records above already hold it, the setup's rules "
"(the setup's CLAUDE.md, the setup's rules/, the project's review standards, each headed by its name) included. "
"It also counts where the transcript shows the worker writing it into {answer_destinations}, "
"but not into one of the human's rules.\n\n"
"but not into one of the setup's rules.\n\n"
"finished=false when work remains that a further run can "
"continue: an open PR, a review not yet run, CI not yet reported, an answer not yet recorded."
)
+1 -1
View File
@@ -196,7 +196,7 @@ class JudgePrompt(unittest.TestCase):
def test_the_judge_prompt_names_the_entry_points_answer_destinations_in_both_rules_on_a_recorded_answer(self):
prompt, _ = judge.judge_prompt(self.brief([assistant({"type": "text", "text": "done"})], 0, "the ledger"))
self.assertIn("is recorded in the ledger at the one place it governs", prompt)
self.assertIn("the worker writing it into the ledger, but not into one of the human's rules", prompt)
self.assertIn("the worker writing it into the ledger, but not into one of the setup's rules", prompt)
def test_shows_the_judge_where_the_worker_last_stepped_up_and_checks_an_escalation_only_after_it(self):
entries = [assistant({"type": "text", "text": "round 2: 🔴"}), assistant({"type": "text", "text": "round 3: 🔴"})]