From d5f3e0acbac5d8062b195daa7dad47d7e6a16dc1 Mon Sep 17 00:00:00 2001 From: Polichinl Date: Thu, 12 Nov 2026 03:06:28 +0100 Subject: [PATCH 1/2] chore(register): seven findings from /code-review max, and one entry widened MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Intake for the findings the max review verified and this branch does not fix. Nothing here changes code. New, tiered on evidence rather than on how alarming they read: - C-113 (T2) `coverage.py:62,99` collapse "no region declared" into the same return as "a named region that is not pinned". The second is supported and documented (africa_me_legacy); the first is ADR-003 inference by omission and silently no-ops both coverage gates. One branch fixes all six call sites. - C-114 (T3) the S7 stub reports XFAIL for a ValueError or FileNotFoundError raised by its own probe, and a rename of `resolve_latest` to the port's real method name XPASSes it into a hard red on a required check. - C-115 (T3) the credential warning names the key both deliveries authenticate with from `min()` over timestamps the same file calls invented. - C-116 (T2) `ACKNOWLEDGED_UNTIL` is bounded only by the expiry, so the 2027 move widened the escape to swallow 29 of the 30 lead days. - C-117 (T3) the seam drift detector projects three fields, so the pinned registry still declaring two retired keys dying 2026-11-17 is invisible. - C-118 (T2) the views-frames `<4` justification is unguarded prose, and the re-check it points at is scoped to the one directory the MAJOR did not change. - C-119 (T3) resolving C-84/C-110 left C-86 and Cluster N asserting a red build that is green. Widened rather than duplicated: C-107 gains the two stale *claims* found in `delivery/draws.py` as evidence that the unscanned corpus rots in two ways, not one. They are fixed on docs/draws-docstring-stale-sample-width, so they are recorded as evidence, not as an open defect. Not registered: every finding scoped only to the untracked tests/test_falsify_coverage_region_is_declared.py, which is in no commit. Its root cause is C-113. Counts 113 -> 120 total, 30 -> 37 open; verified 37 + 83 against the section bodies, not the header. test_register_integrity.py 12 passed — it caught a missing `---` fence on the first entry, which is what it is for. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01ANY1CCy9Xo7zjMY4XJ69v9 --- reports/technical_risk_register.md | 160 ++++++++++++++++++++++++++++- 1 file changed, 157 insertions(+), 3 deletions(-) diff --git a/reports/technical_risk_register.md b/reports/technical_risk_register.md index d9ef65e..9254f26 100644 --- a/reports/technical_risk_register.md +++ b/reports/technical_risk_register.md @@ -4,9 +4,9 @@ |-------------------|--------------------------------------| | Project | views-postprocessing | | Owner | Dylan Pinheiro / PRIO MD&D Team | -| Last Updated | 2026-10-30 | -| Total Concerns | 113 | -| Open Concerns | 30 | +| Last Updated | 2026-11-12 | +| Total Concerns | 120 | +| Open Concerns | 37 | | Resolved Concerns | 83 | --- @@ -1215,6 +1215,8 @@ Cross-refs: **C-100** (the live sibling — a four-method port with three used m **This is not a proposal to scan docstrings.** C-97 measured what that costs for the no-copy scan and argued it down under ADR-014 §3 — a guard that fires on ordinary prose gets deleted, after which the real rule is unguarded. The two scans are not the same (a deleted symbol or a repo-relative module path is a far narrower pattern than a store name in a sentence), so the objection is not decisive here — but it is the reason this is registered as a measured gap rather than fixed on sight. +**The gap is wider than broken pointers (measured 2026-11-12).** `/code-review max` found two stale *factual claims* in `views_postprocessing/delivery/draws.py`'s docstrings — `S≈1024` presented as the width FAO receives, and the floor described as "region-pinned for production" when nothing region-pins a sample width. Both were wrong about this package's own behaviour rather than about where a module lives, and both sat in the same docstring, one asserting that a fact had exactly two declared homes while the other was a third. Fixed in `docs/draws-docstring-stale-sample-width`. Recorded here because it widens what this entry is about: the unscanned corpus rots in two ways, and a stale claim is harder to spot than a stale path because nothing about it looks like a reference. + Cross-refs: **C-80** (the same guard, the adjacent corpus gap, resolved by widening), **C-97** (why widening a scan into docstrings is not automatic). --- @@ -1326,6 +1328,158 @@ The delivered historical artefact carries **`lr_ged_sb`, `lr_ged_ns`, `lr_ged_os Cross-refs: **D-06** (RESOLVED — the general principle, and the finding that no renaming layer existed at all; this is the residual for one artefact), **C-24** (a consumer-facing contract divergence nobody surfaced), **ADR-013** adoption record above (the wire vocabulary decision), **views-faoapi** `forecast/serialize/json_contract.py` (the implemented half), FAO project `reports/post_mortems/2026-09-14_prn07_writing_session.md` (the review that found it). +--- + +### C-113: An undeclared `region` skips both coverage gates, and the skip is indistinguishable from the one the code deliberately supports + +| Field | Value | +|-------|-------| +| ID | C-113 | +| Tier | 2 — structural fragility with a clear trigger and a partner-facing consequence: a launch config that omits `region` ships a delivery whose cell curation and completeness gate both silently did nothing. Not Tier 1 because the count-gate logs a warning before skipping, so the evidence does reach the run log. | +| Source | `/code-review max`, 2026-11-12 (findings 10-12), measured | +| Trigger | When a new launch config, partner or region is added — or when anyone proposes a test asserting that unpinned regions are refused. Check that "no region declared" and "a named region that is not pinned" are distinguishable before writing that assertion. | +| Owner | This repository. | +| Location | `views_postprocessing/delivery/coverage.py:62` (`return EXPECTED_CELLS.get(region) if region else None`), `:99` (`return EXCLUDED_GIDS_BY_REGION.get(region, frozenset()) if region else frozenset()`); call sites `views_postprocessing/crafd/managers/crafd.py:223,299,415` and the identical lines in `unfao/managers/unfao.py` | + +Both accessors collapse two different conditions into one return value. `expected_for(None)` and `expected_for("not_a_pinned_region")` both return `None`; `excluded_for(None)` and `excluded_for()` both return `frozenset()`. + +One of those is a supported configuration. `coverage.py:52-54` records that `africa_me_legacy` is **intentionally** not pinned — the register cites 5 pure-ocean cells for which "complete" is ambiguous — and both managers implement the matching documented skip. The other is ADR-003 inference by omission, which must refuse. + +Measured consequence: a config that omits `region` reaches `assert_no_excluded_cells` with an empty exclusion set, so the GAUL-uncovered cell check is a no-op, and `assert_complete_coverage` with `None`, so the count-gate is skipped. `region` is the only one of the product-defining launch axes read through a bare `.get()`; `wire_contract` and the historical `data_format` each have a declared assertion (`launch_config.assert_contract_mode`, `assert_frame_native_historical`). + +**The fix is one branch, not a fourth launch axis.** Splitting `if region else` at both lines — raise on undeclared, keep the documented skip for named-but-unpinned — repairs all six call sites at once. A guard written the other way round, refusing any region absent from `EXPECTED_CELLS`, would make `africa_me_legacy` unlaunchable. + +Cross-refs: **C-30** (absorbs C-34 — the coverage contract these gates enforce), ADR-003 (inference by omission), **views-models ADR-021** (`docs/ADRs/021_coverage_is_declared_once.md` — the upstream half). + +--- + +### C-114: The release-readiness falsification stubs can neither fail for a stated reason nor ever flip — and a behaviour-preserving rename turns one into a hard red on a required check + +| Field | Value | +|-------|-------| +| ID | C-114 | +| Tier | 3 — no delivery correctness depends on them, but they are the mechanism by which an unaddressed falsification stays visible, and both directions of their signal are broken. Tier 3 rather than 4 because one direction closes `main`. | +| Source | `/code-review max`, 2026-11-12 (findings 4-5), mutation-measured | +| Trigger | When views-pipeline-core's file-selection sort lands and the pin moves, or when anyone refactors `delivery/findability.py` — including a pure rename. Check that the stub reports the refactor rather than absorbing it. | +| Owner | This repository. | +| Location | `tests/test_falsification_release_readiness.py:193`, `:198` | + +Under `xfail(strict=True)` any exception counts as the expected failure. The S7 stub locates its anchor with `source.index("for category, expected in legs.items():")` and reads the module with `read_text()`, so three unrelated accidents all report XFAIL with the reason "S7: unaddressed falsification": renaming the loop variables (ValueError), renaming `assert_all_findable` (ValueError), and moving `findability.py` away entirely (FileNotFoundError). All three measured, each mutation restored. The suite therefore claims a finding is open at the moment the module it audits ceases to exist. + +The other direction is worse. The assertion matches the injected callable's **name**, not the order-dependence it describes. Renaming `resolve_latest` to `latest_file_id` — the port's real method name, per `delivery/findability.py:206-207` — makes the assertion pass, so XPASS, so `strict=True`, so FAILED. With `protect_main` making `test` a required check with zero bypass actors, a pure rename closes `main`, and the message tells the renamer that selection "still resolves through pipeline-core's unsorted `files_list[0]`" — the opposite of what they did. Conversely the upstream fix the docstring names leaves `findability.py` byte-identical, so the stub stays XFAIL forever and never says "delete me". + +Compounding it, `legs_loop.split("assert_all_findable")[0]` has no separator-absent signal: rename the delimiter and the scanned region silently widens to EOF, where `resolve_latest` also appears in a signature and a docstring, so a mere mention satisfies the guard. + +Minimum fix: assert the anchor is present as its own step, outside the xfail'd slice, so a missing anchor fails for a stated reason instead of becoming the result. + +Cross-refs: **C-108** (the same shape in a different file, where the false signal was green rather than red), **C-102** (a guard that has never run is unproven), **C-86** (why a false red is expensive here), ADR-014 §1. + +--- + +### C-115: The credential tripwire's operator-facing message asserts which key the deliveries authenticate with, derived from `min()` over timestamps the same file calls invented + +| Field | Value | +|-------|-------| +| ID | C-115 | +| Tier | 3 — it misdirects a rotation rather than corrupting data, but the window in which it misleads is exactly the 30 days an operator is acting on it. | +| Source | `/code-review max`, 2026-11-12 (findings 7-8), measured | +| Trigger | When the real expiry values are read from the console — which the file's own docstring anticipates — or when a third key is added to `KEY_EXPIRY`. | +| Owner | This repository. | +| Location | `tests/test_credential_expiry.py:106`, `:118` | + +`expiry_warning` renders *"Both of this repository's delivery paths — un_fao and crafd — authenticate with `{name!r}`, the earlier one"*, where `name = min(KEY_EXPIRY, key=...)` over times the file's own comment calls *"approximate — creation order, an hour apart — and **not** a console reading"*. `KEY_EXPIRY` now also holds `faoapi-server`, which lines 48-49 describe as views-faoapi's server-side key, which this repository does not use. + +Measured by swapping the two timestamps — the exact scenario the docstring says it guards against — the message names `faoapi-server` as the key both deliveries authenticate with, and all six tests still pass. + +Same hunk, same shape: `gap` comes from `divmod(seconds, 3600)` with no day rollover, so it renders `4392h00m apart` at six months and `8784h00m` at a year — while the message itself instructs the operator to rotate the keys separately, making a multi-month gap the normal path. The replacement assertion `re.search(r"\d+h\d{2}m apart", message)` matched every value measured, including `0h00m` from identical timestamps and from a single-key dict: it constrains the f-string template, not any fact. + +Both halves share one cause. Removing `assert name == "VIEWS Pipeline Core"` did not remove the invention — it moved it out of an assertion, where a test could catch it, into the prose an operator acts on, where nothing can. + +Cross-refs: **C-84** (RESOLVED — why the datetime literal pin was removed: *"a guard that refuses its own documented fix is worse than no guard"*), **C-116** (the same file's other escape), **C-86**. + +--- + +### C-116: `ACKNOWLEDGED_UNTIL`'s only bound is "before the earliest expiry", so moving the keys to 2027 silently widened the escape from three months to a year + +| Field | Value | +|-------|-------| +| ID | C-116 | +| Tier | 2 — one reviewed line can now silence a seam-outage tripwire until the day before the outage, with every test green. | +| Source | `/code-review max`, 2026-11-12 (finding 9), measured | +| Trigger | When `KEY_EXPIRY` moves again, or when anyone sets `ACKNOWLEDGED_UNTIL` — check the postponement against `LEAD_DAYS`, not only against the expiry. | +| Owner | This repository. | +| Location | `tests/test_credential_expiry.py:167` | + +Measured: setting `ACKNOWLEDGED_UNTIL = date(2027, 10, 28)` gives **6 passed**, with `test_the_lead_window_is_not_quietly_shrunk` still green (tree restored, `git status` verified). That silences the tripwire until one day before a total seam outage, in one reviewed line. + +The escape's stated purpose is that it *"postpones attention but never replaces it"*. That no longer holds when the postponement can swallow 29 of the 30 lead days. Bounding it to `earliest - LEAD_DAYS <= ACKNOWLEDGED_UNTIL < earliest` restores the intent in one line. + +Cross-refs: **C-110** (RESOLVED — *"the obvious shortcut is closed, and closed deliberately"*; this path reaches the same place with nothing red), **C-115**, **C-86**. + +--- + +### C-117: The seam-pin drift detector projects three fields, so a rotation the registry has not recorded is invisible — and the pinned registry still declares two retired keys dying 2026-11-17 + +| Field | Value | +|-------|-------| +| ID | C-117 | +| Tier | 3 — it misinforms an operator who follows this package's own instruction to read the pinned registry. No delivery depends on the two fields. | +| Source | `/code-review max`, 2026-11-12 (finding 6), measured against the sibling checkout | +| Trigger | At the next key rotation, or when `SEAM_CONTRACT_VERSION`/`SEAM_CONTRACT_COMMIT` is next bumped — check `console_key_name` and `expiry` as well as the coordinate values. | +| Owner | This repository for the projection; views-appwrite for the registry content. | +| Location | `tests/seam_registry.py:189` (the projection); `views_postprocessing/unfao/appwrite_env.py:47-48` and `views_postprocessing/crafd/appwrite_env.py` (the pin) | + +`seam_registry` projects only `(section, body["class"], body["value"])`, so the registry's `console_key_name` and `expiry` fields sit outside the comparison. Measured in the sibling checkout: the registry is at `version = "1.8.0"`, `amended = "2026-11-12"`, still declares `"VIEWS Pipeline Core"` and `"UN FAO"` with `expiry = "EXACT: 2026-11-17 12:35 … ⚠ BOTH PLATFORM KEYS EXPIRE ON THE SAME AFTERNOON"`, and contains no mention of `pipeline-core-writer` or `faoapi-server` — the two keys `KEY_EXPIRY` now names. This repository pins 1.5.2 / `c7b597e`. + +So an operator who follows `appwrite_env.py`'s instruction to read the pinned registry is told the platform keys die in five days with no stagger and no fallback, and may plan or re-raise a rotation that already happened on 2026-10-29. Amending the registry is views-appwrite's and a two-repository change; the in-repo half is to project the two fields so the drift reddens. + +Cross-refs: **C-57** (RESOLVED — the pin-staleness detector this extends), **C-96** (another registry table this package declines to read), **C-115**. + +--- + +### C-118: The widened views-frames cap rests on an unguarded import invariant, and the re-check recipe it points at is scoped to the one directory the MAJOR did not change + +| Field | Value | +|-------|-------| +| ID | C-118 | +| Tier | 2 — the justification for admitting views-frames 3.x minors is prose, and the verification it prescribes returns empty for the wrong reason. The delivered wire bytes are what is at stake. | +| Source | `/code-review max`, 2026-11-12 (findings 2-3), measured against the views-frames checkout | +| Trigger | When views-frames 3.x or 4.0 is released, or when anyone imports `views_frames_reconcile`. Run the re-check at the package root, not at `io/`. | +| Owner | This repository. | +| Location | `pyproject.toml:26-35`; `tests/fixtures/wire_contract/README.md:71` | + +Two halves of one claim, each unsound in its own way. + +First, `<4.0.0` is justified by *"the 3.0.0 MAJOR's behavioural change is confined to `views_frames_reconcile`, which this repo does not import"*. True today — grep returns nothing — and guarded by nothing: there is no import-linter config and no test naming it. The repository already owns the mechanism, at `tests/test_doc_accuracy.py:465`, which holds the same kind of invariant for `views_pipeline_core` with an exact-list source scan. + +Second, the fixture README designates `git diff v2.0.0..v3.0.0 -- src/views_frames/io/` as the re-check, and `pyproject.toml:28` instructs the reader to **read that file before raising the pin again**. Measured: that pathspec is empty, and the only file the MAJOR changed under `src/views_frames/` is `conformance/__init__.py` — the module `tests/test_views_frames_conformance.py:18` imports from. So the next reader follows the instruction, gets an empty diff, and concludes the imported surface is unchanged while it has changed. The control line beside it would surface this but is labelled only as proof that the command can still speak, not as a thing to read. This is the identical silent-pass shape the same file's own paragraph warns about, one directory up. Widen the pathspec to `-- src/views_frames/`. + +Also unstated: the lock's pipeline-core 3.4.0 declares `views-frames >=3.0.0,<4.0.0` — a floor, not a widened cap — so the comment's claim that frames 2.x plus pipeline-core 3.3.x "is still a coherent resolution" silently requires holding pipeline-core below 3.4.0. + +Cross-refs: **C-72** (the pyarrow pin and the wire bytes), **C-107** (prose that rots unwatched), ADR-013 §10. + +--- + +### C-119: Resolving C-84 and C-110 left three live records asserting a red build that is green + +| Field | Value | +|-------|-------| +| ID | C-119 | +| Tier | 3 — the register is the artifact a releaser diagnoses from, and it now misreports the state of the thing it exists to track. | +| Source | `/code-review max`, 2026-11-12 (finding 15), measured | +| Trigger | The next `/review-rr` pass, or the next release attempt that consults C-86. | +| Owner | This repository. | +| Location | `reports/technical_risk_register.md:170,173,649,1404,1436-1452,1481` | + +Measured false claims. The **open** Tier-2 entry C-86 says *"From 2026-10-18 `tests/test_credential_expiry.py` fails by design"* — it passes 6/6, and the first red day is now 2027-09-29. Cluster N still lists C-110 inline with live members and calls it closable by reading, while five of that cluster's eight lines do mark their closed members. Resolved C-84 and C-110 retain their entire pre-resolution bodies below the resolution, in the present tense, including *"no release can be tagged"* and a Trigger row still reading *"goes red from 2026-10-18"*; C-84 also claims the failure message names *"the 3h35m gap"* and `views-faoapi#338`, and the rendered message contains neither. + +This is this register's own **Expired triggers** convention unapplied: *"a trigger whose event has already occurred is worse than a vague one — it reads identically to a pending trigger and silently misreports state. On firing, rewrite the trigger and re-tier in the same pass."* Nothing mechanical will catch it — `test_register_integrity.py`'s content guards are scoped to Open Concerns by design. + +Cross-refs: **C-109** (Location line numbers decay, the same class of rot), **C-86** / **C-84** / **C-110** (the entries themselves), ADR-010. + +--- + + ## Disagreements ### D-12: Post-Run-0 infrastructure & naming intents — repo rename, internal-store transport, compute co-location From 114c1383ee4c6598f66377f7533641badcad2c50 Mon Sep 17 00:00:00 2001 From: Polichinl Date: Thu, 12 Nov 2026 03:13:53 +0100 Subject: [PATCH 2/2] chore(register): three more from the sweep, and one backwards comment fixed MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The max review's Phase 3 sweep landed after its hand-back. Of its six findings, three were fixed as code on docs/draws-docstring-stale-sample-width (the empty payload misdiagnosis and the ragged-input Raises hole). These are the rest. - C-120 (T3) ADR-013 is now the stale copy of §6. `:1126` carries an OPEN maintainer item — '§6 "region-pinned" production S_min: the term was never defined' — and the docstring quoted that undefined term as fact until 5d6262e deleted it. Deleting a term is not defining it, so the item stands. `:730` still scopes the gate to the FAO delivery and calls the sink leg unbuilt; `:1201` still says the four rules match draws.py exactly. - C-121 (T3) test_an_acknowledgement_cannot_outlive_the_expiry returns early on ACKNOWLEDGED_UNTIL is None and has never run its assertion, while the register credits it among four companion tests "verified by mutation". Its sibling got a derived probe precisely so C-102 could not apply; this one did not. - C-122 (T3) test_the_manager_asserts_both_axes reads unfao's manager by hardcoded path and never crafd's. Ninth in the #211 family, in a repo whose conftest declares PARTNER_PACKAGES to end exactly this. Fixed rather than registered: pyproject's pytest comment read "the suite runs on 9.x today; 8.x still works". Measured — the lock pins 8.4.2, `poetry check --lock` exits 0, the installed runtime is 8.4.2. 8.x is not the fallback, it is the only resolution, so the comment was backwards about which pytest the green suite was measured on. One line, below the register's signal threshold. Counts 120 -> 123 total, 37 -> 40 open; verified 40 + 83 against the section bodies. test_register_integrity caught an extra blank line after the fence, as it did the missing fence last time. 45 passed across register, lock and doc-accuracy guards. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01ANY1CCy9Xo7zjMY4XJ69v9 --- pyproject.toml | 2 +- reports/technical_risk_register.md | 65 +++++++++++++++++++++++++++++- 2 files changed, 64 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 62d2521..3cfb148 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -44,7 +44,7 @@ pyarrow = ">=16.1.0,<17.0.0" # and it would fail as "pytest: command not found", which reads like a runner problem # rather than a dependency one. [tool.poetry.group.dev.dependencies] -pytest = ">=8.0,<10.0" # the suite runs on 9.x today; 8.x still works +pytest = ">=8.0,<10.0" # the lock pins 8.4.2; the <10 ceiling is headroom, not a version in use ruff = ">=0.6,<1.0" # Declared for the same reason the pytest comment above exists. `tests/test_ci_sibling_ diff --git a/reports/technical_risk_register.md b/reports/technical_risk_register.md index 9254f26..81b03ac 100644 --- a/reports/technical_risk_register.md +++ b/reports/technical_risk_register.md @@ -5,8 +5,8 @@ | Project | views-postprocessing | | Owner | Dylan Pinheiro / PRIO MD&D Team | | Last Updated | 2026-11-12 | -| Total Concerns | 120 | -| Open Concerns | 37 | +| Total Concerns | 123 | +| Open Concerns | 40 | | Resolved Concerns | 83 | --- @@ -1479,6 +1479,67 @@ Cross-refs: **C-109** (Location line numbers decay, the same class of rot), **C- --- +### C-120: ADR-013 is now the stale copy of §6, and a docstring settled one of its open maintainer items by deleting the term + +| Field | Value | +|-------|-------| +| ID | C-120 | +| Tier | 3 — no delivery depends on the ADR's text, but it is the document an auditor reads to decide whether the CRAF'd delivery is guarded, and it currently says it is not. | +| Source | `/code-review max` Phase 3 sweep, 2026-11-12 (finding c), measured | +| Trigger | When anyone audits §6 coverage, runs `tests/test_falsify_adr013_s6.py`, or proposes restoring the "region-pinned" wording to `delivery/draws.py`. | +| Owner | The maintainer for item (2); this repository for the two stale statements. | +| Location | `docs/ADRs/013_sampled_forecast_wire_contract.md:730`, `:1126`, `:1201` | + +Three statements, one open decision. + +`:1126`, in the ADR's own post-adoption record, carries an **open** maintainer item: *"(2) §6 \"region-pinned\" production S_min: the term was never defined"*. `delivery/draws.py` quoted that undefined term as fact — *"the consumer-facing floor (2 for the walking skeleton; region-pinned for production)"* — and commit `5d6262e` removed it, because measurement showed nothing region-pins a sample width: neither product module mentions `region`, and `delivery/coverage.py` pins cell counts. **Removing an undefined term is not the same as defining it.** The open item stands, and it should be closed by a maintainer decision rather than by the absence of a docstring phrase. + +`:730` still scopes the gate to *"in this contract's scope: the FAO delivery"* and promises the wiring *"lands with the #91 sink leg (not yet built as of 2026-07-19)"*. It is built, at `contract/wire/sink.py:150`, reached from both `crafd.py` and `unfao.py`. So an auditor reading the ADR can conclude the CRAF'd delivery ships unguarded, which is false. + +`:1201` still asserts *"The four rules … all match `delivery/draws.py` exactly"*. Two refusals now sit outside those four (C-121's neighbours, added on `docs/draws-docstring-stale-sample-width`), documented there as explicitly outside §6 for that reason — the four-rule numbering was left intact so as not to widen this drift further. + +Cross-refs: **C-107** (prose that rots outside the scanned corpus), **C-95** (a prohibition cited to the wrong verdict, same document family), ADR-014 §1. + +--- + +### C-121: `test_an_acknowledgement_cannot_outlive_the_expiry` executes no assertion, and is credited in the register as mutation-verified + +| Field | Value | +|-------|-------| +| ID | C-121 | +| Tier | 3 — it is one of the four companion tests the credential tripwire's integrity rests on, and it is the one that cannot fire. Tier 3 rather than 2 because C-116 already registers the loose bound it was meant to hold. | +| Source | `/code-review max` Phase 3 sweep, 2026-11-12 (finding d), measured | +| Trigger | When `ACKNOWLEDGED_UNTIL` is next set to a date, or when the four companion tests are next cited as evidence the escape is bounded. | +| Owner | This repository. | +| Location | `tests/test_credential_expiry.py:158`, and the escape it guards at `:88`, `:164-165` | + +`ACKNOWLEDGED_UNTIL` is `None` at line 88, and the test returns early at lines 164-165 on exactly that condition, so its assertion has never run. Measured: relaxing `<` to `<=`, dropping the comparison, or comparing against `max()` instead of the earliest expiry each break nothing in CI. + +What makes it registrable rather than cosmetic is the asymmetry. Its sibling was given a derived probe — the firing branch was extracted into `days_until_earliest_expiry` **precisely so C-102 could not apply** — and this one never received that treatment, while the register credits both among *"four companion tests [that] keep it honest … All verified by mutation"*. The claim is true of the sibling and false here. + +Cross-refs: **C-116** (the loose bound this test was supposed to hold), **C-102** (a guard that has never run is unproven), **C-108** (the same shape, measured the same way), **C-115**. + +--- + +### C-122: The launch-axis guard the region stub models itself on covers one partner of two — the ninth entry in the #211 family + +| Field | Value | +|-------|-------| +| ID | C-122 | +| Tier | 3 — the managers are near-clones, so the uncovered path is the one a reader would assume is covered. No current defect follows; the guard simply does not watch half of what it claims to. | +| Source | `/code-review max` Phase 3 sweep, 2026-11-12 (finding e), measured | +| Trigger | When any launch-axis assertion is added, moved or relied on — including the move the region stub proposes, which would place a two-partner scan beside this one-partner one. | +| Owner | This repository. | +| Location | `tests/test_launch_config.py:106`, hardcoding `views_postprocessing/unfao/managers/unfao.py` at `:115`; the uncovered twin is `views_postprocessing/crafd/managers/crafd.py` | + +`test_the_manager_asserts_both_axes` reads one manager by hardcoded path and never reads the other. The two managers are 437-line near-clones calling the same three asserts at identical line numbers, so the crafd path is unwatched — including the negative half at `:120`, `assert 'configs.get("wire_contract")' not in source`, which refuses C-63's inference by omission for `unfao` only. + +The repository already owns the fix and documents this exact failure mode: `tests/conftest.py:55-74` declares `PARTNER_PACKAGES` with the comment recording #211 — *"Eight separate guards named `unfao`, and when `crafd/` landed all eight went on passing over a package they did not cover"* — and `tests/test_env_declaration.py:59` provides `_manager_source(partner)`. This is the ninth. + +Cross-refs: **C-63** (the inference-by-omission rule the negative half enforces), **C-113** (the region axis, whose proposed guard would land beside this one), #211. + +--- + ## Disagreements