Skip to content

Add capability-gated JS-backed staging on Web - #2165

Merged
leehack merged 10 commits into
mainfrom
web-js-backed-staging-main
Nov 22, 2026
Merged

leehack merged 10 commits into
mainfrom
web-js-backed-staging-main

Conversation

@leehack

@leehack leehack commented Nov 22, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Add a capability-gated Web option for JavaScript-backed staging of GGUF models and multimodal projectors. Preserve the bridge's browser default when the option is omitted.
  • Pin llama-web-bridge-assets v0.1.92 for the constructor capability and worker handshake. Wasm32 and Memory64 core bytes match v0.1.90.
  • Preserve terminal transfer-length errors from older bridges, refuse explicit staging when a custom bridge module cannot load, and cover individual and combined tensor sizes in the wasm32 diagnostic.
  • Move the local Chromium driver and its receipt tests to #2171. Closes Web: expose capability-gated JS-backed GGUF and projector staging #2115.

Changelog

  • [core] Add ModelParams.jsBackedModelStaging to control JS-backed Web GGUF and projector staging, with capability checks in the pinned v0.1.92 bridge.

Production-readiness scope

  • User-facing scope — Set jsBackedModelStaging to true to require JS-backed staging, false to disable it, or omit it to keep the WebKit default where supported.
  • Supported platforms and paths — llama.cpp on the Web, with direct and worker runtimes and compatible wasm32 or Memory64 cores.
  • Unsupported paths — An unavailable bridge module, missing bridge capability, stale worker, incompatible Wasm core, or forced fetch-backed load rejects explicit opt-in with LlamaUnsupportedException. Native llama.cpp and both LiteRT-LM platforms reject any explicit setting.
  • Follow-ups — The local Chromium driver is in #2171. Web GGUF download cancellation is tracked in Web: cancelling a URL-backed model load retries and completes the load #2166. On plain main with v0.1.90 and on this branch with staging off and on, cancelling from the first partial-load progress callback aborts the first GET, then the retry ladder makes a second GET and succeeds on wasm64.

Completeness checklist

  • Implemented the declared library scope and typed unsupported-path diagnostics.
  • Updated the API docs, README, website, examples, support matrix, package skills, and PR changelog.
  • Covered staging option forwarding, unsupported combinations, version skew, and terminal transfer errors.
  • Recorded the issue-linked validation exemption against the Chromium evidence below.
  • Reviewed source and error paths for secret-bearing URLs and credentials.
  • Tracked the driver and pre-existing cancellation issue above.

PR type guidance

  • Feature — The tri-state option has positive and negative tests, API and example documentation, and a support-matrix entry.
  • Bugfix coverage — Failing-first Chromium and Chrome tests reproduce the legacy error retry and missing module refusal. A Chrome test verifies the cumulative-size diagnostic. The prior independent runtime audit caught 22 original mutations and confirmed five fix-specific reversions.
  • Docs-only — N/A. This changes runtime behavior.

Test Plan

  • Clean workspace preparation, formatting, dart analyze, and platform boundaries on Flutter 3.47.1.
  • test/unit/tooling/ on the VM with isolated temporary storage. 2,370 passed and 10 skipped. The separately targeted validation coverage suite passed 15 tests.
  • Targeted model parameter and LiteRT-LM VM suites. 1,690 passed and 1 skipped.
  • Targeted WebGPU Chrome suites. 390 passed.
  • Both scenario lists, PR matrix generation, and a tracked-file search for driver and scenario references.
  • Prior-head full VM and Chrome, library coverage, docs, and runtime evidence recorded below.

Matrix Evidence

Matrix row Scope covered Platform / model / backend Result Evidence / notes
static-format-analyze Format, analyzer, Web/native import boundaries macOS arm64, Flutter 3.47.1 PASS Workspace preparation left tracked files clean.
root-vm Tooling, model parameters, LiteRT-LM macOS arm64, isolated TMPDIR Targeted PASS 2,370 tooling tests passed with 10 skipped and 1,690 targeted library tests passed with 1 skipped. The prior full run passed 15,659 with 135 skipped.
root-chrome WebGPU backend and error handling macOS arm64, Dart Chrome runner Targeted PASS 390 passed. The prior full run passed 5,227 with 1 skipped.
coverage-lib 70% minimum line coverage for lib/ macOS arm64, Dart VM Prior head 93.79% line coverage (37,065 of 39,521).
high-risk-exact-head-independent-qa Independent blocking audit against current main 14035b78 against b6cbf850 (current main 135a6cad adds only unrelated deploy files) PASS Fresh-session auditor-deep ACCEPT after the driver split. Library, tests, docs and pin tests were preserved byte for byte. 22 library mutations and 5 reversions caught, 390 Chrome and 519 VM tests passed, and all 14 pins plus the v0.1.92 manifest verified. Readiness exits 2 locally
structured-output-adversarial Grammar, template, parser, and streaming contract N/A N/A Staging changes model and projector loading.
docs-site Website build, links, metadata, and routes Local Jaspr build Prior head Website build, link checks, analysis, and 31 tests passed.
release-doc-version-consistency Current install snippets and companion pins Current published versions Prior head Release docs verifier passed.
webgpu-bridge-tag-consistency Published bridge pin and provenance Immutable v0.1.92 artifacts Prior head 14 live pins agree. Release 454541989 and manifest bytes verified.
examples-tests Chat app regressions Flutter VM and Chrome Prior head 698 VM and 141 Chrome tests passed at 61781eaf.
Chromium staging matrix Output parity, reload, model and projector staging, version skew Chromium CPU, Stories15M, LFM2-VL-450M, Qwen3-4B Prior head All 68 cases passed at a8eeb693. The driver is now in #2171.
Chromium transfer and module controls Transfer errors, explicit opt-out, and missing custom bridge Chromium CPU, v0.1.90 and v0.1.92 Prior head 15 focused cases. Both tags emitted typed transfer-length errors after one load attempt for short responses and conflicting size headers. Stories15M loaded with staging disabled on both versions. A missing module made zero model requests and returned the documented exception types for true, false, and omission.
web-webgpu-generation Hardware WebGPU offload GPU N/A The staging matrix used CPU.
webgpu-multimodal-regression Image and audio inputs Qwen multimodal N/A The projector cases used deterministic text generation after loading and staging the projector.

Chromium runtime evidence

The driver carried by #2171 produced this prior-head evidence. The 68-case Chromium CPU matrix ran on Chromium 159.0.8154.6 on macOS arm64. Staged and control generation outputs matched, including reloads. The WebKit user agent exercised browser-default policy in Chromium. Chromium does not expose worker JS heap samples.

Largest sampled Wasm linear-memory capacity across the cores created during each case. The unstaged Qwen3-4B wasm32 controls retried on wasm64.

Model Execution Requested core Default staging JS-backed staging
LFM2-VL-450M + projector Direct wasm32 787 MiB 673 MiB
LFM2-VL-450M + projector Direct wasm64 930 MiB 792 MiB
LFM2-VL-450M + projector Worker wasm32 787 MiB 673 MiB
LFM2-VL-450M + projector Worker wasm64 930 MiB 792 MiB
Qwen3-4B Direct wasm32 8,197 MiB (wasm64 retry) 2,953 MiB
Qwen3-4B Direct wasm64 8,197 MiB 2,980 MiB
Qwen3-4B Worker wasm32 8,197 MiB (wasm64 retry) 2,953 MiB
Qwen3-4B Worker wasm64 8,197 MiB 2,980 MiB

For the Qwen3-4B direct wasm64 cases, sampled page JS peaks were 435 MiB by default and 1,498 MiB with staging.

The models were Stories15M (SHA-256 61b50d457809a5194818fd22e6724b456cd7bb9a6264c52c8110684c53f3704a), LFM2-VL-450M fixture model (SHA-256 1fbf4797e8669cdeabd97fa1d31ab046907cb1fc78b1c3d4bda1ba879574e5d7) and projector (SHA-256 a6a813fae4ba3f90852a990fdd4786a017dba0e80e599a366853ba539ee2b5ef), and Qwen3-4B (SHA-256 ab27b9bfa375a178d6cba48f3ad892b94b7739659dcc7aae8058ce0ffed6b328).

Review Notes

High-risk regression review

  • Classification — high-risk (artifactConsumer, backendRuntime).
  • Implementation task — Web: expose capability-gated JS-backed GGUF and projector staging #2115 capability-gated staging, bridge v0.1.92 pin, runtime diagnostics, documentation, and library regression tests.
  • Independent blocking QA task — fresh-session auditor-deep, ACCEPT.
  • Exact head / current base — 14035b78cbc4e1fd6ce303a25d9f6bacb52fa4d4 / 135a6cadf1e511a5da4504b812e2ef1f74a56de9. Last merged base b6cbf85065d567f72046fb91f745b3abac211edb.
  • Production-branch deletion, bypass, or miswire proof — The prior runtime audit caught all 22 original mutations and confirmed five fix-specific reversions. The driver grader mutations are tracked in #2171.
  • Affected-family real-model/artifact evidence — Prior-head direct and worker CPU in Chromium with checksum-verified v0.1.90 and v0.1.92 bridge, worker and core files and Stories15M. Manifest SHA-256 c247b099018f55472dc83e561f0105a83f4ce03aa153d32365a07b34cde129f1 and 4f2fb82d55a932e9182e703d5265f3fc5875f808d4d9aa0ba18a0585d0d7784b, respectively. The matrix preserves the larger GGUF and projector results.
  • Explicit unavailable-family or other N/A evidence — The referenced runs used Chromium CPU. Hardware WebGPU offload and real Safari/iOS were outside their scope. Earlier version-skew cases mixed published assets. The focused rerun used matched bridge, worker and core assets from each published release.
  • Known PR-caused P1 regressions — 0. The independent audit agrees.
  • Unresolved review threads — 0.

@leehack
leehack marked this pull request as ready for review November 22, 2026 22:15
@leehack
leehack merged commit 99cb429 into main Nov 22, 2026
49 checks passed
@leehack
leehack deleted the web-js-backed-staging-main branch November 22, 2026 22:15
@github-actions

Copy link
Copy Markdown
Contributor

Chat app preview removed for leehack/llamadart-chat-pr-2165.

@leehack leehack mentioned this pull request Nov 22, 2026
13 tasks done
leehack added a commit that referenced this pull request Nov 22, 2026
## Summary

- Prepare core and all three Apple runtime companions at `0.20.6` for
#2149. The release includes capability-gated JS-backed staging for Web
GGUF models and projectors with bridge `v0.1.92` (#2165).
- Refresh current installation snippets and regenerate the chat app,
validation harness, and observability locks. The Apple companions retain
their published core floors and SwiftPM runtime pins.

## Changelog

N/A: Prepares release metadata and generates 0.20.6 notes from merged
changes.

## Production-readiness scope

- **User-facing scope** — Release notes and install guidance for the
core and the llama.cpp, LiteRT-LM, and Stable Diffusion Apple
companions.
- **Supported platforms/paths** — Core pub archive, Flutter Apple
SwiftPM packages, and the docs site. The landed Web change and its
runtime evidence are in #2165.
- **Unsupported or intentionally unavailable paths** — N/A for release
metadata. The Web staging option follows the capability checks
documented in #2165.
- **Out of scope / follow-ups** — #2090 and the Stable Diffusion
`v0.4.0-1` pin are planned for 0.20.7. #2171 tracks the separate browser
driver. #2136, #554, and #1702 remain open. The package owner verifies
pub.dev automated-publishing settings before release approval.

## Completeness checklist

- [x] Bumped the core and companion versions, recorded the release
notes, refreshed install guidance, and regenerated the three consumer
locks.
- [x] Unsupported platform/option changes are N/A for this metadata
diff.
- [x] Kept the current install docs and changelogs aligned with the
candidate. API and support-matrix edits are N/A for this diff.
- [x] Verified the release receipt, companion compatibility, and
rejection of a changed receipt digest.
- [x] Validation coverage registry changes are N/A for this metadata
diff.
- [x] The diff and receipt contain no credentials or private artifact
paths.
- [x] The release follow-ups are linked above.

## PR type guidance

- **Release prep** — Versions, changelogs, install docs, and generated
locks. Feature, bugfix, and docs-only guidance is N/A.

## Test Plan

- [x] Clean `dart run tool/prepare_workspace.dart`, repository format,
`dart analyze`, and platform boundaries with Flutter 3.47.1.
- [x] Root VM and Chrome suites excluding local-only, tooling suite, and
validation coverage inventory. All passed.
- [x] Both version verifier modes, the release candidate rehearsal, live
bridge and native digests, six Apple SwiftPM digests, companion registry
preflight, and three staged companion dry-runs.
- [x] Core archive consumer, docs build and website tests, chat app VM
and targeted Chrome, basic and server examples, and observability.
- [x] Studio core and UI formatting, analysis, VM and targeted Chrome
with Flutter 3.50.0, plus the Studio Android acceptance tooling tests.
- [x] `coverage-lib` is N/A because the diff changes no library
behavior.

## Matrix Evidence

| Matrix row | Scope covered | Platform / model / backend | Result |
Evidence / notes |
| --- | --- | --- | --- | --- |
| `static-format-analyze` | Workspace preparation, format, analysis,
platform boundaries | macOS arm64 / Flutter 3.47.1 | PASS | 1,924 files
formatted with zero changes. Clean analysis and platform boundaries. |
| `root-vm` | VM suite excluding local-only | macOS arm64 / Dart | PASS
| 15,659 passed and 135 skipped in an isolated system temp. |
| `root-chrome` | Chrome suite excluding local-only | macOS / Chrome |
PASS | 5,227 passed and one skipped. |
| Release tooling | Tooling suite and coverage inventory | macOS / Dart
VM | PASS | 2,370 tooling tests passed and 11 skipped. All 15 inventory
tests and 37 targeted companion pin tests passed. The publisher
rehearsal rejected a corrupted receipt digest. |
| `docs-site` | Site build, links, analyzes and tests | macOS / Jaspr |
PASS | 4,592 pages, 64 sitemap entries, no broken internal links, and 31
website tests. |
| `release-doc-version-consistency` | Core and companion versions and
compatibility | macOS / Dart | PASS | Default and strict modes passed
with no pending companion bumps. |
| `webgpu-bridge-tag-consistency` | Bridge pins, live manifest and
release provenance | WebGPU `v0.1.92` | PASS | All 14 pin references
agree. |
| `native-release-digests` | Runtime archive digests | llama.cpp
`v1.0.0-4`, LiteRT-LM `v0.19.1-7`, Stable Diffusion `v0.4.0` | PASS | 12
llama.cpp, eight LiteRT-LM, and 12 Stable Diffusion bundle digests
match. |
| `release-companion-pub-gate` | Package registry, SwiftPM, and staged
publication dry-runs | pub.dev / Apple SwiftPM | PASS | Preflight and
all three staged dry-runs passed. Six SwiftPM digests match. All four
0.20.6 version endpoints returned HTTP 404. |
| `release-representative-smokes` | Core archive and consumer resolution
| macOS / Dart | PASS | 2,037 selected files. The fresh consumer and
packaged basic example resolved and analyzed. |
| `examples-tests` | Chat app, basic, server, observability | macOS /
Dart and Flutter | PASS | Chat app 698 VM and 141 Chrome, basic 51,
server 54, observability seven. |
| Studio packages | Package-local format, analysis, VM and targeted
Chrome | macOS / Flutter 3.50.0 | PASS | Core 314 VM and 18 Chrome. UI
206 VM and nine Chrome. Four Android acceptance tooling tests passed. |
| `android-release-device-pool` | Old and modern arm64 devices | Android
| N/A for prep | No Android runtime, CPU profile, or native pin changes
since 0.20.5. |
| `coverage-lib` | Line coverage | — | N/A | No library behavior changes
in the prep diff. |
| `genkit-release` | Independently versioned adapter | — | N/A | Genkit
is outside this release. |
| `high-risk-exact-head-independent-qa` | Independent blocking review |
`39e4d68a` against `main` `99cb4291` | PASS | Fresh-session
`auditor-deep` ACCEPT. Versions, floors, pins, both changelogs and size
limits checked. The squash rehearsal and the publication trace (core,
then llama.cpp, LiteRT-LM, Stable Diffusion) passed. 4 of 5 verifier
mutations were rejected. The surviving one is an existing P3 limitation,
offset by the source-PR comparison. Readiness exits 2 locally |

## Review Notes

- Independent review ACCEPT at the exact head.
- Head `39e4d68a24690754828222f90e345fd03a33158f`. The labeled [Verify
release prep
run](https://github.com/leehack/llamadart/actions/runs/45080590366/job/137389057874)
passed. The final description update triggers another verification at
the same head and base.

## High-risk regression review

- **Classification** — High-risk / `artifactConsumer`.
- **Implementation task** — #2149, llamadart 0.20.6 release preparation.
- **Independent blocking QA task** — fresh-session `auditor-deep`,
ACCEPT.
- **Exact head / current base** —
`39e4d68a24690754828222f90e345fd03a33158f` /
`99cb4291da4eb304258083ed3fab3a1c61e93006`.
- **Production-branch deletion, bypass, or miswire proof** — N/A for
production code. The local publisher rehearsal accepted the candidate
and rejected a deliberately changed release receipt digest.
- **Affected-family real-model/artifact evidence** — The live default
bridge, native archive and Apple SwiftPM identities match. See #2165 for
Web runtime evidence.
- **Explicit unavailable-family or other N/A evidence** — The prep diff
changes versions, installation guidance, package resolution metadata,
and release notes. The physical Safari/iOS and Montréal follow-ups
remain in #2136 and #554.
- **Known PR-caused P1 regressions** — 0. The independent audit agrees.
- **Unresolved review threads** — 0 at creation.

## Collector ledger

| Source | Disposition | Release note or reason |
| --- | --- | --- |
| #2165 | Included | Added capability-gated JS-backed Web model and
projector staging with bridge v0.1.92. |
| #2150 | N/A | Apple setup guide correction. |
| #2151, #2157 | N/A | Maintainer release tooling and tests. |
| #2152, #2158, #2159 | N/A | Private qualification and test harness
changes. |
| #2161, #2167, #2168, #2170 | N/A | Static deployment and CI
maintenance. |

One included PR, ten N/A, and zero unresolved inputs. The collector
separately recognized the generated 0.20.5 docs cut.

## Release notes review

- 99cb429 Combine the new staging
option and its bridge capability requirement with the WebGPU v0.1.92 pin
announcement.

## Release notes input

Previous-tag: v0.20.5@ee0bfb72da29ad64c12e83683ff0d7590710956e
Through: 99cb429
Input-SHA256:
e4fac36cc031df0d8a382db47b2e0a3a6fcc6ca19bada0aea093201aba1c1247
leehack added a commit that referenced this pull request Nov 23, 2026
## Summary

- Add the local Chromium driver, public Dart fixture, and scenario
wiring for Web JS-backed GGUF and projector staging.
- Replay sanitized Chromium receipts to check explicit wasm64 loads and
reloads, unrelated capability refusals, non-`unsupported` refusal
rejection, and model requests made during a refusal.
- Address `audit-daa742` findings and merge `origin/main`
(`85643f74f2b00a59ae70b479c9b4cbbd7f1ccc74`) into prior head
`5692399853cce1cf780b84172ddcead161a48f5a` -> new head
`970c016e9dfd120db52c9294ce95e0939f8a2437`, keeping only the 13 tooling,
fixture, matrix, and coverage-registry files on top of `main`:
- Removed the no-op
`tool/testing/playwright_web_js_backed_model_staging.py` entry from
`tagHistoryFiles` in `tool/testing/check_webgpu_bridge_tag.dart`
(reverting `check_webgpu_bridge_tag.dart` to `origin/main`).
- Added `test_refusal_requires_unsupported_field` in
`test/unit/tooling/playwright_web_js_backed_model_staging_grader_test.dart`
so all four refusal cases (`old-bridge-v0.1.86`, `old-worker`,
`old-core`, `forced-fetch`) fail if the refusal reason only appears in
`model_error` or `error` instead of `unsupported`.
- Updated `doc/testing_matrix.md` under `## Web JS-backed model staging`
to replace `"after adopting the matching v0.1.92+ assets"` with accurate
wording stating that omitting `--dry-run` fetches the pinned bridge
assets automatically.
- Refs #2115. This draft is a maintainer-tooling follow-up outside the
release scope of #2165.

## Changelog

N/A: Maintainer test tooling only.

## Production-readiness scope

- The local scenario exercises direct and worker routes, both Wasm
widths, output and reload parity, staging defaults, and version-skew
refusals.
- The driver requires Playwright Chromium, checksum-verified bridge
assets, and local model weights. Supported inputs and dry-run
instructions are in the test matrix.
- The library and bridge pin are in #2165 (now landed on `main`; current
pinned bridge tag on `main` is `v0.1.93`). Web GGUF load cancellation is
tracked in #2166.

## Completeness checklist

- [x] Merged `origin/main` (`85643f74f2b00a59ae70b479c9b4cbbd7f1ccc74`)
and applied the three `audit-daa742` fixes into new head
`970c016e9dfd120db52c9294ce95e0939f8a2437`.
- [x] Pinned refusal reason validation to the `unsupported` field
(`test_refusal_requires_unsupported_field`) and killed the any-field
refusal (`json.dumps(result)`) mutant.
- [x] Replayed sanitized receipts offline across all tooling and
markdown verification suites on
`970c016e9dfd120db52c9294ce95e0939f8a2437`.

## PR type guidance

- **Tooling** — Restores the local browser scenario and proves its
grader rejects invalid results. N/A for public API and release
validation.

## Test Plan

Verified on new head `970c016e9dfd120db52c9294ce95e0939f8a2437` (macOS
arm64, Flutter 3.47.1 / Dart 3.13.1, Python 3.15.2):

- [x] `dart run tool/prepare_workspace.dart` (clean `git status`)
- [x] `python3 tool/ci/check_format.py` (`Formatted 1949 files (0
changed)`)
- [x] `dart analyze` (`No issues found!`)
- [x] `dart run tool/testing/check_webgpu_bridge_tag.dart` (`16 live
pins agree on v0.1.93`; `1 docs restate the release 454836373 provenance
correctly`)
- [x] `TMPDIR="$(mktemp -d)" dart test -p vm
test/unit/tooling/playwright_web_js_backed_model_staging_test.dart
test/unit/tooling/playwright_web_js_backed_model_staging_grader_test.dart
test/unit/tooling/check_webgpu_bridge_tag_test.dart` (`+444: All tests
passed!`)
- [x] Mutation check (`json.dumps(result)` refusal-field mutant on
`tool/testing/playwright_web_js_backed_model_staging.py`): killed by
`test_refusal_requires_unsupported_field` in
`playwright_web_js_backed_model_staging_grader_test.dart` (8 subtest
failures across `old-bridge-v0.1.86`, `old-worker`, `old-core`,
`forced-fetch` for `model_error` and `error`; restored driver passes)
- [x] `TMPDIR="$(mktemp -d)" dart test -p vm test/unit/tooling/` (`+2680
~11: All tests passed!`)
- [x] `TMPDIR="$(mktemp -d)" xargs dart test -p vm -j 1 --exclude-tags
local-only < tool/ci/markdown_test_suites.txt` (`+1650 ~3: All tests
passed!`)
- [x] `git diff --name-only --no-renames origin/main...HEAD | dart run
tool/testing/classify_high_risk_changes.dart` (`Classification:
high-risk`, `Surfaces: backendRuntime, regressionPolicy`)
- [x] Prior-head checks and audits no longer count for
`970c016e9dfd120db52c9294ce95e0939f8a2437`: earlier CI runs, the
`audit-daa742` audit on `5692399853cce1cf780b84172ddcead161a48f5a`,
prior-head Chromium browser runs from #2165, and prior-head checks from
`5692399853cce1cf780b84172ddcead161a48f5a` do not carry over to
`970c016e9dfd120db52c9294ce95e0939f8a2437`.

## Matrix Evidence

| Matrix row | Scope covered | Platform / model / backend | Result |
Evidence / notes |
| --- | --- | --- | --- | --- |
| `static-format-analyze` | Workspace prep, format, analyzer | macOS
arm64, Flutter 3.47.1 | PASS | Verified on
`970c016e9dfd120db52c9294ce95e0939f8a2437` (`prepare_workspace.dart`,
`check_format.py`, `dart analyze`, `check_webgpu_bridge_tag.dart`). |
| `root-vm` | Driver CLI and receipt grader, scenario wiring, tooling,
markdown suites | macOS arm64, Flutter 3.47.1 | Targeted PASS |
Driver/grader/tag (`+444`), `test/unit/tooling/` (`+2680 ~11`), and
`markdown_test_suites.txt` (`+1650 ~3`) passed on
`970c016e9dfd120db52c9294ce95e0939f8a2437`. |
| `web-js-backed-model-staging` | Direct and worker staging, output
parity, reload, and version skew | Chromium CPU | Prior-head evidence
(stale) | Real Chromium cases and Qwen3-4B memory results from #2165 are
prior-head evidence and no longer count for
`970c016e9dfd120db52c9294ce95e0939f8a2437`. |
| `coverage-lib` | Runtime coverage | N/A | N/A | This diff changes
local validation tooling, fixtures, and matrix docs only (`lib/`
unchanged vs `origin/main`). |

## Review Notes

- Merged `origin/main` (`85643f74f2b00a59ae70b479c9b4cbbd7f1ccc74`) and
resolved the three `audit-daa742` findings from prior head
`5692399853cce1cf780b84172ddcead161a48f5a` -> new head
`970c016e9dfd120db52c9294ce95e0939f8a2437` (pushed via
`tool/git/safe_pr_head_update.dart`).
- Earlier CI runs and the `audit-daa742` audit on
`5692399853cce1cf780b84172ddcead161a48f5a` no longer count for
`970c016e9dfd120db52c9294ce95e0939f8a2437`.
- Fresh CI is green on `970c016e9dfd120db52c9294ce95e0939f8a2437`, and
the independent delta re-audit `audit-0d4b20` found no P1, P2 or P3
(readiness exits 2).

## High-risk regression review

- **Classification** — High risk (`backendRuntime`, `regressionPolicy`).
- **Implementation task** — #2115 local Chromium driver and offline
runtime-receipt coverage (updated with `origin/main` merge and
`audit-daa742` fixes at `970c016e9dfd120db52c9294ce95e0939f8a2437`).
- **Independent blocking QA task** — `audit-0d4b20`
(`claude-opus-5-5-auditor-0d4b20`, `operator-owned`) at
`970c016e9dfd120db52c9294ce95e0939f8a2437`: no P1, P2 or P3; the three
`audit-daa742` findings are fixed. Evidence:
`llamadart-evidence/pr-2171/audit-0d4b20/`.
- **Exact head / current base** —
`970c016e9dfd120db52c9294ce95e0939f8a2437` /
`85643f74f2b00a59ae70b479c9b4cbbd7f1ccc74`.
- **Production-branch deletion, bypass, or miswire proof** — On
`970c016e9dfd120db52c9294ce95e0939f8a2437`, the any-field refusal
(`json.dumps(result)`) mutant failed
`test_refusal_requires_unsupported_field` in
`playwright_web_js_backed_model_staging_grader_test.dart` across all 4
refusal cases × both `model_error`/`error` (8 subtest failures), and all
driver/grader/tag (`+444`), `test/unit/tooling/` (`+2680 ~11`), and
`markdown_test_suites.txt` (`+1650 ~3`) tests pass on the restored
driver.
- **Affected-family real-model/artifact evidence** — Prior-head Chromium
results in #2165 (stale for `970c016e9dfd120db52c9294ce95e0939f8a2437`).
- **Explicit unavailable-family or other N/A evidence** — Current-head
validation ran offline driver/grader suites, bridge-tag checks, mutation
verification, tooling tests, and markdown suites without live model
downloads. Hardware WebGPU and real Safari were outside the prior
browser evidence.
- **Known PR-caused P1 regressions** — 0 (independent audit
`audit-0d4b20` at `970c016e9dfd120db52c9294ce95e0939f8a2437`).
- **Unresolved review threads** — 0.
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.

Web: expose capability-gated JS-backed GGUF and projector staging

1 participant