diff --git a/tests/control_plane/test_replan_successor_durable_ack.py b/tests/control_plane/test_replan_successor_durable_ack.py index 48643dd27f..703b15b7a6 100644 --- a/tests/control_plane/test_replan_successor_durable_ack.py +++ b/tests/control_plane/test_replan_successor_durable_ack.py @@ -52,6 +52,8 @@ def test_cli_successor_refresh_resets_periodic_window(tmp_path: Path, capsys) -> registry = tmp_path / "registry.json" registry.write_text(json.dumps({"common_runtime_root": str(runtime), "goals": [{ "id": GOAL, "status": "active", "repo": str(project), "state_file": state.name, + # Exercise the periodic-history window instead of the live machine default. + "execution_profile": {"replan_after_completed_todos": 1}, "coordination": {"agent_model": "peer_v1", "registered_agents": [AGENT]}, }]})) obligation = autonomous_replan_obligation_from_runs(runs, agent_todos={}, agent_id=AGENT) diff --git a/tests/control_plane_ts/authority_projection_fixture.ts b/tests/control_plane_ts/authority_projection_fixture.ts index ca5b193c48..38e1851cd6 100644 --- a/tests/control_plane_ts/authority_projection_fixture.ts +++ b/tests/control_plane_ts/authority_projection_fixture.ts @@ -36,6 +36,8 @@ export function todoFixtureRecord( delete domainInput.schema_version; delete domainInput.source_section; delete domainInput.index; + // Content revision is read-model selection metadata, not a persisted Todo field. + delete domainInput.content_revision; const domain = canonicalTodoDomainRecord({ ...domainInput, schema_version: TODO_DOMAIN_ITEM_SCHEMA,