Skip to content

fix(update): avoid recopying admitted rollback images - #186510

Merged
vincentkoc merged 19 commits into
mainfrom
fix/update-reuse-generation-image-20261028
Oct 29, 2026
Merged

vincentkoc merged 19 commits into
mainfrom
fix/update-reuse-generation-image-20261028

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Oct 28, 2026 •

Copy link
Copy Markdown
Member

What this fixes

Update rollback capture acquired a private SQLite image to establish its generation, disposed it, then acquired the same database again for the recovery snapshot. It also loaded unrelated backup discovery in workers even when the coordinator supplied the complete path list.

The generation owner now carries one cleanup-owned image per admitted family into the snapshot owner, which verifies its identity before consuming it. Prepared supplemental paths, including an explicit empty list, bypass discovery; absent paths retain canonical discovery. Header-zero classification imports the same classifier from its physical-store owner. Ordinary generation readers still dispose their image. Inventory/engine admission, integrity and foreign-key checks, generation authority, later-write rollback refusal and space admission remain intact. No schema, configuration or persistent-cache change.

Current candidate and qualification

Candidate a2c0c5322a7c6e3eabd8039a5796a2b83ea3beb7, tree e81d883ee6cf9c252d49d0e43923e38149e71be8; frozen matched baseline 5598c3d76bcb28cacaf864724d52ccb4c8ccdd26. Fresh focused tests passed 284 executions and canonical build passed; the unchanged full performance matrix PASSED all original gates with zero exceptions. Current exact-head CI/security passed, and audited published-driver upgrade proof fulfills the existing current-head ClawSweeper compatibility move. Native hosted gate conversion and final merge verification passed; merged as 6c672d42f2de. Auto-merge is off.

The after-capture generation check discarded the successful initial physical observation and acquired another private image even when the live SQLite family was unchanged. The generation owner now emits an immutable same-path receipt containing the committed generation and physical fingerprint. The after-check freshly reads the complete database family, admits every present member as a regular file, checks identities and sizes around the observation, and brackets a verified 96-byte WAL-index header. An exact physical match reuses the recorded committed generation. A stable mismatch takes the original full observation/classification path; observation errors retain the existing warning and refusal of automatic rollback authority. Empty-WAL equivalence remains unchanged. PostgreSQL still performs both remote fingerprints.

This is a fresh source correction, not a waiver of the 77 failure below. The receipt carries no private image or cached digest, and does not bypass inspection or retention callbacks. Snapshot custody, fsync, integrity, cleanup, inventories, physical serialization, schema and configuration remain unchanged.

Source proof is separate: the complete 77-versus-5598 branch review remains historical; the exact signed 77-to-a2c delta received an additional complete-context P0–P3 review with zero findings and final source verification. Its report SHA-256 is 7b3f7d0a37cd2927df094689847b79bff2cfbc1ac9ec4bf41419a361baf54899, status SHA-256 b5c2b2526da04e108a0b0a00e3395c95f13cd1ce05aa00df39c3779358c9069c. Independent owner review is also clean. This is not a fresh full-branch review or runtime proof.

Fresh exact-head proof passed 142 assertions on Node and 142 on Bun across the five full focused files, with zero failures/skips/todos. The commands joined exit 0 in 335,041 ms and 255,152 ms. Canonical build joined exit 0 in 396,436 ms. The complete checkpoint SHA-256 efad46d51b859d1e74077c93042c6e5107e9ac0385642915bfd7ec545a21f5ad binds all 108 source witnesses, runtime/resource pins, both report digests/counts, final source verification/removal and strict joins. Two independent final archive audits verified all 11 immutable artifacts, 108 witnesses and 192 ordered raw rows; the same 80 timing plus 16 count children against 5598 all joined, cleanup passed and every original numerical gate passed with zero exceptions; no passed historical command group was mechanically repeated. The 30-minute matrix cap includes preparation and requires 16 minutes before children. Samples, child limits and all numerical gates remain unchanged.

The attempted syscall diagnostic of 77 remains FAILED: its first baseline process exceeded the fixed 8 MiB trace cap after 3,035 ms. It produced no complete capture windows or candidate timing, so it supports no wait attribution. Its immutable archive SHA-256 is b929ecb9a2e00f46e1570a8628d7e0a2b0f6837830dba734bde8f00c3ff373aa; the owned lease was released. No trace-cap increase or diagnostic retry was used.

Current branch versus 5598: production +560/−295 (net +265), tests/support +1678/−624 (net +1054), benchmark +195/−1 (net +194). The latest receipt correction alone adds production +116/−23 (net +93) and tests +229/−19 (net +210). The production growth owns fresh family admission, receipt revalidation and shared physical serialization; it introduces no persistent cache or parallel capture flow.

Current performance result: PASS

Both independent audits passed every original numerical gate with zero exceptions. Repeated-capture wall medians were 0.609548–0.73686× baseline across the eight cells. Scoped private-image JavaScript read bytes fell by exactly two-thirds in every count cell: 6,316,032→2,105,344 at 2 MiB and 50,405,376→16,801,792 at 16 MiB. These counters exclude native SQLite/copy reads; they are not device I/O or live database timing.

All 16 aggregate cells and 192 raw sample rows, exact source/runtime/harness bindings and complete capture receipts preserve the full current proof. The original 77 wall-p95 failure below and failed diagnostic are unchanged. Current exact-head CI/security passed; the compatibility proof below fulfills the existing current-head ClawSweeper move. Native hosted gate conversion and final merge verification passed; merged as 6c672d42f2de. Auto-merge stays off.

Current published-driver upgrade: PASS

Two independent audits passed the canonical published 2026.10.8 → exact-a2c upgrade cell. The full canonical package's nonempty build ID matched the live serving build ID; version equality alone was insufficient. Exercised port/token settings, durable session ID and complete message content, successful update/restart history, readiness HTTP 200 and required incognito removal passed. The harness's old-sidecar byte-equality assertion passed; a separate raw sidecar blob was not retained. All 19 cell commands and 16 controller commands joined; concrete container/volume absence, source/dependency restoration and cleanup were verified, then the owned lease was released.

Exact identities, exit-receipt inventory, fixture assertions and immutable archive hashes document the result. The first setup attempt remains FAILED with zero workload commands because the native capsule contained the attested tree's synthetic carrier, not the original commit object. The corrected controller used the existing bounded exact-a2c object fetch and canonical Docker hydration, without product changes, relabeling or timeout changes. This proof fulfills the existing exact-head ClawSweeper compatibility move. Current exact-head CI/security passed; native hosted gate conversion and final merge verification passed; merged as 6c672d42f2de.

Historical 77 source and qualification

Candidate 77d72c2eb2741d11f9a7545460e2dd7b5d43a756, tree ddd1aba5befb485b8170f9a5f86428374dedca69; frozen matched baseline 5598c3d76bcb28cacaf864724d52ccb4c8ccdd26. Focused tests passed 385 executions and canonical build passed; the full matched performance matrix FAILED one original wall-p95 gate. Historical77 required CI passed; current-candidate CI/security and ClawSweeper remain separate gates. Merge remains held; auto-merge is off.

Live GitHub conflicts required a signed native integration of frozen main 5598 into published fc91798. The two textual resolutions preserve main's test bodies and change only the archive-path helper import owner. Main replaced the former global scratch fixture hook with callback-owned fixtures that retain inputs when cleanup cannot join. A separate signed test fixup migrates all six affected command suites to that canonical owner, removes the unused reset helper, and keeps mock/environment restoration inside the owned callback. The backup/atomic helper loads after tar-mock registration. Assertions, production locking, retries and concurrency are unchanged.

Main also changed transitive SQLite-header and lease-heartbeat inputs. Earlier 8bc/f533 performance proof is historical; it cannot qualify this integrated candidate. Both new variants use 5598 dependency inputs and the identical committed workload SHA-256 9b4b39452c72ca46598c71b4f560c094c63cbc0682c468fac45d2d1800aaf2eb.

Exact-head focused proof now has 385 passing executions, one expected Windows-only MAX_PATH skip on Linux and 106 deliberately filtered assertions. The latest attempt reuses 353 completed passes and runs only the final 32-case Bun integrated-fixture group, which joined exit 0 in 76,884 ms. Node and Bun both passed the retained-reader cleanup case. Canonical build joined exit 0 in 405,440 ms (6m45.440s); the unchanged eight-cell matrix completed 80 timing plus 16 separate count children, producing 192 first/repeated rows. All children joined and capture/cleanup passed; numerical qualification FAILED. The original 17-file proof observed two fork workers on 4 CPU/16 GiB; it does not identify the original CI contender or scheduler.

Both controller failures remain FAILED. The first rejected two case names generated from the execution directory; the producer's two exact %j recipes were normalized for identity comparison, with raw reports unchanged. The continuation hit the original 15-minute focused wall deadline, which included the review pause, and terminated its then-incomplete final Bun group after 29,973 ms. This was not an assertion failure or a completed test pass.

A separately reviewed remaining-only operational admission governed that final group: completed children consumed 529,217 ms, and the interrupted child's start through the failure receipt adds a conservative 30,330 ms, totaling 559,547 ms. This separate admission caps cumulative executed child time across all attempts, including the interrupted attempt, at 900,000 ms. It admitted 340,453 ms remaining, and the successful final group consumed 76,884 ms, for a conservative cumulative total of 636,431 ms. Only the incomplete Bun group was run, retaining its original 300,000 ms child cap; passed groups were reused from immutable raw evidence. The original validation deadline (11:39:40.745 UTC), global deadline (12:16:11 UTC) and native expiry (12:20:11 UTC on 2026-10-29) remain fixed. The failed wall-deadline result is not relabeled successful. No product/performance threshold, sample count or matrix limit changes.

77 source review: independent owner/fixture review and the complete two-pass branch P0–P3 review are scoped-clean, with final source verification and zero findings. The complete validation checkpoint passed all 102 source witnesses, runtime/resource pins, seven report digests/counts, strict joins and final source verification/removal. Two independent final archive audits verified all 18 immutable artifacts, 96 child joins and 192 rows. The numerical verdict is FAILED; execution/capture success does not satisfy performance acceptance. The task lease is released. Landing of 77 remained blocked, and no ClawSweeper request for that head was sent.

Historical 77 performance result: FAILED

Node/auto/2 MiB repeated-capture wall p95 is 0.25639112000000025 → 0.3732836660000003 seconds: +116.892546 ms, +45.59% (1.455914955×). Candidate timing pair 1 sets the maximum. This breaches the original 5% wall gate and 20% stop; no historical wall exception exists. All other original numerical gates pass; zero exceptions were used. No sample was discarded or rerun, and no threshold changed. The cause of that elapsed-time outlier remains unattributed.

All 16 aggregate cells and 192 raw rows, source/runtime/harness bindings and complete capture receipts preserve the failed result. The 385 focused passes, canonical build and source/cleanup proof remain valid but do not override the performance hold.

Historical 77 scope and evidence provenance

Against frozen 5598: production +455/−283 (net +172); tests/support +1466/−622 (net +844); benchmark +195/−1 (net +194). Positive production growth owns retained-image custody, cleanup and prepared discovery rather than a second capture flow. The latest fixture-owner fixup is test-only: +549/−517 (net +32), production zero.

The earlier runtime revision 8bc1a73 against f533, passed all original performance gates with zero exceptions, 28 focused executions and canonical build. Its complete aggregate and raw sample proof remains bound to those revisions. Published 2026.10.8 to 8bc functional upgrade passed, including readiness HTTP 200 and verified running version; that is not current-candidate or timing proof.

The optional 8bc Package Acceptance workflow remains FAILED on its enforced 47,500-entry release budget: candidate 47,552 versus controlled f533 47,549. The baseline is 49 over; the candidate adds three. This is not fully inherited, waived or a raised limit. Named follow-up: trim installed/dist entries before release. The package/upgrade runs were not repeated for this integrated candidate; their results remain bound to 8bc.

Historical proof, failed matrices, CI failures and harness corrections are preserved byte-for-byte in the linked record. Historical d70/cad performance failures retain their original verdicts; the test-only ratchet correction, scratch collision and both failed fixture harnesses remain disclosed there. Follow-ups also remain: the eager admission snapshot-barrel import in src/infra/update-database-engine-admission.ts and inherited unused exports.

No live database was copied or changed for this proof. Bounded fixture results do not establish Control UI latency, physical-device I/O or live 3.8 GB database timings. No deployment, Gateway restart or Bun promotion.

Acceptance frozen before the new measurements

The following original workload and numerical rules apply unchanged to frozen 5598 versus a2c0c53. The historical exception ceilings below are carried forward without expansion; no new or worse regression is accepted. Current-candidate measurements are complete and PASSED all original gates with zero exceptions; the historical 77 matrix remains FAILED on its original wall-p95 gate.

Predeclared performance acceptance

Workload: the committed backup-capture mode in scripts/perf/update-doctor-generation-measure.ts, invoking the real in-process rollback-capture owner on freshly created SQLite fixtures. Compare the frozen base and candidate in separate remote worktrees on one lease, with the same frozen dependencies, Node 24.22.1 and repository-pinned Bun, and native auto/off modes. Use allocated 2 MiB and 16 MiB payloads. Fixture setup, entry-module imports, copy-control probe, and a real clock-age wait stay outside capture timing; first-capture timing includes lazy owner imports and source-loader compilation.

For every runtime × mode × size cell, run five serial ABAB process pairs. Each process reports its first capture and one repeated capture separately; these are process/owner temperatures, not a claim that OS caches are cold. Report all samples, median, empirical five-sample p95, min/max, host load, CPU, RSS, filesystem, and the separate control-copy method. Keep count-instrumented samples separate from timing samples.

Acceptance:

  1. Exact snapshot contents, generation authority, and cleanup/integrity assertions pass. The scoped read bound remains two required private generation observations plus the named header allowance; the redundant acquisition is absent.
  2. At 16 MiB, the median Linux logical read volume (/proc/self/io rchar delta) falls by at least 10% in every runtime/mode cell.
  3. For every first/repeated-capture cell, candidate median and p95 wall time and combined user/system CPU must be no more than 1.05× baseline. Process-lifetime maxRSS must be no more than 1.05× baseline (the same existing RSS field and threshold). Any 20% regression is an immediate stop, not dismissed as noise.
  4. Retained staging must stay within the existing space admission on a non-CoW fallback, with successful or refused cleanup accounted for. A separate copy-control result is reported only as that probe's result, not as proof of every capture transfer.

A failed rule blocks readiness. Repeated timing does not erase a failed sample, and no timeout increase or integrity bypass qualifies a result.

Reproduction shape (run once for each source root, engine, mode, size, and pair):

node --import ./scripts/tsx.mjs scripts/perf/update-doctor-generation-measure.ts baseline backup-capture 1 "$BASE_ROOT" auto 16 timing
node --import ./scripts/tsx.mjs scripts/perf/update-doctor-generation-measure.ts candidate backup-capture 1 "$CANDIDATE_ROOT" auto 16 timing

Existing bounded historical exceptions

  • Node, auto, 2 MiB, repeated CPU p95: 80.641 → 92.498 ms (+11.857 ms; 1.147034×).
  • Node, auto, 16 MiB, repeated CPU p95: 163.448 → 181.199 ms (+17.751 ms; 1.108603×).
  • Node, off, 2 MiB, repeated CPU p95: 83.058 → 103.650 ms (+20.592 ms; 1.247923×).
  • Bun, auto, 2 MiB, repeated CPU p95: 91.861 → 122.120 ms (+30.259 ms; 1.329400×).
  • Bun, off, 2 MiB, repeated CPU p95: 88.653 → 97.868 ms (+9.215 ms; 1.103945×).
  • Node, off, 2 MiB, first-capture lifetime-RSS median: 686,160 → 722,384 KiB (+36,224 KiB; 1.052792×). This median was disclosed but was not the gated maximum-across-samples RSS statistic.

The original numerical gates remain reported unchanged. An original-rule CPU-p95 failure is accepted only in one of the five named repeated-capture cells above, and only if both its ratio and positive absolute increase are no worse than that cell's historical raw values; the displayed rounded values are not extra tolerance. The disclosed Node/off/2 MiB first-capture RSS median is likewise bounded by its historical ratio and +36,224 KiB increase, separately from the unchanged maximum-across-samples RSS gate. All other original gated metrics must remain within 5%; a new or worse failure, including a new/worse 20% stop, blocks qualification. Each 16 MiB runtime/mode cell must retain at least a 10% median logical-read reduction. This is a bounded owner-accepted tradeoff, not a change to the historical FAILED verdicts.

The historical RSS-median disclosure is separate from the unchanged maximum-across-samples RSS gate. The new matrix must retain at least 16 minutes after preparation; it shares the earlier of its 30-minute deadline, the global run deadline and native expiry minus four minutes. Each child remains capped at 120 seconds. Incomplete work, failed joins or incomplete artifact capture cannot qualify.

Carry the cleanup-owned generation image into the same rollback capture while retaining source-generation, integrity, publication and rollback checks. Add bounded capture work-count and paired-performance workloads; end-to-end performance qualification is pending.
@vincentkoc vincentkoc self-assigned this Oct 28, 2026
@clawsweeper

clawsweeper Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts size: XL labels Oct 28, 2026
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 other 🚨 Merging this PR has meaningful risk outside the owned taxonomy. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Oct 28, 2026
@clawsweeper

clawsweeper Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge.

What this changes

This PR reuses admitted SQLite rollback images and generation receipts while avoiding unnecessary backup-discovery imports.

Example: Capture rollback state for the benchmark’s 16 MiB SQLite fixture.

  • Before: Scoped private-image JavaScript reads total 50,405,376 bytes.
  • After: The same counter totals 16,801,792 bytes while captured contents and generation attribution remain verified.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The source review is clean and the current performance arithmetic passes; readiness remains limited by the uncovered published-driver compatibility scenario.
Proof confidence 🦐 gold shrimp (3/6) Real behavior proof is not required for maintainer- or bot-authored pull requests.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Performance · Worth it: Yes · Fix scope: Complete
User problem: Update recovery capture repeatedly copies and scans the same database, adding avoidable update work.
Reason: The maintainer-authored direction has measurable benefit under unchanged acceptance rules, preserves the existing recovery contract, and adds no user option or persistent cache.

Merge readiness

⛔ Blocked before merge - 1 item remains

Keep open: this maintainer-authored PR removes measurable redundant capture work, and no introduced correctness defect was found. The current performance results clear the earlier numerical hold.

Priority: P2
Reviewed head: a2c0c5322a7c6e3eabd8039a5796a2b83ea3beb7

Before merge

  • Add data-model compatibility proof - The review found that existing stored data may not work after upgrade. Show that existing data still loads and works with this change.

Findings

None.

Tests

  • Missing end-to-end proof: The missing scenario is a v2026.10.8 published-driver upgrade to the reviewed candidate, preserving existing settings and database contents.
Agent review details

How this fits together

The updater’s database-backup worker turns discovered database families into verified recovery files and generation records that later govern rollback admission.

flowchart TD
  A[Update coordinator] --> B[Database inventory and admission]
  B --> C[Generation observation]
  C --> D[Owned private SQLite image]
  D --> E[Snapshot verification and publication]
  C --> F[Fresh source family comparison]
  E --> G[Recovery files and rollback receipt]
  F --> G
Loading

Technical review

Best possible solution:

Carry admitted images and committed-generation facts through the existing capture owners while retaining source-write refusal, integrity checks, cleanup, and published-driver compatibility.

Do we have a high-confidence way to reproduce the issue?

Current-main source shows separate generation, snapshot, and after-generation acquisitions, and the matched baseline measurements demonstrate their redundant private-image reads; no target code was executed during this review.

Is this the best way to solve the issue?

The change uses the existing generation, snapshot, and cleanup owners and removes the replaced acquisition work. The required invariant remains that captured bytes are verified and later source writes cannot gain automatic rollback authority; no smaller complete source repair was identified.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 3633441b152b.

Provenance checked

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit 0ac1c24 adds src/infra/update-database-generations.ts:24 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 0ac1c241fba8; files: src/infra/update-database-generations.ts)

PR surface

Source +265, Tests +1054, Other +194. Total +1513 across 43 files. Added test files: 1.

View PR surface stats
Area Files Added Removed Net
Source 15 560 295 +265
Tests 27 1678 624 +1054
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 1 195 1 +194
Total 43 2433 920 +1513

Labels

Label changes:

  • remove merge-risk: 🚨 other: Current PR review selected no merge-risk labels.

Label justifications:

  • P2: This is a measured reduction in update recovery-capture work with limited scope and no demonstrated urgent functional regression.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

History

Review history (3 earlier review cycles)
  • reviewed 2026-10-28T04:29:46.529Z sha fdfbe06 :: blocked before merge. :: none
  • reviewed 2026-10-28T14:42:41.504Z sha d70aa23 :: needs maintainer review before merge. :: none
  • reviewed 2026-10-28T15:35:29.901Z sha 9811d12 :: blocked before merge. :: none

Reviewed October 29, 2026, 9:05 AM ET / 13:05 UTC (Revision 4).

@vincentkoc
vincentkoc marked this pull request as ready for review October 28, 2026 14:33
@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added the status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. label Oct 28, 2026
Reuse the exact config/test-lines-baseline.txt policy already landed in 1e13102 (#186785). This imports its fixed ceiling without selecting a new budget or deleting distinct regression coverage. Runtime, benchmark workload, and dependency inputs remain unchanged. Existing performance failures and the separate landing hold remain recorded in PR #186510.
@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

Please review exact head 9811d1256f98c22731a1cfffc1a41de58c238b9e. Since reviewed d70, only the exact upstream test-budget policy from #186785 was imported; runtime, benchmark workload, tests and dependency inputs are unchanged. The PR body preserves the actual d70 matrix, its FAILED bounded RSS-median result and the merge hold. This requests review only; no repair or merge.

@clawsweeper

clawsweeper Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot removed the status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. label Oct 28, 2026
@vincentkoc

Copy link
Copy Markdown
Member Author

Exact-head performance proof — 8bc1a73

PASS under every original numerical gate: zero failures, zero historical exceptions used. Two independent audits checked all raw samples, the unchanged rules, source identities and cleanup receipts. This is bounded fixture qualification, not a live database, device-I/O or Control UI measurement.

  • Baseline: f533fef299f7430835c7e8c54f3f98a8406d93e9, tree 7d91957b5ef8b476e33ab0375b219d7d7f1cf421.
  • Candidate: 8bc1a73977d8dc41cea3adc5776fba2dec8875f0, tree 13c00d5cd8bc1e85a496b5591fc82754ad82895e.
  • Identical workload SHA-256: 9b4b39452c72ca46598c71b4f560c094c63cbc0682c468fac45d2d1800aaf2eb. Matched frozen package, lock and workspace inputs; separate frozen installs.
  • Linux x64, ext4, four CPUs, 16,463,384,576 bytes RAM. Node 24.22.1; Bun 1.4.4-canary.1+191755ec1, executable SHA-256 0cef667e2f3fd465b6429904ed074381a679be379ec44fa42b5f460ed118b2b8.
  • All 80 serial timing children and 16 separate count children joined, yielding 192 first/repeated rows. Five baseline/candidate timing pairs per runtime/mode/size cell; no discarded sample, prewarming, forced GC, profiler or retry-for-green. Each child retained its 120-second cap.
  • Final source verification and detached source/controller cleanup passed. All 11 immutable artifact hashes and 46 validation source witnesses verified. The task-owned native lease was released after complete artifact capture.
  • Current-head focused proof: 14 Node + 14 Bun cases passed, no skips; canonical build exit 0 in 442.156 seconds. Exact-head one-pass P0–P3 source review found no actionable defect. Hosted CI/package/current ClawSweeper qualification remains separate.
  • Proof archive: 89,458 bytes, SHA-256 d89820a900506a143460db761edfb2aa16a0c22c76580639022c648d5b197af0. Matrix raw log: 126,173 bytes, SHA-256 c19b142eeb47d5c169c06e34bfaeafdfb42c641c181905103c7081cfb2fdd4dd.

Aggregates

Each entry is baseline → candidate. Wall/CPU entries show min / median / p95=max, in milliseconds; empirical p95 is the maximum of five samples. RSS shows min / median / max, in KiB, and is process-lifetime resourceUsage.maxRSS, not an instantaneous capture allocation. Aggregates are rounded to six decimals for display; audits used exact raw values. Count-instrumented processes are excluded from timing statistics.

Runtime Mode MiB Capture Wall ms min/median/p95 CPU ms min/median/p95 RSS KiB min/median/max Timing logical-read median B Count private-read bytes
node auto 2 first-capture 2753.135396/2807.734843/5453.716659 → 171.71153/193.926107/239.004116 2050.268/2102.904/2155.823 → 127.7/131.877/136.283 685660/714768/740300 → 406384/432164/433544 36723816 → 19350265 6316032 → 4210688
node auto 2 repeated-capture 145.369162/191.036755/632.576211 → 142.340619/151.613075/189.82348 70.085/77.78/254.226 → 63.931/67.121/70.115 698656/722344/744140 → 408432/433956/435208 25445300 → 19104426 6316032 → 4210688
node auto 16 first-capture 2858.598127/2878.217915/2961.102836 → 293.056942/299.012303/347.395905 2125.591/2192.253/2196.194 → 207.453/209.774/213.192 658248/760656/766812 → 406968/410880/433688 213080198 → 151618307 50405376 → 33603584
node auto 16 repeated-capture 278.991151/294.080387/313.206266 → 228.910097/241.536468/280.216753 156.31/159.244/164.066 → 138.891/142.282/145.097 662088/764368/770780 → 408888/412672/435480 201802671 → 151372453 50405376 → 33603584
node off 2 first-capture 2764.243219/2849.686546/2895.061919 → 191.206664/262.804446/268.588241 2066.692/2088.279/2118.695 → 131.796/134.846/137.1 684876/722780/758080 → 405968/412684/430232 36724600 → 19350321 6316032 → 4210688
node off 2 repeated-capture 143.533987/241.387146/265.284964 → 110.420952/197.691111/219.828841 69.115/75.183/80.201 → 60.675/64.856/72.087 690252/728284/763328 → 408528/415244/432920 25445548 → 19104498 6316032 → 4210688
node off 16 first-capture 2905.271488/2939.165237/2985.146722 → 288.300389/325.477714/343.0919 2162.108/2174.207/2202.444 → 210.025/212.653/217.755 688944/721760/764408 → 405440/414452/429596 213081602 → 151619263 50405376 → 33603584
node off 16 repeated-capture 283.27889/324.939775/351.60207 → 246.351328/274.508855/290.106565 160.862/169.422/180.286 → 140.367/150.75/154.558 694064/726880/769784 → 408128/417140/432412 201804271 → 151373454 50405376 → 33603584
bun auto 2 first-capture 397.741803/434.436166/476.369898 → 147.094115/223.505302/240.388862 636.171/639.641/640.22 → 121.415/128.26/129.86 175472/178008/179196 → 116480/117096/118196 30979992 → 19295125 6316032 → 4210688
bun auto 2 repeated-capture 134.85818/229.165861/244.134923 → 117.543986/193.17097/196.949859 75.887/78.685/90.68 → 74.21/75.016/83.412 176592/180328/181008 → 121588/123252/124176 25442811 → 19102035 6316032 → 4210688
bun auto 16 first-capture 525.128497/528.624725/543.832878 → 268.388489/278.460463/285.779772 721.051/729.261/741.757 → 202.484/204.767/206.173 174456/175540/175980 → 115964/116988/117364 207337326 → 151563158 50405376 → 33603584
bun auto 16 repeated-capture 272.632477/285.329978/301.886868 → 238.75464/245.469867/267.832279 164.612/168.717/170.027 → 151.629/156.003/167.04 179188/180916/181776 → 121004/121412/122484 201800191 → 151370107 50405376 → 33603584
bun off 2 first-capture 384.369225/483.513221/497.193983 → 193.410356/233.013505/237.480846 606.539/632.19/632.553 → 120.54/121.792/125.231 172512/174908/177448 → 115028/116116/116888 30979911 → 19295125 6316032 → 4210688
bun off 2 repeated-capture 154.008493/230.359852/249.775945 → 191.782853/201.545341/207.407724 74.237/78.69/80.135 → 72.993/76.497/76.996 179036/179076/181396 → 121380/121692/122252 25442773 → 19102035 6316032 → 4210688
bun off 16 first-capture 537.121554/545.259109/561.433258 → 280.834518/284.305976/366.153889 717.525/728.241/731.538 → 204.369/207.459/211.257 173700/175604/176328 → 115512/116360/117708 207337326 → 151563158 50405376 → 33603584
bun off 16 repeated-capture 291.426556/315.540057/364.564512 → 242.610823/244.420547/307.229541 172.087/176.356/186.124 → 151.327/156.001/158.806 179356/180588/181116 → 118876/121908/122544 201800191 → 151370069 50405376 → 33603584

Repeated wall medians are 12.5–22.5% lower across the eight cells; repeated CPU medians are 2.8–13.7% lower. Candidate/baseline maximum-RSS ratios range from 0.561732 to 0.686025. First-capture wall-median ratios are 0.069069–0.110738 on Node and 0.481918–0.526764 on Bun. Every count cell has exactly one-third fewer scoped private-image JavaScript read bytes; every 16 MiB logical-read gate passes. The JavaScript source/private counters exclude native SQLite/copy reads. Linux logical-read bytes are the delta of /proc/self/io rchar; this includes process logical reads and is not physical device I/O. The separate control-copy probe reported copy-file-range in auto mode and copy in off mode; these probe outcomes do not prove the transfer method of every capture.

All 192 raw sample rows

Original execution order is preserved. Times below are seconds, CPU split into user/system seconds; read counters are bytes except fsReadops, the delta of process.resourceUsage().fsRead (not a read-syscall count). F means first capture (raw sample 0); R means repeated capture (raw sample 1). B is baseline; C is candidate. Load is the recorded 1/5/15-minute host load. A dash means the field was not instrumented for that measure. All original numeric sample values are retained without display rounding.

Runtime Mode MiB Measure Variant Pair Capture Wall s User CPU s System CPU s fsReadops Logical read B Source read B Private read B Lifetime max RSS KiB Load 1/5/15 Control probe
node auto 2 timing B 1 F 5.453716658999998 1.953067 0.202756 13160 36721478 — — 714768 3.44/2.28/1.46 copy-file-range
node auto 2 timing B 1 R 0.2509646960000027 0.218542 0.035684 0 25465715 — — 737808 3.44/2.28/1.46 copy-file-range
node auto 2 timing C 1 F 0.23900411600000007 0.106067 0.02238 0 19350265 — — 406384 3.24/2.26/1.46 copy-file-range
node auto 2 timing C 1 R 0.1865077600000004 0.043932 0.019999 0 19104426 — — 408432 3.24/2.26/1.46 copy-file-range
node auto 2 timing B 2 F 2.8334958099999996 1.966525 0.136379 0 36725480 — — 694816 3.29/2.3/1.48 copy-file-range
node auto 2 timing B 2 R 0.19103675499999917 0.049395 0.028385 0 25445284 — — 698656 3.29/2.3/1.48 copy-file-range
node auto 2 timing C 2 F 0.18268116299999929 0.110999 0.022473 0 19350273 — — 407900 3.11/2.28/1.48 copy-file-range
node auto 2 timing C 2 R 0.1516130750000002 0.052493 0.017622 0 19104450 — — 409692 3.11/2.28/1.48 copy-file-range
node auto 2 timing B 3 F 2.753135396 1.96542 0.125007 0 36723816 — — 718504 2.78/2.23/1.47 copy-file-range
node auto 2 timing B 3 R 0.6325762109999996 0.054324 0.02145 0 25445300 — — 722344 2.78/2.23/1.47 copy-file-range
node auto 2 timing C 3 F 0.17171152999999958 0.112646 0.015054 0 19350265 — — 433544 2.64/2.21/1.47 copy-file-range
node auto 2 timing C 3 R 0.1423406189999996 0.051536 0.0135 0 19104410 — — 435208 2.64/2.21/1.47 copy-file-range
node auto 2 timing B 4 F 2.782452114 1.976495 0.138092 0 36724184 — — 740300 2.39/2.17/1.46 copy-file-range
node auto 2 timing B 4 R 0.14967227300000013 0.046747 0.023338 0 25445300 — — 744140 2.39/2.17/1.46 copy-file-range
node auto 2 timing C 4 F 0.19392610700000024 0.106445 0.025432 0 19350273 — — 432164 2.19/2.14/1.46 copy-file-range
node auto 2 timing C 4 R 0.1427411660000007 0.051177 0.016663 0 19104426 — — 433956 2.19/2.14/1.46 copy-file-range
node auto 2 timing B 5 F 2.807734842999999 1.941862 0.108406 0 36723548 — — 685660 2.01/2.1/1.45 copy-file-range
node auto 2 timing B 5 R 0.14536916200000086 0.075533 0.030488 0 25445284 — — 711644 2.01/2.1/1.45 copy-file-range
node auto 2 timing C 5 F 0.1994691899999998 0.11461 0.021673 0 19350261 — — 432616 1.85/2.06/1.44 copy-file-range
node auto 2 timing C 5 R 0.18982348000000002 0.048114 0.019007 0 19104434 — — 434152 1.85/2.06/1.44 copy-file-range
node auto 2 counts B — F 2.8761529900000005 2.001036 0.130145 0 36722776 6316212 6316032 739528 1.95/2.08/1.45 copy-file-range
node auto 2 counts B — R 0.2537735039999989 0.04646 0.028918 0 25445292 6316212 6316032 743240 1.95/2.08/1.45 copy-file-range
node auto 2 counts C — F 0.2774630579999994 0.115593 0.022698 0 19350265 4210808 4210688 407036 1.79/2.04/1.45 copy-file-range
node auto 2 counts C — R 0.22440796300000057 0.052194 0.019888 0 19104426 4210808 4210688 408700 1.79/2.04/1.45 copy-file-range
node auto 16 timing B 1 F 2.8683394930000006 1.998408 0.193845 0 213080282 — — 766812 1.67/2.01/1.44 copy-file-range
node auto 16 timing B 1 R 0.2859373039999991 0.095297 0.061013 0 201802671 — — 770780 1.67/2.01/1.44 copy-file-range
node auto 16 timing C 1 F 0.29305694200000015 0.173222 0.039628 0 151618307 — — 407280 1.53/1.97/1.43 copy-file-range
node auto 16 timing C 1 R 0.23386426699999993 0.09952 0.042762 0 151372453 — — 408944 1.53/1.97/1.43 copy-file-range
node auto 16 timing B 2 F 2.9130116340000005 2.027363 0.156368 0 213080198 — — 684400 2.01/2.06/1.47 copy-file-range
node auto 16 timing B 2 R 0.31320626600000107 0.108842 0.055224 0 201802679 — — 688240 2.01/2.06/1.47 copy-file-range
node auto 16 timing C 2 F 0.3473959049999994 0.155674 0.051779 0 151618307 — — 433688 1.85/2.02/1.46 copy-file-range
node auto 16 timing C 2 R 0.2802167529999997 0.09264 0.048335 0 151372494 — — 435480 1.85/2.02/1.46 copy-file-range
node auto 16 timing B 3 F 2.878217914999999 2.006608 0.189046 0 213080018 — — 763500 1.8/2.01/1.46 copy-file-range
node auto 16 timing B 3 R 0.2947140670000008 0.101856 0.055541 0 201802671 — — 767084 1.8/2.01/1.46 copy-file-range
node auto 16 timing C 3 F 0.2997898000000005 0.166935 0.046257 0 151618291 — — 433048 1.66/1.97/1.45 copy-file-range
node auto 16 timing C 3 R 0.22891009699999995 0.091086 0.047805 0 151372445 — — 434584 1.66/1.97/1.45 copy-file-range
node auto 16 timing B 4 F 2.858598127000001 1.98517 0.140421 0 213079454 — — 658248 1.92/2.02/1.47 copy-file-range
node auto 16 timing B 4 R 0.294080387 0.093161 0.066083 0 201802663 — — 662088 1.92/2.02/1.47 copy-file-range
node auto 16 timing C 4 F 0.29901230299999954 0.159147 0.049642 0 151618319 — — 406968 1.85/2.01/1.47 copy-file-range
node auto 16 timing C 4 R 0.24640753099999985 0.096539 0.047924 0 151372453 — — 408888 1.85/2.01/1.47 copy-file-range
node auto 16 timing B 5 F 2.9611028360000002 1.995175 0.201019 0 213080794 — — 760656 1.72/1.97/1.46 copy-file-range
node auto 16 timing B 5 R 0.27899115100000016 0.102161 0.057508 0 201802679 — — 764368 1.72/1.97/1.46 copy-file-range
node auto 16 timing C 5 F 0.29496509700000023 0.157888 0.051886 0 151618307 — — 410880 1.98/2.02/1.48 copy-file-range
node auto 16 timing C 5 R 0.24153646800000025 0.09266 0.052437 0 151372469 — — 412672 1.98/2.02/1.48 copy-file-range
node auto 16 counts B — F 2.9156412680000003 2.011037 0.189348 0 213083406 50405556 50405376 741584 2.31/2.09/1.51 copy-file-range
node auto 16 counts B — R 0.293414616 0.10112 0.058138 0 201802671 50405556 50405376 745552 2.31/2.09/1.51 copy-file-range
node auto 16 counts C — F 0.3067294030000003 0.157352 0.057421 0 151618299 33603704 33603584 417556 2.21/2.07/1.51 copy-file-range
node auto 16 counts C — R 0.2453150939999996 0.098006 0.046356 0 151372445 33603704 33603584 419092 2.21/2.07/1.51 copy-file-range
node off 2 timing B 1 F 2.764243219 1.954517 0.162004 0 36736172 — — 758080 2.02/2.03/1.5 copy
node off 2 timing B 1 R 0.14910291499999948 0.050043 0.019072 0 25445548 — — 763328 2.02/2.03/1.5 copy
node off 2 timing C 1 F 0.19120666400000028 0.114113 0.017683 0 19350333 — — 405968 1.94/2.02/1.5 copy
node off 2 timing C 1 R 0.11042095199999949 0.043438 0.017237 0 19104498 — — 408528 1.94/2.02/1.5 copy
node off 2 timing B 2 F 2.815775503 1.946793 0.141486 0 36724108 — — 722780 1.87/2/1.5 copy
node off 2 timing B 2 R 0.1435339869999989 0.051102 0.019385 0 25445540 — — 728284 1.87/2/1.5 copy
node off 2 timing C 2 F 0.2138456100000003 0.110832 0.026268 0 19350321 — — 430232 1.72/1.97/1.49 copy
node off 2 timing C 2 R 0.11986807500000032 0.042392 0.019599 0 19104498 — — 432920 1.72/1.97/1.49 copy
node off 2 timing B 3 F 2.849686546 1.975025 0.14367 0 36730192 — — 730040 1.54/1.92/1.48 copy
node off 2 timing B 3 R 0.24138714600000094 0.04239 0.032793 0 25445556 — — 735032 1.54/1.92/1.48 copy
node off 2 timing C 3 F 0.26584496200000013 0.115791 0.019055 0 19350329 — — 429844 1.41/1.89/1.47 copy
node off 2 timing C 3 R 0.21982884100000047 0.053941 0.01664 0 19104482 — — 432660 1.41/1.89/1.47 copy
node off 2 timing B 4 F 2.8950619190000006 1.947046 0.120995 0 36724600 — — 684876 1.42/1.87/1.47 copy
node off 2 timing B 4 R 0.2415816670000004 0.06301 0.015577 0 25445548 — — 690252 1.42/1.87/1.47 copy
node off 2 timing C 4 F 0.2685882410000004 0.108489 0.027183 0 19350317 — — 412684 1.31/1.84/1.46 copy
node off 2 timing C 4 R 0.21800460699999985 0.045648 0.026439 0 19104482 — — 415244 1.31/1.84/1.46 copy
node off 2 timing B 5 F 2.8750986899999997 1.942302 0.12439 0 36723804 — — 691380 1.34/1.83/1.46 copy
node off 2 timing B 5 R 0.2652849640000004 0.05866 0.021541 0 25445556 — — 696628 1.34/1.83/1.46 copy
node off 2 timing C 5 F 0.2628044460000001 0.111344 0.022639 0 19350313 — — 407232 1.23/1.8/1.45 copy
node off 2 timing C 5 R 0.19769111100000009 0.047428 0.017428 0 19104498 — — 409920 1.23/1.8/1.45 copy
node off 2 counts B — F 2.8692853530000004 1.975867 0.131667 0 36723816 10526900 6316032 738564 1.19/1.77/1.45 copy
node off 2 counts B — R 0.26759792899999957 0.057187 0.02057 0 25445540 10526900 6316032 743812 1.19/1.77/1.45 copy
node off 2 counts C — F 0.2596093569999994 0.11264 0.022098 0 19350321 8421496 4210688 431212 1.1/1.74/1.44 copy
node off 2 counts C — R 0.22045337500000006 0.053283 0.01843 0 19104490 8421496 4210688 433772 1.1/1.74/1.44 copy
node off 16 timing B 1 F 2.9523933720000004 2.008033 0.154075 0 213081602 — — 689652 1.08/1.72/1.44 copy
node off 16 timing B 1 R 0.3405470720000012 0.110026 0.066526 0 201804271 — — 695284 1.08/1.72/1.44 copy
node off 16 timing C 1 F 0.34309189999999945 0.166659 0.045994 0 151619275 — — 414452 1.16/1.72/1.44 copy
node off 16 timing C 1 R 0.2867774210000007 0.104543 0.046207 0 151373462 — — 417140 1.16/1.72/1.44 copy
node off 16 timing B 2 F 2.9052714880000003 1.974593 0.194134 0 213081590 — — 724928 1.13/1.7/1.43 copy
node off 16 timing B 2 R 0.32493977499999893 0.10164 0.067782 0 201804264 — — 729920 1.13/1.7/1.43 copy
node off 16 timing C 2 F 0.32547771399999964 0.168341 0.049414 0 151619251 — — 405700 1.12/1.69/1.43 copy
node off 16 timing C 2 R 0.24827898600000026 0.100989 0.039378 0 151373446 — — 408388 1.12/1.69/1.43 copy
node off 16 timing B 3 F 2.939165236999999 2.01415 0.18585 0 213082666 — — 721760 1.33/1.71/1.44 copy
node off 16 timing B 3 R 0.351602069999999 0.107769 0.072517 0 201804271 — — 726880 1.33/1.71/1.44 copy
node off 16 timing C 3 F 0.288300389 0.167688 0.042337 0 151619259 — — 429596 1.3/1.7/1.44 copy
node off 16 timing C 3 R 0.24635132799999973 0.098642 0.043633 0 151373421 — — 432412 1.3/1.7/1.44 copy
node off 16 timing B 4 F 2.9851467220000005 2.005384 0.168823 0 213081418 — — 688944 1.18/1.66/1.43 copy
node off 16 timing B 4 R 0.2903494159999991 0.096745 0.066802 0 201804271 — — 694064 1.18/1.66/1.43 copy
node off 16 timing C 4 F 0.3391986219999999 0.159067 0.052819 0 151619263 — — 405440 1.4/1.7/1.45 copy
node off 16 timing C 4 R 0.29010656500000004 0.108368 0.04619 0 151373470 — — 408128 1.4/1.7/1.45 copy
node off 16 timing B 5 F 2.9094232189999993 1.990909 0.211535 0 213083458 — — 764408 1.26/1.66/1.43 copy
node off 16 timing B 5 R 0.2832788899999996 0.10407 0.056792 0 201804271 — — 769784 1.26/1.66/1.43 copy
node off 16 timing C 5 F 0.3112004500000003 0.171115 0.045514 0 151619275 — — 428180 1.32/1.67/1.44 copy
node off 16 timing C 5 R 0.27450885500000005 0.102858 0.049578 0 151373454 — — 430868 1.32/1.67/1.44 copy
node off 16 counts B — F 2.9892782939999996 2.005502 0.193949 0 213084354 84009140 50405376 763188 1.19/1.63/1.43 copy
node off 16 counts B — R 0.31007436899999996 0.112213 0.054219 0 201804271 84009140 50405376 768436 1.19/1.63/1.43 copy
node off 16 counts C — F 0.29335768999999984 0.159862 0.047851 0 151619255 67207288 33603584 429912 1.17/1.62/1.43 copy
node off 16 counts C — R 0.26179079 0.100065 0.043049 0 151373421 67207288 33603584 432728 1.17/1.62/1.43 copy
bun auto 2 timing B 1 F 0.3977418029999999 0.553822 0.085822 24 30979992 — — 178068 1.09/1.59/1.42 copy-file-range
bun auto 2 timing B 1 R 0.1348581800000002 0.058647 0.01724 0 25442778 — — 181008 1.09/1.59/1.42 copy-file-range
bun auto 2 timing C 1 F 0.14709411500000033 0.091729 0.029686 0 19295125 — — 118196 1.09/1.59/1.42 copy-file-range
bun auto 2 timing C 1 R 0.12959045100000002 0.048697 0.026054 0 19102035 — — 124176 1.16/1.6/1.43 copy-file-range
bun auto 2 timing B 2 F 0.40020356300000004 0.570349 0.069205 0 30980025 — — 178008 1.16/1.6/1.43 copy-file-range
bun auto 2 timing B 2 R 0.14076409800000012 0.053121 0.023296 0 25442811 — — 179680 1.16/1.6/1.43 copy-file-range
bun auto 2 timing C 2 F 0.1713733629999997 0.095711 0.031313 0 19295125 — — 116792 1.07/1.57/1.42 copy-file-range
bun auto 2 timing C 2 R 0.11754398599999968 0.048165 0.026045 0 19102035 — — 123252 1.07/1.57/1.42 copy-file-range
bun auto 2 timing B 3 F 0.43443616599999996 0.546957 0.092684 0 30979987 — — 179196 1.07/1.57/1.42 copy-file-range
bun auto 2 timing B 3 R 0.24413492300000006 0.061204 0.029476 0 25442811 — — 180472 1.07/1.57/1.42 copy-file-range
bun auto 2 timing C 3 F 0.22350530200000002 0.101631 0.026629 0 19295125 — — 117096 0.98/1.55/1.41 copy-file-range
bun auto 2 timing C 3 R 0.19317096999999966 0.054112 0.0293 0 19102035 — — 121588 0.98/1.55/1.41 copy-file-range
bun auto 2 timing B 4 F 0.4763698980000004 0.560123 0.080097 0 30979873 — — 175472 0.9/1.52/1.4 copy-file-range
bun auto 2 timing B 4 R 0.23196425799999998 0.047473 0.031212 0 25442811 — — 180328 0.9/1.52/1.4 copy-file-range
bun auto 2 timing C 4 F 0.22446944299999996 0.098234 0.030133 0 19295125 — — 117908 0.9/1.52/1.4 copy-file-range
bun auto 2 timing C 4 R 0.19573300699999982 0.049535 0.025481 0 19101959 — — 123700 0.9/1.52/1.4 copy-file-range
bun auto 2 timing B 5 F 0.4692591689999999 0.555672 0.080499 0 30980025 — — 176452 0.83/1.5/1.4 copy-file-range
bun auto 2 timing B 5 R 0.22916586099999994 0.058483 0.026566 0 25442811 — — 176592 0.83/1.5/1.4 copy-file-range
bun auto 2 timing C 5 F 0.24038886200000026 0.10026 0.0296 0 19295125 — — 116480 0.83/1.5/1.4 copy-file-range
bun auto 2 timing C 5 R 0.19694985899999984 0.053259 0.025091 0 19102035 — — 122872 0.84/1.49/1.39 copy-file-range
bun auto 2 counts B — F 0.48998017500000013 0.564365 0.080954 0 30979987 6316212 6316032 176640 0.84/1.49/1.39 copy-file-range
bun auto 2 counts B — R 0.24339265999999998 0.056656 0.029941 0 25442811 6316212 6316032 182196 0.84/1.49/1.39 copy-file-range
bun auto 2 counts C — F 0.2308609590000001 0.102568 0.029591 0 19295125 4210808 4210688 117468 0.78/1.46/1.38 copy-file-range
bun auto 2 counts C — R 0.20086786099999973 0.053127 0.026913 0 19102035 4210808 4210688 122584 0.78/1.46/1.38 copy-file-range
bun auto 16 timing B 1 F 0.5286247249999997 0.58969 0.131777 0 207337250 — — 175980 0.78/1.46/1.38 copy-file-range
bun auto 16 timing B 1 R 0.29912348199999994 0.106293 0.062424 0 201800191 — — 179188 0.8/1.46/1.38 copy-file-range
bun auto 16 timing C 1 F 0.27624577099999986 0.146312 0.059861 0 151563158 — — 116888 0.8/1.46/1.38 copy-file-range
bun auto 16 timing C 1 R 0.25138219900000014 0.105853 0.05015 0 151370107 — — 121156 0.8/1.46/1.38 copy-file-range
bun auto 16 timing B 2 F 0.5438328780000001 0.608323 0.133434 0 207337288 — — 175540 0.73/1.43/1.37 copy-file-range
bun auto 16 timing B 2 R 0.2853299780000002 0.104728 0.064798 0 201800191 — — 181148 0.73/1.43/1.37 copy-file-range
bun auto 16 timing C 2 F 0.2789355999999998 0.149577 0.05519 0 151563158 — — 116988 0.73/1.43/1.37 copy-file-range
bun auto 16 timing C 2 R 0.2432740359999998 0.104253 0.050106 0 151370107 — — 121460 0.73/1.43/1.37 copy-file-range
bun auto 16 timing B 3 F 0.528612314 0.592546 0.128505 0 207337364 — — 175776 0.75/1.42/1.37 copy-file-range
bun auto 16 timing B 3 R 0.2726324770000001 0.110345 0.057281 0 201800191 — — 181776 0.75/1.42/1.37 copy-file-range
bun auto 16 timing C 3 F 0.2784604629999999 0.149138 0.054662 0 151563158 — — 117364 0.69/1.4/1.36 copy-file-range
bun auto 16 timing C 3 R 0.26783227899999973 0.098161 0.057852 0 151370069 — — 121004 0.69/1.4/1.36 copy-file-range
bun auto 16 timing B 4 F 0.5411867110000003 0.612233 0.122686 0 207337364 — — 174456 0.69/1.4/1.36 copy-file-range
bun auto 16 timing B 4 R 0.2773122070000004 0.098502 0.06611 0 201800153 — — 180916 0.8/1.41/1.37 copy-file-range
bun auto 16 timing C 4 F 0.2857797720000003 0.144856 0.060258 0 151563158 — — 117248 0.8/1.41/1.37 copy-file-range
bun auto 16 timing C 4 R 0.2387546400000001 0.107827 0.043802 0 151370107 — — 122484 0.8/1.41/1.37 copy-file-range
bun auto 16 timing B 5 F 0.5251284969999997 0.615894 0.113367 0 207337326 — — 174592 0.74/1.39/1.36 copy-file-range
bun auto 16 timing B 5 R 0.30188686800000003 0.108614 0.061413 0 201800191 — — 179804 0.74/1.39/1.36 copy-file-range
bun auto 16 timing C 5 F 0.26838848899999995 0.148013 0.054471 0 151563196 — — 115964 0.74/1.39/1.36 copy-file-range
bun auto 16 timing C 5 R 0.2454698669999998 0.116502 0.050538 0 151370107 — — 121412 0.74/1.39/1.36 copy-file-range
bun auto 16 counts B — F 0.5516768729999999 0.605525 0.129142 0 207337364 50405556 50405376 176900 0.76/1.38/1.36 copy-file-range
bun auto 16 counts B — R 0.27519644599999993 0.10345 0.064054 0 201800191 50405556 50405376 183004 0.76/1.38/1.36 copy-file-range
bun auto 16 counts C — F 0.279737709 0.160936 0.044227 0 151563158 33603704 33603584 117164 0.7/1.36/1.35 copy-file-range
bun auto 16 counts C — R 0.24417468899999994 0.102311 0.04985 0 151370069 33603704 33603584 120840 0.7/1.36/1.35 copy-file-range
bun off 2 timing B 1 F 0.3843692249999999 0.537295 0.069244 80 30979873 — — 177448 0.7/1.36/1.35 copy
bun off 2 timing B 1 R 0.15400849300000027 0.051332 0.028717 0 25442891 — — 179076 0.7/1.36/1.35 copy
bun off 2 timing C 1 F 0.19341035599999987 0.095677 0.024863 0 19295125 — — 116888 0.72/1.35/1.35 copy
bun off 2 timing C 1 R 0.19178285300000017 0.050114 0.022879 0 19102035 — — 122252 0.72/1.35/1.35 copy
bun off 2 timing B 2 F 0.4835132209999997 0.541907 0.081032 0 30979911 — — 174908 0.66/1.33/1.34 copy
bun off 2 timing B 2 R 0.24977594500000033 0.058271 0.021864 0 25442811 — — 179056 0.66/1.33/1.34 copy
bun off 2 timing C 2 F 0.2330135049999999 0.087766 0.03356 0 19295125 — — 115028 0.66/1.33/1.34 copy
bun off 2 timing C 2 R 0.2025212069999998 0.058651 0.018345 0 19102035 — — 121380 0.66/1.33/1.34 copy
bun off 2 timing B 3 F 0.4971939830000001 0.545659 0.086639 0 30979987 — — 173480 0.61/1.31/1.34 copy
bun off 2 timing B 3 R 0.23811613999999964 0.056568 0.017669 0 25442773 — — 180164 0.61/1.31/1.34 copy
bun off 2 timing C 3 F 0.2221333330000002 0.095515 0.026277 0 19295125 — — 115236 0.64/1.3/1.33 copy
bun off 2 timing C 3 R 0.198969564 0.052764 0.021828 0 19102073 — — 121692 0.64/1.3/1.33 copy
bun off 2 timing B 4 F 0.487802999 0.547638 0.084552 0 30979949 — — 176144 0.64/1.3/1.33 copy
bun off 2 timing B 4 R 0.23035985200000006 0.056187 0.022503 0 25442773 — — 181396 0.64/1.3/1.33 copy
bun off 2 timing C 4 F 0.23748084599999994 0.08659 0.038641 0 19295125 — — 116116 0.59/1.28/1.33 copy
bun off 2 timing C 4 R 0.20154534100000002 0.048709 0.028009 0 19102035 — — 121652 0.59/1.28/1.33 copy
bun off 2 timing B 5 F 0.48143945299999996 0.552238 0.080315 0 30979911 — — 172512 0.59/1.28/1.33 copy
bun off 2 timing B 5 R 0.22878060400000003 0.050731 0.027453 0 25442773 — — 179036 0.62/1.27/1.32 copy
bun off 2 timing C 5 F 0.23412738300000002 0.095567 0.027858 0 19295125 — — 116260 0.62/1.27/1.32 copy
bun off 2 timing C 5 R 0.20740772399999968 0.050894 0.025603 0 19101997 — — 121936 0.62/1.27/1.32 copy
bun off 2 counts B — F 0.4939732800000002 0.552849 0.084878 0 30979873 10526900 6316032 174992 0.57/1.25/1.32 copy
bun off 2 counts B — R 0.23885296500000003 0.056071 0.027198 0 25442811 10526900 6316032 180104 0.57/1.25/1.32 copy
bun off 2 counts C — F 0.23662352400000009 0.102254 0.021417 0 19295125 8421496 4210688 115352 0.57/1.25/1.32 copy
bun off 2 counts C — R 0.19686691400000017 0.058197 0.017014 0 19102035 8421496 4210688 121496 0.57/1.25/1.32 copy
bun off 16 timing B 1 F 0.5464756629999997 0.614101 0.11414 0 207337326 — — 173700 0.61/1.25/1.31 copy
bun off 16 timing B 1 R 0.3645645119999999 0.111067 0.075057 0 201800191 — — 179356 0.61/1.25/1.31 copy
bun off 16 timing C 1 F 0.28820602000000006 0.154952 0.052507 0 151563158 — — 116560 0.56/1.23/1.31 copy
bun off 16 timing C 1 R 0.24261082299999998 0.098119 0.054436 0 151370069 — — 121040 0.56/1.23/1.31 copy
bun off 16 timing B 2 F 0.5415819260000003 0.604989 0.126549 0 207337288 — — 176232 0.56/1.23/1.31 copy
bun off 16 timing B 2 R 0.30339583300000006 0.09438 0.079607 0 201800191 — — 181116 0.56/1.23/1.31 copy
bun off 16 timing C 2 F 0.28083451799999964 0.144777 0.059707 0 151563158 — — 116152 0.92/1.29/1.33 copy
bun off 16 timing C 2 R 0.2430581269999998 0.104584 0.046743 0 151370069 — — 121908 0.92/1.29/1.33 copy
bun off 16 timing B 3 F 0.5371215539999998 0.597778 0.130704 0 207337326 — — 176328 0.84/1.27/1.32 copy
bun off 16 timing B 3 R 0.2914265559999999 0.106314 0.065773 0 201800191 — — 181076 0.84/1.27/1.32 copy
bun off 16 timing C 3 F 0.2843059760000001 0.159924 0.05082 0 151563158 — — 117708 0.84/1.27/1.32 copy
bun off 16 timing C 3 R 0.2444205469999997 0.107036 0.049842 0 151370069 — — 122068 0.84/1.27/1.32 copy
bun off 16 timing B 4 F 0.561433258 0.600283 0.127048 0 207337364 — — 175604 1.18/1.33/1.34 copy
bun off 16 timing B 4 R 0.3155400569999997 0.116709 0.059647 0 201800191 — — 180528 1.18/1.33/1.34 copy
bun off 16 timing C 4 F 0.28314741400000004 0.136476 0.067893 0 151563158 — — 116360 1.08/1.31/1.33 copy
bun off 16 timing C 4 R 0.24640996499999984 0.115799 0.043007 0 151370069 — — 122544 1.08/1.31/1.33 copy
bun off 16 timing B 5 F 0.5452591090000001 0.575164 0.142361 0 207337288 — — 175168 1.08/1.31/1.33 copy
bun off 16 timing B 5 R 0.34727580200000013 0.112794 0.066419 0 201800191 — — 180588 1.08/1.31/1.33 copy
bun off 16 timing C 5 F 0.3661538890000002 0.157403 0.053854 0 151563158 — — 115512 1.4/1.37/1.35 copy
bun off 16 timing C 5 R 0.30722954100000016 0.11729 0.038711 0 151370069 — — 118876 1.4/1.37/1.35 copy
bun off 16 counts B — F 0.5704892359999999 0.609239 0.136473 0 207337326 84009140 50405376 175472 1.29/1.35/1.35 copy
bun off 16 counts B — R 0.32344156399999974 0.107612 0.074657 0 201800191 84009140 50405376 181536 1.29/1.35/1.35 copy
bun off 16 counts C — F 0.27615497300000014 0.159458 0.049556 0 151563158 67207288 33603584 116228 1.29/1.35/1.35 copy
bun off 16 counts C — R 0.24629037000000017 0.106414 0.048075 0 151370107 67207288 33603584 122136 1.29/1.35/1.35 copy

@vincentkoc

Copy link
Copy Markdown
Member Author

Historical qualification record through fc91798

This is the unchanged historical suffix of the PR body published at fc91798. Current source, pending gates and qualification are in the PR body; historical present-tense wording below remains attached to its original revision. All failed verdicts, samples, tables and original acceptance rules are retained.

Prepared-inventory correction at 8bc1a73

The production coordinator already prepares supplemental database paths, including an authoritative empty list. The shared worker collector nevertheless imported backup discovery before checking that list. A separate two-child, nonqualifying CPU diagnostic and complete caller/owner inspection identified the unused import graph. The correction moves discovery import into the nullish-list branch, preserving realpath/alias ordering and absent-list discovery. Header-zero schema classification now imports the same readBackupEngine export from its physical-store owner, matching the existing PostgreSQL worker boundary. This is a current-main defect; this exact helper is not reachable from the published 2026.10.8 tag.

At signed test-only a3642522 (cad production), Node 24.22.1 and pinned Bun each joined exit 1: four full-sentinel forbidden-import failures and two passing controls; no skips/runtime errors. All eight artifacts, source witnesses and cleanup verified. The first attempt remains FAILED: the assertion formatter truncated two causes and Bun did not run. A test-only direct-await correction exposed them without changing production or parser rules.

8bc correction proof: PASS under every original numerical gate; zero failures or exceptions. All 14 cases per runtime passed (28 executions), covering prepared/absent discovery, worker/retained imports, Windows aliases and local schema. Canonical build joined exit 0 in 442.156 seconds. Exact-head P0–P3 AutoReview and independent owner review were scoped-clean. All 96 children (80 timing/16 count) joined; two independent audits agree on all 192 rows. Eleven artifact hashes, 46 source witnesses, final source/cleanup and native release verified. All aggregates and raw samples retain exact measurements and provenance.

Across the eight bounded fixture cells, repeated wall medians are 12.5–22.5% lower and repeated CPU medians 2.8–13.7% lower. Candidate/baseline maximum-RSS ratios are 0.561732–0.686025. Every 16 MiB logical-read gate passes; scoped private-image JavaScript read bytes are exactly one-third lower in every count cell. This is fixture qualification, not a live database, physical-device-I/O or Control UI latency claim. Auto-merge is off; no deployment, Gateway restart or Bun promotion.

Cad CI 40832241717 passed 48 jobs/27 skips, including all three live PostgreSQL shards and original maintenance-owner baseline. Historical package runs cad 40832304660 and f533 40834084688 passed construction/integrity/installation and published-driver upgrades, but failed the entry budget.

8bc Package Acceptance 40843029272 likewise passed construction/integrity/installation and failed the enforced 47,500-entry release budget: 47,552 entries/583.3 MiB, including 9,767 dist entries; controlled f533 has 47,549/583.2 MiB and 9,764 dist entries. Baseline excess is 49; candidate adds three. This is bucket/count attribution, not a complete path inventory, a fully inherited failure, or a waiver. Named follow-up: trim installed/dist entries before release; no limit increase. The failed optional package workflow is not an independent required PR merge gate.

The 8bc published-driver lane passed one actual published 2026.10.8 to candidate 8bc update: finished, readiness HTTP 200, running version verified, exit 0, no failures/timeouts and cleanup joined. This is functional upgrade proof, not timing qualification. Subsequent test-only commits preserve runtime/package inputs; this execution remains bound to 8bc.

Test-fixture follow-through at fc91798

8bc CI 40842847836, testing merge a268630d, found seven isolated mock factories missing mock-isolation comments; nine other ratchets passed. Signed f4b56c45 adds only those seven comments. Removing them reconstructs the parent test bytes; all other blobs match 8bc. Qualified formatting and exact commit-delta P0–P3 AutoReview passed.

f4 CI 40846942011 ended with 46 passed jobs, 27 skipped and two failures: the Bun commands shard and dependent CI gate. Mock ratchets and all three live PostgreSQL shards passed. The Bun shard failed the directory-link privacy case at scratch staging-token acquisition (database locked), testing merge 09fe58b9 with main 11eaf275. Overlapping backup-file activity is logged; the exact competing process/token path is unknown. These fixtures isolated HOME/state but shared TMP. A concurrent scratch maintainer can acquire the published no-token directory before its creator obtains the token. Intentional production admission errors and the removal of allocation retries are preserved.

Signed fc91798582754eca29f6c083bc081571020740aa adopts existing useIsolatedBackupTempRoot() in six real archive fixtures: privacy, mixed engines, restore, verify completeness, atomic and backup. Imports/file-scope calls add 18 test lines. Assertions, production, helper semantics, concurrency and package/build/benchmark inputs are unchanged. Cleanup order was checked against Vitest 5.0.5. Exact commit-delta P0–P3 AutoReview is scoped-clean with final source verification.

First fc harness run: 235 passed/six failed/one skipped. Checkout fixtures inherited Git ancestry (two failures); four archive-verification paths were 533–564 bytes, beyond pinned Bun's 512-byte SQLite VFS limit. The directory-link case passed. A second harness stopped before tests: native /tmp is tmpfs, failing the unchanged ext4 admission. Both failures remain retained. The passing harness used a short private directory under the native lease parent, outside Git on the source filesystem; source, runtime and assertions are unchanged.

Corrected exact-fc functional proof passed: 17 files, 241 passes/zero failures/one Windows-only MAX_PATH skip; one command joined exit 0 in 159.305s. Observed two fork workers, non-isolated config, project/plan concurrency one; seven artifact hashes, 55 source witnesses and source removal/join verified. The 4-CPU/16-GiB host differs from CI's 8-CPU/32-GiB host; no exact scheduler/contender or timing claim. Matrix/build/package proof remains 8bc. Fresh fc CI/security and exact-head ClawSweeper remain required.

Import rework and historical a85 proof

First capture imported the broad backup-command module only to encode an archive path. a85 relocates the byte-identical helper to the existing archive-path policy owner, migrates callers and removes the old export. Classification uses the physical-store owner; PostgreSQL capture loads after PostgreSQL admission. Image custody, generation authority, integrity, rollback and pre-swap preparation stay unchanged.

One instrumented 9811/a85 pair per runtime isolates archive-import cost: Node 2,703.322 ms/+107,136 KiB RSS → 0.545 ms/no observed increase; Bun 208.795 ms/+40,336 KiB → 0.135 ms/no observed increase. These diagnostic samples do not qualify performance. Classification was already cheap; no separate saving is attributed to it.

  • Exact-a85 focused proof: 33 passes (10/5/1 on each runtime, plus one Node pre-swap replacement-process case). The execution log retains canonical-parser-verified counts, assertion-location checks and report digests. The seven raw JSON reports were not retrieved; overall artifact capture is partial. PostgreSQL calls were stubbed, proving admission/order/integrity rather than live export.
  • Exact-a85 canonical build: corepack pnpm build joined with exit 0 in 430.294 seconds (7m10.294s), after exact tree/source, Node/Bun, 4-CPU/16-GiB and ext4 admission. Final source verification, all 14 command joins, three required proof files and native release settled. Earlier 25 native static checks passed, including all 29 core-test type graphs; all eight remaining guards also passed. Core-lint stripes 1/2/4/5 failed on 16 max-lines diagnostics; stripe 3 passed. Every failing file and lint control matches d318/a85 and f533/cad respectively, proving inheritance without suppression or a baseline execution claim. The earlier automatic lint SIGKILL remains unattributed; this run had no SIGKILL/OOM.
  • Five Knip findings are inherited: all 110 reference files, exporters, Knip configuration and dependency inputs match across d318/cc70/9811/a85. No passing baseline execution, suppression or unrelated deletion is claimed.
  • Scoped a85 AutoReview: no P0–P3 findings. Its Package Acceptance run was canceled after live GitHub conflict evidence required integration with main; it cannot qualify cad. The unrun a85/d318 matrix was superseded by the matched f533/cad plan below.

Historical cad integrated qualification

The four actual merge conflicts are resolved. Main stopped-source image classification, original PostgreSQL maintenance-owner custody, input-aware space admission and whitespace-preserving archive paths remain intact. The exact main test-line budget is unchanged. Package/dependency inputs match f533 on both measured variants.

Independent owner review and exact-cad one-pass P0–P3 AutoReview are scoped-clean. These are source reviews, not performance or live PostgreSQL proof. Exact-cad affected proof passed all 46 selected cases on each runtime (92 actual executions) in 9m47.223s. All ten raw JSON reports and canonical-parser-verified counts/digests were captured and independently checked. The canonical build joined with exit 0 in 383.699 seconds (6m23.699s). Final source verification passed; all 11 validation commands joined, unjoined=false, and the detached validation source was removed.

The complete matched f533/cad matrix executed all 80 timing and 16 count children in the declared order, producing 192 first/repeated-capture rows. Frozen sources, committed harness 9b4b3945…, Node 24.22.1, pinned Bun 191755ec1, independent frozen installs and ext4 were verified. Every sample, order, child timeout and acceptance bound below was preserved. All 19 artifact manifest hashes, raw reports, source witnesses, strict joins, source/controller cleanup and deadlines were independently audited; capture completed and the task lease was released. Successful execution is distinct from the FAILED performance verdict.

Historical f533/cad bounded qualification: FAILED. All RSS gates and all 16 MiB logical-read reduction gates pass. Six repeated-capture Node metrics exceed the unchanged rule or their specifically accepted historical bounds:

Mode Payload Repeated metric Baseline (ms) Candidate (ms) Change Verdict
auto 2 MiB wall median 150.104 164.587 +9.65% FAILED
auto 2 MiB CPU median 68.065 88.283 +29.70% FAILED
auto 2 MiB CPU p95 73.218 185.853 +153.84% FAILED
auto 16 MiB CPU median 142.391 154.373 +8.41% FAILED
off 2 MiB CPU median 70.718 87.193 +23.30% FAILED
off 16 MiB CPU p95 169.574 254.752 +50.23% FAILED

One additional Node/off/2 MiB repeated CPU-p95 ordinary-rule miss fits both of that cell's historical accepted bounds. It does not waive the six failures above. Five-sample p95 is the maximum; no sample was discarded and no new exception is accepted. The older d318/d70 declarations and FAILED measurements remain unchanged historical evidence.

Historical cad focused proof covers path policy and whitespace create/verify/restore, stopped WAL images, reader-empty WAL without reacquisition, retained-image failure/cleanup and complete/cancel worker lifecycle. The real PostgreSQL original-baseline case subsequently passed in cad CI, and both published-driver upgrade lanes passed as reported above. A separate two-process Node diagnostic completed and informed the current import correction; its timings do not qualify performance. All six measured cad failures remain unchanged.

Named follow-ups: remove the remaining eager snapshot-barrel classification import in src/infra/update-database-engine-admission.ts; resolve the inherited unused exports isHeartbeatHistoryTurnBoundaryMessage, classifySqliteWorkerExecute, sqliteWorkerRequestClasses, THINKING_TAG_CASES, and resolvePodmanSandboxRuntimeInfo in their owning modules.

Maintainer acceptance of the disclosed historical tradeoff

On 2026-10-28, the maintainer explicitly accepted the corrected-harness matrix's measured tradeoff for the 23.698–24.990% reduction in 16 MiB logical reads. This accepts these disclosed outcomes, not unspecified new or worse regressions:

  • Node, auto, 2 MiB, repeated CPU p95: 80.641 → 92.498 ms (+11.857 ms; 1.147034×).
  • Node, auto, 16 MiB, repeated CPU p95: 163.448 → 181.199 ms (+17.751 ms; 1.108603×).
  • Node, off, 2 MiB, repeated CPU p95: 83.058 → 103.650 ms (+20.592 ms; 1.247923×).
  • Bun, auto, 2 MiB, repeated CPU p95: 91.861 → 122.120 ms (+30.259 ms; 1.329400×).
  • Bun, off, 2 MiB, repeated CPU p95: 88.653 → 97.868 ms (+9.215 ms; 1.103945×).
  • Node, off, 2 MiB, first-capture lifetime-RSS median: 686,160 → 722,384 KiB (+36,224 KiB; 1.052792×). This median was disclosed but was not the gated maximum-across-samples RSS statistic.

The five CPU p95 misses, both ≥20% stops, and the original matrix remain FAILED under the original numerical rule. Acceptance is an explicit owner tradeoff decision, not a rewritten measurement or a generic waiver. The original thresholds and all samples remain below. Final performance qualification below remains FAILED. Hosted CI and the published-driver compatibility lanes now pass, with the separate package-count failures attributed below. No merge, deployment, Gateway restart, new/worse regression acceptance or additional source change follows merely from this historical decision.

Final-head qualification rule, declared before measurement

The single final matrix compares frozen base d3184ac52b6a2df26a5dc6e856581f42178f3978 with current head d70aa2322071058e3a2ca4f2878fba3a12fdc7a3, using committed workload SHA-256 9b4b39452c72ca46598c71b4f560c094c63cbc0682c468fac45d2d1800aaf2eb for both variants. The eight cells retain five serial baseline/candidate timing pairs and one separate count pair each: 96 children and 192 first/repeated-capture rows. Node 24.22.1, pinned Bun 191755ec1, independent frozen dependencies, disk-backed ext4 fixtures, cold lazy-import timing, full-byte integrity oracles and all samples remain required. No prewarming, forced GC, profiling or repeat-for-green is allowed.

The original numerical gates remain reported unchanged. An original-rule CPU-p95 failure is accepted only in one of the five named repeated-capture cells above, and only if both its ratio and positive absolute increase are no worse than that cell's historical raw values; the displayed rounded values are not extra tolerance. The disclosed Node/off/2 MiB first-capture RSS median is likewise bounded by its historical ratio and +36,224 KiB increase, separately from the unchanged maximum-across-samples RSS gate. All other original gated metrics must remain within 5%; a new or worse failure, including a new/worse 20% stop, blocks qualification. Each 16 MiB runtime/mode cell must retain at least a 10% median logical-read reduction. This is a bounded owner-accepted tradeoff, not a change to the historical FAILED verdicts.

The isolated run requires at least 16 minutes remaining after preparation. Its whole-work deadline is the earlier of start + 30 minutes and the native returned expiry minus four minutes; each 120-second child shares that deadline. Incomplete work does not qualify. Controller and fixture temporary roots are separate; artifact capture and native release must settle. This plan permitted required CI and one exact-head ClawSweeper re-review, with auto-merge off. Package Acceptance run 40707223528 separately checked the exact candidate through the published driver; terminal results and the remaining RSS hold are recorded below.

Historical d70 matrix — bounded qualification FAILED

Rules were published at 2026-10-28 14:36:16 UTC, before the first child at 14:55:52.213 (body SHA-256 3b8330db9713a75d0ca2f23342cf4a3290761512ed08635c737900faae1cd6b7). Frozen d70/d318, workload 9b4b3945…, independent installs, Node 24.22.1, Bun 191755ec1/binary 0cef667e2f3fd465b6429904ed074381a679be379ec44fa42b5f460ed118b2b8, 4 CPUs/16,463,380,480 bytes RAM and ext4 were verified. All 96 children/192 rows completed in order; cleanup, exit 0 and native release settled within the declared deadlines.

  • Original numerical rule: FAILED only on Node/off/2 MiB repeated CPU p95: 89.431 → 106.813 ms, +17.382 ms, 1.194362134×. This is inside both accepted historical bounds (1.247923138× and +20.592 ms). No new ≥20% original-rule stop occurred.
  • Bounded owner-accepted rule: FAILED on the explicitly bounded Node/off/2 MiB first-capture lifetime-RSS median: 685,648 → 739,840 KiB, +54,192 KiB (52.921875 MiB), 1.079037640×. Accepted bounds were 1.052792352× and +36,224 KiB (35.375 MiB). The new increase exceeds the accepted absolute allowance by 17,968 KiB (17.546875 MiB).
  • Other original wall/CPU-median/maxRSS gates pass. RSS is lifetime high-water, not capture-only; neither a GC nor filesystem cause is inferred.
  • All 16 MiB cells retain 23.699–24.990% median logical-read reduction. Scoped private-image reads are 6,316,032 → 4,210,688 bytes (2 MiB) and 50,405,376 → 33,603,584 (16 MiB); these exclude native/physical I/O.

The CPU p95 samples are 53.673+35.758 ms user+system versus 90.802+16.011; they are each variant's maximum-total-CPU sample, not paired causal deltas. Median falls 86.014 → 76.391 ms. Five-sample p95 is a maximum, not a confidence interval; no sample was removed.

Runtime / copy / MiB / temperature Wall median / p95 ratio CPU median / p95 ratio Lifetime RSS max ratio RSS median ratio Logical-read median ratio
node/auto/2/first-capture 0.983634 / 0.968178 0.970392 / 0.968729 0.980357 1.062326 0.825449
node/auto/2/repeated-capture 0.827278 / 0.843153 0.857621 / 0.875870 0.978066 1.058019 0.750803
node/auto/16/first-capture 0.984178 / 0.996888 0.966775 / 0.964870 0.998843 1.003694 0.762998
node/auto/16/repeated-capture 0.886134 / 0.917682 0.906833 / 1.046405 0.994563 1.000149 0.750101
node/off/2/first-capture 0.975099 / 0.956770 0.966532 / 0.965906 0.967051 1.079038 0.825462
node/off/2/repeated-capture 0.830848 / 0.903066 0.888123 / 1.194362 0.965014 1.072831 0.750798
node/off/16/first-capture 0.968155 / 0.969732 0.969514 / 0.962384 0.996359 0.980008 0.763010
node/off/16/repeated-capture 0.781860 / 0.804568 0.899529 / 0.951411 0.992751 0.976859 0.750100
bun/auto/2/first-capture 0.918586 / 0.919462 0.967655 / 0.970348 0.981111 0.977799 0.795263
bun/auto/2/repeated-capture 0.831029 / 0.843435 0.931722 / 0.888637 0.965884 0.963836 0.750782
bun/auto/16/first-capture 0.905587 / 0.935595 0.950335 / 0.960937 0.977985 0.977145 0.756762
bun/auto/16/repeated-capture 0.848527 / 0.830882 0.884804 / 0.876147 0.958470 0.966012 0.750099
bun/off/2/first-capture 0.879320 / 0.873704 0.949897 / 0.939852 0.975269 0.982072 0.795263
bun/off/2/repeated-capture 0.804239 / 0.838078 0.867844 / 0.873684 0.961185 0.963799 0.750783
bun/off/16/first-capture 0.886068 / 0.940705 0.979851 / 0.957819 0.974324 0.974131 0.756762
bun/off/16/repeated-capture 0.840431 / 0.906175 0.910975 / 0.884662 0.964618 0.966587 0.750099
All final timing samples, in pair order (baseline → candidate)

Wall and CPU values are milliseconds; RSS is KiB; rchar is bytes. Wall values below are rounded to six decimal places for display; exact raw output is hash-bound below. The separate count processes are excluded from all timing statistics.

Cell Wall ms arrays Total CPU ms arrays RSS KiB arrays rchar arrays
node/auto/2/first-capture [3073.897173, 3097.565186, 3080.77034, 3113.052901, 3169.079171] → [3068.231977, 3046.869971, 3065.401138, 2976.207507, 3009.967966] [2239.411, 2254.221, 2201.89, 2202.827, 2251.973] → [2143.922, 2183.729, 2173.107, 2164.379, 2176.174] [670904, 674960, 745300, 738920, 681000] → [730660, 725496, 722920, 722780, 723444] [36698519, 36700598, 36701498, 36702586, 36707571] → [30293890, 30295206, 30296942, 30295246, 30294846]
node/auto/2/repeated-capture [261.733861, 253.962884, 273.159327, 231.885538, 255.191197] → [211.114064, 208.026535, 209.954184, 230.315043, 211.64641] [78.683, 83.055, 85.064, 71.974, 80.953] → [69.114, 71.768, 69.427, 74.505, 68.481] [675000, 679184, 749140, 742632, 685224] → [732708, 727288, 724712, 724828, 724980] [25445232, 25445292, 25445244, 25445253, 25445252] → [19104360, 19104388, 19104404, 19104354, 19104379]
node/auto/16/first-capture [3134.003922, 3176.664143, 3126.822151, 3164.76496, 3093.531482] → [3084.416723, 2995.645811, 3166.779417, 3122.211881, 3064.83912] [2336.922, 2346.204, 2296.069, 2307.12, 2333.309] → [2255.784, 2263.781, 2257.697, 2180.352, 2254.402] [722332, 743240, 665552, 667200, 737556] → [725000, 740712, 723064, 672036, 742380] [213061464, 213057905, 213060768, 213056021, 213061016] → [162567336, 162562068, 162563640, 162566428, 162564888]
node/auto/16/repeated-capture [260.703876, 236.934047, 243.713882, 225.060526, 267.25232] → [215.576783, 207.18557, 215.963181, 231.560281, 245.252691] [173.859, 166.784, 167.323, 156.444, 172.794] → [151.138, 150.378, 151.734, 181.927, 179.301] [726812, 746696, 669776, 670912, 741012] → [726920, 742120, 724600, 694180, 742636] [201802623, 201802631, 201802615, 201802623, 201802640] → [151372432, 151372424, 151372383, 151372448, 151372416]
node/off/2/first-capture [3181.575277, 3082.358045, 3181.887347, 3058.526246, 3055.216487] → [3027.025181, 3044.335513, 2955.528782, 3005.603747, 2991.470732] [2262.429, 2251.915, 2405.521, 2218.844, 2197.964] → [2211.077, 2176.547, 2147.989, 2323.508, 2168.447] [715420, 685648, 767736, 670880, 667260] → [739840, 720744, 721200, 741352, 742440] [36702119, 36700198, 36710007, 36702842, 36700158] → [30298806, 30300790, 30294078, 30296190, 30295222]
node/off/2/repeated-capture [261.837282, 265.468408, 268.812505, 273.980795, 256.882762] → [220.563849, 212.59318, 206.204811, 247.422865, 235.065426] [86.014, 87.389, 89.431, 85.567, 76.524] → [76.391, 75.006, 70.613, 82.481, 106.813] [720668, 691024, 771612, 676256, 672508] → [742016, 723304, 724016, 741352, 744616] [25445500, 25445509, 25445496, 25445517, 25445540] → [19104419, 19104444, 19104418, 19104426, 19104426]
node/off/16/first-capture [3273.331035, 3213.533209, 3222.699758, 3190.502878, 3092.21417] → [3114.707156, 3174.254187, 3111.198097, 3064.5883, 3046.587725] [2368.613, 2358.436, 2322.798, 2320.079, 2329.404] → [2263.687, 2279.516, 2245.336, 2258.39, 2255.511] [717816, 743332, 686824, 745888, 735692] → [720984, 720568, 720112, 743132, 743172] [213057561, 213060873, 213058737, 213059065, 213061224] → [162568328, 162566568, 162566132, 162563688, 162565520]
node/off/16/repeated-capture [308.590597, 319.924015, 302.672329, 285.173659, 261.248125] → [233.746722, 241.27469, 257.400575, 216.762138, 236.647444] [187.657, 193.42, 180.34, 179.707, 170.662] → [157.175, 162.221, 161.585, 184.022, 183.382] [723192, 748324, 691816, 751008, 740684] → [723544, 723384, 722672, 745564, 745348] [201804207, 201804215, 201804199, 201804231, 201804208] → [151373392, 151373376, 151373384, 151373376, 151373384]
bun/auto/2/first-capture [505.246447, 511.77264, 519.194991, 505.421436, 502.007396] → [473.026908, 456.62449, 455.675371, 464.273073, 477.379917] [696.623, 685.273, 684.729, 686.714, 683.644] → [675.256, 661.071, 655.825, 663.108, 675.967] [190420, 193976, 193916, 193508, 192548] → [186348, 189212, 189968, 190312, 188792] [30970706, 30970703, 30970665, 30970703, 30970703] → [24629854, 24629889, 24629851, 24629851, 24629889]
bun/auto/2/repeated-capture [255.168684, 239.676001, 247.850595, 250.645745, 251.515057] → [215.218235, 215.008289, 208.29398, 208.216238, 204.628542] [94.942, 82.97, 87.725, 88.286, 88.962] → [83.269, 82.258, 79.172, 80.667, 84.369] [193636, 199904, 198980, 199472, 198128] → [189604, 189868, 192660, 193084, 191784] [25442776, 25442811, 25442811, 25442811, 25442811] → [19102038, 19101997, 19101997, 19101997, 19101997]
bun/auto/16/first-capture [516.195207, 506.42273, 570.946121, 568.687535, 588.898802] → [501.140537, 470.866585, 514.996211, 546.249355, 550.970632] [793.97, 778.456, 776.71, 778.916, 790.671] → [762.955, 753.642, 733.882, 738.682, 740.231] [192600, 191640, 191060, 192384, 190820] → [188360, 187260, 187800, 186340, 186364] [207328080, 207328118, 207328080, 207328042, 207328118] → [156897922, 156897884, 156897884, 156897922, 156897960]
bun/auto/16/repeated-capture [238.310008, 238.286207, 233.476434, 237.099596, 247.198495] → [202.511725, 202.192256, 205.392733, 201.891353, 198.697304] [180.827, 175.442, 172.103, 176.109, 176.839] → [158.431, 156.89, 155.677, 155.822, 151.985] [197472, 197784, 197484, 199276, 196152] → [191000, 190772, 190916, 189272, 189656] [201800191, 201800191, 201800191, 201800191, 201800191] → [151370070, 151370070, 151370070, 151370032, 151370032]
bun/off/2/first-capture [529.525567, 522.32768, 511.449042, 496.353008, 516.434422] → [462.648727, 440.857542, 454.111266, 457.982535, 452.787532] [703.827, 685.292, 682.75, 666.065, 679.45] → [652.747, 639.594, 648.542, 661.493, 645.612] [191652, 193444, 192348, 191088, 191176] → [188108, 188660, 188280, 187480, 188216] [30970703, 30970665, 30970703, 30970703, 30970665] → [24629813, 24629851, 24629889, 24629851, 24629927]
bun/off/2/repeated-capture [258.607015, 256.018844, 241.591275, 262.444218, 246.359598] → [186.12735, 201.29533, 212.430167, 219.94885, 205.900276] [90.688, 91.596, 82.859, 91.382, 84.67] → [72.413, 75.069, 78.703, 80.026, 78.855] [197092, 198360, 199096, 196616, 197672] → [190516, 189412, 191368, 189500, 191328] [25442773, 25442811, 25442773, 25442773, 25442811] → [19101997, 19101997, 19101997, 19101997, 19101997]
bun/off/16/first-capture [575.46058, 588.430191, 590.419311, 573.37676, 598.835975] → [511.357349, 521.389386, 525.653229, 563.32787, 509.148759] [766.667, 781.231, 764.321, 767.428, 800.272] → [751.853, 751.965, 766.516, 760.966, 743.71] [190176, 191716, 192400, 191272, 190516] → [185660, 185064, 186324, 186852, 187460] [207328118, 207328118, 207328004, 207328080, 207328156] → [156897998, 156897998, 156897884, 156897960, 156897998]
bun/off/16/repeated-capture [247.742659, 260.615011, 267.07838, 258.683392, 272.142752] → [246.608854, 236.530255, 219.028826, 217.959656, 214.251657] [174.109, 178.198, 183.53, 177.77, 188.854] → [167.072, 162.334, 161.451, 158.963, 163.88] [196048, 198744, 198032, 196960, 197052] → [189472, 189168, 191140, 190468, 191712] [201800191, 201800191, 201800191, 201800191, 201800153] → [151370032, 151370070, 151370032, 151370032, 151370032]
Cell User CPU ms arrays System CPU ms arrays
node/auto/2/first-capture [2107.072, 2151.563, 2057.889, 2057.315, 2112.079] → [1998.205, 2029.996, 2014.014, 2009.044, 2020.264] [132.339, 102.658, 144.001, 145.512, 139.894] → [145.717, 153.733, 159.093, 155.335, 155.91]
node/auto/2/repeated-capture [52.784, 54.891, 47.607, 47.564, 58.011] → [47.887, 46.947, 50.744, 56.972, 55.899] [25.899, 28.164, 37.457, 24.41, 22.942] → [21.227, 24.821, 18.683, 17.533, 12.582]
node/auto/16/first-capture [2132.318, 2158.648, 2144.697, 2167.192, 2131.849] → [2073.527, 2091.704, 2090.549, 2042.434, 2066.392] [204.604, 187.556, 151.372, 139.928, 201.46] → [182.257, 172.077, 167.148, 137.918, 188.01]
node/auto/16/repeated-capture [106.667, 106.677, 108.606, 105.534, 110.176] → [108.901, 101.217, 104.917, 127.419, 135.079] [67.192, 60.107, 58.717, 50.91, 62.618] → [42.237, 49.161, 46.817, 54.508, 44.222]
node/off/2/first-capture [2108.104, 2133.186, 2236.657, 2091.757, 2073.669] → [2061.106, 2036.172, 1987.767, 2131.171, 2019.381] [154.325, 118.729, 168.864, 127.087, 124.295] → [149.971, 140.375, 160.222, 192.337, 149.066]
node/off/2/repeated-capture [61.141, 59.973, 53.673, 61.405, 55.411] → [51.619, 55.064, 47.968, 48.889, 90.802] [24.873, 27.416, 35.758, 24.162, 21.113] → [24.772, 19.942, 22.645, 33.592, 16.011]
node/off/16/first-capture [2185.873, 2172.477, 2155.302, 2123.649, 2141.492] → [2091.7, 2110.13, 2077.513, 2092.379, 2058.086] [182.74, 185.959, 167.496, 196.43, 187.912] → [171.987, 169.386, 167.823, 166.011, 197.425]
node/off/16/repeated-capture [122.932, 118.46, 105.691, 106.156, 117.177] → [104.72, 112.405, 115.771, 136.767, 133.489] [64.725, 74.96, 74.649, 73.551, 53.485] → [52.455, 49.816, 45.814, 47.255, 49.893]
bun/auto/2/first-capture [590.874, 575.922, 611.861, 600.71, 593.921] → [595.226, 560.032, 581.22, 583.776, 591.031] [105.749, 109.351, 72.868, 86.004, 89.723] → [80.03, 101.039, 74.605, 79.332, 84.936]
bun/auto/2/repeated-capture [67.069, 57.77, 63.769, 57.723, 64.936] → [63.836, 54.79, 54.358, 60.387, 57.226] [27.873, 25.2, 23.956, 30.563, 24.026] → [19.433, 27.468, 24.814, 20.28, 27.143]
bun/auto/16/first-capture [682.355, 642.66, 651.654, 642.349, 672.171] → [652.072, 631.977, 609.474, 638.787, 634.511] [111.615, 135.796, 125.056, 136.567, 118.5] → [110.883, 121.665, 124.408, 99.895, 105.72]
bun/auto/16/repeated-capture [115.467, 119.891, 116.343, 114.832, 112.812] → [109.802, 96.164, 106.585, 105.601, 115.521] [65.36, 55.551, 55.76, 61.277, 64.027] → [48.629, 60.726, 49.092, 50.221, 36.464]
bun/off/2/first-capture [624.055, 598.902, 576.609, 584.58, 596.536] → [571.28, 553.602, 562.674, 572.344, 560.213] [79.772, 86.39, 106.141, 81.485, 82.914] → [81.467, 85.992, 85.868, 89.149, 85.399]
bun/off/2/repeated-capture [66.234, 60.844, 64.126, 65.894, 59.914] → [44.639, 52.26, 50.669, 60.16, 61.068] [24.454, 30.752, 18.733, 25.488, 24.756] → [27.774, 22.809, 28.034, 19.866, 17.787]
bun/off/16/first-capture [659.17, 653.09, 651.264, 642.139, 647.438] → [643.21, 636.73, 651.898, 644.927, 645.03] [107.497, 128.141, 113.057, 125.289, 152.834] → [108.643, 115.235, 114.618, 116.039, 98.68]
bun/off/16/repeated-capture [116.417, 103.313, 116.096, 104.074, 111.619] → [110.814, 119.28, 106.173, 106.3, 125.962] [57.692, 74.885, 67.434, 73.696, 77.235] → [56.258, 43.054, 55.278, 52.663, 37.918]
All final separate count observations (baseline → candidate bytes)
Cell Source JS reads Private-image JS reads
node/auto/2/first-capture 6316212 → 4210808 6316032 → 4210688
node/auto/2/repeated-capture 6316212 → 4210808 6316032 → 4210688
node/auto/16/first-capture 50405556 → 33603704 50405376 → 33603584
node/auto/16/repeated-capture 50405556 → 33603704 50405376 → 33603584
node/off/2/first-capture 10526900 → 8421496 6316032 → 4210688
node/off/2/repeated-capture 10526900 → 8421496 6316032 → 4210688
node/off/16/first-capture 84009140 → 67207288 50405376 → 33603584
node/off/16/repeated-capture 84009140 → 67207288 50405376 → 33603584
bun/auto/2/first-capture 6316212 → 4210808 6316032 → 4210688
bun/auto/2/repeated-capture 6316212 → 4210808 6316032 → 4210688
bun/auto/16/first-capture 50405556 → 33603704 50405376 → 33603584
bun/auto/16/repeated-capture 50405556 → 33603704 50405376 → 33603584
bun/off/2/first-capture 10526900 → 8421496 6316032 → 4210688
bun/off/2/repeated-capture 10526900 → 8421496 6316032 → 4210688
bun/off/16/first-capture 84009140 → 67207288 50405376 → 33603584
bun/off/16/repeated-capture 84009140 → 67207288 50405376 → 33603584

Raw output: 113,885 bytes, SHA-256 a7b8c0a3fbed2b1662ebf4c971f0a4aa4d6d1334020d96da39d12466ff71a09e; receipt 496de0338c2c57642a9210398bf6eabecde9fe40f6d4555f6b09d0566f257aa0; two-file native archive 73bcc279d6ce3eba027ae7cdc1059b589697df56e16cb5201685c62c3b5df6d5. Independent reconstruction verified all rows, order, verdicts and cleanup. Receipt passed means execution completion only.

Historical d70/9811 CI and package proof

  • d70 CI 40707152064 failed the test-line ratchet and aggregate (45 success/27 skip/2 fail). Its merged checkout de0b1800dc44cb925705265bd0db1d98802b47c4 had 6,301,069 lines versus 6,299,646: 650 PR-added plus 773 inherited. Existing upstream policy from #186785, imported without coverage loss in 9811, resolves that failure. 9811 CI 40716312106 passes all 74 terminal jobs: 47 success/27 skip, including security and aggregate.
  • d70 Package Acceptance 40707223528: integrity and published-driver lane pass (691s); npm12 entry budget and aggregate fail, 47,609 against 47,500 (+109), 583.0 MiB under 900 MiB. Version 2026.10.8, package SHA-256 353e8bb921f16b431b9ee5887f9407a26d6e3338cc2b2469776890d61006bc01.
  • d318 control 40712302069, same workflow/Node24.22.1/npm12.0.2: 47,608 entries (+108), 582.9 MiB; driver passes, npm12/aggregate fail. Package SHA-256 62b09f9ee45833c9f1f58d89036bb872367ed41ff8ce6c6d7a3ec5efe84d82eb. Candidate adds one entry, not zero (dist/* 9,809 → 9,810).
  • Verified package/dist inventories: 18,282 → 18,283 rows. Ignoring only terminal generated filename hashes identifies one added chunk, dist/sqlite-private-snapshot-fork-BjMsrA0F.mjs (1,266B). Its 912B helper matches baseline dist/sqlite-snapshot-source-B4q1FXSn.mjs byte-for-byte (SHA-256 a21526ca071d263f7d78e6f81641a6ec0cee21b131cbffb0f2f6243f7b838b21) and serves four callers; no new dependency.
  • Package remains FAILED. The absolute budget fails on baseline; candidate's extra canonical shared chunk is disclosed and justified. The inherited-failure route does not waive its delta or change the budget. Published-driver compatibility and current-owner lifecycle proof are complementary.

Historical CI/package results do not qualify a85. No deployment, restart or Bun promotion is included.

Historical correctness follow-through

Historical source: d70aa2322071058e3a2ca4f2878fba3a12fdc7a3, tree e5f692d6a2baf64e9166fa11addf81706ea0f988.

  • Real worker complete/cancel cases pass 2+2 on Node and Bun at c0acae86c3fd01d753d5ef20dff182dd07092bba: two retained images, no early publication/reclamation, joined cancellation and canonical cleanup. Separate same-device cache/image roots do not prove the production aliased-root case.
  • Checkpoint: two families, 6,311,936 payload bytes +1,024 control bytes; 6,320,128 inode-deduplicated allocated bytes within 92,352,512 admitted. Not peak/exclusive CoW usage.
  • Capture → mutate → restore: Bun 19 passes; Node 16 earlier individual passes plus 3 isolated passes, not a completed original-suite claim. Cleanup false/throw controls pass on both runtimes.
  • d70 substitutes the existing lifecycle AggregateError helper with unchanged error order/cause. Scoped typing, lint, formatting and independent P0–P3 review passed; no performance rerun for that substitution.
  • Historical Knip findings are inherited by source attribution, not a passing baseline run. The older published-driver first hop does not execute the new capture owner; current-owner restore/worker proof covers it.

Joined/released lifecycle output SHA-256 086a0d5606686757f0dc72bc1f55306ff8310c6332a7f80bddd28384006682bc; final static output ced7c80fffa7097c1e073f0c2c913396bd78c94951ce956277bf191d507c8d96.

9811 ClawSweeper review: zero actionable code findings, before a85. It does not qualify this revision. Auto-merge stays off.

Diagnostic and oracle correction

Eight diagnostic children sampled four failed cells on Node24.22.1/Bun191755. Their tmpfs fixtures differed from the original ext-family run, so timings cannot qualify performance or explain its filesystem tails.

The original oracle allocated ~32.05 MiB from two whole-file verification reads after a 16 MiB capture, plus an initial whole-file hash. Lifetime RSS includes setup/verification; this does not explain every failure.

Harness-only 38171331c9cb4250b86e8b68e46523f62b4ce39d replaces those three reads with independent 64-KiB streaming SHA-256 through EOF, preserving assertions/timing and closing descriptors in finally. Harness SHA-256 cfe738da0438767dd0227b1cd741257de68858e391c05db6c9334fff1f478cc0. RSS remains process-lifetime high-water.

Entry imports stay outside timing; cold lazy imports remain inside. No prewarming, forced GC, deadline change or sample exclusion. Both original and corrected matrices remain FAILED.

Corrected-harness matrix: FAILED; two hard stops

Corrected run: d318 base, fdfbe06dfcdf73fc6163373be7edbee23397e2ee production, 38171331c9cb4250b86e8b68e46523f62b4ce39d harness; independent frozen installs, Node24.22.1/Bun191755, 4 CPUs/16,463,384,576B RAM, ext4. Auto/off control methods were copy-file-range/copy, not proof of CoW or every capture transfer.

All 80 timing +16 count children joined, yielding 192 rows. Load ranges: 0.76–3.04 /1.02–1.92 /0.46–1.05. Original cold-import endpoints/deadlines/rules remained unchanged.

Repeated capture CPU median ms, base → candidate CPU p95 ms, base → candidate Absolute p95 delta p95 ratio
node / auto / 2 MiB 73.265 → 70.288 80.641 → 92.498 +11.857 ms 1.147034
node / auto / 16 MiB 157.258 → 141.383 163.448 → 181.199 +17.751 ms 1.108603
node / off / 2 MiB 78.069 → 68.850 83.058 → 103.650 +20.592 ms 1.247923
bun / auto / 2 MiB 90.450 → 80.562 91.861 → 122.120 +30.259 ms 1.329400
bun / off / 2 MiB 85.134 → 76.569 88.653 → 97.868 +9.215 ms 1.103945

Five CPU-p95 gates fail; wall, CPU medians and gated maxRSS pass. First Node/off/2MiB RSS median: 686,160 → 722,384 KiB (1.052792), then ungated. At 16 MiB, rchar drops 23.698–24.990%; scoped reads: 50,405,376 → 33,603,584B (2 MiB: 6,316,032 → 4,210,688B). JS counts exclude native/physical I/O.

p95 is the maximum of five. CPU components describe each variant's maximum-total sample, not paired causal deltas. Failures are unexplained, not dismissed as noise or GC.

Repeated capture User/system ms in baseline max-total sample User/system ms in candidate max-total sample
node / auto / 2 MiB 56.600 / 24.041 72.729 / 19.769
node / auto / 16 MiB 112.817 / 50.631 110.395 / 70.804
node / off / 2 MiB 57.544 / 25.514 78.510 / 25.140
bun / auto / 2 MiB 67.881 / 23.980 97.675 / 24.445
bun / off / 2 MiB 61.925 / 26.728 75.157 / 22.711

After PAIR_COMPLETE, fixture-root removal failed ENOTEMPTY (exit1), despite all children joined (unjoined:false). The live controller used that root as TMPDIR; the leftover entry was not identified. This cleanup failure is separate from numerical failure. Raw output/failure bundle were retained, but successful required-artifact collection did not run. Native stop exited0 and released the lease.

Independent audit verified all192rows, order, source/runtime/filesystem and five misses. SHA-256: stdout 95e848ca06b3efeeab82cad1da21da37e14792136053ebd92c5278bc7a845ed3; results 01cf457462a455f77c416e7c93ae8ef34f8d0c8d36312f7fa1285c6b22f6c035; native failure bundle 17e0b20bea604ca725e65aa7d7c0a073cecf60b93c0ae4eae333bf705c6d5990.

All corrected-harness timing samples, pair order 1–5 (milliseconds; RSS KiB)
Cell Wall ms, baseline → candidate User CPU ms, baseline → candidate System CPU ms, baseline → candidate RSS KiB, baseline → candidate
node/auto/2/first-capture [2895.925, 2827.314, 2898.205, 2935.821, 3087.396] → [2729.824, 2752.397, 2780.029, 2903.502, 2862.768] [2083.605, 1997.404, 1962.117, 1964.456, 2143.669] → [1898.046, 1899.069, 1909.984, 1902.958, 2030.029] [186.008, 142.638, 117.612, 155.171, 170.53] → [137.464, 143.83, 129.87, 151.393, 158.337] [769412, 741532, 691200, 744960, 749268] → [723680, 726040, 718796, 722980, 765760]
node/auto/2/repeated-capture [224.466, 170.941, 228.327, 260.116, 250.38] → [111.924, 115.068, 204.056, 202.489, 220.397] [46.366, 52.37, 49.728, 52.488, 56.6] → [43.678, 43.491, 72.729, 54.669, 51.672] [26.899, 17.941, 18.879, 24.847, 24.041] → [15.174, 16.443, 19.769, 16.681, 18.616] [773124, 745116, 695424, 748416, 749496] → [725856, 728088, 719052, 724260, 765760]
node/auto/16/first-capture [2984.212, 2950.557, 2908.627, 2931.779, 2924.436] → [2788.686, 2854.344, 2845.062, 2866.289, 2869.268] [2032.233, 2025.088, 1996.065, 2008.449, 2009.89] → [1957.476, 1977.59, 2127.649, 1930.824, 1985.404] [178.735, 176.387, 157.647, 192.037, 188.941] → [137.118, 147.012, 165.984, 173.171, 171.954] [742788, 750452, 667916, 744536, 747352] → [744924, 723432, 745724, 746292, 730904]
node/auto/16/repeated-capture [270.126, 284.847, 283.751, 281.454, 299.353] → [223.683, 246.433, 209.291, 232.111, 216.947] [104.739, 103.556, 108.414, 112.817, 108.924] → [122.531, 110.395, 89.052, 109.058, 101.356] [49.508, 52.7, 48.894, 50.631, 48.334] → [38.164, 70.804, 46.589, 32.325, 35.531] [746244, 754036, 672012, 747992, 750936] → [746460, 745960, 745724, 747956, 732952]
node/off/2/first-capture [2837.934, 2859.896, 2904.302, 2930.019, 2964.809] → [2806.14, 2742.892, 2879.029, 2779.033, 2814.808] [2109.838, 1943.537, 1979.768, 1986.145, 1954.015] → [1896.738, 1895.139, 1914.514, 1924.331, 1926.398] [130.4, 104.283, 161.236, 121.31, 122.278] → [144.6, 149.396, 133.201, 112.695, 130.784] [745688, 670828, 768176, 686160, 673928] → [720168, 723816, 744024, 689216, 722384]
node/off/2/repeated-capture [153.13, 150.969, 265.551, 252.762, 265.293] → [140.718, 128.972, 208.939, 221.232, 211.774] [55.721, 50.762, 57.544, 57.429, 51.909] → [51.744, 40.007, 49.97, 78.51, 50.249] [20.545, 19.006, 25.514, 23.049, 26.16] → [17.886, 23.252, 18.88, 25.14, 16.835] [749520, 676332, 772656, 691536, 679432] → [722088, 726248, 746584, 713664, 724688]
node/off/16/first-capture [3022.011, 2996.482, 3147.763, 2979.639, 3128.375] → [2912.18, 2874.821, 2928.934, 2846.376, 2946.732] [2018.752, 2039.749, 2098.234, 2056.775, 2039.051] → [1971.738, 1966.951, 1984.745, 1975.595, 1979.192] [167.979, 173.067, 184.143, 160.872, 195.415] → [200.652, 184.737, 162.847, 172.005, 163.974] [721064, 743468, 735988, 695612, 736704] → [722552, 722264, 723020, 721600, 720740]
node/off/16/repeated-capture [332.903, 338.409, 312.832, 313.447, 343.927] → [227.604, 257.059, 266.987, 231.18, 264.19] [105.413, 104.124, 119.192, 109.541, 112.417] → [106.329, 100.87, 101.676, 100.384, 94.253] [69.118, 63.318, 56.025, 61.887, 62.641] → [34.742, 41.109, 47.078, 42.066, 53.704] [726824, 748588, 740980, 700604, 741440] → [725112, 724696, 725708, 724160, 723300]
bun/auto/2/first-capture [388.309, 396.216, 472.815, 491.308, 473.222] → [348.516, 371.122, 434.502, 436.381, 434.533] [561.126, 568.148, 571.623, 580.315, 564.014] → [494.589, 548.43, 552.138, 547.184, 555.518] [83.095, 82.976, 84.767, 73.539, 84.943] → [83.001, 77.841, 84.972, 83.803, 69.12] [194468, 192140, 188856, 189560, 190424] → [190404, 187720, 188648, 188448, 186536]
bun/auto/2/repeated-capture [126.158, 145.954, 241.496, 240.472, 232.278] → [139.299, 126.271, 182.505, 190.956, 210.285] [64.305, 66.279, 67.371, 67.881, 60.425] → [97.675, 54.246, 59.772, 56.63, 63.373] [16.478, 24.614, 23.079, 23.98, 27.343] → [24.445, 23.819, 20.79, 21.875, 22.275] [200164, 196388, 195200, 196780, 196908] → [190532, 190620, 191208, 193132, 189968]
bun/auto/16/first-capture [539.136, 550.676, 532.004, 537.115, 516.583] → [451.817, 487.087, 471.909, 444.168, 476.985] [636.358, 642.429, 611.242, 620.16, 621.101] → [598.448, 594.047, 583.352, 589.35, 591.361] [111.577, 128.923, 119.502, 117.698, 124.75] → [94.202, 111.647, 110.794, 91.137, 96.068] [190232, 189080, 189648, 190608, 190004] → [188008, 187500, 186068, 184272, 187664]
bun/auto/16/repeated-capture [278.772, 275.142, 297.334, 273.537, 266.752] → [217.887, 222.398, 237.59, 222.103, 225.239] [121.424, 127.009, 108.822, 116.301, 118.584] → [108.994, 114.362, 111.06, 102.269, 105.174] [57.292, 49.458, 64.753, 63.047, 55.217] → [45.531, 41.443, 45.065, 52.586, 45.142] [197528, 196092, 196284, 197840, 195328] → [189908, 189652, 189520, 188432, 191408]
bun/off/2/first-capture [414.763, 490.711, 472.725, 476.674, 495.947] → [374.201, 435.873, 418.515, 425.581, 423.49] [561.855, 570.047, 548.533, 546.178, 574.202] → [509.664, 535.93, 527.126, 517.934, 520.179] [69.443, 82.479, 76.564, 81.871, 77.777] → [76.891, 94.407, 75.436, 83.57, 82.015] [190820, 190948, 188828, 192104, 190020] → [187376, 186168, 188240, 186264, 188256]
bun/off/2/repeated-capture [135.744, 241.813, 250.101, 231.402, 245.599] → [194.985, 191.593, 187.844, 188.626, 180.187] [62.245, 60.52, 69.019, 56.978, 61.925] → [75.157, 55.537, 59.198, 51.89, 53.182] [17.192, 27.52, 16.115, 26.773, 26.728] → [22.711, 20.395, 17.371, 25.648, 19.203] [194500, 197552, 197232, 200516, 198804] → [189352, 187768, 190032, 189448, 190664]
bun/off/16/first-capture [559.569, 559.561, 562.084, 562.614, 546.945] → [457.545, 500.67, 459.248, 477.006, 464.034] [606.994, 644.612, 639.39, 626.129, 622.42] → [570.144, 604.942, 575.529, 605.291, 589.398] [122.704, 120.919, 112.123, 117.971, 120.2] → [112.53, 111.136, 102.909, 101.671, 104.564] [190104, 188300, 190380, 188524, 190760] → [185112, 185308, 184332, 184588, 185180]
bun/off/16/repeated-capture [282.325, 361.318, 302.276, 319.048, 292.969] → [250.666, 266.746, 259.566, 244.708, 244.844] [115.045, 115.383, 117.447, 122.349, 105.519] → [111.353, 112.733, 109.283, 115.916, 99.517] [60.914, 70.759, 67.986, 65.156, 68.501] → [55.233, 46.928, 41.067, 42.062, 54.071] [198792, 195316, 198908, 196912, 196900] → [189136, 190012, 189804, 188644, 189708]
Corrected-harness metric ratios and separate count samples
Cell Wall median / p95 CPU median / p95 Lifetime maxRSS rchar median Scoped source bytes, base → candidate Scoped private bytes, base → candidate
node/auto/2/first-capture 0.959224 / 0.940437 0.954607 / 0.945626 0.995254 0.825574 6,316,212 → 4,210,808 6,316,032 → 4,210,688
node/auto/2/repeated-capture 0.886837 / 0.847304 0.959367 / 1.147034 0.990475 0.750803 6,316,212 → 4,210,808 6,316,032 → 4,210,688
node/auto/16/first-capture 0.973588 / 0.961483 0.965515 / 1.037389 0.994457 0.763021 50,405,556 → 33,603,704 50,405,376 → 33,603,584
node/auto/16/repeated-capture 0.788306 / 0.823218 0.899051 / 1.108603 0.991937 0.750101 50,405,556 → 33,603,704 50,405,376 → 33,603,584
node/off/2/first-capture 0.966201 / 0.971067 0.970144 / 0.918287 0.968559 0.825594 10,526,900 → 8,421,496 6,316,032 → 4,210,688
node/off/2/repeated-capture 0.826626 / 0.833105 0.881912 / 1.247923 0.966257 0.750797 10,526,900 → 8,421,496 6,316,032 → 4,210,688
node/off/16/first-capture 0.963656 / 0.936135 0.968414 / 0.951810 0.972496 0.763013 84,009,140 → 67,207,288 50,405,376 → 33,603,584
node/off/16/repeated-capture 0.772174 / 0.776290 0.816187 / 0.848970 0.969436 0.750100 84,009,140 → 67,207,288 50,405,376 → 33,603,584
bun/auto/2/first-capture 0.918968 / 0.888203 0.961831 / 0.970627 0.979102 0.795265 6,316,212 → 4,210,808 6,316,032 → 4,210,688
bun/auto/2/repeated-capture 0.785715 / 0.870764 0.890680 / 1.329400 0.964869 0.750783 6,316,212 → 4,210,808 6,316,032 → 4,210,688
bun/auto/16/first-capture 0.878600 / 0.884526 0.928671 / 0.914879 0.986359 0.756761 50,405,556 → 33,603,704 50,405,376 → 33,603,584
bun/auto/16/repeated-capture 0.808301 / 0.799069 0.877530 / 0.870514 0.967489 0.750099 50,405,556 → 33,603,704 50,405,376 → 33,603,584
bun/off/2/first-capture 0.888426 / 0.878870 0.953898 / 0.965995 0.979969 0.795262 10,526,900 → 8,421,496 6,316,032 → 4,210,688
bun/off/2/repeated-capture 0.780052 / 0.779625 0.899394 / 1.103945 0.950867 0.750783 10,526,900 → 8,421,496 6,316,032 → 4,210,688
bun/off/16/first-capture 0.829269 / 0.889900 0.932619 / 0.935400 0.971420 0.756762 84,009,140 → 67,207,288 50,405,376 → 33,603,584
bun/off/16/repeated-capture 0.829262 / 0.738258 0.851941 / 0.888435 0.955276 0.750099 84,009,140 → 67,207,288 50,405,376 → 33,603,584

Original paired result: unqualified

Original run: fdfbe06dfcdf73fc6163373be7edbee23397e2ee versus d318, harness f3effd0e81e191fea235c7f8a0e3abd1c09246b902d0801192d67221a75e2ff5. All96children/192rows completed; exit0/cleanup settled. Stdout:102,648B, SHA-256 063b89d82b2a85bac21e04f864ec1bc8396d0eedb58249a44cb6d22668c66f8c.

Linux x64, Node24.22.1/Bun191755; 4CPUs/16,555,134,976B RAM, ext-family magic0xef53. Auto/off control:copy-file-range/copy; no Btrfs/reflink claim. One-minute load0.48–1.88.

16MiB logical reads drop23.7–23.8% first/25.0% repeated; scoped JS reads50,405,376 →33,603,584B, excluding native/physical I/O.

Ratios:candidate/base. Five-sample p95 is the maximum; RSS is lifetime high-water, not staging-space usage.

Runtime / mode / MiB / capture Wall median / p95 CPU median / p95 Lifetime maxRSS Logical-read median
node / auto / 2 / first-capture 0.9602 / 0.9378 0.9741 / 0.8499 0.9997 0.8268
node / auto / 2 / repeated-capture 0.6410 / 0.5434 0.6573 / 0.2757 0.9970 0.7508
node / auto / 16 / first-capture 0.9724 / 1.1170 0.9786 / 1.1128 0.9662 0.7633
node / auto / 16 / repeated-capture 0.8885 / 0.5866 0.9035 / 0.9007 0.9658 0.7501
node / off / 2 / first-capture 1.0347 / 1.0137 0.9817 / 1.0374 0.9873 0.8267
node / off / 2 / repeated-capture 0.4794 / 1.0188 0.2541 / 1.1543 0.9879 0.7498
node / off / 16 / first-capture 0.9187 / 0.9344 0.9861 / 0.9438 0.9699 0.7632
node / off / 16 / repeated-capture 0.8057 / 0.7115 0.8289 / 0.4863 0.9682 0.7501
bun / auto / 2 / first-capture 1.0322 / 1.0827 1.0866 / 1.0309 0.9716 0.8214
bun / auto / 2 / repeated-capture 0.6218 / 0.8419 0.4895 / 0.6527 0.9744 0.7508
bun / auto / 16 / first-capture 0.9008 / 0.8262 0.9304 / 0.8607 0.9843 0.7620
bun / auto / 16 / repeated-capture 0.9230 / 0.9918 0.8601 / 0.9961 1.0589 0.7501
bun / off / 2 / first-capture 0.8099 / 0.7499 0.8189 / 0.7925 0.9731 0.8214
bun / off / 2 / repeated-capture 0.6112 / 0.5381 0.6033 / 0.4499 0.9849 0.7508
bun / off / 16 / first-capture 0.8403 / 0.6937 0.8685 / 0.7139 0.9786 0.7620
bun / off / 16 / repeated-capture 0.8670 / 0.6121 0.8726 / 0.6595 0.9797 0.7501

Failed metrics: Node auto/16 MiB first-capture p95 wall 1.1170 and CPU 1.1128; Node off/2 MiB repeated CPU p95 1.1543; Bun auto/2 MiB first-capture wall p95 1.0827 and median CPU 1.0866; Bun auto/16 MiB repeated lifetime maxRSS 1.0589. These remain unexplained; they are not dismissed as noise.

All uninstrumented timing samples (pair order 1–5; milliseconds, RSS KiB)

Each row lists baseline → candidate arrays. The median is the third sorted value; min/max and empirical p95 remain derivable without excluding any observation.

Cell Wall ms, baseline → candidate CPU ms, baseline → candidate RSS KiB, baseline → candidate
node/auto/2/first-capture [1711.892, 1649.863, 1584.946, 1568.457, 1696.04] → [1494.257, 1585.985, 1605.372, 1521.698, 1584.161] [1559.713, 1331.874, 1310.011, 1251.849, 1354.647] → [1258.421, 1297.394, 1307.241, 1230.048, 1325.638] [743564, 680528, 731316, 720656, 737372] → [729264, 728364, 735100, 643540, 743356]
node/auto/2/repeated-capture [38.714, 32.873, 58.006, 51.763, 35.103] → [23.894, 24.815, 31.52, 27.662, 23.816] [40.279, 34.607, 122.557, 110.919, 36.973] → [25.946, 26.476, 33.787, 29.774, 25.986] [751116, 688080, 735412, 724880, 745308] → [735536, 734252, 740988, 649300, 748860]
node/auto/16/first-capture [1797.757, 1656.186, 1766.021, 1787.536, 1714.618] → [1626.637, 1717.267, 1556.808, 2008.097, 1717.357] [1514.047, 1352.119, 1427.135, 1525.496, 1476.463] → [1345.303, 1444.809, 1353.897, 1697.638, 1511.142] [799096, 716036, 765644, 774468, 775984] → [756720, 765328, 771344, 766972, 772124]
node/auto/16/repeated-capture [197.116, 96.48, 94.743, 107.061, 97.447] → [115.631, 81.932, 78.928, 86.585, 86.703] [192.122, 93.588, 89.676, 104.647, 94.127] → [173.042, 79.972, 77.821, 85.52, 85.046] [834680, 751620, 801996, 810692, 812208] → [756720, 799632, 805264, 800764, 806172]
node/off/2/first-capture [1632.862, 1517.72, 1587.568, 1647.607, 1579.307] → [1643.536, 1670.214, 1642.681, 1608.128, 1573.816] [1321.355, 1272.032, 1320.35, 1299.174, 1325.245] → [1282.363, 1328.89, 1374.784, 1296.207, 1240.85] [729920, 718968, 729060, 750160, 746544] → [687184, 725584, 740600, 725860, 726960]
node/off/2/repeated-capture [56.468, 59.926, 58.394, 35.699, 28.534] → [24.234, 61.052, 27.069, 28.374, 26.829] [116.53, 120.766, 122.524, 37.405, 30.204] → [26.245, 141.43, 29.61, 30.3, 28.676] [733376, 722296, 732516, 758992, 755248] → [693584, 749776, 746104, 732516, 733360]
node/off/16/first-capture [1854.024, 1631.959, 1944.866, 1859.058, 1666.339] → [1757.234, 1703.229, 1817.274, 1681.262, 1699.206] [1626.579, 1420.539, 1658.131, 1504.403, 1493.37] → [1540.927, 1483.423, 1565.022, 1321.921, 1369.144] [795204, 773096, 777680, 733144, 774104] → [771284, 768552, 768536, 731952, 724524]
node/off/16/repeated-capture [120.231, 105.512, 102.708, 138.847, 112.398] → [90.555, 86.475, 95.795, 89.122, 98.789] [116.624, 101.069, 98.128, 197.979, 108.534] → [89.969, 85.004, 93.259, 85.348, 96.285] [832452, 810216, 814672, 737752, 811352] → [805972, 803112, 803224, 767152, 759724]
bun/auto/2/first-capture [211.155, 202.394, 265.59, 215.349, 200.381] → [173.176, 209.804, 217.951, 287.563, 272.179] [403.413, 300.232, 382.571, 317.679, 300.071] → [257.908, 317.251, 345.187, 415.888, 399.517] [179712, 176588, 177092, 177504, 176864] → [173628, 173024, 174612, 172736, 174124]
bun/auto/2/repeated-capture [51.558, 75.119, 68.385, 78.393, 71.857] → [33.357, 34.948, 44.681, 66.002, 50.647] [87.381, 106.61, 101.754, 124.326, 105.768] → [40.965, 43.361, 51.774, 81.142, 63.732] [186496, 187340, 188196, 188256, 185952] → [181948, 182112, 183444, 180704, 182444]
bun/auto/16/first-capture [271.288, 268.016, 252.202, 284.747, 301.097] → [225.973, 244.378, 248.761, 224.958, 247.263] [347.849, 343.164, 323.23, 362.663, 391.626] → [294.646, 323.625, 335.039, 300.289, 337.081] [206060, 205308, 205688, 205424, 204392] → [201880, 201480, 202824, 202004, 202736]
bun/auto/16/repeated-capture [135.166, 122.262, 122.282, 136.556, 123.816] → [107.589, 124.412, 135.437, 103.785, 114.281] [165.423, 150.459, 148.624, 164.913, 159.546] → [125.225, 149.496, 164.786, 126.336, 137.219] [208592, 207464, 209528, 207264, 207488] → [205008, 221876, 205896, 206176, 206164]
bun/off/2/first-capture [234.602, 205.79, 258.585, 215.686, 256.564] → [176.367, 190.008, 170.663, 193.905, 190.586] [346.942, 283.777, 370.123, 312.67, 371.983] → [264.599, 284.102, 254.481, 294.804, 288.112] [176824, 178600, 177472, 176360, 174700] → [173472, 173688, 171804, 173664, 173800]
bun/off/2/repeated-capture [67.612, 55.17, 84.023, 52.157, 77.799] → [33.887, 44.491, 41.326, 45.21, 33.407] [85.132, 85.761, 123.567, 63.004, 115.648] → [43.659, 54.92, 51.737, 55.588, 41.109] [183532, 185060, 185504, 186088, 184556] → [179744, 182896, 182300, 181472, 183272]
bun/off/16/first-capture [315.865, 305.605, 266.402, 452.14, 294.206] → [289.491, 251.515, 313.666, 255.098, 256.806] [410.641, 393.318, 325.957, 571.587, 382.833] → [387.366, 326.572, 408.065, 334.282, 341.594] [204328, 203468, 205520, 203620, 204484] → [200192, 201112, 198924, 200084, 199948]
bun/off/16/repeated-capture [171.429, 138.513, 129.731, 252.326, 145.239] → [121.435, 125.916, 154.446, 124.944, 138.265] [204.076, 165.621, 156.354, 317.08, 189.118] → [155.949, 165.033, 209.123, 163.061, 183.037] [209084, 205836, 207184, 206604, 208504] → [203772, 204848, 201964, 203432, 203132]

Earlier filtered/full-file durations are not paired evidence. This matched workload reduces reads and fails the original rule.

Predeclared performance acceptance

Workload: the committed backup-capture mode in scripts/perf/update-doctor-generation-measure.ts, invoking the real in-process rollback-capture owner on freshly created SQLite fixtures. Compare the frozen base and candidate in separate remote worktrees on one lease, with the same frozen dependencies, Node 24.22.1 and repository-pinned Bun, and native auto/off modes. Use allocated 2 MiB and 16 MiB payloads. Fixture setup, entry-module imports, copy-control probe, and a real clock-age wait stay outside capture timing; first-capture timing includes lazy owner imports and source-loader compilation.

For every runtime × mode × size cell, run five serial ABAB process pairs. Each process reports its first capture and one repeated capture separately; these are process/owner temperatures, not a claim that OS caches are cold. Report all samples, median, empirical five-sample p95, min/max, host load, CPU, RSS, filesystem, and the separate control-copy method. Keep count-instrumented samples separate from timing samples.

Acceptance:

  1. Exact snapshot contents, generation authority, and cleanup/integrity assertions pass. The scoped read bound remains two required private generation observations plus the named header allowance; the redundant acquisition is absent.
  2. At 16 MiB, the median Linux logical read volume (/proc/self/io rchar delta) falls by at least 10% in every runtime/mode cell.
  3. For every first/repeated-capture cell, candidate median and p95 wall time and combined user/system CPU must be no more than 1.05× baseline. Process-lifetime maxRSS must be no more than 1.05× baseline (the same existing RSS field and threshold). Any 20% regression is an immediate stop, not dismissed as noise.
  4. Retained staging must stay within the existing space admission on a non-CoW fallback, with successful or refused cleanup accounted for. A separate copy-control result is reported only as that probe's result, not as proof of every capture transfer.

A failed rule blocks readiness. Repeated timing does not erase a failed sample, and no timeout increase or integrity bypass qualifies a result.

Reproduction shape (run once for each source root, engine, mode, size, and pair):

node --import ./scripts/tsx.mjs scripts/perf/update-doctor-generation-measure.ts baseline backup-capture 1 "$BASE_ROOT" auto 16 timing
node --import ./scripts/tsx.mjs scripts/perf/update-doctor-generation-measure.ts candidate backup-capture 1 "$CANDIDATE_ROOT" auto 16 timing

@vincentkoc

Copy link
Copy Markdown
Member Author

Current integrated-head performance proof — 77d72c2

FAILED under the original numerical gates. Two independent audits found one unaccepted failure: Node/auto/2 MiB repeated-capture wall p95 is 256.39112000000025 → 373.2836660000003 ms (+116.892546 ms, +45.59%; ratio 1.455914955). Candidate timing pair 1 sets the maximum. No historical exception covers wall time; zero exceptions were used. Every other original numerical gate passes, which does not override this failure. Merge remains held; no rerun, threshold change or current-head ClawSweeper request follows from this result.

  • Baseline: 5598c3d76bcb28cacaf864724d52ccb4c8ccdd26, tree 9aebff14352ade48a1f52d0603eba05ec9144576.
  • Candidate: 77d72c2eb2741d11f9a7545460e2dd7b5d43a756, tree ddd1aba5befb485b8170f9a5f86428374dedca69. The native source capsule carrier a181fc8c860294f3b7009f20639e2dbc21dec7d7 has that exact candidate tree.
  • Common executed workload SHA-256: 9b4b39452c72ca46598c71b4f560c094c63cbc0682c468fac45d2d1800aaf2eb. Both variants use the same frozen 5598 package/lock/workspace inputs and the candidate's committed workload; baseline's own harness is not substituted.
  • Linux x64, ext4, four CPUs, 16,463,384,576 bytes RAM. Node 24.22.1; Bun 1.4.4-canary.1+191755ec1, executable SHA-256 0cef667e2f3fd465b6429904ed074381a679be379ec44fa42b5f460ed118b2b8.
  • All 80 serial timing children and 16 separate count children joined, yielding 192 first/repeated rows. Five baseline/candidate timing pairs per runtime/mode/size cell; no discarded sample, prewarming, forced GC, profiler or retry-for-green. Each child retained its 120-second cap.
  • Execution, artifact capture, final source verification and detached source/controller cleanup passed. All 18 immutable artifact hashes and 102 validation source witnesses verified; no truncation or unjoined work. These execution receipts do not establish numerical acceptance. The task-owned native lease was released after complete artifact capture.
  • Exact-head focused proof: 385 passing executions, one expected Windows-only MAX_PATH skip on Linux and 106 filtered assertions; canonical build exit 0 in 405.440 seconds. Independent owner/fixture review and complete two-pass branch P0–P3 source review are scoped-clean. Current-head CI/security/review are separate gates.
  • The earlier case-name controller and original 15-minute wall-deadline controller remain FAILED. Their immutable raw evidence is nested in this archive. The final separate operational admission reused 353 completed passes and ran only the incomplete 32-case Bun group; conservative cumulative executed child time, including the interrupted attempt, is 636,431 of 900,000 ms. No performance rule changed.
  • Proof archive: 245,504 bytes, SHA-256 5696cbd90a0f84d1a1022a816f6bc7d7acb16bed67a54e45f9741f7ff39ed39c. Native outer archive: 245,685 bytes, SHA-256 b57709819ace91111f1c9e5873bb9962db4c9bbda0901bbaa7c6cfb9395560da. Matrix raw log: 126,453 bytes, SHA-256 055dbbec3642321bf0263eb50da30373bfd02f63c5dd33766421bd932558a717.

This is bounded fixture evidence, not live database, physical-device I/O or Control UI timing. The unchanged acceptance rules and historical failures remain linked in the PR body.

Aggregates

Each entry is baseline → candidate. Wall/CPU entries show min / median / p95=max, in milliseconds; empirical p95 is the maximum of five samples. RSS shows min / median / max, in KiB, and is process-lifetime resourceUsage.maxRSS, not an instantaneous capture allocation. Aggregates are rounded to six decimals for display; audits used exact raw values. Count-instrumented processes are excluded from timing statistics.

Runtime Mode MiB Capture Wall ms min/median/p95 CPU ms min/median/p95 RSS KiB min/median/max Timing logical-read median B Count private-read bytes
node auto 2 first-capture 2772.034235/2967.464145/5646.812371 → 185.102783/270.025951/290.22434 2116.89/2136.808/2180.079 → 133.963/138.669/140.605 692816/727984/768476 → 407164/431556/433668 36726530 → 19350300 6316032 → 4210688
node auto 2 repeated-capture 126.362627/245.788413/256.39112 → 128.709514/203.49031/373.283666 65.967/75.308/78.735 → 65.253/70.246/74.388 696656/732080/772316 → 408700/432836/435460 25445308 → 19104421 6316032 → 4210688
node auto 16 first-capture 2902.265827/2955.231521/3055.67591 → 274.652174/283.027213/300.652845 2216.575/2241.402/2376.354 → 207.097/212.607/217.013 723660/743312/769516 → 406128/430140/439988 213086858 → 151618314 50405376 → 33603584
node auto 16 repeated-capture 263.145401/275.442202/287.843016 → 208.551794/222.721856/238.409372 155.877/160.546/209.02 → 137.896/140.883/145.24 727884/743312/770944 → 408048/431676/441908 201802680 → 151372453 50405376 → 33603584
node off 2 first-capture 2813.665355/2902.523738/2966.070686 → 197.678686/261.612532/275.067085 2102.576/2114.253/2289.694 → 132.923/138.838/142.571 684556/713056/758128 → 406024/408456/430160 36725640 → 19350360 6316032 → 4210688
node off 2 repeated-capture 143.854752/259.016816/276.540257 → 109.885696/199.367457/222.206124 71.568/80.46/81.764 → 62.747/70.976/72.34 690060/718304/763248 → 408840/411016/432720 25445556 → 19104490 6316032 → 4210688
node off 16 first-capture 2884.358622/2959.541336/3015.688993 → 276.684118/301.081999/320.60769 2191.044/2206.265/2218.073 → 207.508/217.868/220.97 684312/711856/758560 → 404464/428000/432496 213083462 → 151619274 50405376 → 33603584
node off 16 repeated-capture 276.945709/297.233791/302.349571 → 222.757916/238.159153/261.917224 165.867/167.863/170.972 → 141.261/146.566/154.089 689048/717104/763680 → 406768/430816/435568 201804295 → 151373438 50405376 → 33603584
bun auto 2 first-capture 369.294078/481.336823/494.403002 → 147.329521/235.86173/245.717682 611.477/651.374/660.273 → 124.725/132.276/134.522 190908/193660/194668 → 132492/132884/133828 30979913 → 19295125 6316032 → 4210688
bun auto 2 repeated-capture 127.758242/234.326467/242.894179 → 128.1016/198.684676/216.200396 79.067/84.279/97.656 → 73.75/82.059/84.64 194984/196512/199196 → 136720/137960/139536 25442811 → 19102035 6316032 → 4210688
bun auto 16 first-capture 505.538438/506.645603/517.922001 → 253.909629/265.448729/276.216851 733.544/738.044/739.314 → 206.195/208.03/208.505 189992/191968/192300 → 131796/132276/132944 207337363 → 151563158 50405376 → 33603584
bun auto 16 repeated-capture 251.144116/259.515439/274.309999 → 204.271057/216.704942/225.05436 167.916/169.501/170.614 → 151.769/153.458/155.957 194636/196152/198116 → 136104/137320/137448 201800191 → 151370031 50405376 → 33603584
bun off 2 first-capture 363.232951/488.298186/511.331281 → 218.118594/232.121343/243.303895 592.47/639.688/644.893 → 120.847/123.361/126.291 191632/192064/194712 → 130704/130968/132440 30979948 → 19295125 6316032 → 4210688
bun off 2 repeated-capture 179.634537/245.164594/262.684448 → 191.976346/197.071933/207.932393 80.414/83.927/112.805 → 73.928/76.334/80.961 197300/198236/199616 → 136660/137056/137860 25442773 → 19102035 6316032 → 4210688
bun off 16 first-capture 522.249239/530.535164/548.955248 → 269.341694/271.806348/310.808885 732.007/742.788/748.5 → 206.529/210.9/213.208 191016/191772/192752 → 130724/131684/133148 207337363 → 151563158 50405376 → 33603584
bun off 16 repeated-capture 272.216007/278.09398/288.750953 → 213.672509/222.396469/239.884909 171.22/172.693/178.302 → 150.646/155.057/157.353 196500/196928/199220 → 136036/136380/138348 201800191 → 151370069 50405376 → 33603584

The sole failed wall-p95 cell is shown above and in all five raw timing pairs below. Candidate pair 1 began at 2026-10-29T11:28:51.504Z; its repeated sample records wall 0.3732836660000003 s, user CPU 0.045992 s, system CPU 0.027853 s and load 3.85/2.55/1.65. These counters do not identify the wait owner; attribution is pending. The failed sample remains part of the verdict.

Every count cell has exactly one-third fewer scoped private-image JavaScript read bytes; every 16 MiB logical-read gate passes. The JavaScript source/private counters exclude native SQLite/copy reads. Linux logical-read bytes are the delta of /proc/self/io rchar; this includes process logical reads and is not physical device I/O. The separate control-copy probe reported copy-file-range in auto mode and copy in off mode; these probe outcomes do not prove the transfer method of every capture.

All 192 raw sample rows

Original execution order is preserved. Times below are seconds, CPU split into user/system seconds; read counters are bytes except fsReadops, the delta of process.resourceUsage().fsRead (not a read-syscall count). F means first capture (raw sample 0); R means repeated capture (raw sample 1). B is baseline; C is candidate. Load is the recorded 1/5/15-minute host load. A dash means the field was not instrumented for that measure. All original numeric sample values are retained without display rounding.

Runtime Mode MiB Measure Variant Pair Capture Wall s User CPU s System CPU s fsReadops Logical read B Source read B Private read B Lifetime max RSS KiB Load 1/5/15 Control probe
node auto 2 timing B 1 F 5.646812371000001 1.992531 0.187548 0 36726530 — — 768476 4.1/2.57/1.65 copy-file-range
node auto 2 timing B 1 R 0.2457884130000002 0.04869 0.028379 0 25445325 — — 772316 4.1/2.57/1.65 copy-file-range
node auto 2 timing C 1 F 0.2902243400000007 0.120496 0.018173 0 19350276 — — 407620 3.85/2.55/1.65 copy-file-range
node auto 2 timing C 1 R 0.3732836660000003 0.045992 0.027853 0 19104483 — — 409540 3.85/2.55/1.65 copy-file-range
node auto 2 timing B 2 F 2.9549753880000007 2.000499 0.136309 0 36725760 — — 727984 3.41/2.5/1.64 copy-file-range
node auto 2 timing B 2 R 0.25639112000000025 0.051101 0.027634 0 25445284 — — 732080 3.41/2.5/1.64 copy-file-range
node auto 2 timing C 2 F 0.18510278300000027 0.112777 0.02221 0 19350319 — — 433668 3.3/2.49/1.64 copy-file-range
node auto 2 timing C 2 R 0.12870951400000014 0.045574 0.021319 0 19104421 — — 435460 3.3/2.49/1.64 copy-file-range
node auto 2 timing B 3 F 2.772034235 1.993058 0.123832 0 36726576 — — 692816 2.95/2.44/1.63 copy-file-range
node auto 2 timing B 3 R 0.12636262700000042 0.040924 0.025043 0 25445316 — — 696656 2.95/2.44/1.63 copy-file-range
node auto 2 timing C 3 F 0.250647884 0.114796 0.019167 0 19350305 — — 432752 2.95/2.45/1.64 copy-file-range
node auto 2 timing C 3 R 0.20349030999999923 0.045769 0.024477 0 19104410 — — 434160 2.95/2.45/1.64 copy-file-range
node auto 2 timing B 4 F 2.9733450359999996 1.978239 0.14844 0 36724132 — — 714120 2.65/2.4/1.63 copy-file-range
node auto 2 timing B 4 R 0.2530213309999999 0.051235 0.024073 0 25445292 — — 718088 2.65/2.4/1.63 copy-file-range
node auto 2 timing C 4 F 0.27002595100000054 0.119339 0.019894 0 19350272 — — 431556 2.52/2.38/1.63 copy-file-range
node auto 2 timing C 4 R 0.19399996399999964 0.043404 0.021849 0 19104434 — — 432836 2.52/2.38/1.63 copy-file-range
node auto 2 timing B 5 F 2.967464145 1.994575 0.163681 0 36728776 — — 768176 2.2/2.31/1.62 copy-file-range
node auto 2 timing B 5 R 0.2442062590000005 0.050704 0.022093 0 25445308 — — 772016 2.2/2.31/1.62 copy-file-range
node auto 2 timing C 5 F 0.2715779769999999 0.11638 0.024225 0 19350300 — — 407164 2.35/2.34/1.63 copy-file-range
node auto 2 timing C 5 R 0.22251333799999976 0.049991 0.024397 0 19104402 — — 408700 2.35/2.34/1.63 copy-file-range
node auto 2 counts B counts F 2.944410916 2.000781 0.132844 0 36727344 6316212 6316032 689280 2.21/2.31/1.63 copy-file-range
node auto 2 counts B counts R 0.24755573200000072 0.042947 0.032208 0 25445276 6316212 6316032 693248 2.21/2.31/1.63 copy-file-range
node auto 2 counts C counts F 0.2746250179999997 0.120181 0.017203 0 19350280 4210808 4210688 440412 2.11/2.29/1.63 copy-file-range
node auto 2 counts C counts R 0.20379161699999987 0.044885 0.024867 0 19104426 4210808 4210688 441948 2.11/2.29/1.63 copy-file-range
node auto 16 timing B 1 F 2.991162085 2.05199 0.182405 0 213083506 — — 762796 1.86/2.23/1.61 copy-file-range
node auto 16 timing B 1 R 0.2754422020000002 0.099309 0.056568 0 201802671 — — 766764 1.86/2.23/1.61 copy-file-range
node auto 16 timing C 1 F 0.278928594 0.160818 0.047546 0 151618322 — — 434128 1.79/2.21/1.61 copy-file-range
node auto 16 timing C 1 R 0.2227218560000001 0.091874 0.046022 0 151372469 — — 435920 1.79/2.21/1.61 copy-file-range
node auto 16 timing B 2 F 3.0556759099999997 2.16345 0.212904 0 213111274 — — 769516 1.59/2.15/1.6 copy-file-range
node auto 16 timing B 2 R 0.26530946399999994 0.106864 0.054295 0 201802729 — — 770944 1.59/2.15/1.6 copy-file-range
node auto 16 timing C 2 F 0.2830272130000003 0.161885 0.045212 0 151618306 — — 406128 1.54/2.13/1.59 copy-file-range
node auto 16 timing C 2 R 0.22553188299999966 0.101631 0.043609 0 151372453 — — 408048 1.54/2.13/1.59 copy-file-range
node auto 16 timing B 3 F 2.9552315210000004 2.118471 0.188388 0 213086858 — — 743312 1.38/2.08/1.58 copy-file-range
node auto 16 timing B 3 R 0.2878430159999989 0.1518 0.05722 0 201831351 — — 743312 1.38/2.08/1.58 copy-file-range
node auto 16 timing C 3 F 0.3006528450000005 0.159078 0.057935 0 151618310 — — 409028 1.43/2.08/1.58 copy-file-range
node auto 16 timing C 3 R 0.2200992699999997 0.095171 0.043317 0 151372453 — — 410948 1.43/2.08/1.58 copy-file-range
node auto 16 timing B 4 F 2.9081450490000007 2.071232 0.17017 0 213087038 — — 730768 1.43/2.06/1.58 copy-file-range
node auto 16 timing B 4 R 0.2631454010000016 0.093243 0.064196 0 201802680 — — 734864 1.43/2.06/1.58 copy-file-range
node auto 16 timing C 4 F 0.27465217400000075 0.170443 0.042164 0 151618322 — — 430140 1.56/2.08/1.59 copy-file-range
node auto 16 timing C 4 R 0.20855179399999998 0.105848 0.035035 0 151372453 — — 431676 1.56/2.08/1.59 copy-file-range
node auto 16 timing B 5 F 2.9022658269999995 2.061509 0.155066 0 213082802 — — 723660 1.39/2.02/1.58 copy-file-range
node auto 16 timing B 5 R 0.28072665699999927 0.111167 0.049379 0 201802679 — — 727884 1.39/2.02/1.58 copy-file-range
node auto 16 timing C 5 F 0.29452311399999964 0.166456 0.04672 0 151618314 — — 439988 1.36/2.01/1.58 copy-file-range
node auto 16 timing C 5 R 0.23840937200000006 0.097012 0.048124 0 151372486 — — 441908 1.41/2.01/1.58 copy-file-range
node auto 16 counts B counts F 2.900499833 2.062888 0.140632 0 213082954 50405556 50405376 690756 1.3/1.97/1.57 copy-file-range
node auto 16 counts B counts R 0.24862838499999998 0.106399 0.044836 0 201802671 50405556 50405376 694596 1.35/1.97/1.57 copy-file-range
node auto 16 counts C counts F 0.275051633 0.15218 0.057787 0 151618322 33603704 33603584 420128 1.35/1.97/1.57 copy-file-range
node auto 16 counts C counts R 0.22979348000000027 0.094751 0.049598 0 151372470 33603704 33603584 421920 1.41/1.97/1.57 copy-file-range
node off 2 timing B 1 F 2.9003274190000004 1.978767 0.123809 0 36725640 — — 688492 1.29/1.94/1.57 copy
node off 2 timing B 1 R 0.14385475199999928 0.047553 0.024015 0 25445547 — — 693612 1.29/1.94/1.57 copy
node off 2 timing C 1 F 0.21262025600000015 0.117462 0.025109 0 19350364 — — 430160 1.19/1.91/1.56 copy
node off 2 timing C 1 R 0.10988569600000028 0.050061 0.012686 0 19104490 — — 432720 1.19/1.91/1.56 copy
node off 2 timing B 2 F 2.813665354999999 1.970781 0.180532 0 36726420 — — 758128 1.37/1.93/1.57 copy
node off 2 timing B 2 R 0.14935630200000014 0.049024 0.023053 0 25445564 — — 763248 1.37/1.93/1.57 copy
node off 2 timing C 2 F 0.1976786860000002 0.109366 0.0308 0 19350380 — — 406024 1.58/1.96/1.58 copy
node off 2 timing C 2 R 0.1764076329999998 0.050427 0.020549 0 19104514 — — 408840 1.58/1.96/1.58 copy
node off 2 timing B 3 F 2.947062833 2.137118 0.152576 0 36755096 — — 746696 1.41/1.91/1.57 copy
node off 2 timing B 3 R 0.2590168160000012 0.060444 0.02039 0 25445540 — — 748420 1.41/1.91/1.57 copy
node off 2 timing C 3 F 0.27506708499999966 0.108393 0.030445 0 19350328 — — 408456 1.54/1.93/1.58 copy
node off 2 timing C 3 R 0.22220612400000028 0.045181 0.027159 0 19104474 — — 411016 1.54/1.93/1.58 copy
node off 2 timing B 4 F 2.966070686 1.988649 0.115329 0 36725560 — — 684556 1.67/1.95/1.58 copy
node off 2 timing B 4 R 0.27654025700000057 0.059568 0.022196 0 25445563 — — 690060 1.67/1.95/1.58 copy
node off 2 timing C 4 F 0.26621141999999964 0.111803 0.025702 0 19350360 — — 406432 1.78/1.97/1.59 copy
node off 2 timing C 4 R 0.2109739810000001 0.049541 0.022481 0 19104490 — — 409248 1.78/1.97/1.59 copy
node off 2 timing B 5 F 2.9025237379999997 1.976898 0.137355 0 36725288 — — 713056 1.65/1.93/1.59 copy
node off 2 timing B 5 R 0.2695630309999997 0.052284 0.028176 0 25445556 — — 718304 1.65/1.93/1.59 copy
node off 2 timing C 5 F 0.2616125320000001 0.111075 0.021848 0 19350348 — — 409180 1.6/1.92/1.58 copy
node off 2 timing C 5 R 0.19936745700000028 0.049937 0.015414 0 19104482 — — 411868 1.6/1.92/1.58 copy
node off 2 counts B counts F 2.9472855529999995 2.009383 0.116937 0 36725088 10526900 6316032 671064 1.43/1.87/1.57 copy
node off 2 counts B counts R 0.265565869 0.058209 0.022011 0 25445564 10526900 6316032 676440 1.43/1.87/1.57 copy
node off 2 counts C counts F 0.26614924500000053 0.116651 0.023583 0 19350336 8421496 4210688 431656 1.47/1.87/1.57 copy
node off 2 counts C counts R 0.20625072400000044 0.048802 0.019312 0 19104506 8421496 4210688 434216 1.36/1.84/1.56 copy
node off 16 timing B 1 F 3.015688993000001 2.033619 0.183904 0 213083462 — — 718580 1.25/1.81/1.56 copy
node off 16 timing B 1 R 0.2972337910000006 0.104122 0.063741 0 201804304 — — 723956 1.15/1.78/1.55 copy
node off 16 timing C 1 F 0.27668411800000015 0.155751 0.051757 0 151619274 — — 428000 1.22/1.79/1.55 copy
node off 16 timing C 1 R 0.22275791599999956 0.094968 0.046293 0 151373413 — — 430816 1.22/1.79/1.55 copy
node off 16 timing B 2 F 2.959541335999999 2.03412 0.167987 0 213084274 — — 684312 1.18/1.76/1.54 copy
node off 16 timing B 2 R 0.3013731429999989 0.109809 0.060477 0 201804279 — — 689048 1.18/1.76/1.54 copy
node off 16 timing C 2 F 0.30200327000000016 0.169434 0.048434 0 151619258 — — 432496 1.09/1.73/1.53 copy
node off 16 timing C 2 R 0.22628506199999993 0.103466 0.0431 0 151373413 — — 435568 1.09/1.73/1.53 copy
node off 16 timing B 3 F 2.9058982700000007 2.023174 0.194899 0 213083234 — — 758560 1.39/1.77/1.55 copy
node off 16 timing B 3 R 0.2769457090000014 0.102675 0.063192 0 201804295 — — 763680 1.39/1.77/1.55 copy
node off 16 timing C 3 F 0.32060768999999983 0.164324 0.056646 0 151619258 — — 404464 1.28/1.74/1.54 copy
node off 16 timing C 3 R 0.26066627100000006 0.101687 0.052402 0 151373446 — — 406768 1.28/1.74/1.54 copy
node off 16 timing B 4 F 2.983289315000001 2.048756 0.157509 0 213084892 — — 689356 1.24/1.72/1.54 copy
node off 16 timing B 4 R 0.30234957100000065 0.10779 0.063182 0 201804264 — — 694220 1.24/1.72/1.54 copy
node off 16 timing C 4 F 0.301081999 0.174892 0.045161 0 151619286 — — 429708 1.14/1.69/1.53 copy
node off 16 timing C 4 R 0.2619172239999998 0.103987 0.045294 0 151373438 — — 432524 1.14/1.69/1.53 copy
node off 16 timing B 5 F 2.884358621999999 2.026608 0.164436 0 213082722 — — 711856 1.34/1.71/1.54 copy
node off 16 timing B 5 R 0.2947775190000011 0.097327 0.069993 0 201804295 — — 717104 1.34/1.71/1.54 copy
node off 16 timing C 5 F 0.2914909630000002 0.167689 0.047555 0 151619274 — — 406640 1.23/1.69/1.53 copy
node off 16 timing C 5 R 0.2381591529999996 0.092971 0.052067 0 151373446 — — 409456 1.23/1.69/1.53 copy
node off 16 counts B counts F 3.0242031079999996 2.14682 0.182244 0 213089962 84009140 50405376 754380 1.28/1.68/1.53 copy
node off 16 counts B counts R 0.3177349400000003 0.150693 0.062021 0 201832688 84009140 50405376 754636 1.28/1.68/1.53 copy
node off 16 counts C counts F 0.2939629329999998 0.167526 0.051089 0 151619262 67207288 33603584 431236 1.17/1.65/1.52 copy
node off 16 counts C counts R 0.22242294399999993 0.102944 0.040342 0 151373429 67207288 33603584 433924 1.17/1.65/1.52 copy
bun auto 2 timing B 1 F 0.39963672200000017 0.561237 0.091227 0 30979913 — — 194668 1.18/1.66/1.53 copy-file-range
bun auto 2 timing B 1 R 0.12775824199999988 0.053259 0.025808 0 25442852 — — 194984 1.16/1.65/1.52 copy-file-range
bun auto 2 timing C 1 F 0.1473295210000001 0.097066 0.027659 0 19295125 — — 133828 1.16/1.65/1.52 copy-file-range
bun auto 2 timing C 1 R 0.12810159999999995 0.055058 0.023223 0 19102035 — — 139536 1.16/1.65/1.52 copy-file-range
bun auto 2 timing B 2 F 0.3692940779999999 0.530027 0.08145 0 30979910 — — 194588 1.07/1.62/1.52 copy-file-range
bun auto 2 timing B 2 R 0.140912366 0.068809 0.028847 0 25442887 — — 196244 1.07/1.62/1.52 copy-file-range
bun auto 2 timing C 2 F 0.1535572619999998 0.093645 0.032755 0 19295125 — — 132492 1.07/1.62/1.52 copy-file-range
bun auto 2 timing C 2 R 0.141780166 0.054714 0.019036 0 19102035 — — 136720 1.07/1.62/1.52 copy-file-range
bun auto 2 timing B 3 F 0.49440300199999954 0.582045 0.078228 0 30980024 — — 190908 0.99/1.59/1.51 copy-file-range
bun auto 2 timing B 3 R 0.2428941789999999 0.056622 0.029306 0 25442811 — — 196512 0.99/1.59/1.51 copy-file-range
bun auto 2 timing C 3 F 0.2409398199999996 0.104513 0.030009 0 19295125 — — 132884 0.99/1.59/1.51 copy-file-range
bun auto 2 timing C 3 R 0.1986846760000003 0.057953 0.026687 0 19102035 — — 138572 0.99/1.58/1.5 copy-file-range
bun auto 2 timing B 4 F 0.48893089200000034 0.572277 0.076654 0 30980024 — — 193660 0.99/1.58/1.5 copy-file-range
bun auto 2 timing B 4 R 0.23432646699999987 0.056547 0.027732 0 25442811 — — 199196 0.99/1.58/1.5 copy-file-range
bun auto 2 timing C 4 F 0.24571768199999997 0.105714 0.026634 0 19295125 — — 132592 0.91/1.56/1.5 copy-file-range
bun auto 2 timing C 4 R 0.2038444929999996 0.058795 0.023264 0 19102035 — — 137960 0.91/1.56/1.5 copy-file-range
bun auto 2 timing B 5 F 0.4813368230000001 0.560042 0.091332 0 30979910 — — 191512 0.91/1.56/1.5 copy-file-range
bun auto 2 timing B 5 R 0.241329968 0.062568 0.021671 0 25442811 — — 196964 1/1.56/1.5 copy-file-range
bun auto 2 timing C 5 F 0.23586173000000007 0.098304 0.033972 0 19295163 — — 132964 1/1.56/1.5 copy-file-range
bun auto 2 timing C 5 R 0.21620039600000018 0.051258 0.031362 0 19101997 — — 137636 1/1.56/1.5 copy-file-range
bun auto 2 counts B counts F 0.488284807 0.556454 0.090349 0 30979948 6316212 6316032 193792 0.92/1.54/1.49 copy-file-range
bun auto 2 counts B counts R 0.24827491700000018 0.063438 0.024189 0 25442811 6316212 6316032 198324 0.92/1.54/1.49 copy-file-range
bun auto 2 counts C counts F 0.24061467399999992 0.106495 0.02244 0 19295125 4210808 4210688 132020 0.92/1.54/1.49 copy-file-range
bun auto 2 counts C counts R 0.2074948159999999 0.064784 0.017886 0 19102035 4210808 4210688 137820 0.92/1.54/1.49 copy-file-range
bun auto 16 timing B 1 F 0.5117544170000001 0.604975 0.133069 0 207337363 — — 189992 0.92/1.53/1.49 copy-file-range
bun auto 16 timing B 1 R 0.25951543900000024 0.110088 0.059413 0 201800191 — — 195424 0.92/1.53/1.49 copy-file-range
bun auto 16 timing C 1 F 0.27621685100000015 0.149489 0.059016 0 151563158 — — 132244 0.93/1.52/1.48 copy-file-range
bun auto 16 timing C 1 R 0.21551908400000003 0.108364 0.045094 0 151370031 — — 136104 0.93/1.52/1.48 copy-file-range
bun auto 16 timing B 2 F 0.5056590830000001 0.625225 0.114089 0 207337363 — — 191968 0.93/1.52/1.48 copy-file-range
bun auto 16 timing B 2 R 0.2743099990000001 0.113494 0.056086 0 201800191 — — 197232 0.93/1.52/1.48 copy-file-range
bun auto 16 timing C 2 F 0.26544872900000016 0.151526 0.056572 0 151563158 — — 131796 0.86/1.49/1.48 copy-file-range
bun auto 16 timing C 2 R 0.2183716870000003 0.106813 0.047815 0 151370031 — — 137320 0.86/1.49/1.48 copy-file-range
bun auto 16 timing B 3 F 0.5066456029999999 0.617388 0.117849 0 207337325 — — 190828 0.79/1.47/1.47 copy-file-range
bun auto 16 timing B 3 R 0.2511441159999999 0.105425 0.062491 0 201800191 — — 194636 0.79/1.47/1.47 copy-file-range
bun auto 16 timing C 3 F 0.26798649599999996 0.155027 0.053003 0 151563158 — — 132444 0.79/1.47/1.47 copy-file-range
bun auto 16 timing C 3 R 0.2042710570000004 0.110348 0.041421 0 151370031 — — 136984 0.79/1.47/1.47 copy-file-range
bun auto 16 timing B 4 F 0.5179220009999999 0.627955 0.110386 0 207337325 — — 192300 0.73/1.44/1.46 copy-file-range
bun auto 16 timing B 4 R 0.2662850880000001 0.106739 0.063875 0 201800191 — — 198116 0.73/1.44/1.46 copy-file-range
bun auto 16 timing C 4 F 0.2565859110000001 0.153142 0.054736 0 151563158 — — 132276 0.67/1.42/1.45 copy-file-range
bun auto 16 timing C 4 R 0.2250543600000001 0.108331 0.044307 0 151370031 — — 137396 0.67/1.42/1.45 copy-file-range
bun auto 16 timing B 5 F 0.5055384380000001 0.617829 0.115715 0 207337439 — — 191984 0.67/1.42/1.45 copy-file-range
bun auto 16 timing B 5 R 0.25396587 0.09841 0.069568 0 201800191 — — 196152 0.67/1.42/1.45 copy-file-range
bun auto 16 timing C 5 F 0.25390962900000025 0.152921 0.053274 0 151563158 — — 132944 0.61/1.4/1.44 copy-file-range
bun auto 16 timing C 5 R 0.2167049420000003 0.105991 0.049966 0 151370031 — — 137448 0.61/1.4/1.44 copy-file-range
bun auto 16 counts B counts F 0.5101966929999999 0.616172 0.120043 0 207337363 50405556 50405376 192976 0.65/1.39/1.44 copy-file-range
bun auto 16 counts B counts R 0.24887969199999999 0.094593 0.071697 0 201800191 50405556 50405376 197500 0.65/1.39/1.44 copy-file-range
bun auto 16 counts C counts F 0.26085240399999976 0.171792 0.041853 0 151563196 33603704 33603584 132212 0.65/1.39/1.44 copy-file-range
bun auto 16 counts C counts R 0.22928541599999971 0.118843 0.043537 0 151370069 33603704 33603584 138068 0.65/1.39/1.44 copy-file-range
bun off 2 timing B 1 F 0.36323295099999997 0.51255 0.07992 0 30979796 — — 194712 0.59/1.37/1.43 copy
bun off 2 timing B 1 R 0.17963453700000037 0.095439 0.017366 0 25442887 — — 199616 0.59/1.37/1.43 copy
bun off 2 timing C 1 F 0.23406034499999986 0.107667 0.017307 0 19295125 — — 130704 0.59/1.37/1.43 copy
bun off 2 timing C 1 R 0.20793239300000005 0.052537 0.023706 0 19102035 — — 136660 0.59/1.37/1.43 copy
bun off 2 timing B 2 F 0.48829818599999997 0.553747 0.091146 0 30979948 — — 192064 0.95/1.43/1.45 copy
bun off 2 timing B 2 R 0.2626844480000004 0.060178 0.02609 0 25442773 — — 197644 0.95/1.43/1.45 copy
bun off 2 timing C 2 F 0.21811859400000003 0.103188 0.020173 0 19295125 — — 130960 0.87/1.4/1.44 copy
bun off 2 timing C 2 R 0.1934721709999999 0.061326 0.015008 0 19102035 — — 137056 0.87/1.4/1.44 copy
bun off 2 timing B 3 F 0.500684776 0.552179 0.087808 0 30979910 — — 191708 0.87/1.4/1.44 copy
bun off 2 timing B 3 R 0.24799962300000017 0.051194 0.029764 0 25442773 — — 198236 0.87/1.4/1.44 copy
bun off 2 timing C 3 F 0.24330389500000002 0.097757 0.028534 0 19295125 — — 132440 0.88/1.4/1.44 copy
bun off 2 timing C 3 R 0.205700425 0.059827 0.016634 0 19102035 — — 137728 0.88/1.4/1.44 copy
bun off 2 timing B 4 F 0.5113312809999998 0.565303 0.072554 0 30979948 — — 192124 0.81/1.37/1.43 copy
bun off 2 timing B 4 R 0.24516459400000032 0.057192 0.023222 0 25442811 — — 198524 0.81/1.37/1.43 copy
bun off 2 timing C 4 F 0.23212134299999979 0.084446 0.036401 0 19295125 — — 131444 0.81/1.37/1.43 copy
bun off 2 timing C 4 R 0.19707193300000017 0.060827 0.020134 0 19102035 — — 137860 0.81/1.37/1.43 copy
bun off 2 timing B 5 F 0.48671455699999977 0.552512 0.087176 0 30979986 — — 191632 0.75/1.35/1.43 copy
bun off 2 timing B 5 R 0.23464386400000012 0.059581 0.024346 0 25442773 — — 197300 0.75/1.35/1.43 copy
bun off 2 timing C 5 F 0.22918913900000007 0.09567 0.026976 0 19295125 — — 130968 0.69/1.33/1.42 copy
bun off 2 timing C 5 R 0.1919763459999999 0.048631 0.025297 0 19102073 — — 136956 0.69/1.33/1.42 copy
bun off 2 counts B counts F 0.4908012480000002 0.571296 0.083606 0 30979986 10526900 6316032 193448 0.69/1.33/1.42 copy
bun off 2 counts B counts R 0.2577412989999998 0.056947 0.026685 0 25442811 10526900 6316032 199908 0.69/1.33/1.42 copy
bun off 2 counts C counts F 0.23403810000000022 0.090062 0.035013 0 19295125 8421496 4210688 132748 0.63/1.31/1.41 copy
bun off 2 counts C counts R 0.20811866899999995 0.058924 0.018838 0 19102035 8421496 4210688 138160 0.63/1.31/1.41 copy
bun off 16 timing B 1 F 0.5222492390000002 0.60263 0.132552 0 207337363 — — 191016 0.98/1.37/1.43 copy
bun off 16 timing B 1 R 0.272216007 0.109085 0.062482 0 201800191 — — 196928 0.98/1.37/1.43 copy
bun off 16 timing C 1 F 0.3108088849999999 0.172957 0.040251 0 151563158 — — 130724 0.98/1.37/1.43 copy
bun off 16 timing C 1 R 0.22763262399999984 0.112916 0.04432 0 151370069 — — 136036 0.98/1.37/1.43 copy
bun off 16 timing B 2 F 0.5355143560000001 0.620519 0.12667 0 207337401 — — 191772 0.9/1.34/1.42 copy
bun off 16 timing B 2 R 0.28875095299999975 0.11229 0.066012 0 201800191 — — 196500 0.9/1.34/1.42 copy
bun off 16 timing C 2 F 0.2718063480000001 0.151349 0.057665 0 151563158 — — 131684 0.9/1.34/1.42 copy
bun off 16 timing C 2 R 0.2212945490000002 0.108781 0.046276 0 151370069 — — 136332 0.91/1.34/1.42 copy
bun off 16 timing B 3 F 0.5489552480000002 0.628886 0.119614 0 207337363 — — 192336 0.91/1.34/1.42 copy
bun off 16 timing B 3 R 0.2782987079999998 0.117378 0.057404 0 201800191 — — 197996 0.91/1.34/1.42 copy
bun off 16 timing C 3 F 0.2759004460000001 0.151442 0.05957 0 151563158 — — 131964 0.84/1.32/1.41 copy
bun off 16 timing C 3 R 0.22239646900000026 0.104355 0.047434 0 151370069 — — 138348 0.84/1.32/1.41 copy
bun off 16 timing B 4 F 0.5271639680000003 0.604873 0.127134 0 207337363 — — 192752 0.85/1.31/1.41 copy
bun off 16 timing B 4 R 0.27333838400000016 0.106022 0.065198 0 201800191 — — 199220 0.85/1.31/1.41 copy
bun off 16 timing C 4 F 0.2693416940000002 0.158489 0.04804 0 151563158 — — 131372 0.85/1.31/1.41 copy
bun off 16 timing C 4 R 0.23988490899999987 0.104122 0.053231 0 151370107 — — 136380 0.85/1.31/1.41 copy
bun off 16 timing B 5 F 0.5305351639999999 0.623931 0.118857 0 207337363 — — 191136 0.79/1.29/1.4 copy
bun off 16 timing B 5 R 0.27809397999999963 0.115823 0.05687 0 201800153 — — 196520 0.79/1.29/1.4 copy
bun off 16 timing C 5 F 0.2713696520000003 0.150258 0.060642 0 151563158 — — 133148 0.79/1.29/1.4 copy
bun off 16 timing C 5 R 0.21367250899999998 0.103825 0.046821 0 151370069 — — 138224 0.8/1.28/1.4 copy
bun off 16 counts B counts F 0.5152808690000001 0.621933 0.119605 0 207337363 84009140 50405376 191724 0.8/1.28/1.4 copy
bun off 16 counts B counts R 0.25898844299999974 0.113272 0.059798 0 201800191 84009140 50405376 199164 0.8/1.28/1.4 copy
bun off 16 counts C counts F 0.27715948100000015 0.161641 0.055271 0 151563158 67207288 33603584 132584 0.74/1.26/1.39 copy
bun off 16 counts C counts R 0.243921335 0.117163 0.044174 0 151370069 67207288 33603584 138108 0.74/1.26/1.39 copy

@vincentkoc

Copy link
Copy Markdown
Member Author

Current generation-receipt performance proof — a2c0c53

PASS under every original numerical gate, with zero exceptions. Two independent raw-data audits agree. This is fresh qualification of the generation-receipt correction; the earlier 77 wall-p95 failure and capped diagnostic remain FAILED. No sample was removed or retried and no threshold changed. Current CI/security and exact-head ClawSweeper remain separate landing gates; auto-merge is off.

  • Baseline: 5598c3d76bcb28cacaf864724d52ccb4c8ccdd26, tree 9aebff14352ade48a1f52d0603eba05ec9144576.
  • Candidate: a2c0c5322a7c6e3eabd8039a5796a2b83ea3beb7, tree e81d883ee6cf9c252d49d0e43923e38149e71be8. Native source carrier c3954c0d42222020a588c5c137549f5c8efa65f6 has that exact candidate tree.
  • Common executed workload SHA-256: 9b4b39452c72ca46598c71b4f560c094c63cbc0682c468fac45d2d1800aaf2eb. Both variants use the same frozen 5598 package/lock/workspace inputs and the candidate's committed workload; baseline's own harness is not substituted.
  • Linux x64/ext4, four CPUs, 16,463,380,480 bytes RAM. Node 24.22.1; Bun 1.4.4-canary.1+191755ec1, executable SHA-256 0cef667e2f3fd465b6429904ed074381a679be379ec44fa42b5f460ed118b2b8. Bun reports its Node compatibility version in raw process metadata; that is not a change of executable.
  • All 80 serial timing children and 16 separate count children joined, yielding 192 first/repeated rows. Five baseline/candidate timing pairs per runtime/mode/size cell; no discarded sample, prewarming, forced GC, profiler or retry-for-green. Each child retained its 120-second cap.
  • All 11 immutable artifact hashes and 108 validation source witnesses verified. Exact source/runtime admission, strict joins, final source verification, detached source/controller cleanup and complete bounded capture passed; no truncation or unjoined work. The task-owned native lease was released after complete artifact capture.
  • Exact-head focused proof: 142 Node + 142 Bun = 284 passing assertions across five complete files per runtime, zero failures/skips/todos/unhandled errors, matching case/source-location inventories. Canonical build joined exit 0 in 396.436 seconds. Prior 77 complete-branch source review plus the current complete-context 77-to-a2c delta review are scoped-clean; no fresh full-branch review is claimed.
  • Proof archive: 122,783 bytes, SHA-256 114dfdaf9f404b6fdd14fa282d4290ad8847f29047bb3d9c6f0e11e12454ef45. Native outer: 122,885 bytes, SHA-256 d13ae2b9612903dfa616475207316433ae2bb10c7a433aae603f90e1dd294496. Matrix raw log: 126,783 bytes, SHA-256 7dbf44d1ca701587658d86057e2de6a0498ecd5e173a547c5fc6f78238fc3738.

This is bounded fixture evidence. First-capture timing covers the timed owner call, including lazy imports; it is not whole-process startup or live Control UI/3.8 GB database timing. These results do not identify the cause of the historical 77 wait outlier. Original acceptance and historical failures remain linked in the PR body.

Aggregates

Each entry is baseline → candidate. Wall/CPU entries show min / median / p95=max, in milliseconds; empirical p95 is the maximum of five samples. RSS shows min / median / max, in KiB, and is process-lifetime resourceUsage.maxRSS, not an instantaneous capture allocation. Aggregates are rounded to six decimals for display; audits used exact raw values. Count-instrumented processes are excluded from timing statistics.

Runtime Mode MiB Capture Wall ms min/median/p95 CPU ms min/median/p95 RSS KiB min/median/max Timing logical-read median B Count private-read bytes
node auto 2 first-capture 2746.888211/2917.050624/6205.272907 → 211.026273/220.895679/238.734424 2082.965/2122.239/2147.676 → 120.213/126.14/127.182 671528/726296/760412 → 405804/410224/434848 36723314 → 15095863 6316032 → 2105344
node auto 2 repeated-capture 144.859973/243.917928/2646.305658 → 145.221626/166.12054/191.149583 71.199/77.101/92.342 → 56.876/58.314/64.028 675624/730648/764252 → 407340/411504/436256 25445292 → 14860354 6316032 → 2105344
node auto 16 first-capture 2891.458768/2963.712227/3085.675741 → 241.605907/245.353228/263.865604 2205.098/2212.6/2233.023 → 184.387/189.051/191.931 693180/719396/761188 → 405804/408616/429976 213079588 → 117970993 50405376 → 16801792
node auto 16 repeated-capture 243.308659/260.0184/271.617507 → 180.781463/191.597252/198.265439 151.253/157.029/161.029 → 116.795/120.013/121.089 697148/723364/765284 → 407596/410152/431640 201802679 → 117735493 50405376 → 16801792
node off 2 first-capture 2792.341771/2909.712333/2925.144272 → 228.133247/234.371584/248.832225 2099.511/2122.485/2150.32 → 122.934/126.263/130.939 665372/716160/724592 → 405508/415456/430784 36721758 → 15095911 6316032 → 2105344
node off 2 repeated-capture 183.307047/269.725812/288.366776 → 156.709555/183.210478/204.379255 77.495/82.29/87.838 → 55.02/61.313/65.324 670620/721152/729968 → 408068/418016/433600 25445548 → 14860434 6316032 → 2105344
node off 16 first-capture 2983.284589/3073.252752/3136.887692 → 267.697587/286.483218/297.231271 2212.457/2252.583/2274.005 → 196.87/200.773/206.077 708256/723924/759048 → 405668/429516/431828 213080592 → 117971957 50405376 → 16801792
node off 16 repeated-capture 277.096505/319.895025/335.219437 → 189.690754/207.653751/231.31928 168.236/181.001/184.726 → 120.379/128.337/134.243 713376/729172/764424 → 407972/432332/434388 201804288 → 117736485 50405376 → 16801792
bun auto 2 first-capture 403.960711/490.124832/506.681559 → 134.067957/191.748851/204.547133 656.884/659.483/665.43 → 114.58/114.787/121.715 188764/190020/191696 → 128632/129252/129472 30980024 → 15051069 6316032 → 2105344
bun auto 2 repeated-capture 136.012182/244.01064/252.610644 → 103.780606/160.416166/171.428208 81.293/87.871/88.379 → 64.975/70.476/71.936 192696/193928/194928 → 132356/133272/134444 25442811 → 14857903 6316032 → 2105344
bun auto 16 first-capture 517.63165/522.358637/541.406121 → 201.395173/209.25339/210.205376 740.53/741.076/752.531 → 172.6/175.814/177.825 187380/188728/191332 → 127656/128324/129696 207337363 → 117926206 50405376 → 16801792
bun auto 16 repeated-capture 265.538735/280.401018/348.261334 → 166.94487/170.917873/180.421245 171.98/174.8/176.264 → 126.577/126.966/131.026 191104/193104/196572 → 132232/133464/134420 201800191 → 117733041 50405376 → 16801792
bun off 2 first-capture 397.990406/491.684802/499.508183 → 192.120104/194.817605/206.895427 634.776/645.306/648.624 → 109.508/111.985/113.213 188468/189140/191364 → 127124/127152/128240 30979910 → 15051031 6316032 → 2105344
bun off 2 repeated-capture 219.597548/242.494731/260.708353 → 157.355776/163.632543/174.466056 82.573/82.928/85.225 → 61.136/64.519/65.342 192832/194620/195388 → 131884/132188/133340 25442811 → 14857941 6316032 → 2105344
bun off 16 first-capture 512.769535/544.497166/598.351584 → 214.429339/221.990041/230.918963 738.137/746.619/751.463 → 176.402/178.027/181.813 187196/188428/189428 → 126092/127264/127492 207337363 → 117926168 50405376 → 16801792
bun off 16 repeated-capture 278.200916/293.761622/314.487284 → 172.922784/184.937728/207.615145 173.124/177.043/177.888 → 124.247/126.256/134.275 192804/194664/195608 → 130980/132180/133500 201800191 → 117733079 50405376 → 16801792

Repeated-capture wall medians are 0.609548–0.73686× baseline across the eight cells. Every original wall/CPU/RSS gate and every 16 MiB logical-read reduction gate passes without invoking an exception.

Every count cell records exactly two-thirds fewer scoped private-image JavaScript read bytes: 6,316,032→2,105,344 for 2 MiB and 50,405,376→16,801,792 for 16 MiB. The JavaScript source/private counters exclude native SQLite/copy reads. Linux logical-read bytes are the delta of /proc/self/io rchar; this includes process logical reads and is not physical device I/O. The separate control-copy probe reported copy-file-range in auto mode and copy in off mode; these probe outcomes do not establish the transfer method of every capture.

All 192 raw sample rows

Original execution order is preserved. Times below are seconds, CPU split into user/system seconds; read counters are bytes except fsReadops, the delta of process.resourceUsage().fsRead (not a read-syscall count). F means first capture (raw sample 0); R means repeated capture (raw sample 1). B is baseline; C is candidate. Load is the recorded 1/5/15-minute host load. A dash means the field was not instrumented for that measure. All original numeric sample values are retained without display rounding.

Runtime Mode MiB Measure Variant Pair Capture Wall s User CPU s System CPU s fsReadops Logical read B Source read B Private read B Lifetime max RSS KiB Load 1/5/15 Control probe
node auto 2 timing B 1 F 6.205272907 2.037595 0.110081 0 36722757 — — 671528 4.57/2.75/1.69 copy-file-range
node auto 2 timing B 1 R 2.646305658000001 0.066535 0.025807 0 25445422 — — 675624 4.45/2.76/1.7 copy-file-range
node auto 2 timing C 1 F 0.23873442400000022 0.102543 0.024218 0 15095863 — — 432352 4.09/2.71/1.69 copy-file-range
node auto 2 timing C 1 R 0.14522162600000046 0.036567 0.023073 0 14860362 — — 433632 4.09/2.71/1.69 copy-file-range
node auto 2 timing B 2 F 2.9170506239999994 1.966135 0.151053 0 36730074 — — 726296 3.77/2.69/1.69 copy-file-range
node auto 2 timing B 2 R 0.24352170699999987 0.044319 0.029135 0 25445300 — — 730648 3.77/2.69/1.69 copy-file-range
node auto 2 timing C 2 F 0.22897601599999962 0.104695 0.021445 0 15095847 — — 405804 3.47/2.64/1.68 copy-file-range
node auto 2 timing C 2 R 0.19114958299999943 0.042126 0.021902 0 14860354 — — 407340 3.47/2.64/1.68 copy-file-range
node auto 2 timing B 3 F 2.7468882109999995 1.954878 0.128087 0 36723546 — — 687868 3.09/2.59/1.67 copy-file-range
node auto 2 timing B 3 R 0.14485997300000053 0.048532 0.022667 0 25445292 — — 691708 3.09/2.59/1.67 copy-file-range
node auto 2 timing C 3 F 0.2110262729999995 0.109156 0.018026 0 15095863 — — 407756 2.84/2.55/1.66 copy-file-range
node auto 2 timing C 3 R 0.1661205399999999 0.040639 0.017675 0 14860346 — — 409292 2.84/2.55/1.66 copy-file-range
node auto 2 timing B 4 F 2.8863598899999996 1.961601 0.17018 0 36721378 — — 760412 2.56/2.49/1.66 copy-file-range
node auto 2 timing B 4 R 0.2541196060000002 0.049177 0.028078 0 25445284 — — 764252 2.56/2.49/1.66 copy-file-range
node auto 2 timing C 4 F 0.2208956789999993 0.108992 0.016833 0 15095855 — — 410224 2.35/2.45/1.65 copy-file-range
node auto 2 timing C 4 R 0.16857365000000027 0.041334 0.016214 0 14860362 — — 411504 2.35/2.45/1.65 copy-file-range
node auto 2 timing B 5 F 2.9927302569999994 1.974703 0.147536 0 36723314 — — 737664 2.14/2.4/1.64 copy-file-range
node auto 2 timing B 5 R 0.24391792799999895 0.053058 0.024043 0 25445291 — — 741504 2.14/2.4/1.64 copy-file-range
node auto 2 timing C 5 F 0.21370408599999974 0.105013 0.0152 0 15095867 — — 434848 1.97/2.36/1.63 copy-file-range
node auto 2 timing C 5 R 0.1650863020000006 0.041856 0.01502 0 14860354 — — 436256 1.97/2.36/1.63 copy-file-range
node auto 2 counts B counts F 2.9393315949999996 2.011003 0.121309 0 36720034 6316212 6316032 687488 1.82/2.32/1.62 copy-file-range
node auto 2 counts B counts R 0.2539878659999995 0.055175 0.023671 0 25445315 6316212 6316032 691328 1.82/2.32/1.62 copy-file-range
node auto 2 counts C counts F 0.2331884710000004 0.108288 0.01788 0 15095855 4210748 2105344 440744 1.67/2.28/1.62 copy-file-range
node auto 2 counts C counts R 0.18083313699999962 0.047513 0.013816 0 14860354 4210748 2105344 442280 1.67/2.28/1.62 copy-file-range
node auto 16 timing B 1 F 3.0856757409999993 2.051315 0.181708 0 213080460 — — 761188 1.81/2.29/1.63 copy-file-range
node auto 16 timing B 1 R 0.27161750699999904 0.100272 0.060757 0 201802704 — — 765284 1.81/2.29/1.63 copy-file-range
node auto 16 timing C 1 F 0.24535322799999995 0.152899 0.037829 0 117970993 — — 408616 1.66/2.25/1.62 copy-file-range
node auto 16 timing C 1 R 0.18183323000000018 0.089372 0.027423 0 117735501 — — 410152 1.66/2.25/1.62 copy-file-range
node auto 16 timing B 2 F 2.9427136920000003 2.033099 0.180798 0 213081764 — — 716216 1.55/2.21/1.61 copy-file-range
node auto 16 timing B 2 R 0.24330865900000026 0.105575 0.045678 0 201802671 — — 720312 1.55/2.21/1.61 copy-file-range
node auto 16 timing C 2 F 0.24160590700000012 0.148879 0.036444 0 117970997 — — 408112 1.43/2.17/1.6 copy-file-range
node auto 16 timing C 2 R 0.18078146300000025 0.08493 0.033749 0 117735493 — — 409648 1.43/2.17/1.6 copy-file-range
node auto 16 timing B 3 F 2.97564714 2.067895 0.137203 0 213078548 — — 693180 1.36/2.13/1.59 copy-file-range
node auto 16 timing B 3 R 0.26093177300000026 0.096648 0.060381 0 201802655 — — 697148 1.36/2.13/1.59 copy-file-range
node auto 16 timing C 3 F 0.26386560400000053 0.14637 0.042681 0 117970997 — — 429976 1.33/2.11/1.59 copy-file-range
node auto 16 timing C 3 R 0.1982654389999998 0.088863 0.032226 0 117735525 — — 431640 1.33/2.11/1.59 copy-file-range
node auto 16 timing B 4 F 2.8914587680000006 2.029891 0.182709 0 213079328 — — 736740 1.5/2.12/1.6 copy-file-range
node auto 16 timing B 4 R 0.2468853250000011 0.089109 0.065057 0 201802687 — — 740708 1.5/2.12/1.6 copy-file-range
node auto 16 timing C 4 F 0.24403759499999977 0.149459 0.034928 0 117970993 — — 414924 1.46/2.11/1.6 copy-file-range
node auto 16 timing C 4 R 0.19288795700000083 0.077969 0.042044 0 117735493 — — 416460 1.46/2.11/1.6 copy-file-range
node auto 16 timing B 5 F 2.963712227 2.040075 0.165757 0 213079588 — — 719396 1.39/2.07/1.59 copy-file-range
node auto 16 timing B 5 R 0.2600184000000008 0.102398 0.055934 0 201802679 — — 723364 1.39/2.07/1.59 copy-file-range
node auto 16 timing C 5 F 0.26078389100000005 0.151802 0.040129 0 117970993 — — 405804 1.36/2.05/1.59 copy-file-range
node auto 16 timing C 5 R 0.19159725199999958 0.087341 0.033745 0 117735493 — — 407596 1.36/2.05/1.59 copy-file-range
node auto 16 counts B counts F 3.004667359000001 2.082503 0.193854 0 213079716 50405556 50405376 768184 1.3/2.02/1.58 copy-file-range
node auto 16 counts B counts R 0.2820508239999999 0.112595 0.053229 0 201802679 50405556 50405376 772024 1.3/2.02/1.58 copy-file-range
node auto 16 counts C counts F 0.24508417199999985 0.152305 0.035155 0 117970997 33603644 16801792 408548 1.35/2.02/1.58 copy-file-range
node auto 16 counts C counts R 0.20629359699999986 0.087476 0.036603 0 117735501 33603644 16801792 410212 1.35/2.02/1.58 copy-file-range
node off 2 timing B 1 F 2.7923417710000003 1.979966 0.119545 0 36721690 — — 665372 1.29/1.98/1.58 copy
node off 2 timing B 1 R 0.18330704700000025 0.068948 0.01671 0 25445548 — — 670620 1.29/1.98/1.58 copy
node off 2 timing C 1 F 0.22933059899999989 0.108954 0.021243 0 15095903 — — 415456 1.35/1.98/1.58 copy
node off 2 timing C 1 R 0.16350025099999949 0.044399 0.014232 0 14860442 — — 418016 1.35/1.98/1.58 copy
node off 2 timing B 2 F 2.901249721 1.976086 0.146399 0 36721758 — — 724592 1.37/1.97/1.58 copy
node off 2 timing B 2 R 0.27314707400000043 0.052197 0.030093 0 25445556 — — 729968 1.37/1.97/1.58 copy
node off 2 timing C 2 F 0.23437158399999952 0.10431 0.021953 0 15095911 — — 405508 1.34/1.95/1.58 copy
node off 2 timing C 2 R 0.20437925499999984 0.045268 0.020056 0 14860410 — — 408068 1.34/1.95/1.58 copy
node off 2 timing B 3 F 2.9251442719999994 1.999417 0.143135 0 36721466 — — 716160 1.29/1.92/1.57 copy
node off 2 timing B 3 R 0.28836677600000077 0.059031 0.028807 0 25445532 — — 721152 1.29/1.92/1.57 copy
node off 2 timing C 3 F 0.2488322250000001 0.107642 0.023297 0 15095911 — — 430784 1.26/1.9/1.56 copy
node off 2 timing C 3 R 0.18809486000000014 0.050946 0.012456 0 14860418 — — 433600 1.26/1.9/1.56 copy
node off 2 timing B 4 F 2.9097123330000003 1.997909 0.152411 0 36723246 — — 714136 1.22/1.87/1.56 copy
node off 2 timing B 4 R 0.26972581200000056 0.059414 0.022789 0 25445548 — — 719000 1.22/1.87/1.56 copy
node off 2 timing C 4 F 0.24031929300000046 0.103695 0.021226 0 15095903 — — 429016 1.52/1.92/1.58 copy
node off 2 timing C 4 R 0.18321047799999995 0.03848 0.022833 0 14860442 — — 431576 1.52/1.92/1.58 copy
node off 2 timing B 5 F 2.9139701770000013 1.974256 0.137131 0 36722466 — — 723060 1.36/1.88/1.56 copy
node off 2 timing B 5 R 0.24354445699999996 0.058591 0.018904 0 25445547 — — 728564 1.36/1.88/1.56 copy
node off 2 timing C 5 F 0.22813324699999976 0.100165 0.022769 0 15095911 — — 413464 1.41/1.88/1.57 copy
node off 2 timing C 5 R 0.15670955499999945 0.035581 0.019439 0 14860434 — — 415768 1.41/1.88/1.57 copy
node off 2 counts B counts F 2.9632369080000007 1.970405 0.141954 0 36719594 10526900 6316032 689980 1.19/1.82/1.55 copy
node off 2 counts B counts R 0.2616346969999995 0.05158 0.026663 0 25445539 10526900 6316032 694972 1.19/1.82/1.55 copy
node off 2 counts C counts F 0.23749180999999953 0.106123 0.02192 0 15095911 6316092 2105344 428668 1.42/1.85/1.56 copy
node off 2 counts C counts R 0.1683608489999997 0.045906 0.012984 0 14860426 6316092 2105344 431484 1.42/1.85/1.56 copy
node off 16 timing B 1 F 3.078935872 2.07069 0.182598 0 213081844 — — 759048 1.27/1.81/1.55 copy
node off 16 timing B 1 R 0.33521943700000156 0.108976 0.072025 0 201804288 — — 764424 1.27/1.81/1.55 copy
node off 16 timing C 1 F 0.2807933839999996 0.15706 0.043713 0 117971957 — — 431280 1.25/1.8/1.55 copy
node off 16 timing C 1 R 0.18969075400000018 0.083535 0.036844 0 117736461 — — 433584 1.25/1.8/1.55 copy
node off 16 timing B 2 F 2.9832845889999997 2.080547 0.172036 0 213080592 — — 738064 1.13/1.75/1.54 copy
node off 16 timing B 2 R 0.3291927649999998 0.115275 0.066051 0 201804263 — — 743184 1.13/1.75/1.54 copy
node off 16 timing C 2 F 0.2864832179999994 0.146761 0.051512 0 117971937 — — 429516 1.2/1.76/1.54 copy
node off 16 timing C 2 R 0.20765375099999983 0.083881 0.044456 0 117736445 — — 432332 1.2/1.76/1.54 copy
node off 16 timing B 3 F 3.010258258000001 2.039111 0.173346 0 213080508 — — 708256 1.16/1.73/1.53 copy
node off 16 timing B 3 R 0.27709650499999955 0.105687 0.062549 0 201804255 — — 713376 1.16/1.73/1.53 copy
node off 16 timing C 3 F 0.2972312710000006 0.161937 0.04414 0 117971961 — — 426412 1.15/1.72/1.53 copy
node off 16 timing C 3 R 0.22809754700000032 0.092625 0.041618 0 117736494 — — 428844 1.15/1.72/1.53 copy
node off 16 timing B 4 F 3.0732527519999993 2.019381 0.206261 0 213078568 — — 723924 1.05/1.68/1.52 copy
node off 16 timing B 4 R 0.30616511200000057 0.119215 0.056217 0 201804304 — — 729172 1.05/1.68/1.52 copy
node off 16 timing C 4 F 0.2676975869999997 0.154677 0.042193 0 117971961 — — 431828 1.04/1.67/1.52 copy
node off 16 timing C 4 R 0.20489121700000032 0.081746 0.045779 0 117736485 — — 434388 1.04/1.67/1.52 copy
node off 16 timing B 5 F 3.136887692 2.094865 0.17914 0 213080776 — — 708560 1.1/1.66/1.52 copy
node off 16 timing B 5 R 0.3198950249999998 0.120649 0.064077 0 201804296 — — 713808 1.1/1.65/1.51 copy
node off 16 timing C 5 F 0.2958627889999998 0.159976 0.043958 0 117971945 — — 405668 1.09/1.64/1.51 copy
node off 16 timing C 5 R 0.23131928000000063 0.08966 0.042895 0 117736502 — — 407972 1.09/1.64/1.51 copy
node off 16 counts B counts F 3.0608836170000004 2.180129 0.228978 0 213113532 84009140 50405376 764784 1.37/1.68/1.53 copy
node off 16 counts B counts R 0.30007764099999984 0.120686 0.054174 0 201804305 84009140 50405376 768028 1.37/1.68/1.53 copy
node off 16 counts C counts F 0.2564682930000008 0.155459 0.040526 0 117971985 50405436 16801792 429432 1.26/1.65/1.52 copy
node off 16 counts C counts R 0.22035311600000024 0.093046 0.038903 0 117736461 50405436 16801792 431992 1.26/1.65/1.52 copy
bun auto 2 timing B 1 F 0.40683213099999965 0.568401 0.096341 8 30980027 — — 191696 1.26/1.66/1.52 copy-file-range
bun auto 2 timing B 1 R 0.13601218199999993 0.058427 0.023566 0 25442814 — — 192696 1.26/1.66/1.52 copy-file-range
bun auto 2 timing C 1 F 0.1346820050000001 0.087127 0.02765 0 15051069 — — 129252 1.16/1.63/1.51 copy-file-range
bun auto 2 timing C 1 R 0.1037806059999998 0.049061 0.017706 0 14857903 — — 133272 1.16/1.63/1.51 copy-file-range
bun auto 2 timing B 2 F 0.4039607109999997 0.570088 0.086796 0 30980024 — — 190776 1.16/1.63/1.51 copy-file-range
bun auto 2 timing B 2 R 0.13794783199999983 0.046163 0.03513 0 25442811 — — 193928 1.15/1.62/1.51 copy-file-range
bun auto 2 timing C 2 F 0.13406795699999974 0.085214 0.029366 0 15051069 — — 128820 1.15/1.62/1.51 copy-file-range
bun auto 2 timing C 2 R 0.12267176100000006 0.04453 0.020445 0 14857903 — — 134212 1.15/1.62/1.51 copy-file-range
bun auto 2 timing B 3 F 0.5048999210000001 0.578785 0.086645 0 30980024 — — 190020 1.06/1.59/1.5 copy-file-range
bun auto 2 timing B 3 R 0.24401063999999997 0.055914 0.032287 0 25442811 — — 194928 1.06/1.59/1.5 copy-file-range
bun auto 2 timing C 3 F 0.20454713300000002 0.096214 0.025501 0 15051069 — — 129472 1.06/1.59/1.5 copy-file-range
bun auto 2 timing C 3 R 0.16041616599999997 0.051519 0.019285 0 14857903 — — 134444 1.06/1.59/1.5 copy-file-range
bun auto 2 timing B 4 F 0.49012483199999995 0.576164 0.081286 0 30979986 — — 189708 0.97/1.57/1.5 copy-file-range
bun auto 2 timing B 4 R 0.25209867299999994 0.055373 0.033006 0 25442773 — — 194340 0.97/1.57/1.5 copy-file-range
bun auto 2 timing C 4 F 0.19174885100000028 0.084737 0.03005 0 15051069 — — 129280 0.9/1.54/1.49 copy-file-range
bun auto 2 timing C 4 R 0.1682169530000001 0.04877 0.021706 0 14857903 — — 132768 0.9/1.54/1.49 copy-file-range
bun auto 2 timing B 5 F 0.5066815590000001 0.556646 0.102837 0 30979910 — — 188764 0.9/1.54/1.49 copy-file-range
bun auto 2 timing B 5 R 0.2526106439999999 0.055666 0.032205 0 25442811 — — 192760 0.9/1.54/1.49 copy-file-range
bun auto 2 timing C 5 F 0.19564906000000018 0.086401 0.028602 0 15051069 — — 128632 0.82/1.51/1.48 copy-file-range
bun auto 2 timing C 5 R 0.1714282079999998 0.056373 0.015563 0 14857903 — — 132356 0.82/1.51/1.48 copy-file-range
bun auto 2 counts B counts F 0.497337493 0.5634 0.101472 0 30979910 6316212 6316032 190392 0.84/1.51/1.48 copy-file-range
bun auto 2 counts B counts R 0.246347397 0.056256 0.036416 0 25442811 6316212 6316032 195364 0.84/1.51/1.48 copy-file-range
bun auto 2 counts C counts F 0.19748742300000002 0.090765 0.025271 0 15051069 4210748 2105344 128852 0.84/1.51/1.48 copy-file-range
bun auto 2 counts C counts R 0.16139834699999983 0.046126 0.024213 0 14857903 4210748 2105344 134432 0.84/1.51/1.48 copy-file-range
bun auto 16 timing B 1 F 0.5176316499999998 0.616569 0.124507 0 207337325 — — 190112 0.77/1.48/1.47 copy-file-range
bun auto 16 timing B 1 R 0.27929413399999975 0.111183 0.063617 0 201800191 — — 195104 0.77/1.48/1.47 copy-file-range
bun auto 16 timing C 1 F 0.21019062900000018 0.122885 0.053541 0 117926206 — — 128324 0.77/1.48/1.47 copy-file-range
bun auto 16 timing C 1 R 0.17091787300000033 0.087988 0.038978 0 117733041 — — 133464 0.77/1.48/1.47 copy-file-range
bun auto 16 timing B 2 F 0.519045118 0.609572 0.130958 0 207337439 — — 188728 0.79/1.47/1.46 copy-file-range
bun auto 16 timing B 2 R 0.2655387350000001 0.111796 0.062017 0 201800191 — — 193104 0.79/1.47/1.46 copy-file-range
bun auto 16 timing C 2 F 0.20263266599999996 0.127755 0.046381 0 117926206 — — 127720 0.73/1.45/1.46 copy-file-range
bun auto 16 timing C 2 R 0.18033336800000008 0.091178 0.037776 0 117733041 — — 132232 0.73/1.45/1.46 copy-file-range
bun auto 16 timing B 3 F 0.5270669800000001 0.619405 0.125406 0 207337287 — — 187856 0.73/1.45/1.46 copy-file-range
bun auto 16 timing B 3 R 0.3482613339999998 0.112688 0.063576 0 201800191 — — 192600 0.73/1.45/1.46 copy-file-range
bun auto 16 timing C 3 F 0.2102053759999999 0.13238 0.045445 0 117926206 — — 127656 0.91/1.47/1.46 copy-file-range
bun auto 16 timing C 3 R 0.17086779400000024 0.093115 0.033462 0 117733041 — — 132480 0.91/1.47/1.46 copy-file-range
bun auto 16 timing B 4 F 0.5223586370000003 0.621081 0.119674 0 207337401 — — 187380 0.84/1.45/1.46 copy-file-range
bun auto 16 timing B 4 R 0.28111565999999993 0.110623 0.061357 0 201800153 — — 191104 0.84/1.45/1.46 copy-file-range
bun auto 16 timing C 4 F 0.20139517300000034 0.131166 0.041434 0 117926206 — — 129636 0.84/1.45/1.46 copy-file-range
bun auto 16 timing C 4 R 0.16694487000000027 0.085449 0.041498 0 117733041 — — 134136 0.84/1.45/1.46 copy-file-range
bun auto 16 timing B 5 F 0.541406121 0.642415 0.110116 0 207337363 — — 191332 0.77/1.42/1.45 copy-file-range
bun auto 16 timing B 5 R 0.280401018 0.121112 0.055007 0 201800191 — — 196572 0.77/1.42/1.45 copy-file-range
bun auto 16 timing C 5 F 0.20925339000000032 0.139103 0.036711 0 117926206 — — 129696 0.71/1.4/1.44 copy-file-range
bun auto 16 timing C 5 R 0.180421245 0.087589 0.043437 0 117733041 — — 134420 0.71/1.4/1.44 copy-file-range
bun auto 16 counts B counts F 0.5120336569999999 0.620322 0.115708 0 207337287 50405556 50405376 188260 0.71/1.4/1.44 copy-file-range
bun auto 16 counts B counts R 0.2787532269999997 0.119972 0.060522 0 201800191 50405556 50405376 193328 0.71/1.4/1.44 copy-file-range
bun auto 16 counts C counts F 0.214133906 0.144892 0.033611 0 117926206 33603644 16801792 128312 0.65/1.38/1.43 copy-file-range
bun auto 16 counts C counts R 0.17776550300000007 0.099137 0.033718 0 117733079 33603644 16801792 133004 0.65/1.38/1.43 copy-file-range
bun off 2 timing B 1 F 0.3979904059999999 0.557836 0.090788 0 30979872 — — 191364 0.6/1.35/1.43 copy
bun off 2 timing B 1 R 0.2195975480000002 0.059749 0.023044 0 25442811 — — 192832 0.6/1.35/1.43 copy
bun off 2 timing C 1 F 0.200040528 0.08186 0.030925 0 15051031 — — 127552 0.6/1.35/1.43 copy
bun off 2 timing C 1 R 0.1636325429999997 0.038624 0.025895 0 14857941 — — 133340 0.6/1.35/1.43 copy
bun off 2 timing B 2 F 0.48037581 0.557587 0.081849 0 30979910 — — 189604 0.55/1.33/1.42 copy
bun off 2 timing B 2 R 0.2390277739999997 0.060906 0.022022 0 25442773 — — 195388 0.55/1.33/1.42 copy
bun off 2 timing C 2 F 0.20689542699999994 0.086484 0.026729 0 15051031 — — 127124 0.55/1.33/1.42 copy
bun off 2 timing C 2 R 0.16819872900000019 0.03941 0.025932 0 14857941 — — 132012 0.55/1.33/1.42 copy
bun off 2 timing B 3 F 0.49870394400000034 0.553375 0.091931 0 30979948 — — 189036 0.67/1.34/1.42 copy
bun off 2 timing B 3 R 0.2456910160000002 0.058566 0.026659 0 25442811 — — 195260 0.67/1.34/1.42 copy
bun off 2 timing C 3 F 0.19481760500000017 0.090134 0.021851 0 15051031 — — 127152 0.62/1.32/1.41 copy
bun off 2 timing C 3 R 0.15935184500000013 0.04742 0.016932 0 14857941 — — 133040 0.62/1.32/1.41 copy
bun off 2 timing B 4 F 0.49168480199999975 0.560143 0.074633 0 30979910 — — 189140 0.62/1.32/1.41 copy
bun off 2 timing B 4 R 0.260708353 0.057071 0.026065 0 25442811 — — 194504 0.62/1.32/1.41 copy
bun off 2 timing C 4 F 0.1925284489999999 0.087451 0.022057 0 15051031 — — 127136 0.73/1.33/1.42 copy
bun off 2 timing C 4 R 0.17446605599999976 0.046821 0.018124 0 14857941 — — 131884 0.73/1.33/1.42 copy
bun off 2 timing B 5 F 0.49950818299999994 0.561062 0.08521 0 30979910 — — 188468 0.67/1.31/1.41 copy
bun off 2 timing B 5 R 0.24249473100000024 0.054305 0.028268 0 25442773 — — 194620 0.67/1.31/1.41 copy
bun off 2 timing C 5 F 0.19212010400000007 0.089156 0.022181 0 15051031 — — 128240 0.67/1.31/1.41 copy
bun off 2 timing C 5 R 0.1573557759999999 0.0406 0.020536 0 14857941 — — 132188 0.67/1.31/1.41 copy
bun off 2 counts B counts F 0.49208635700000014 0.571735 0.076911 0 30979948 10526900 6316032 188916 0.62/1.29/1.4 copy
bun off 2 counts B counts R 0.2586646810000002 0.061707 0.026291 0 25442811 10526900 6316032 194272 0.62/1.29/1.4 copy
bun off 2 counts C counts F 0.20263288199999988 0.092197 0.020174 0 15051031 6316092 2105344 127212 0.97/1.35/1.42 copy
bun off 2 counts C counts R 0.1664011190000001 0.042362 0.022312 0 14857941 6316092 2105344 131928 0.97/1.35/1.42 copy
bun off 16 timing B 1 F 0.54840132 0.625375 0.121535 0 207337325 — — 189200 0.97/1.35/1.42 copy
bun off 16 timing B 1 R 0.31448728400000026 0.113374 0.064514 0 201800191 — — 195608 0.97/1.35/1.42 copy
bun off 16 timing C 1 F 0.22182126400000016 0.136567 0.04382 0 117926168 — — 126728 0.89/1.33/1.41 copy
bun off 16 timing C 1 R 0.18896367499999997 0.098356 0.032994 0 117733079 — — 132696 0.89/1.33/1.41 copy
bun off 16 timing B 2 F 0.598351584 0.613881 0.132738 0 207337363 — — 187196 0.9/1.32/1.41 copy
bun off 16 timing B 2 R 0.293761622 0.113796 0.063291 0 201800191 — — 193816 0.9/1.32/1.41 copy
bun off 16 timing C 2 F 0.22199004100000003 0.139699 0.037641 0 117926168 — — 126092 0.9/1.32/1.41 copy
bun off 16 timing C 2 R 0.18431317499999977 0.093901 0.032355 0 117733041 — — 130980 0.9/1.32/1.41 copy
bun off 16 timing B 3 F 0.5444971660000001 0.633344 0.118119 0 207337363 — — 189428 0.83/1.3/1.4 copy
bun off 16 timing B 3 R 0.2783814010000001 0.113 0.061466 0 201800191 — — 195508 0.83/1.3/1.4 copy
bun off 16 timing C 3 F 0.2309189630000001 0.142529 0.039284 0 117926168 — — 127400 0.83/1.3/1.4 copy
bun off 16 timing C 3 R 0.20761514500000022 0.089553 0.044722 0 117733079 — — 131852 0.84/1.3/1.4 copy
bun off 16 timing B 4 F 0.5254412849999999 0.614485 0.130467 0 207337363 — — 187856 0.84/1.3/1.4 copy
bun off 16 timing B 4 R 0.27820091600000024 0.09734 0.075784 0 201800191 — — 192804 0.84/1.3/1.4 copy
bun off 16 timing C 4 F 0.21442933900000025 0.144513 0.033514 0 117926168 — — 127492 0.78/1.27/1.39 copy
bun off 16 timing C 4 R 0.17292278400000033 0.08467 0.039639 0 117733079 — — 132180 0.78/1.27/1.39 copy
bun off 16 timing B 5 F 0.5127695349999999 0.62019 0.117947 0 207337363 — — 188428 0.78/1.27/1.39 copy
bun off 16 timing B 5 R 0.2953914719999998 0.113245 0.063798 0 201800191 — — 194664 0.79/1.27/1.39 copy
bun off 16 timing C 5 F 0.230302905 0.136486 0.039916 0 117926168 — — 127264 0.79/1.27/1.39 copy
bun off 16 timing C 5 R 0.18493772799999988 0.080051 0.044196 0 117733041 — — 133500 0.79/1.27/1.39 copy
bun off 16 counts B counts F 0.5418634170000001 0.615816 0.134454 0 207337401 84009140 50405376 189708 0.73/1.25/1.38 copy
bun off 16 counts B counts R 0.2944422959999997 0.114678 0.064888 0 201800191 84009140 50405376 195344 0.73/1.25/1.38 copy
bun off 16 counts C counts F 0.23582356400000026 0.138585 0.047357 0 117926206 50405436 16801792 126648 0.73/1.25/1.38 copy
bun off 16 counts C counts R 0.19958491099999992 0.095261 0.038682 0 117733041 50405436 16801792 132220 0.73/1.25/1.38 copy

@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

Please review current head a2c0c5322a7c6e3eabd8039a5796a2b83ea3beb7. The PR body and linked raw proof now contain fresh exact-head qualification: 284 focused passes, canonical build, and all original performance gates passing with zero exceptions. Historical failed verdicts remain preserved. Older Package Acceptance is explicitly attributed as baseline +49 entries over budget plus 3 candidate entries; it remains an optional release follow-up, not a current pass or a waiver. Please assess current code, proof and any remaining rank-up moves.

@clawsweeper

clawsweeper Bot commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot removed the merge-risk: 🚨 other 🚨 Merging this PR has meaningful risk outside the owned taxonomy. label Oct 29, 2026
@vincentkoc

Copy link
Copy Markdown
Member Author

Exact a2c published-driver upgrade: PASS

The compatibility move in the current ClawSweeper review is fulfilled: one canonical published [email protected] → exact a2c0c5322a7c6e3eabd8039a5796a2b83ea3beb7 upgrade passed two independent artifact audits. Candidate tree: e81d883ee6cf9c252d49d0e43923e38149e71be8. Product source is unchanged.

Evidence Observed result
Candidate package Full canonical producer, including its required build and tarball checks; 133,576,390 bytes; SHA-256 87b4a6092350ae89334c66965b967533a399356799daa893e1c19eab57df583a. No runtime-only or plugin-selected package.
Candidate identity Package version 2026.10.8, exact commit a2c. Live serving build ID exactly equals package build ID 2026.10.8-a2c0c5322a7c-2026-10-29T13-45-30.271Z; equal version alone was insufficient.
Exercised settings Configured loopback port and token-authenticated endpoint remained usable after update.
Durable database content Durable session ID and complete before/after message content matched, including the seeded marker.
Existing sidecar Canonical harness byte-equality assertion passed. A separate raw sidecar blob was not retained.
Incognito state Seeded incognito history changed from one message to none; the old session ID was absent.
Update/restart Durable update history finished successfully; managed service replacement and readiness HTTP 200 passed.
Execution Canonical package 532,283 ms; bare image 26,816 ms; one upgrade cell 478,012 ms, within the unchanged 1,125-second deadline. All joined exit 0. These are execution durations, not performance qualification.
Cleanup Exact observed container ID and owned volume absent in successful post-join Docker listings; CID directory removed. Private source/dependency restoration, final source verification and source removal passed. Native lease released.

Host: Linux ext4, 4 CPU / 16 GiB, Node 24.22.1; repository-pinned Bun 1.4.4-canary.1+191755ec1, binary SHA-256 0cef667e2f3fd465b6429904ed074381a679be379ec44fa42b5f460ed118b2b8. The canonical Node Docker cell's live limits were verified: 4 CPU / 8 GiB / 2,048 PIDs / init enabled.

All 16 controller commands joined. Exact 19 cell exit receipts, each exit 0, signal null and process tree terminated:
install-driver, candidate-build, fixture, seed-state, install-service, before-ready, durable-create, durable-inject, durable-before, incognito-create, incognito-inject, incognito-before, update, recorded-run, after-ready, running-version, durable-after, incognito-after, stop-service.

Reproduction uses the existing canonical owner:

bash scripts/e2e/published-driver-update-docker.sh candidate.tgz artifact-dir 2026.10.8

Candidate produced by scripts/package-openclaw-for-docker.mjs from exact a2c with private dependencies, then the canonical bare-image helper. Default standard fixture; no legacy-SQLite, scoped-restore, driver-relabel or prewarmed-driver mode.

Both audits verified 81 immutable artifacts, 31 source witnesses, exact package/serving identity, all receipts, state assertions, strict joins and concrete cleanup. No timeout, unjoined child, truncation or capture error. Inner archive: 196,725 bytes, SHA-256 d2b4a71f0761a51cbb4ba7e01f88da4fd4b577cb765e464927b27487bf3f23f7. Native outer archive: 196,770 bytes, SHA-256 75a214715d9d405c905f949b2cc23a5108d12d9d293e5e88fd2ad8dbdae26076.

The first setup attempt remains FAILED with zero workload commands: native transport attested the candidate tree through a synthetic carrier, but the controller initially assumed the original commit object was present. Preserved failure archive SHA-256: fb1c0b6a84f8c673075ecddb05a7ef40a581d02e1d7523106c82153ea471a30e. The reviewed correction used the existing bounded immutable-object fetch pattern (official repository URL, exact a2c, depth 2, no tags/ref/FETCH_HEAD changes), verified unchanged carrier/base refs and source witnesses, then detached the real a2c commit. The corrected run selected canonical hydrate-docker before the payload. No product edits, relabeling, timeout increase or failed upgrade-cell replay.

Exact-head CI and required security status passed. This fulfills the existing exact-head ClawSweeper compatibility move; unchanged source does not need another rating-refresh request. Native hosted gate conversion passed on exact a2c; final merge verification remains pending. Auto-merge is off.

Synthetic compatibility proof for the exercised settings and data; no arbitrary configuration-object equality, new performance result, or live production/Control UI timing claim. No deployment, Gateway restart or Bun promotion. Historical failures and the optional release package-budget follow-up (baseline +49 entries over the limit, candidate +3) remain unchanged.

@vincentkoc
vincentkoc merged commit 6c672d4 into main Oct 29, 2026
156 checks passed
@vincentkoc
vincentkoc deleted the fix/update-reuse-generation-image-20261028 branch October 29, 2026 14:18
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 30, 2026
* fix(update): avoid recopying admitted rollback images

Carry the cleanup-owned generation image into the same rollback capture while retaining source-generation, integrity, publication and rollback checks. Add bounded capture work-count and paired-performance workloads; end-to-end performance qualification is pending.

* test(perf): bound rollback capture verification buffers

* test(update): verify retained rollback image lifecycle

* fix(update): satisfy retained-image static checks

* test(update): bind retained-image hold to test lifetime

* test(update): retain failed backup fixture evidence

* test(update): separate cache and retained-image fixtures

* test(update): preserve paired fixture failure causes

* chore(test): reuse upstream regression budget

Reuse the exact config/test-lines-baseline.txt policy already landed in 69b5f8d (openclaw#186785). This imports its fixed ceiling without selecting a new budget or deleting distinct regression coverage. Runtime, benchmark workload, and dependency inputs remain unchanged. Existing performance failures and the separate landing hold remain recorded in PR openclaw#186510.

* perf(update): avoid unrelated backup capture imports

Keep archive path encoding in its canonical policy owner and load PostgreSQL capture only after engine admission. Preserve the updater pre-swap preparation contract and retained-image custody. This removes unnecessary cold import work; memory and latency qualification remain pending.

* fix(update): reconcile image reuse with current capture owners

* test(update): expose unused prepared-inventory imports

* test(update): preserve schema import failure diagnostics

* fix(update): avoid discovery imports for prepared state inventories

* test(update): document isolated inventory mock boundaries

* test(backup): isolate archive command scratch roots

* fix: refresh the reviewed correction baseline

Baseline-Refresh: 2ddcbe5449fbd647dd319f7a8e182a9fbaf27dec

* test(backup): retain isolated fixtures through cleanup

* fix(update): reuse verified generation receipts after capture

Co-authored-by: Vincent Koc <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cli CLI command changes commands Command implementations P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. scripts Repository scripts security-sensitive-changed size: XL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant