Prepared desktop server bytecode

Upstream PR #32987, filed open and unmerged. CI and hosted review were in progress at handoff; auto-merge was disabled.

Final Ubuntu x64 packaged measurements demonstrate earlier command readiness. Window-visible and usable-composer timing remain inconclusive. No overall or combined-ticket startup gain is claimed.

Baseline ade473018d32003658b7d38693e083ee2e314bd8
Candidate 37aa1e1fedfe794155571d498f30cc894e5b91d1

The existing generator prepared the CLI but missed the server graph loaded dynamically. The change prepares both declaration graphs, requires both cache entries, enables native Linux x64 generation, and safely reclaims recognized abandoned AppImage caches. Linux arm64 keeps its previous skip.

Actual packaged baseline and candidate medians, paired command-ready and composer differences

Results

Milliseconds; median / nearest-rank p95. Intervals are 95% paired bootstrap intervals from 20,000 resamples. Negative deltas mean faster. All 20 alternating AB/BA pairs, 40 unprofiled launches, are retained after two warmup pairs.

MilestoneBaselineCandidatePaired median [95%]Conclusion
Visible window617 / 791653 / 852+15 [-29, +75]Inconclusive
Command ready1518 / 17991361 / 1684-141 [-247, -83]Demonstrated
Composer probe2496 / 28292352 / 2845-78 [-217, +83]Inconclusive

Method

Boat Ubuntu 24.04 x64 VM, default 4 vCPU / 8 GB; unsigned Linux directory packages. Electron 44.10.1, embedded Node 24.22.1, V8 15.2.124.45-electron.0; packaging Node 26.12.1 and pnpm 12.14.0. Fixed 12-project / 48-stopped-thread synthetic fixture, isolated homes and settings, warm OS pages, cold runtime code cache per launch. No real account data or provider turns.

Native window means PID-owned X11 visibility. Command-ready means a successful descriptor behind the server command-readiness gate, distinct from listening. The composer probe asserts editable input and attempts clearing; keyboard clearing is proven by a separate integrated check. No inspector, tracing or compile-cache disabling in timing launches. No failed or slow timing samples discarded.

Raw timing JSON, statistics, build and paired-driver commands, hashes, and methodology. Historical CLI-prepared/full-prepared proxy and original 641-based measurements are separate from this final comparison.

Correctness proof

Inspected integrated-client screenshot

Proof audit: PASS, no remaining code-proof gaps or unsupported current claims. Real non-root permission-error continuation and eight malformed-layout preservation cases passed..

Council

ReviewerRound 1Round 2Round 3
GPT 6.1 Sol9/109/109/10
Claude Opus 5.58/109/109/10
Grok 4.79/109/109/10

Chunk ambiguity and abandoned-cache findings were fixed. An unproven ARM release-runner concern was resolved by retaining Linux arm64 skipping. Final source has no open blocker or should-fix finding. Local cubic has no P0/P1 issues; conservative cleanup and fail-closed chunk naming remain accepted P3 limits.

Limits and follow-up

No warm-cache, AppImage timing, fresh-onboarding, native macOS/Windows/arm64 timing or purity, window, usable-composer, or combined-ticket gain is claimed. Cleanup preserves unknown, live, or no-link cache directories. Native macOS/Windows generation keeps its existing platform path with expanded declaration coverage; native timing/purity was not exercised here.

Outside this diff: desktop Vite entries share build-only generation code with startup code. Split that only if its parse cost is measured to matter.

Raw sanitized paired observations and analysis
{
  "baseline": "ade473018d32003658b7d38693e083ee2e314bd8",
  "candidate": "37aa1e1fedfe794155571d498f30cc894e5b91d1",
  "environment": {
    "os": "Ubuntu 24.04 x64 VM",
    "vcpus": 4,
    "memoryGB": 8,
    "format": "unsigned Linux directory",
    "fixture": "12 synthetic projects / 48 stopped synthetic threads",
    "cache": "warm OS pages, cold runtime code cache for every launch",
    "electron": "44.10.1",
    "embeddedNode": "24.22.1",
    "v8": "15.2.124.45-electron.0",
    "buildNode": "26.12.1",
    "pnpm": "12.14.0"
  },
  "pairs": [
    {
      "round": 0,
      "a": {
        "windowMs": 790.81134,
        "commandReadyMs": 1799.164879,
        "usableMs": 3819.036762,
        "profiled": false,
        "fixture": "returning",
        "started": "2026-11-08T14:56:49.734Z"
      },
      "b": {
        "windowMs": 656.723645,
        "commandReadyMs": 1360.678453,
        "usableMs": 2844.545808,
        "profiled": false,
        "fixture": "returning",
        "started": "2026-11-08T14:56:57.781Z"
      },
      "order": "AB"
    },
    {
      "round": 1,
      "a": {
        "windowMs": 660.8844110000001,
        "commandReadyMs": 1492.402286,
        "usableMs": 2390.125597,
        "profiled": false,
        "fixture": "returning",
        "started": "2026-11-08T14:57:10.772Z"
      },
      "b": {
        "windowMs": 648.655704,
        "commandReadyMs": 1416.7816950000001,
        "usableMs": 2393.3122200000003,
        "profiled": false,
        "fixture": "returning",
        "started": "2026-11-08T14:57:04.252Z"
      },
      "order": "BA"
    },
    {
      "round": 2,
      "a": {
        "windowMs": 695.483273,
        "commandReadyMs": 1661.623813,
        "usableMs": 2518.360963,
        "profiled": false,
        "fixture": "returning",
        "started": "2026-11-08T14:57:17.291Z"
      },
      "b": {
        "windowMs": 769.9729860000002,
        "commandReadyMs": 1435.4756419999999,
        "usableMs": 2252.863756,
        "profiled": false,
        "fixture": "returning",
        "started": "2026-11-08T14:57:26.635Z"
      },
      "order": "AB"
    },
    {
      "round": 3,
      "a": {
        "windowMs": 636.3734299999999,
        "commandReadyMs": 1602.083531,
        "usableMs": 2636.9604200000003,
        "profiled": false,
        "fixture": "returning",
        "started": "2026-11-08T14:57:39.003Z"
      },
      "b": {
        "windowMs": 957.611659,
        "commandReadyMs": 1684.4485400000003,
        "usableMs": 2659.113479,
        "profiled": false,
        "fixture": "returning",
        "started": "2026-11-08T14:57:32.473Z"
      },
      "order": "BA"
    },
    {
      "round": 4,
      "a": {
        "windowMs": 703.197289,
        "commandReadyMs": 1783.089553,
        "usableMs": 2736.4372399999997,
        "profiled": false,
        "fixture": "returning",
        "started": "2026-11-08T14:57:45.225Z"
      },
      "b": {
        "windowMs": 725.133219,
        "commandReadyMs": 1493.2473409999998,
        "usableMs": 2311.927809,
        "profiled": false,
        "fixture": "returning",
        "started": "2026-11-08T14:57:52.022Z"
      },
      "order": "AB"
    },
    {
      "round": 5,
      "a": {
        "windowMs": 591.021762,
        "commandReadyMs": 1443.3834509999997,
        "usableMs": 2326.9659899999997,
        "profiled": false,
        "fixture": "returning",
        "started": "2026-11-08T14:58:04.574Z"
      },
      "b": {
        "windowMs": 641.758172,
        "commandReadyMs": 1310.3598900000002,
        "usableMs": 2238.145061,
        "profiled": false,
        "fixture": "returning",
        "started": "2026-11-08T14:57:58.345Z"
      },
      "order": "BA"
    },
    {
      "round": 6,
      "a": {
        "windowMs": 711.4296039999999,
        "commandReadyMs": 1617.0525189999998,
        "usableMs": 2564.667688,
        "profiled": false,
        "fixture": "returning",
        "started": "2026-11-08T14:58:11.303Z"
      },
      "b": {
        "windowMs": 551.8010639999998,
        "commandReadyMs": 1323.6059460000001,
        "usableMs": 2281.5087120000003,
        "profiled": false,
        "fixture": "returning",
        "started": "2026-11-08T14:58:19.751Z"
      },
      "order": "AB"
    },
    {
      "round": 7,
      "a": {
        "windowMs": 564.2021960000001,
        "commandReadyMs": 1418.17157,
        "usableMs": 2313.067014,
        "profiled": false,
        "fixture": "returning",
        "started": "2026-11-08T14:58:32.280Z"
      },
      "b": {
        "windowMs": 563.481514,
        "commandReadyMs": 1266.923464,
        "usableMs": 2430.858984,
        "profiled": false,
        "fixture": "returning",
        "started": "2026-11-08T14:58:26.041Z"
      },
      "order": "BA"
    },
    {
      "round": 8,
      "a": {
        "windowMs": 578.8426049999999,
        "commandReadyMs": 1488.8939930000001,
        "usableMs": 2509.4821030000003,
        "profiled": false,
        "fixture": "returning",
        "started": "2026-11-08T14:58:38.587Z"
      },
      "b": {
        "windowMs": 743.3938090000001,
        "commandReadyMs": 1547.1101840000001,
        "usableMs": 2693.349567,
        "profiled": false,
        "fixture": "returning",
        "started": "2026-11-08T14:58:46.306Z"
      },
      "order": "AB"
    },
    {
      "round": 9,
      "a": {
        "windowMs": 546.695674,
        "commandReadyMs": 1409.623824,
        "usableMs": 2353.4563529999996,
        "profiled": false,
        "fixture": "returning",
        "started": "2026-11-08T14:58:58.874Z"
      },
      "b": {
        "windowMs": 583.5473960000002,
        "commandReadyMs": 1301.3618190000002,
        "usableMs": 2251.669177,
        "profiled": false,
        "fixture": "returning",
        "started": "2026-11-08T14:58:52.737Z"
      },
      "order": "BA"
    },
    {
      "round": 10,
      "a": {
        "windowMs": 572.144056,
        "commandReadyMs": 1475.0523320000002,
        "usableMs": 2360.655378,
        "profiled": false,
        "fixture": "returning",
        "started": "2026-11-08T14:59:05.182Z"
      },
      "b": {
        "windowMs": 579.5719660000001,
        "commandReadyMs": 1265.1239930000002,
        "usableMs": 2195.6974529999998,
        "profiled": false,
        "fixture": "returning",
        "started": "2026-11-08T14:59:11.735Z"
      },
      "order": "AB"
    },
    {
      "round": 11,
      "a": {
        "windowMs": 1044.333417,
        "commandReadyMs": 1915.034714,
        "usableMs": 2788.660135,
        "profiled": false,
        "fixture": "returning",
        "started": "2026-11-08T14:59:23.734Z"
      },
      "b": {
        "windowMs": 660.0385010000001,
        "commandReadyMs": 1388.2494659999998,
        "usableMs": 2274.971035,
        "profiled": false,
        "fixture": "returning",
        "started": "2026-11-08T14:59:17.880Z"
      },
      "order": "BA"
    },
    {
      "round": 12,
      "a": {
        "windowMs": 598.4716040000001,
        "commandReadyMs": 1544.443594,
        "usableMs": 2482.8042219999998,
        "profiled": false,
        "fixture": "returning",
        "started": "2026-11-08T14:59:30.708Z"
      },
      "b": {
        "windowMs": 552.11301,
        "commandReadyMs": 1277.101268,
        "usableMs": 2592.747856,
        "profiled": false,
        "fixture": "returning",
        "started": "2026-11-08T14:59:37.349Z"
      },
      "order": "AB"
    },
    {
      "round": 13,
      "a": {
        "windowMs": 673.4707960000001,
        "commandReadyMs": 1644.8521230000001,
        "usableMs": 2737.827681,
        "profiled": false,
        "fixture": "returning",
        "started": "2026-11-08T14:59:52.639Z"
      },
      "b": {
        "windowMs": 851.833079,
        "commandReadyMs": 1710.2063960000005,
        "usableMs": 2822.1231800000005,
        "profiled": false,
        "fixture": "returning",
        "started": "2026-11-08T14:59:46.110Z"
      },
      "order": "BA"
    },
    {
      "round": 14,
      "a": {
        "windowMs": 677.9820629999999,
        "commandReadyMs": 1718.132598,
        "usableMs": 2716.0764950000003,
        "profiled": false,
        "fixture": "returning",
        "started": "2026-11-08T14:59:58.993Z"
      },
      "b": {
        "windowMs": 681.316836,
        "commandReadyMs": 1573.503261,
        "usableMs": 2892.6272900000004,
        "profiled": false,
        "fixture": "returning",
        "started": "2026-11-08T15:00:05.662Z"
      },
      "order": "AB"
    },
    {
      "round": 15,
      "a": {
        "windowMs": 544.705371,
        "commandReadyMs": 1386.206271,
        "usableMs": 2223.814559,
        "profiled": false,
        "fixture": "returning",
        "started": "2026-11-08T15:00:20.492Z"
      },
      "b": {
        "windowMs": 619.691936,
        "commandReadyMs": 1361.286471,
        "usableMs": 2391.442046,
        "profiled": false,
        "fixture": "returning",
        "started": "2026-11-08T15:00:12.564Z"
      },
      "order": "BA"
    },
    {
      "round": 16,
      "a": {
        "windowMs": 527.264208,
        "commandReadyMs": 1433.3092820000002,
        "usableMs": 2334.707642,
        "profiled": false,
        "fixture": "returning",
        "started": "2026-11-08T15:00:26.961Z"
      },
      "b": {
        "windowMs": 671.4504399999998,
        "commandReadyMs": 1342.675279,
        "usableMs": 2266.537339,
        "profiled": false,
        "fixture": "returning",
        "started": "2026-11-08T15:00:33.277Z"
      },
      "order": "AB"
    },
    {
      "round": 17,
      "a": {
        "windowMs": 704.3450220000001,
        "commandReadyMs": 1660.406465,
        "usableMs": 2828.752261,
        "profiled": false,
        "fixture": "returning",
        "started": "2026-11-08T15:00:45.813Z"
      },
      "b": {
        "windowMs": 606.8518119999999,
        "commandReadyMs": 1239.1128419999998,
        "usableMs": 2188.656263,
        "profiled": false,
        "fixture": "returning",
        "started": "2026-11-08T15:00:39.556Z"
      },
      "order": "BA"
    },
    {
      "round": 18,
      "a": {
        "windowMs": 565.107023,
        "commandReadyMs": 1412.215588,
        "usableMs": 2351.215419,
        "profiled": false,
        "fixture": "returning",
        "started": "2026-11-08T15:00:52.486Z"
      },
      "b": {
        "windowMs": 508.08350900000005,
        "commandReadyMs": 1274.077151,
        "usableMs": 2182.594486,
        "profiled": false,
        "fixture": "returning",
        "started": "2026-11-08T15:00:58.874Z"
      },
      "order": "AB"
    },
    {
      "round": 19,
      "a": {
        "windowMs": 509.25815200000005,
        "commandReadyMs": 1415.483647,
        "usableMs": 2368.365288,
        "profiled": false,
        "fixture": "returning",
        "started": "2026-11-08T15:01:11.157Z"
      },
      "b": {
        "windowMs": 660.1692270000001,
        "commandReadyMs": 1486.923674,
        "usableMs": 2449.7146350000003,
        "profiled": false,
        "fixture": "returning",
        "started": "2026-11-08T15:01:05.122Z"
      },
      "order": "BA"
    }
  ],
  "analysis": {
    "windowMs": {
      "n": 20,
      "a": {
        "median": 617.422517,
        "p95": 790.81134
      },
      "b": {
        "median": 652.6896745,
        "p95": 851.833079
      },
      "pairedMedianDeltaMs": 14.681920000000105,
      "bootstrap95MedianDeltaMs": [
        -29.29365050000007,
        74.7381390000001
      ],
      "candidateFasterPairs": 8,
      "pairedDeltaMs": [
        -134.08769499999994,
        -12.2287070000001,
        74.48971300000017,
        321.23822900000016,
        21.9359300000001,
        50.73640999999998,
        -159.62854000000016,
        -0.7206820000001244,
        164.5512040000002,
        36.85172200000011,
        7.427910000000111,
        -384.29491599999994,
        -46.35859400000004,
        178.36228299999993,
        3.334773000000041,
        74.98656500000004,
        144.1862319999998,
        -97.4932100000002,
        -57.02351399999998,
        150.91107500000004
      ],
      "pairedQuartilesMs": [
        -54.35728399999999,
        14.681920000000105,
        126.88631524999985
      ],
      "middleHalfExcludesZero": false
    },
    "commandReadyMs": {
      "n": 20,
      "a": {
        "median": 1518.42294,
        "p95": 1799.164879
      },
      "b": {
        "median": 1360.982462,
        "p95": 1684.4485400000003
      },
      "pairedMedianDeltaMs": -141.38388699999996,
      "bootstrap95MedianDeltaMs": [
        -246.74524850000012,
        -83.127297
      ],
      "candidateFasterPairs": 16,
      "pairedDeltaMs": [
        -438.48642599999994,
        -75.62059099999988,
        -226.14817100000005,
        82.36500900000033,
        -289.84221200000025,
        -133.02356099999952,
        -293.4465729999997,
        -151.248106,
        58.21619099999998,
        -108.26200499999982,
        -209.92833900000005,
        -526.7852480000001,
        -267.3423260000002,
        65.35427300000038,
        -144.62933699999985,
        -24.919800000000123,
        -90.63400300000012,
        -421.29362300000025,
        -138.13843700000007,
        71.44002699999987
      ],
      "pairedQuartilesMs": [
        -284.21724050000023,
        -141.38388699999996,
        -37.59499775000006
      ],
      "middleHalfExcludesZero": true
    },
    "usableMs": {
      "n": 20,
      "a": {
        "median": 2496.1431625,
        "p95": 2828.752261
      },
      "b": {
        "median": 2351.6849275,
        "p95": 2844.545808
      },
      "pairedMedianDeltaMs": -78.4956159999997,
      "bootstrap95MedianDeltaMs": [
        -217.05907000000002,
        82.8224230000003
      ],
      "candidateFasterPairs": 11,
      "pairedDeltaMs": [
        -974.4909540000003,
        3.186623000000054,
        -265.4972069999999,
        22.153058999999757,
        -424.50943099999995,
        -88.82092899999952,
        -283.1589759999997,
        117.79196999999976,
        183.86746399999993,
        -101.78717599999936,
        -164.95792500000016,
        -513.6891,
        109.9436340000002,
        84.29549900000029,
        176.5507950000001,
        167.6274870000002,
        -68.17030299999988,
        -640.0959980000002,
        -168.62093300000015,
        81.34934700000031
      ],
      "pairedQuartilesMs": [
        -278.74353374999976,
        -78.4956159999997,
        103.53160025000022
      ],
      "middleHalfExcludesZero": false
    }
  },
  "limits": [
    "Only command readiness demonstrates improvement.",
    "Window and usable composer remain inconclusive.",
    "Not AppImage timing, warm-cache improvement, native macOS/Windows/arm64, or combined-ticket proof."
  ]
}

Built and reviewed with GPT 6.1 Sol, Claude Opus 5.5 and Grok 4.7 in T3 Code using Codex, Claude Agent SDK and Grok. Standard verification depth because release bytecode and cache lifetime cross native boundaries. PostPlan uses fallback black colors because the active host theme could not be read.