Keep historical split views from writing their parent's row.
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 1s
Build and Publish Multi-Context Image / build-and-push (push) Successful in 43s

C-04 ran once per file, so the three custodian-WP-0003 views and their archived parent flipped the shared row's status on every run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Assistant: claude-code
Assistant-Model: opus
Assistant-Process: 57383@bnt-lap001
Assistant-Session: ef71febe-2a37-4c34-a979-2508ca973c91
This commit is contained in:
tegwick 2026-10-06 11:06:29 +02:00
parent b81c084dc3
commit 2b5d8f90f8
3 changed files with 66 additions and 1 deletions

View file

@ -2585,3 +2585,16 @@ def test_task_owner_return_sweep(tmp_path, monkeypatch, read_at, date, flavor, s
if expected:
assert report.issues[0]._fix_context == {"task_record_id": "DEMO-WP-0001-T01", "message_ids": ["reply-1"]}
assert queries[0]["unread_only"] is False
def test_historical_split_views_do_not_supply_parent_status():
from scripts.consistency_check import historical_view_paths
views = historical_view_paths("activity-core")
assert views == {
"workplans/custodian-WP-0003a-event-bridge-model-rules-registry.md",
"workplans/custodian-WP-0003b-event-bridge-parser-workflow-triggers.md",
"workplans/custodian-WP-0003c-event-bridge-context-integration.md",
}
assert "workplans/archived/260707-custodian-WP-0003-event-bridge.md" not in views
assert historical_view_paths("the-custodian") == set()