#3 [high] Report of 2026-11-28, run 1551 — #549 worth merging, minor changes
Head bca7358 (+202/-34, 8 files). Verified this turn:
- cache.rs:519-589 pin_with/unpin_with single chain walk; counter add/sub only at 0->1 / 1->0 crossings (539, 565); unpin_request rejects when direct_request_pins==0 (547-549). Public pin/unpin unchanged (572-578).
- cache.rs:632-640 compaction: debug_assert node.request_pins == child.request_pins; union tail_pages stay in the counted heir, so request_pinned_pages is unchanged (correct: both were counted before).
- cache.rs:825-846 test-only drift assertion compares request_pinned_pages with a full scan of nodes on every stats() read.
- scheduler.rs:1199-1221 stats(): one pass over live slots adds private_pages + reserved_pages and counts active; request_pages = private + cache.request_pinned_pages.
- scheduler.rs:1636-1671 admission carries request_pin = inbound.is_none() once through pin_prefix/unpin_prefix; ticket parent keeps plain pin (1864, 1900).
- scheduler.rs:1882 (ticket waiters), 2970-2972 and 2990-2991 (boundary publications) use pin_request/unpin_request; 3142-3149 releases the request pin before request.take() at 3150.
- runtime.rs:2441-2454 zeroes request_pages/reserved_pages in the CopyoutResources retry key (struct at 1053-1059 derives PartialEq over SchedulerStats).
- metrics.rs:265-266, 517-518, 1309-1318 render both gauges; Snapshot (metrics.rs:70-129) does NOT contain them and docs/api.md:298-310 does not say so. But docs/api.md:292-296 already frames the table as the JSON subset ("Beyond the JSON fields below, the text includes ..."), so a one-clause addition suffices — no longer a blocker.
- tests: cache/tests.rs:320-373 phases one test over shared-page-once, plain-pin neutrality, error on ancestor unpin, compaction preserving the count; scheduler/tests.rs:970-1032 asserts stats.request_pages == shared + both private sets, reserved sum, and both zero after cancel with cached_pages > 0; metrics.rs:1782-1843 covers gauge names/types/values.
- docs/api.md:298-310 ratio (request+reserved)/total matches #548's mapping row; publishing rule matches runtime.rs:722/1149/745. Verdict: worth merging. Remaining: one clause on the JSON asymmetry, plus optional description prose fixes. Residual non-blocking notes: SchedulerStats doubles as the copy-out key (manual two-field exception, commented); a Debug-only cross-check that every live request with prefix Some carries a request pin would catch future mispairs; retired-page and restore-ticket pages stay outside both gauges (documented).