feat(processing): private native retained diagnostic driver and numerical oracles (#7955)
What
Slice 6 of the stack replacing draft PR #8124. Squashes eb53011186..027d671ea5
(first-parent) with the later driver factoring (8ef42ac7b9, 23047f58a0,
b7b213f2d5) and the native half of the deadline compatibility fix.
Adds the default-off retained-native feature of ifc-lite-processing
(implies retained-runtime, pulls the path-only ifc-lite-geometry-runtime
on non-wasm targets): a private diagnostic that consumes retained
transactions through the native worker client, binds receipt origins and
storage lifetimes, preserves original stops across failed owner scopes,
wires type jobs, poisons conflicting outcomes and emits typed
unsupported-source vs malformed-source refusals against the generated
native contract. Physical oracles and refusal/conflict mutations are
registered under tests/evidence/retained-execution-j4 and run by the
geometry-platform workflow; the runtime pin follows the 23.6.2 workspace.
The existing CI path-coverage gate keeps exact input exemptions after a
partial trigger match, and its path-candidate accounting moves to
scripts/lib/ci-path-candidates.mjs (dbbd33a226) so check-ci-path-coverage.mjs
stays inside its module-size budget.
Also folds the two qualification fixes from a real-worker run: the placed
Boolean result oracle's frame and mapped-transform expectations
(3b58d73b54; the test was wrong since 2f20be5303 and had never run against
a worker) and the M3 conflict-terminal mutation patch rebased onto the
internal deadline variant (111854a9a7).
Review fixes included in this restack
Deletes the seven superseded oracle patches and their obsolete manifest keys, updates the guide, and repairs the locked runtime dependency version after the workspace moved to 23.6.2.
Place in the stack
Slice 6 of 8 replacing the oversized draft #8124 (kept open as a draft umbrella). Review and merge bottom-up; each PR's base is the previous slice.
- #8143
stack/7955-1-construction-contracts(base main): feat(geometry): private retained construction contracts and receipt/resource authority (#7955) - #8144
stack/7955-2-contract-validators(basestack/7955-1-construction-contracts): feat: private retained contract validators, wire format and generated contracts (#7955) - #8145
stack/7955-3-failure-origins(basestack/7955-2-contract-validators): feat(geometry): typed retained failure origins for structure, mapping, Boolean and frames (#7955) - #8146
stack/7955-4-coverage-census(basestack/7955-3-failure-origins): feat(processing): read-only retained coverage census example (#7955) - #8147
stack/7955-5-source-inspection(basestack/7955-4-coverage-census): feat(retained): bounded source inspection through the private controller (#7955) - #8148
stack/7955-6-native-diagnostic(basestack/7955-5-source-inspection): feat(processing): private native retained diagnostic driver and numerical oracles (#7955) (this PR) - #8149
stack/7955-7-wasm-inspection(basestack/7955-6-native-diagnostic): feat(wasm): development-only source inspection build isolated from shipped APIs (#7955) - #8150
stack/7955-8-package-graph(basestack/7955-7-wasm-inspection): build(runtime): source-only package graph for the native geometry runtime (#7955)
Validation
Current head: de880666075f7d3dfd5b96e7e57034d952c43cbd; stack base: main 568a078ef5. Updated after the 2026-10-26 restack.
- PC validation still running at
f454ad4ad4. Original requestauto-6396033b4b274217b5e6bc177eb6b6a1, jobfd079aee-0594-462f-934b-970e4ff571e5. No completed test or Clippy verdict is claimed. - The validated/running source differs from this head only in
.github/actions/setup-revert-oracle/action.ymland oracle patch files. A direct Git comparison confirms no Rust source differs. These earlier-commit runs do not execute the final oracle patches or qualify the changed setup action.
The PC validation command set uses RUSTUP_TOOLCHAIN=nightly-2025-11-15: fixture setup; cargo test --workspace --locked --no-fail-fast, repeated with --features ifc-lite-processing/retained-runtime; cargo clippy --workspace --all-targets -- -D warnings, repeated with retained-runtime (slices 2ā5) or retained-native (slices 6ā8); named source/contract gates; and the workflow's scripts test catch-all. It is not root pnpm test, typecheck, browser, or real SDK worker qualification.
Remaining acceptance evidence:
- Default WASM SHA/size, three-model mesh fingerprints, and native instruction ratchets have not been rerun for slices 2ā8 after restack. Previous figures apply to older heads and are intentionally omitted here.
- Oracle patches were checked for reverse application only. Their production-observation runs remain pending until each slice is retargeted to
main;test.ymlis filtered to that base. - Slice 1 #8143 has all required hosted checks green at
370a2667f2, including all 32 oracle shards and the bundle ratchet. That fixes the formerly inherited bundle/85-minute timeout blockers, but does not establish this slice's own oracle or identity/performance results. - Fresh merge-gating review remains required on the final diff; a CodeRabbit status saying review was skipped is not a review verdict.
Refs #7955
š¤ Generated with Claude Code