Waits attach to any record, not just findings

Adopting a rule is nobody's finding; neither is registering a canon kind
or publishing a document. Each obligation that lived outside the
mechanism was invisible to it. RISK-WP-0001 now carries both of its
custodian waits, and the escalation-rule one has the register's most
uncomfortable default pointed inward: unadopted by 2026-09-17 means
recorded as de facto in force but unratified, said on the face of every
escalation sent under it. A draft that quietly governs is exactly what
this register exists to notice.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
tegwick 2026-08-20 23:18:52 +02:00
parent 9a22a2adc5
commit 3a0ba5d427
6 changed files with 54 additions and 8 deletions

View file

@ -124,8 +124,9 @@ def main() -> int:
# Waits: typed, dated, and defaulted (docs/method/dependencies.md).
waiting, due_defaults, deep = [], [], []
# A closed finding can still owe something — RISK-F-0001 is `fixed` and
# still waiting on its publication entry. Waits outlive statuses.
with_waits = [f for f in lib.findings() if f.get("waiting_on")]
# still waiting on its publication entry. Waits outlive statuses, and they
# are not a findings-only idea: adopting a rule is nobody's finding.
with_waits = lib.records_with_waits()
waiting_ids = {f["id"] for f in with_waits}
for f in with_waits:
for w in (f.get("waiting_on") or []):

View file

@ -86,6 +86,19 @@ def regulatory() -> list[dict]:
key=lambda r: r.get("id", ""))
def workplans() -> list[dict]:
"""Workplans carry waits too — adoption of a rule is nobody's finding."""
d = REPO / "workplans"
if not d.exists():
return []
return sorted((load(p) for p in d.glob("*.md")), key=lambda w: w.get("id", ""))
def records_with_waits() -> list[dict]:
"""Every record that owes or is owed something, whatever kind it is."""
return [r for r in findings() + regulatory() + workplans() if r.get("waiting_on")]
def notes() -> list[dict]:
if not NOTES.exists():
return []