Summary
9 control-plane tests fail on current main (verified at 943b4976, and also at 0e1aa649). They are unrelated to any open PR I'm aware of — surfacing separately so they don't get mistaken for regressions in other work.
Failing tests (9)
tests/control_plane/test_replan_evidence_tool_behavior.py (8):
test_real_tool_loop_observes_production_evidence_log_intent
test_tool_loop_accepts_a_bounded_evidence_read_plan
test_tool_loop_accepts_supplemental_replan_observation_intent
test_tool_loop_rejects_state_change_bundled_with_evidence
test_tool_loop_rejects_unsafe_command_bundled_with_evidence
test_tool_loop_accepts_the_real_host_utc_clock_shape
test_tool_loop_allows_distinct_normal_workspace_preflight_reads
test_tool_loop_rejects_generic_or_wrong_evidence_read
tests/control_plane/test_actual_default_model_behavior_portfolio.py (1):
test_portfolio_real_tool_scenarios_choose_from_latest_quota_result
Repro
pytest tests/control_plane/test_replan_evidence_tool_behavior.py \
tests/control_plane/test_actual_default_model_behavior_portfolio.py -q
# -> 9 failed, 18 passed
Root cause (diagnosis)
loopx/control_plane/runtime/agent_scoped_evidence_log.py:272 appends --required-read-id <id> to the evidence-log required-read command when a required_read_id is present:
if safe_required_read_id:
parts.extend(["--required-read-id", safe_required_read_id])
The replan/portfolio scenarios build/expect the evidence-log required-read command without --required-read-id, so the parity/drift check raises and the turn resolves as quota_execution_failed, preempting the classification each test asserts (e.g. qualification_passed is True, or wrong_evidence_log / unexpected_command).
Notes
Summary
9 control-plane tests fail on current
main(verified at943b4976, and also at0e1aa649). They are unrelated to any open PR I'm aware of — surfacing separately so they don't get mistaken for regressions in other work.Failing tests (9)
tests/control_plane/test_replan_evidence_tool_behavior.py(8):test_real_tool_loop_observes_production_evidence_log_intenttest_tool_loop_accepts_a_bounded_evidence_read_plantest_tool_loop_accepts_supplemental_replan_observation_intenttest_tool_loop_rejects_state_change_bundled_with_evidencetest_tool_loop_rejects_unsafe_command_bundled_with_evidencetest_tool_loop_accepts_the_real_host_utc_clock_shapetest_tool_loop_allows_distinct_normal_workspace_preflight_readstest_tool_loop_rejects_generic_or_wrong_evidence_readtests/control_plane/test_actual_default_model_behavior_portfolio.py(1):test_portfolio_real_tool_scenarios_choose_from_latest_quota_resultRepro
Root cause (diagnosis)
loopx/control_plane/runtime/agent_scoped_evidence_log.py:272appends--required-read-id <id>to the evidence-log required-read command when arequired_read_idis present:The replan/portfolio scenarios build/expect the evidence-log required-read command without
--required-read-id, so the parity/drift check raises and the turn resolves asquota_execution_failed, preempting the classification each test asserts (e.g.qualification_passed is True, orwrong_evidence_log/unexpected_command).Notes
0e1aa649with an unrelated feature branch excluded.git diffagainst the base is empty forcontrol_plane/quota,control_plane/runtime/agent_scoped_evidence_log.py, and the two test files).--required-read-id" (vs. a production change).