fix: show the Orchestrator a validation only while it stands
After deployment guidance was reopened, the Orchestrator's context still carried the previous validation's verdicts, so it reopened the code for the same Check three times without a validation in between (evaluation run of 2026-10-07, case 01). Record that run in the iteration 6 plan. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -607,6 +607,9 @@ async def test_the_orchestrator_is_told_what_validation_decided(tmp_path):
|
||||
{"check": "K-1", "evidence": "min instances is 1"}
|
||||
]
|
||||
assert after["validation"]["proposed_additions"] == []
|
||||
# Once the code is reopened those verdicts are about work that no longer exists,
|
||||
# so the next turn must not see them and reopen the same thing again.
|
||||
assert turns[8].task.context["validation"] is None
|
||||
# Revising the code leaves the approved design standing.
|
||||
phases = result.state["ledger"]["phases"]
|
||||
assert phases["solution_architecture"] == "approved"
|
||||
|
||||
Reference in New Issue
Block a user