Repository navigation
chore(ci): re-audit cold-capture reader and shared producers - #4057
Merged
Merged
Conversation
This was referenced Nov 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #3548
Refs #3233
What changed
Restores the optional generated-CSS and installed-asset bindings for the reviewed cold-capture reader by moving the shared frozen positive owner and its matching producer/reader pins together. No reader behavior, asset validation, fallback logic, product code or package output changes.
Why this shape
Follows the separate post-merge re-audit procedure and audited-reader ruling in the CI decision and #2408. A shared owner requires reviewing the other producer and reader drift in the same PR, as #3548 explicitly requires. #3233 is referenced for coordination rather than silently treated as delivered; its owner can reconcile the overlapping producer acceptance criteria after this lands.
Audit identity and scope
736a3445e82aee509e10f3c8d00b95fc77749202.a9bcdbd6734c1733390570e2a68c10afde3b00a9.5221359a249376353f6fd4939f4076596517c87f.54e47ae5503d4c8c622609397a0fbaaece3e98d8is an ancestor. All positive blobs are available through offlinegit show, with no feature-branch ownership.0a5ef9ee8eb7825c132899f6b51d1d7b0ce90121; candidate tree:11266b558352ecc312b9264491b6f7b01bb060ad.Reader audit
cold-capture/commands.ts: the only diff replaces the painted-height assertion with a DOM edge-hit probe. It scrolls each button into view, retains the 44px painted-box rule for controls without.bk-hit, and checks reaching Buttons at four target edges, using a 44px floor underany-pointer: coarse. All new operations execute inside the existing page evaluation. There are no new imports, filesystem reads, spawned processes or network reads. The sole installed external read remains the exact../../node_modules/axe-core/axe.min.jsliteral. The existing../ui-react/dist/styles.cssread still binds generated source; esbuild's tracked app/worker entries, loopback server, origin-only route refusal, egress observation and blob playback reads are unchanged. The pin moves because the source bytes changed, not because the installed-asset boundary broadened.form-browser.ts: comment-only change documenting the viewport restoration offsets. Executable behavior and the generated stylesheet read are byte-for-byte unchanged.share-review/commands.ts: fixed waits become explicit admission/queue/settled observations; the racing-tab case waits for a post-admission loser attempt, dismiss waits for the durable queue removal, empty-state cases assert durable inventory, and lost-response closes in the socket write callback. New helpers only evaluate the existing page proof surface. No imports or filesystem/process/network read sites are added. The existing generated stylesheet and literal axe-core reads, loopback server and origin-only routing remain unchanged. Both installed-asset reader pins move together with their generated-CSS pins.Combined producer audit
ci-proof.ts: adds disk and unit-memory observations plus reference-pool runtime inventory. Diagnostics are written in cleanup, independently of command success. Browser/layout/endurance still select the workspace build first, then await each command sequentially through runCommands; a failed build throws before the browser command or successful reusable receipt. Checkout/input identities are captured before execution, and dirty tracked inputs refuse reusable qualification.check-pr.ts: adds structured local receipts, explicit skip/timeout/preemption outcomes, host admission, opt-in import-graph feedback, private unit workers, a reference-pool probe and a larger compiler memory setting. Local stages parallelize only types and units; workspace build and browser stages remain sequential. Unproven local work remains unproven in the receipt and requires hosted coverage. No CSS compilation inputs or copy semantics change.ci-runner.ts: command diagnostics and compiler-runtime observation are additive. Commands retain detached process-group cleanup, nonzero/signal refusal and bounded SIGTERM/SIGKILL cleanup. Timeouts throw; interrupted commands cannot acquire successful receipt outcomes. Receipt-write failure refuses complete coordinator evidence. The compiler probe does not replace or suppress the actual typecheck or its failure..github/workflows/ci.yml: frozen installs and full-history checkouts remain. Verify now separates install/plan/proof budgets and emits setup/proof summaries. Native setup budgets are separate from unchanged proof budgets; telemetry and optional kernel diagnostics do not replace proof. Main pushes still execute selected proof after metadata failures, while aggregate validation still requires metadata and selected-job success. Red-main gating and RED_MAIN_OID affect admission/selection, not the CSS producer or success requirements. Browser image/version/offline launch remains pinned.package.json: only an added test:skills command and removed research-only SDK alias. The build and browser scripts are unchanged; no Tailwind/compiler dependency changes occur in this file.The unchanged builder still removes each package dist before compilation, resolves the locked Tailwind CLI, awaits and checks tsc/CSS child exits, copies source theme/token bytes, records per-child/per-package outcomes and only finishes a successful fresh build receipt after successful execution. The real offline compiler control verifies that changing owned CSS changes output. Source-path, package identity/version, SHA-256, mode, symlink/escape and unknown-input refusal are unchanged. Other independent browser-document owners/pins remain untouched; this audit does not qualify their drift. Any later producer or reader drift continues to select fresh proof.
Changed pins (SHA-256)
scripts/ci-proof.ts094977e01d5549bc518a6aa74ef6ba6ee9267d79fcb841f4fd439c84de20293117e0c248792ebe7abc22bd93eb4bd402356cc395c6cab548b8cf65810238eae7scripts/check-pr.ts44edfa9c7da42c301988fda62e9f2bf9e72eb56d9eedfb2bf1b4c77af9764bd0a5ef505c320306ecfef9cb2d9452ad78898c09be6567201649913d01636a27a0scripts/ci-runner.tse6b9da9fdf92cb7ade402c620a8f58727bf5a09725bed03000a862866a6f92621f65e665afa202c2e8a72938fb193dcee7cebeb7c6d4e97456520e461e52609f.github/workflows/ci.ymlba93d519013905c8bbd943bf8887733a45911e5309a622f34827f70fdef94427a5b3f82fa11111ed9bff29a5423873b6fc91bc4187370754e16e85ad06f11d56package.json0d2ba2667eed49f4b686e57e54578d5f51e6c1b93605de0e1f5c8d08f8d0b188fb862fa1374a2e31a4d4eb317fabb1453e5325a9cd154ede1ecc8c91e9acc16cpackages/ui-kit/tests/visual/form-browser.ts3ccf67a71fa64af195bbf8cf6d173064dc9d2d4fc6abc699fa0a638c352ca62e5def3875a8e16e41b22bf1ff2a25b045a3adc59bdc2df2e0c7754126f3c8e27bpackages/ui-react/tests/browser/offline/cold-capture/commands.tsf0d6d9512b1de67f1804d808dded17e29ee344be22283a734e07f3233fc340ee1b9063232ed794ed206cb09520641ff25897a3133e6168ceff10f18cca746ef0packages/ui-react/tests/browser/share-review/commands.tsa5f25033f06d388d2e0c83446f5cb7340d22626ea9afe1f7b6c3af92cc86f8ad49dc3fd14d370ddf087986fc135343b2419efd0f1924096edd669b6e0d0f6e33Proof
bun install --frozen-lockfilesucceeded. Focused suite:bun run test tests/locked-browser-assets.test.ts tests/inclusion-inputs.test.ts tests/generated-build-inputs.test.ts tests/browser-input-closure.test.ts tests/generated-theme-inputs.test.tspassed 54/54, 332 assertions (before mutations and after restoration). Includes the real offline Tailwind compile and installed-asset byte/mode inclusion checks.Failing-first: moving only the owner while retaining the old pin failed
FROZEN_READER_MATCHES_PIN: expectedf0d6d951…, received reviewed1b906323…(exit 1, 2 failed). Updating the pins restored 54/54.Mutation receipts, each restored before the final 54/54 run:
The repo-reader test takes its pinned branch: independently computed source SHA-256 equals
auditedReaderDigest;lockedBrowserAssetreturns packageaxe-core, version4.13.0, assetaxe.min.js, SHA-256c24f097bd2f451d4f933e8bc7d8d539f8672a2ebcb5cc9f9f3eec8ca9470a0c1, installed mode384(0600 on this host). The matching-receipt test also verifies installed package version and actual consumed bytes.generatedCssInputsreturns the source stylesheet and complete producer list on the reviewed tree.bun run check:pr --base origin/mainpassed, including 1208 affected fast tests across 53 files (7888 assertions), lint/leakage, environment documentation and changeset gates.{"version":1,"kind":"brain-check-pr-receipt","head":"0a5ef9ee8eb7825c132899f6b51d1d7b0ce90121","base":"origin/main","mode":"focused","startedAt":"2026-11-15T21:17:39.636Z","finishedAt":"2026-11-15T21:19:48.046Z","checks":[{"name":"all lint and leakage gates","categories":["changeset"],"outcome":"passed","elapsedMs":13220.111788999999},{"name":"environment documentation","categories":["changeset"],"outcome":"passed","elapsedMs":107.24609200000123},{"name":"pending changeset package names","categories":["changeset"],"outcome":"passed","elapsedMs":82.67182700000194},{"name":"contribution changeset","categories":["changeset"],"outcome":"passed","elapsedMs":19.185144999999466},{"name":"affected fast invariants","categories":["verify","unit"],"outcome":"passed","elapsedMs":114960.38561799999}]}Checklist
Anything left open
Hosted candidate qualification and merge belong to the orchestrator. No hosted success or retained browser proof is claimed by the local audit. #3233 remains open for its owner to reconcile the producer review delivered here. No new follow-up issues filed.
bun scripts/collisions.ts --json --pr 4057at head0a5ef9ee8eb7825c132899f6b51d1d7b0ce90121: graph built; 27 closure-only overlaps, zero textual/path/unknown collisions. Compared heads: #3054@a3401a68ecbcd85ef0565ede7a7a1d2e6d5f8912, #3056@966d79e0d845e0328a0ed82785b3053293144ca6, #3059@0f0fd07538c27dbca64d30d5b2a5de0467b0c90f, #3069@44c302ecae7dd6005ea29af6b891eb31b2ca1c0f, #3437@ce943f3dff8ec8cd90c1f5718f9f3c2e78326398, #3581@eb4d654b1ee24d3badb245d17ddf53735c6cfe67, #3622@6a814ee735e6a37ae3a8c034b4e1c35c65b56d60, #3806@260b1713481b446324439be588a247125e79860b, #4002@b40a5e3cca3e35ce627372be42748e6bc8e157d0, #4018@ddc6bf80b1932b416409cafbb97d6badace40754, #4024@aa8b320bf6212b56a3c91e0e8a83b92faff1d1f4, #4028@e1223a5cd88f5c6e5889fb1bc2a84c04fc43fbcf, #4034@a2d2fd815d78cb9fcc0e914fb36701ccef5cad5a, #4035@4570672077284cd77104a8c89b7f3b35c3c8acaa, #4036@f7905121dd64734461774c927f2076a863ed3ef7, #4037@9da07b14ddf2873c756a194a8badd329368cc483, #4038@1727dc77d5d70aa5ccc56759d14cc67dec205ce9, #4040@ee73f2d62ffe834c533a4fff67055a9056b16d7f, #4041@e782dc9eec5e8c5a1ed733a1800aa17adc843810, #4042@722c47ce2c1cb23b415b04b4e0ec4cf2be157b6b, #4046@8c294206f883e04de11e308d1954dbf0c3a8e59d, #4050@358cc819ca1c544404ec0e45ba34f97d63544ee0, #4051@b17b174bd91af671a3d7e7905a12802285b0dc6c, #4052@a7fe275b3560811786dfb79b3f29e64b290a8522, #4053@99d841106d4d0b35b3be7a38beb407cc4feb9135, #4055@7c2104d37d1cdb60a763de802e54b620cfac8dd8, #4056@972a16f037e7aff683108dd120520be300f83895. Shared CI/test closure overlap is detection, not an integration lock; the orchestrator owns ordering.