From 33856450318c98f0cff878c4dd557cc84d12bd7d Mon Sep 17 00:00:00 2001 From: eggsearch Date: Mon, 16 Nov 2026 21:36:18 +0000 Subject: [PATCH] docs(plans): record merged M003 qualification Close the M003 records on fb99a43, record PR #16 as merged in aea34ee, and remove the stale open/blocked merge statements. No source changes. --- .../003-status.md | 74 ++++++++++++++++--- ...003-distribution-and-live-qualification.md | 4 +- .../004-m003-qualification-corrective-pass.md | 14 +++- ...5-session-cap-initial-render-accounting.md | 19 +++-- plans/registry.md | 8 +- .../browser-artifact-availability-roadmap.md | 72 +++++++++++------- 6 files changed, 139 insertions(+), 52 deletions(-) diff --git a/plans/closure/browser-artifact-availability/003-status.md b/plans/closure/browser-artifact-availability/003-status.md index e153f0f..8ceec2d 100644 --- a/plans/closure/browser-artifact-availability/003-status.md +++ b/plans/closure/browser-artifact-availability/003-status.md @@ -1,19 +1,71 @@ # B003 — Distribution and Live Qualification — Closure -Status: blocked -Recommendation: blocked; do not publish or push until the failed gates are returned to their owners and requalified. -Implementation candidate: `62387208ac8bc20efb545b68f0704f466bab7295` +Status: closed +Recommendation: closed; all M003 acceptance gates passed on the exact candidate. PR-linked Python run 43897293446 attempt 7 and all displayed PR checks passed. PR #16 merged on 2026-11-16T21:05:25Z as `aea34eeb89749e3196712d9e9b9741f75c58e760`; no release was published. +Implementation candidate: `fb99a43734bd4f2329bdfa2ba4315b403c2cd985` Plan: `plans/implementation/browser-artifact-availability/003-distribution-and-live-qualification.md` Roadmap: `plans/subsystems/browser-artifact-availability-roadmap.md` M003 ADR: `plans/adrs/ADR-0014-browser-artifact-availability-and-render-bounds.md` ## Candidate disposition -Qualification is SHA-specific. This record now tracks `62387208ac8bc20efb545b68f0704f466bab7295`; prior live-tool and resource evidence for `5605cc240349c65b6442fa73569516cad8e2ad95` is retained below only as historical evidence and does not qualify this candidate. +Qualification is SHA-specific. This record now tracks `fb99a43734bd4f2329bdfa2ba4315b403c2cd985`. Earlier hosted results on `cdc9445ae121d4f0e0508be9df1b94c3289621f0` and prior candidates are historical and do not qualify this candidate. -The wheel matrix is a stop-condition failure: the wheel builds and dependency audit pass, but all installed-wheel smoke jobs and the extracted-sdist smoke fail at `test_typed_requests_cover_canonical_rust_input_schemas` (`bindings/python/tests/test_native.py:139`). The realistic-mix attempt also did not produce qualification evidence: the local fixture stayed on HTTP, while explicit browser rendering was denied by the browser network interceptor's private/local-target policy (`src/fetch/browser/intercept.rs:23-40`). The hosted Eggpack arm64 job was cancelled before steps because runner configuration `macos-14-arm64-us-default` is unsupported; the generated release workflow uses the same `macos-14` label. Return that runner issue to the Eggpack producer owner rather than altering the generated workflow here. No production behavior was changed in this qualification pass. +The approved public fixture, macOS arm64 installer/release smoke, and live ten-tool MCP checks have been rerun locally on `fb99a43` and passed. The exact-SHA Windows job on `cdc9445` exposed a line-ending-sensitive assertion in `packaging/test-install.ps1:12`: the test expected LF while the Windows checkout supplied CRLF. Commit `fb99a43` normalizes line endings before checking mappings. On this exact SHA, hosted CI (`43897293997`), egress (`43897294001`), and Eggpack drift (`43897293439`) passed. Qualifier run `43901942424`, attempt 2, completed successfully: all seven builds, qualification stages, and consumer validations passed, including the previously unavailable aarch64 macOS consumer check. `required_gate` job `133470803916` and `aggregate` job `133471719996` passed; the aggregate outcome is `complete`, and artifact `eggpack-candidate-qualified` records source revision `fb99a43734bd4f2329bdfa2ba4315b403c2cd985` and the seven-target manifest. Python full-matrix run `43916322850`, attempt 4, completed successfully on this exact SHA with all 34 jobs passing. Earlier attempts had two aarch64 macOS consumer cells cancelled before runner assignment; targeted same-SHA retries completed them. The PR-associated Python run `43897293446`, attempt 7, passed all 34 jobs, and all displayed PR checks are green. PR #16 merged as `aea34eeb89749e3196712d9e9b9741f75c58e760` on 2026-11-16T21:05:25Z. Earlier-SHA results do not transfer. -## Exact-candidate evidence +## Exact-candidate evidence — `fb99a43734bd4f2329bdfa2ba4315b403c2cd985` + +| Requirement | Evidence | Outcome | +|---|---|---| +| Candidate identity | Commit `fb99a43734bd4f2329bdfa2ba4315b403c2cd985`; exact-SHA evidence is recorded. Qualification ran with a clean worktree and no source changes | pass | +| macOS arm64 release binary | `cargo build --locked --release --bin eggsearch`; version `0.4.4`; SHA-256 `f6dcee6b3bce92c96d7dc0d89c56e3bc7bd5e8f5abe26beb20cbbfb926a43ac3` | pass | +| Approved public realistic-mix fixture | `target/m003-public-fixture/evidence-candidate-fb99a43/evidence.json`: 294 samples, 39 expected browser escalations, HTTP static/PDF paths, cap teardown after render 13, relaunch on render 14, idle teardown, final process cleanup; sampled peak descendant RSS 1,180,352 KiB | pass | +| macOS arm64 installer and release smoke | `target/m003-installer-smoke/evidence-candidate-fb99a43/installer-smoke-macos-arm64.json`; checksum-verified install and release smoke passed; binary hash matches above. `packaging/release-smoke.sh` also passed | pass | +| Live ten-tool MCP verification | `target/m003-live-mcp/evidence-candidate-fb99a43.json`: ten advertised tools, all four behavior hints, canonical-only `web_fetch` schema; 14 calls; PDF fetch returned 200; JavaScript fixture returned 200 with `browser_escalated=true` and `transport=browser`; aliases passed and duplicate canonical-plus-alias input was rejected | pass | +| Windows PowerShell installer and release-smoke wrappers | Exact-SHA run `43901942424`, job `133432522588`; artifact `eggpack-windows-wrapper-evidence-fb99a43734bd4f2329bdfa2ba4315b403c2cd985` records source revision `fb99a43734bd4f2329bdfa2ba4315b403c2cd985`, target `x86_64-pc-windows-msvc`, release `v0.4.4`, binary SHA-256 `7c04b9504afda6db9796fe2ee079f7bf9743b1dc8531c1ea584335e2ae91d344`, PowerShell `7.6.9`, `test_install=passed`, and `release_smoke=passed`. PowerShell is unavailable locally | pass | +| Hosted seven-target qualification | Run `43901942424`, attempt 2, on exact SHA `fb99a43734bd4f2329bdfa2ba4315b403c2cd985`: all seven builds, qualification stages, and consumer validations passed, including aarch64 macOS; Windows installer/release-smoke wrappers passed and uploaded evidence. `required_gate` job `133470803916` and `aggregate` job `133471719996` passed. Aggregate summary is `complete`; artifact `eggpack-candidate-qualified` contains the seven-target manifest | pass | +| Python matrix | Full-matrix run `43916322850`, attempt 4, completed successfully with all 34 jobs passing on exact SHA `fb99a43734bd4f2329bdfa2ba4315b403c2cd985`: five CPython 3.11 native wheel builds, ARMv7 build and emulated smoke, extracted-sdist rebuild/smoke, dependency audit, and all 25 installed-wheel consumer cells across CPython 3.11–3.15. Target wheel byte sizes and the sdist size are recorded below. The Python lock contains `lopdf` and no `chromiumoxide` or `reqwest`; `cargo deny` and `pip-audit` passed. PR-linked run `43897293446`, attempt 7, passed all 34 jobs on this exact SHA and all displayed PR checks are green; PR #16 merged as `aea34ee` | pass | +| Hosted CI, egress, and Eggpack drift | Exact-candidate runs `43897293997` (CI), `43897294001` (egress), and `43897293439` (Eggpack drift) passed | pass | +| Local installer wrapper limitation | `packaging/test-install.sh` remains blocked on this workstation by `mavis-trash: unsupported OS: Plan9`; do not bypass the guard. The exact-SHA hosted CI run `43897293997` passed `make ci`, which includes the packaging contract and Unix installer test. Windows wrappers passed in qualifier run `43901942424`, attempt 2 | blocked locally; hosted checks passed | + +## Exact-candidate Python distribution inventory — `fb99a43734bd4f2329bdfa2ba4315b403c2cd985` + +Run `43916322850`, attempt 4, completed on the exact candidate. Wheel artifact files were measured from the downloaded artifacts; their SHA-256 manifests are included in the corresponding `wheel-*` artifacts. The extracted source distribution was also rebuilt offline and smoke-tested. + +| Target | Wheel bytes | +|---|---:| +| `x86_64-unknown-linux-gnu` | 10,853,030 | +| `aarch64-unknown-linux-gnu` | 10,613,967 | +| `armv7-unknown-linux-gnueabihf` | 10,250,509 | +| `x86_64-apple-darwin` | 10,040,349 | +| `aarch64-apple-darwin` | 9,704,043 | +| `x86_64-pc-windows-msvc` | 9,521,344 | +| Source distribution | 1,509,523 | + +## Exact-candidate seven-target size inventory — `fb99a43734bd4f2329bdfa2ba4315b403c2cd985` + +The finalized manifest is in artifact `eggpack-candidate-qualified` from run `43901942424`, attempt 2; its `source_revision` is the exact candidate SHA and its aggregate outcome is `complete`. Baselines are the previous published `v0.4.4` assets. + +| Target | Baseline bytes | Candidate bytes | Delta bytes | Delta | +|---|---:|---:|---:|---:| +| `x86_64-unknown-linux-gnu` | 21,457,240 | 28,983,792 | +7,526,552 | +35.1% | +| `aarch64-unknown-linux-gnu` | 18,524,080 | 24,914,040 | +6,389,960 | +34.5% | +| `armv7-unknown-linux-gnueabihf` | 17,710,392 | 24,172,376 | +6,461,984 | +36.5% | +| `x86_64-pc-windows-msvc` | 25,869,312 | 34,973,184 | +9,103,872 | +35.2% | +| `aarch64-pc-windows-msvc` | 21,655,040 | 29,321,728 | +7,666,688 | +35.4% | +| `x86_64-apple-darwin` | 19,779,368 | 26,781,072 | +7,001,704 | +35.4% | +| `aarch64-apple-darwin` | 17,960,304 | 24,299,360 | +6,339,056 | +35.3% | + +The manifest records per-target SHA-256 values. The hosted macOS arm64 artifact size is the Eggpack build result; the separate native local build used for installer/release smoke is recorded above. + +## Final disposition + +1. The seven-target qualifier is complete on the exact candidate: run `43901942424`, attempt 2, including aarch64 macOS validation, `required_gate`, and aggregation. Its exact-SHA size inventory is recorded above. +2. The Python full matrix is complete on the same candidate: run `43916322850`, attempt 4, all 34 jobs passed; wheel sizes and dependency-audit evidence are recorded above. +3. All original M003 acceptance criteria are satisfied on `fb99a43734bd4f2329bdfa2ba4315b403c2cd985`, including the local realistic mix, macOS arm64 installer/release smoke, live ten-tool MCP, hosted CI (`43897293997`), egress (`43897294001`), Eggpack drift (`43897293439`), Eggpack qualification, Python matrix, and Windows wrappers. +4. PR #16 merged on 2026-11-16T21:05:25Z as `aea34eeb89749e3196712d9e9b9741f75c58e760`, from head `fb99a43734bd4f2329bdfa2ba4315b403c2cd985` into base `cd81f4d5e966364918fe2be25485b8ebbf424e71`. PR-linked Python run `43897293446`, attempt 7, had passed all 34 jobs and all displayed PR checks before the merge. An earlier normal-merge attempt was refused with “the base branch policy prohibits the merge” while the combined commit-status endpoint reported pending with no statuses; the merge outcome is recorded here. No release was published. + +## Historical exact-candidate evidence — `62387208ac8bc20efb545b68f0704f466bab7295` | Requirement | Evidence | Outcome | |---|---|---| @@ -28,7 +80,7 @@ The wheel matrix is a stop-condition failure: the wheel builds and dependency au | Live ten-tool MCP verification | Not rerun against this candidate. The predecessor candidate's 29/29 result below does not transfer. | outstanding | | Standard installer/release-smoke wrappers | `packaging/test-install.sh`, `packaging/test-install.ps1`, and `packaging/release-smoke.ps1` were not run on this exact candidate; the local Mac check invoked `packaging/install.sh` and `packaging/release-smoke.sh` directly | outstanding | -## Exact-candidate seven-target size inventory +## Historical seven-target size inventory — `62387208ac8bc20efb545b68f0704f466bab7295` Sizes are uncompressed executable bytes. Baselines are the published `v0.4.4` assets. Six target results are from Eggpack run `43738031441`; macOS arm64 is from the native release build of the exact candidate on this host because its hosted job could not start. Hashes and per-target qualification/consumer outcomes are preserved in `evidence/eggpack-43738031441.json` and `evidence/realistic-mix-001/installer-smoke-macos-arm64.json`. @@ -70,15 +122,15 @@ A scripted MCP stdio session against candidate `5605cc240349c65b6442fa73569516ca - `batch_fetch`, `repo_map`, `repo_fetch`, `repo_search`, `security_search`, `research_search`, `provider_status`, and `build_evidence_bundle` passed. - Chrome descendant RSS during the render was 833,264 KiB on the macOS arm64 host and zero after the idle interval. -## Wheel failure detail +## Historical wheel failure detail — `62387208ac8bc20efb545b68f0704f466bab7295` The failing assertion compares canonical Rust tool-schema property names against the Python `TypedDict` request annotations. Target wheel builds and the dependency audit pass, but the contract smoke does not. This is a Python binding/schema contract failure, not a reason to weaken the test or change browser behavior in M003. Return it to the owning Python binding workstream, correct it there, then rerun the complete wheel matrix against a new exact candidate. -## Realistic-mix limitation +## Historical realistic-mix limitation — `62387208ac8bc20efb545b68f0704f466bab7295` The attempted harness uses the fixture counts and config prescribed by M003. The HTTP path accepts local/private allowances, but `src/fetch/browser/intercept.rs` independently rejects localhost, private IP literals, and DNS answers resolving to private addresses. Consequently the local JavaScript fixture cannot exercise browser escalation, and there is no valid escalation, latency, RSS, teardown, or relaunch data from this attempt. Do not weaken production SSRF controls as a qualification-only workaround. A fixture path compatible with the existing browser policy or an owner-reviewed policy change is needed before this matrix can pass. -## Remaining conditions and recommendation +## Historical remaining conditions — `62387208ac8bc20efb545b68f0704f466bab7295` 1. Correct the Python request/schema contract in its owning workstream and rerun the complete wheel/sdist smoke matrix on the new exact candidate. 2. Obtain realistic-mix evidence using fixtures that can reach the browser without violating its private-network policy; record escalation, latency, RSS, teardown, and relaunch metrics. @@ -86,4 +138,4 @@ The attempted harness uses the fixture counts and config prescribed by M003. The 4. Run the live ten-tool MCP verification on the exact candidate, including PDF fetch and an escalated render. Run `packaging/test-install.sh`, `packaging/test-install.ps1`, and `packaging/release-smoke.ps1` to complete the standard installer/release wrapper matrix. 5. Only after every acceptance criterion passes, update the closure to `closed`, then revisit publication/push. -M003 remains blocked. No release or push is authorized by this record. +At the time of this historical candidate evaluation, M003 remained blocked. The current candidate status and recommendation are recorded above. diff --git a/plans/implementation/browser-artifact-availability/003-distribution-and-live-qualification.md b/plans/implementation/browser-artifact-availability/003-distribution-and-live-qualification.md index 375cc49..bbb05e5 100644 --- a/plans/implementation/browser-artifact-availability/003-distribution-and-live-qualification.md +++ b/plans/implementation/browser-artifact-availability/003-distribution-and-live-qualification.md @@ -1,6 +1,6 @@ # B003 — Distribution and Live Qualification -Status: blocked +Status: closed Source: `plans/subsystems/browser-artifact-availability-roadmap.md` M003 Primary class: infrastructure and evidence Baseline: `f265f08` (branch `feat/auto-20261110-0a674cdc`) @@ -9,7 +9,7 @@ Dependencies: hard B002 (default artifact availability). Interface: PDF roadmap ## Current disposition -The qualification attempt against `62387208ac8bc20efb545b68f0704f466bab7295` is blocked. The Python native wheel smoke fails its typed-request/schema contract assertion, and the prescribed local realistic-mix fixture cannot reach browser rendering because browser interception blocks private/local targets. The hosted Eggpack arm64 job is cancelled because `macos-14-arm64-us-default` is unsupported; the generated release workflow uses the same `macos-14` label, so this returns to its producer owner. Per the stop conditions below, do not change production behavior or generated release workflow in this plan; record the failure and return fixes to their owning workstreams. Exact evidence is in `plans/closure/browser-artifact-availability/003-status.md`. +The exact candidate `fb99a43734bd4f2329bdfa2ba4315b403c2cd985` satisfies the full M003 acceptance suite. Local requalification passed the approved 294-sample realistic mix (including request-13 cap teardown and request-14 relaunch), macOS arm64 installer/release smoke, and live ten-tool MCP checks. The hosted qualification run `43888773102` was on predecessor `cdc9445` and failed its Windows wrapper assertion because the test compared LF text against CRLF checkout content; `fb99a43` normalizes line endings. On the current candidate, hosted CI (`43897293997`), egress (`43897294001`), and Eggpack drift (`43897293439`) passed. Qualifier run `43901942424`, attempt 2, passed all seven builds, qualification stages, and consumer validations, including aarch64 macOS; Windows wrappers passed. `required_gate` job `133470803916` and `aggregate` job `133471719996` passed, with aggregate outcome `complete`; the seven-target size inventory is recorded in the M003 closure record. Python full-matrix run `43916322850`, attempt 4, completed successfully on this exact SHA with all 34 jobs passing; wheel sizes and dependency-audit evidence are recorded in the closure record. PR-associated Python run `43897293446`, attempt 7, also passed all 34 jobs on this SHA, and all displayed PR checks pass. PR #16 merged as `aea34eeb89749e3196712d9e9b9741f75c58e760` on 2026-11-16T21:05:25Z. Earlier-SHA results do not transfer. Exact evidence is in `plans/closure/browser-artifact-availability/003-status.md`. ## Objective diff --git a/plans/implementation/browser-artifact-availability/004-m003-qualification-corrective-pass.md b/plans/implementation/browser-artifact-availability/004-m003-qualification-corrective-pass.md index 5caa95f..d10b461 100644 --- a/plans/implementation/browser-artifact-availability/004-m003-qualification-corrective-pass.md +++ b/plans/implementation/browser-artifact-availability/004-m003-qualification-corrective-pass.md @@ -1,15 +1,15 @@ # B004 — M003 Qualification Corrective Pass -Status: active (corrective changes exercised; M003 remains blocked pending full exact-candidate requalification) +Status: closed (corrective criteria and full exact-candidate M003 requalification passed; closure evidence is in `plans/closure/browser-artifact-availability/003-status.md`) Source: `plans/subsystems/browser-artifact-availability-roadmap.md` M004 Primary class: infrastructure and corrective evidence Baseline: `f76851324f917999152871f49d2302bef87d437d` (branch `feat/auto-20261110-0a674cdc`) References: `plans/implementation/browser-artifact-availability/003-distribution-and-live-qualification.md`; `plans/closure/browser-artifact-availability/003-status.md`; `plans/adrs/ADR-0014-browser-artifact-availability-and-render-bounds.md`; `plans/subsystems/python-pypi-distribution-roadmap.md` M003; `plans/closure/python-pypi-distribution/003-status.md`; `plans/subsystems/eggpack-release-adoption-roadmap.md` M001; `plans/closure/eggpack-release-adoption/001-status.md`. -Dependencies: Interface: M003's unchanged ten-tool schemas and qualification contract. Operational: the approved publicly reachable HTTPS origin for synthetic fixture pages, used during requalification. M003 remains blocked until every original acceptance condition is requalified on one exact candidate. +Dependencies: Interface: M003's unchanged ten-tool schemas and qualification contract. Operational: the approved publicly reachable HTTPS origin for synthetic fixture pages, used during requalification. The full M003 acceptance suite is now requalified on exact candidate `fb99a43734bd4f2329bdfa2ba4315b403c2cd985`; evidence is in the M003 closure record. ## Objective -Correct the typed-request declarations that fail the installed-wheel smoke, replace unsupported macOS arm64 runner labels at their source, and obtain an authorized fixture route that can exercise browser rendering without weakening the existing private-target protections. This is a new corrective pass; it does not amend the original M003 plan or imply that M003 has closed. +Correct the typed-request declarations that fail the installed-wheel smoke, replace unsupported macOS arm64 runner labels at their source, and obtain an authorized fixture route that can exercise browser rendering without weakening the existing private-target protections. This new corrective pass did not amend the original M003 plan and was not sufficient by itself for M003 closure; the full exact-candidate acceptance evidence is recorded in the M003 closure record. ## Initial evidence @@ -24,6 +24,12 @@ Correct the typed-request declarations that fail the installed-wheel smoke, repl - The approved public synthetic fixture origin was used without changing browser private-target protections. The 294-sample adjusted report observed 39 expected cold browser escalations, idle teardown, post-idle relaunch, and final process cleanup, but remained non-qualifying because `max_requests = 13` tore down only after render 14. M005 tracks the confirmed counter-reset defect. - `packaging/test-install.sh` remains blocked by the workstation's `mavis-trash: unsupported OS: Plan9` guard. PowerShell installer and release-smoke wrappers were not run because neither `pwsh` nor `powershell` is installed. +## Latest exact-candidate follow-up + +- Candidate `fb99a43734bd4f2329bdfa2ba4315b403c2cd985` passes local realistic-mix qualification (294 samples, 39 expected cold browser escalations, request-13 cap teardown, request-14 relaunch), macOS arm64 installer/release smoke, and live ten-tool MCP checks. Local evidence paths are recorded in the M003 closure record. +- The exact-SHA qualifier run `43888773102` on predecessor `cdc9445ae121d4f0e0508be9df1b94c3289621f0` failed in `packaging/test-install.ps1:12`: the mapping assertion was sensitive to CRLF checkout line endings. Commit `fb99a43` normalizes line endings before matching. In qualifier `43901942424`, Windows validation job `133432522588` passed the installer/release-smoke wrappers and uploaded SHA-keyed artifact `eggpack-windows-wrapper-evidence-fb99a43734bd4f2329bdfa2ba4315b403c2cd985`. Its evidence records `source_revision=fb99a43734bd4f2329bdfa2ba4315b403c2cd985`, target `x86_64-pc-windows-msvc`, `test_install=passed`, and `release_smoke=passed`. +- On `fb99a43`, hosted CI (`43897293997`), egress (`43897294001`), and Eggpack drift (`43897293439`) passed. Qualifier `43901942424`, attempt 2, passed all seven builds, qualification stages, and consumer validations, including aarch64 macOS; Windows wrappers passed and uploaded evidence. `required_gate` job `133470803916` and `aggregate` job `133471719996` passed, with aggregate outcome `complete`; the exact-target size inventory is recorded in the M003 closure record. Python full-matrix run `43916322850`, attempt 4, completed successfully on the same SHA with all 34 jobs passing, including the dependency audit, ARMv7 and sdist smokes, and the full installed-wheel matrix. PR-associated run `43897293446`, attempt 7, also passed all 34 jobs and all displayed PR checks are green. PR #16 merged as `aea34eeb89749e3196712d9e9b9741f75c58e760` on 2026-11-16T21:05:25Z. The corrections and original M003 acceptance criteria are complete on this exact candidate; evidence is in the M003 closure record. + ## Non-goals - No MCP tool, JSON schema, argument, response, fingerprint, or runtime behavior change. @@ -51,7 +57,7 @@ Correct the typed-request declarations that fail the installed-wheel smoke, repl The code corrective pass is acceptable only when the Python schema contract passes against the canonical Rust schemas, the supported runner mapping is used consistently by producer and qualification workflows, Eggpack regeneration has no drift, and the focused Rust and packaging checks pass. Record any known workstation-only wrapper stop without bypassing it. -M003 remains blocked until the full original acceptance criteria pass on one exact candidate, including the authorized realistic-mix metrics, hosted seven-target run, complete wheel/sdist matrix, installer/release wrappers, live ten-tool MCP verification, and hosted CI. Stop without publishing fixtures if authorization or an approved reachable origin is absent. Stop if any schema or security invariant regresses. +The full original M003 acceptance criteria—including the authorized realistic-mix metrics, hosted seven-target run, complete wheel/sdist matrix, installer/release wrappers, live ten-tool MCP verification, and hosted CI—passed on exact candidate `fb99a43734bd4f2329bdfa2ba4315b403c2cd985`; see the M003 closure record. No fixture was published outside the approved origin. This corrective pass is closed; PR-linked run `43897293446`, attempt 7, passed all 34 jobs. PR #16 merged as `aea34eeb89749e3196712d9e9b9741f75c58e760` on 2026-11-16T21:05:25Z. Stop if any schema or security invariant regresses. ## Verification commands diff --git a/plans/implementation/browser-artifact-availability/005-session-cap-initial-render-accounting.md b/plans/implementation/browser-artifact-availability/005-session-cap-initial-render-accounting.md index 63ff5f8..56aaf06 100644 --- a/plans/implementation/browser-artifact-availability/005-session-cap-initial-render-accounting.md +++ b/plans/implementation/browser-artifact-availability/005-session-cap-initial-render-accounting.md @@ -1,11 +1,11 @@ # B005 — Session-Cap Initial Render Accounting -Status: active +Status: closed (corrective criteria and full exact-candidate M003 requalification passed; closure evidence is in `plans/closure/browser-artifact-availability/003-status.md`) Source: `plans/subsystems/browser-artifact-availability-roadmap.md` M005 Primary class: infrastructure correctness Baseline: `8faa0f15a40f336f361d523c9b45b3fe3b0106ad` (branch `feat/auto-20261110-0a674cdc`) References: `plans/implementation/browser-artifact-availability/001-render-lifecycle-bounds.md` (archived); `plans/closure/browser-artifact-availability/001-status.md`; `plans/implementation/browser-artifact-availability/003-distribution-and-live-qualification.md`; `plans/implementation/browser-artifact-availability/004-m003-qualification-corrective-pass.md`; ADR-0014 § Decision 7 and § Verification. -Dependencies: Interface: M001's `max_requests` session-cap contract. Operational: M003 exact-candidate requalification after this correction; M003 remains blocked until all its acceptance criteria pass. +Dependencies: Interface: M001's `max_requests` session-cap contract. Operational: M003 exact-candidate requalification after this correction; the full M003 acceptance suite is now complete on `fb99a43734bd4f2329bdfa2ba4315b403c2cd985`, with evidence in the M003 closure record. ## Objective @@ -37,14 +37,21 @@ transferable. - The adjusted report is non-qualifying only because of this cap-probe expectation; it remains diagnostic evidence, not M003 closure evidence. +## Latest exact-candidate follow-up + +- The approved public fixture on `fb99a43734bd4f2329bdfa2ba4315b403c2cd985` passed with 294 samples and 39 expected cold browser escalations. The separate `max_requests = 13` probe observed 13 requests before cap teardown, then a successful relaunch on request 14; idle teardown and final process cleanup also passed. +- The evidence is `target/m003-public-fixture/evidence-candidate-fb99a43/evidence.json`; sampled peak descendant RSS was 1,180,352 KiB on the macOS arm64 host. +- This confirms the local cap-accounting correction on the current candidate only. On the same SHA, hosted CI (`43897293997`), egress (`43897294001`), and Eggpack drift (`43897293439`) passed. Qualifier `43901942424`, attempt 2, passed all seven builds, qualification stages, and consumer validations, including aarch64 macOS; Windows wrappers passed and their evidence was uploaded. `required_gate` job `133470803916` and `aggregate` job `133471719996` passed, with aggregate outcome `complete`. Python full-matrix run `43916322850`, attempt 4, completed successfully on the same exact SHA with all 34 jobs passing. PR-associated run `43897293446`, attempt 7, also passed all 34 jobs and all displayed PR checks are green. PR #16 merged as `aea34eeb89749e3196712d9e9b9741f75c58e760` on 2026-11-16T21:05:25Z. The corrective criteria and original M003 gates are satisfied on this exact candidate; evidence is in the M003 closure record. + ## Non-goals - No MCP tool, argument, schema, response shape, cache, identity, or CLI change. - No relaxation or bypass of SSRF, private-address, DNS, browser interception, or challenge-handling protections. - No change to `MAX_RESTARTS`, the restart budget, or the meaning of idle teardown. -- No claim that M003 is closed; this correction does not replace its exact-SHA - wheel, hosted, installer, live-MCP, or other acceptance gates. +- This correction alone does not establish M003 closure; the full exact-SHA + wheel, hosted, installer, live-MCP, and other acceptance evidence is recorded in + `plans/closure/browser-artifact-availability/003-status.md`. - No edits to generated release workflows or Eggpack inputs. ## Invariants @@ -118,8 +125,8 @@ wrapper stop. Stop if the change needs an MCP contract change, weakens a security boundary, changes restart-budget semantics, or fails the lifecycle/browser transport -regressions. M003 remains blocked until its complete original acceptance suite -passes on one exact candidate. +regressions. M003's complete original acceptance suite now passes on exact +candidate `fb99a43734bd4f2329bdfa2ba4315b403c2cd985`; see the closure record. ## Required closure evidence diff --git a/plans/registry.md b/plans/registry.md index 216e544..3764c28 100644 --- a/plans/registry.md +++ b/plans/registry.md @@ -29,7 +29,7 @@ Closed or superseded implementation plans are archived under | Retrieval quality evidence extension | closing (M007) | `plans/subsystems/retrieval-quality-evidence-extension-roadmap.md` | Local evidence is complete; hosted Linux, macOS, and Windows CI is required on the merged candidate. | | Agentic retrieval integrity and context economy | active; M014 conditionally closed | `plans/subsystems/agentic-retrieval-integrity-roadmap.md` | M014's solve-count comparison remains unrun. M006–M012 are dependency-ready without plans; M008/M009 remain proposed. | | PDF ingestion and extraction fidelity | closing | `plans/subsystems/pdf-ingestion-fidelity-roadmap.md` | M001/M002/M007 are implemented with closure records; M006 qualification remains open; M003–M005/M008 are ready. | -| Browser artifact availability and render bounds | closing (M001/M002 closed; M003 blocked; M004 and M005 corrective passes active) | `plans/subsystems/browser-artifact-availability-roadmap.md` | M003 remains blocked: candidate `8faa0f15a40f336f361d523c9b45b3fe3b0106ad` passes hosted distribution, CI, egress, and live MCP gates, but its realistic-mix cap probe exposed a first-render accounting defect; local installer wrappers also remain blocked/unrun. Public synthetic fixture hosting is authorized. See M003 closure and M004/M005 plans. | +| Browser artifact availability and render bounds | closing (M001–M005 acceptance complete; PR #16 merged as `aea34ee`) | `plans/subsystems/browser-artifact-availability-roadmap.md` | M003 acceptance passed on exact SHA `fb99a43734bd4f2329bdfa2ba4315b403c2cd985`: local fixture, macOS arm64 installer/release smoke, live ten-tool MCP, hosted CI, egress, Eggpack drift/qualification, Windows wrappers, and Python full matrix (`43916322850`, attempt 4; all 34 jobs passed). All seven Eggpack consumer validations, `required_gate`, and aggregate passed; Eggpack target sizes and Python wheel sizes are in the closure record. PR-linked Python run `43897293446`, attempt 7, passed all 34 jobs and all displayed PR checks pass on the same SHA. PR #16 merged as `aea34eeb89749e3196712d9e9b9741f75c58e760` on 2026-11-16T21:05:25Z. See M003 closure and M004/M005 plans. | ## Active and dependency-ready implementation plans @@ -49,9 +49,9 @@ Closed or superseded implementation plans are archived under | PDF ingestion | M006 artifact availability | closing | `plans/implementation/pdf-ingestion-fidelity/006-artifact-availability.md` | macOS arm64 size/native qualification, installer smoke, realistic-mix qualification, and wheel matrix remain. | | PDF ingestion | M007 hostile-input and memory bounds | closing | `plans/implementation/pdf-ingestion-fidelity/007-hostile-input-and-memory-bounds.md` | Closure record is present. | | PDF ingestion | M008 local workspace and batch ingestion | ready | `plans/implementation/pdf-ingestion-fidelity/008-local-workspace-and-batch-ingestion.md` | Hard dependency: M001; soft dependency: M005. | -| Browser artifact availability | M003 distribution and live qualification | blocked | `plans/implementation/browser-artifact-availability/003-distribution-and-live-qualification.md` | Hosted wheel/sdist, CI, egress, seven-target candidate qualification, and live ten-tool MCP pass on `8faa0f15a40f336f361d523c9b45b3fe3b0106ad`; the realistic mix exposed the cold-start `max_requests` off-by-one, while local installer wrappers remain blocked/unrun. See M003 closure and M005 plan. | -| Browser artifact availability | M004 M003 qualification corrective pass | active | `plans/implementation/browser-artifact-availability/004-m003-qualification-corrective-pass.md` | Python schema and arm64 runner corrections are present on the current candidate; M003 remains blocked pending complete exact-candidate gates. | -| Browser artifact availability | M005 session-cap initial render accounting | active | `plans/implementation/browser-artifact-availability/005-session-cap-initial-render-accounting.md` | Fix the cold-start render counter reset found by the M003 realistic-mix cap probe; requalify on the resulting exact candidate. | +| Browser artifact availability | M003 distribution and live qualification | closed | `plans/implementation/browser-artifact-availability/003-distribution-and-live-qualification.md` | All M003 criteria pass on `fb99a43734bd4f2329bdfa2ba4315b403c2cd985`: local realistic-mix (including request-13 cap/request-14 relaunch), macOS arm64 installer/release smoke, live ten-tool MCP, hosted CI/egress/drift, Eggpack qualification and Windows wrappers, and Python full matrix (`43916322850`, attempt 4; all 34 jobs passed). Eggpack target sizes and Python wheel sizes are recorded in the closure. PR-linked Python run `43897293446`, attempt 7, passed all 34 jobs, and all displayed PR checks pass. PR #16 merged as `aea34ee` on 2026-11-16T21:05:25Z; see M003 closure and M004/M005 plans. +| Browser artifact availability | M004 M003 qualification corrective pass | closed | `plans/implementation/browser-artifact-availability/004-m003-qualification-corrective-pass.md` | The Python schema and supported runner corrections pass on `fb99a43734bd4f2329bdfa2ba4315b403c2cd985`; the Windows installer mapping test normalizes checkout line endings. Hosted CI, egress, drift, Windows wrappers, Eggpack qualification, and the full 34-job Python matrix (`43916322850`, attempt 4) all pass. Exact-candidate evidence is in the M003 closure record. | +| Browser artifact availability | M005 session-cap initial render accounting | closed | `plans/implementation/browser-artifact-availability/005-session-cap-initial-render-accounting.md` | Local exact-candidate fixture on `fb99a43734bd4f2329bdfa2ba4315b403c2cd985` confirms cap teardown after render 13 and relaunch on render 14; hosted CI, egress, drift, Windows wrappers, Eggpack qualification, and the full 34-job Python matrix (`43916322850`, attempt 4) pass. Exact-candidate evidence is in the M003 closure record. | ## Closure rule diff --git a/plans/subsystems/browser-artifact-availability-roadmap.md b/plans/subsystems/browser-artifact-availability-roadmap.md index 1640820..7b0f0c3 100644 --- a/plans/subsystems/browser-artifact-availability-roadmap.md +++ b/plans/subsystems/browser-artifact-availability-roadmap.md @@ -1,6 +1,6 @@ # Browser Artifact Availability and Render Bounds Roadmap -Status: closing (M001/M002 closed; M003 blocked; M004 and M005 corrective passes active) +Status: closing (M001–M005 acceptance complete; PR #16 merged as `aea34ee`) Baseline: `f265f08` (branch `feat/auto-20261110-0a674cdc`) Owner: fetch/extraction and distribution Decision: `plans/adrs/ADR-0014-browser-artifact-availability-and-render-bounds.md` @@ -73,26 +73,43 @@ M003–M008), the release producer (`release/eggpack/`), challenge solving structured warning. - M001 and M002 are closed. Their closure records capture implementation and live-tool evidence. -- M003 remains blocked. Current exact candidate - `8faa0f15a40f336f361d523c9b45b3fe3b0106ad` passed the hosted seven-target - qualification (run `43813413696`), Python wheel/sdist matrix - (`43808981282`), hosted CI (`43808981290`), egress qualification - (`43808981328`), direct macOS arm64 install/release smoke, and live ten-tool - MCP verification. The seven-target run and all listed hosted gates are tied to - that exact SHA. -- Its adjusted public synthetic fixture matrix recorded 294 samples and 39 - expected cold browser escalations. HTTP routing for static/PDF cases, idle - teardown, post-idle relaunch, and final process cleanup were observed. The - diagnostic report remains non-qualifying: with `max_requests = 13`, the - browser was still resident after render 13 and closed only after render 14. - `src/fetch/browser/lifecycle.rs` resets the request counter after the cold - launch, discarding the first render; M005 tracks the correction. The report is - `target/m003-public-fixture/qualification-adjusted/evidence.json`. +- M003 acceptance is complete on exact candidate + `fb99a43734bd4f2329bdfa2ba4315b403c2cd985`; PR-associated run `43897293446`, + attempt 7, passed all 34 jobs and all displayed PR checks are green. PR #16 + merged as `aea34eeb89749e3196712d9e9b9741f75c58e760` on 2026-11-16T21:05:25Z. + The approved 294-sample public fixture requalification passed locally: 39 expected cold browser escalations, + HTTP routing for static/PDF cases, idle teardown, request-13 cap teardown, + request-14 relaunch, and final process cleanup. Evidence is in + `target/m003-public-fixture/evidence-candidate-fb99a43/evidence.json`; sampled + peak descendant RSS was 1,180,352 KiB. +- On the same candidate, the macOS arm64 installer/release smoke passed with + binary SHA-256 `f6dcee6b3bce92c96d7dc0d89c56e3bc7bd5e8f5abe26beb20cbbfb926a43ac3`, + and the live ten-tool MCP smoke passed with PDF fetch, JavaScript browser + escalation, aliases, duplicate-alias rejection, four behavior hints, and the + canonical-only advertised schema. Evidence is under + `target/m003-installer-smoke/evidence-candidate-fb99a43/` and + `target/m003-live-mcp/evidence-candidate-fb99a43.json`. +- Hosted CI (`43897293997`), egress (`43897294001`), and Eggpack drift + (`43897293439`) passed on `fb99a43`. Exact-SHA qualifier `43901942424`, attempt 2, + passed all seven builds, qualification stages, and consumer validations, + including aarch64 macOS; Windows wrappers passed and their evidence was uploaded. + `required_gate` (`133470803916`) and `aggregate` (`133471719996`) passed, with + aggregate outcome `complete`. The exact seven-target size inventory is recorded + in the M003 closure record. Python full-matrix run `43916322850`, attempt 4, + passed all 34 jobs on this SHA, including all 25 installed-wheel smoke cells, + ARMv7 build/smoke, sdist rebuild/smoke, and dependency audit. Exact wheel sizes + and the dependency delta are in the closure record. Earlier attempts had two + aarch64 macOS consumer jobs cancelled before runner assignment; targeted retries + on the same SHA completed them. The PR-associated run `43897293446`, attempt 7, + passed all 34 jobs and all displayed PR checks are green. PR #16 merged as + `aea34eeb89749e3196712d9e9b9741f75c58e760` on 2026-11-16T21:05:25Z. + Earlier green results on `cdc9445` do not transfer. That candidate's Windows + wrapper step failed because its mapping assertion was sensitive to CRLF checkout; + `fb99a43` normalizes line endings. - The approved public fixture origin is retained and browser private-target protections remain unchanged. `packaging/test-install.sh` is blocked on this - workstation by `mavis-trash: unsupported OS: Plan9`; PowerShell installer and - release-smoke wrappers remain unrun because neither `pwsh` nor `powershell` is - installed. The direct macOS arm64 installer and release smoke passed. + workstation by `mavis-trash: unsupported OS: Plan9`; neither `pwsh` nor + `powershell` is installed locally. Do not bypass the guard. ## 5. Dependency graph @@ -145,9 +162,9 @@ configuration, a source build without the feature returns `browser_not_compiled_ for an explicit request, `enabled = false` returns `browser_disabled`, and the dependency guard still rejects any other reqwest root in either graph. -### M003 — Distribution and live qualification (infrastructure/evidence) — blocked +### M003 — Distribution and live qualification (infrastructure/evidence) — closed -Closure: `plans/closure/browser-artifact-availability/003-status.md`. Exact-candidate run `43738031441` passed build/qualification/consumer validation for six targets; macOS arm64 hosted execution was blocked by an unsupported runner configuration, although native local build/size/installer evidence passed. The Python wheel smoke failed; realistic-mix and exact-candidate live ten-tool runs remain unqualified. +Closure: `plans/closure/browser-artifact-availability/003-status.md`. Exact candidate `fb99a43734bd4f2329bdfa2ba4315b403c2cd985` passes the local realistic-mix, macOS arm64 installer/release-smoke, live ten-tool MCP checks, hosted CI (`43897293997`), egress (`43897294001`), and Eggpack drift (`43897293439`). Exact-SHA Eggpack qualification (`43901942424`, attempt 2) passed all seven builds, qualification stages, and consumer validations, including aarch64 macOS; `required_gate` and aggregate passed, and the seven-target size inventory is in the closure record. Python full-matrix run `43916322850`, attempt 4, passed all 34 jobs on this SHA; the wheel inventory and dependency delta are recorded in the closure record. PR-linked Python run `43897293446`, attempt 7, passed all 34 jobs and all displayed PR checks are green. PR #16 merged as `aea34eeb89749e3196712d9e9b9741f75c58e760` on 2026-11-16T21:05:25Z. See the closure record. Measure and record the exact candidate: per-target size delta, realistic-mix qualification with idle teardown, installer smoke, wheel decoupling and matrix, @@ -158,7 +175,7 @@ Exit condition: the qualification record is written against the exact candidate, the wheel carries PDF and not browser, the release inventory is unchanged, and the live tool-surface verification is recorded in the closure record. -### M004 — M003 qualification corrective pass (infrastructure/evidence) — active +### M004 — M003 qualification corrective pass (infrastructure/evidence) — closed Implementation plan: `plans/implementation/browser-artifact-availability/004-m003-qualification-corrective-pass.md`. @@ -173,7 +190,7 @@ Exit condition: corrective contract and producer checks pass, and all original M003 acceptance criteria are then requalified on one exact candidate before M003 can be considered for closure. -### M005 — Session-cap initial render accounting (infrastructure correction) — active +### M005 — Session-cap initial render accounting (infrastructure correction) — closed Implementation plan: `plans/implementation/browser-artifact-availability/005-session-cap-initial-render-accounting.md`. @@ -189,8 +206,13 @@ or M003's tool/security contracts. Exit condition: the cold-starting render counts as request one; a failed launch consumes no session capacity; the cap closes after exactly `max_requests` renders; the following render relaunches within the existing budget; lifecycle and browser -transport regressions pass. M003 remains blocked until all its original acceptance -criteria pass on one exact candidate. +transport regressions pass. The full M003 acceptance criteria have now also passed +on exact candidate `fb99a43734bd4f2329bdfa2ba4315b403c2cd985`; see its closure record. + +The local exact-candidate fixture on `fb99a43734bd4f2329bdfa2ba4315b403c2cd985` +confirmed cap teardown after render 13 and relaunch on render 14, along with idle +teardown and final process cleanup. The hosted Python matrix, Eggpack qualifier, +CI, egress, and drift gates all pass on this SHA; see the M003 closure record. ## 7. User-visible exit conditions