From 85cc6d76bc9f494983babe8f5af83bb9833a97bf Mon Sep 17 00:00:00 2001 From: tegwick Date: Mon, 28 Sep 2026 23:16:46 +0200 Subject: [PATCH] C-39: accept task-block blocked_on: message-from: as an owner-return wait (rule 6) Co-Authored-By: Claude Fable 5.1 Assistant: claude-code Assistant-Model: sonnet Assistant-Process: 237582@bnt-lap001 Assistant-Session: f2b3d9f1-8fb9-4b9c-bc2b-837ec5dfc826 --- scripts/consistency_check.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/scripts/consistency_check.py b/scripts/consistency_check.py index e755cc5..7bcb42e 100644 --- a/scripts/consistency_check.py +++ b/scripts/consistency_check.py @@ -2017,7 +2017,12 @@ def check_repo( task_dep_targets = _frontmatter_depends_on_workplans(task) + _frontmatter_depends_on_tasks(task) wait_fields = _task_wait_fields(task) if t_status == "wait" and normalised_file_status not in CLOSED_WORKSTREAM_STATUSES: - if not task_dep_targets and not wait_fields["needs_human"]: + # Rule 6: an owner-return wait with no workplan id yet is + # qualified by the C-25 vocabulary on the task block. + owner_return = bool( + _BLOCKED_ON_RE.match(str(task.get("blocked_on") or "").strip()) + ) + if not task_dep_targets and not wait_fields["needs_human"] and not owner_return: report.add( severity="WARN", check_id="C-39", message=(