Skip to content

Core 10 residual: delete dead _oldest_ready_item — both conformance kits now carry zero xfail; Tier-B docstrings post-RC-2; manager records - #91

Merged
Brian Krabach (bkrabach) merged 4 commits into
mainfrom
converge/zhv-core10-residual
Sep 6, 2026
Merged

Core 10 residual: delete dead _oldest_ready_item — both conformance kits now carry zero xfail; Tier-B docstrings post-RC-2; manager records#91
Brian Krabach (bkrabach) merged 4 commits into
mainfrom
converge/zhv-core10-residual

Conversation

@bkrabach

Copy link
Copy Markdown
Collaborator

Lane zhv (owner's word: "yes", 2026-09-06) — contract operator-surface.v1 Core 10 (no unbounded query reached from a view). The dead _oldest_ready_item (webapp.py; one occurrence in src — its own definition; zero callers) is deleted, the xfail(strict=True) on Tier-A test_antigoals_enforced and its docstring row are removed, and the Tier-B kit's docstrings now quote the post-RC-2 Conformance 1/3/4 wording (assertions untouched; Tier-B not re-run — docstrings only). OSV1-015 stays CONFORMS with its residual paragraph replaced by a dated note.

Manager commits (outside the lane merge): OSV1-030 prose true-up ("the one remaining deferral in either kit" is no longer true — dated paragraph, history kept); the v2 candidate's own Status: line → RATIFIED (it was applied in #90); docs/workflow/{OWNER-RETURN-LOG,PLAN,CHECK-RECORD}.md.

Manager's own re-run on the merged tree (CHECK-RECORD.md): Tier-A 42 passed / 0 xfailed (was 41/1) · ledger 60 · harness 69/69 · pyright 0 · ruff clean · contract hash == OSV1-000 pin, contract untouched. Lane's full make test: 1558 passed, 3 skipped; no documented flake hit.

Both conformance kits now carry zero deferral markers.

🤖 Generated with Amplifier

…erred

The last deferral in either conformance kit is gone, and it is gone by
deleting the thing it named rather than by widening a check.

WHAT WAS TRUE: `webapp._oldest_ready_item` (webapp.py:902-917, 16 lines)
called `bd.list(lane=A.LANE_WORK, status="open")` with no limit at all and
had ZERO callers -- one occurrence of the name in `src/`, its own
definition. OSV1-015 read CONFORMS anyway, because Core 10 scores calls
"reached from a view" and dead code is reached by nothing; the Tier-A kit's
census is source-wide with no reachability analysis, so it went on
reporting the call and its good half was `xfail(strict=True)` naming the
row.

MEASURED, before -> after:
  make test-conformance-a   41 passed / 1 xfailed  ->  42 passed / 0 xfailed
                                                       0 XPASS, 0 failed
  pytest ledger/checks -q   60 passed              ->  60 passed
  make ledger-mutate        69/69 proven           ->  69/69, none unproven
  ruff check / format       clean                  ->  clean (191 files)
  pyright src tests         0 errors               ->  0 errors
  make test                 --                     ->  1558 passed / 3 skipped
                                                       + 127 passed, exit 0
                                                       (no documented flake hit)

WHAT MOVED WITH IT:
* the `xfail(strict=True)` marker on `test_antigoals_enforced`, and the
  Tier-A module docstring's deferral table row. The docstring keeps the
  mechanism and records that the kit now carries no deferral.
* `tests/unit/test_view_query_bounds.py`: `_UNREACHED_EXEMPTIONS` and
  `test_the_exempted_uncapped_helpers_are_still_reached_by_nothing`, which
  existed only to re-earn that one exemption. Deleted rather than left
  iterating an empty set -- a guard over nothing passes forever while
  proving nothing.
* `test_row_osv1_015`'s two exemption assertions, replaced by something
  stronger and name-free: `all_listing_calls()`, a source-wide census of
  webapp.py/webbrowse.py/webtrust.py requiring an explicit finite limit on
  EVERY listing call, reached or not. Measured population, 4 of 4 explicit:
  webapp.py:3848, webapp.py:4743, webbrowse.py:412, webbrowse.py:719.
  The reachability audit is unchanged and still runs first.
* OSV1-006's three webapp.py register pins, -16 (1127/1823/1826 ->
  1111/1807/1810). A line-number re-pin, not a re-derivation: re-measured
  from the census, same eight sites, same three expressions, no growth.
  Second such re-pin; the register's own comment records the first (+182).

TIER-B DOCSTRINGS, docstrings only, no assertion touched (so
`make test-conformance-b` is not required and was not run): Conformance 1
Bad, Conformance 3 Bad, and Conformance 4 Good+Bad re-quoted from the
current FROZEN contract text. All four had pre-RC-2 wording; RC-2
(2026-09-05) had reworded them onto the measured defects these very
fixtures reported -- hue outside the token set, disclosure + live-region
node identity, element-level overflow past `clientWidth`. Every refreshed
quote verified verbatim against `contracts/operator-surface.v1.md`.

LEDGER: OSV1-015 stays CONFORMS (disposition did not move and never was in
question); its "THE OTHER UNCAPPED CALL" residual paragraph is replaced by
a dated 2026-09-06 note recording the deletion, what it bought, and the
knock-on re-pin. `ledger/reconcile-report.md` gains a "## 2026-09-06 zhv"
section and one Changelog bullet.

No `contracts/` byte was touched. RESIDUAL, out of this lane's scope and
named rather than fixed: OSV1-030's notes still call Tier-A's
`test_antigoals_enforced` "the one remaining deferral in either kit" --
true when written, false as of this commit.
…didate Status -> RATIFIED; return log + plan
…dger 60, harness 69/69, pyright 0, hash match)
@bkrabach
Brian Krabach (bkrabach) merged commit 86cd375 into main Sep 6, 2026
2 checks passed
@bkrabach
Brian Krabach (bkrabach) deleted the converge/zhv-core10-residual branch September 6, 2026 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants