Current-main short desktop lifecycle: POSITIVE residual only

Exactly one attempt, 1/1, pinned runtime b35819caca83199aad1769f3f93f1c51888aaae4. Shared branch t3/reduce-client-ram and historical candidate HEAD 809da67723dd6dc46d87783cfddb0da6aa1e4466 preserved. No candidate runtime, source edits, stage, commit, push, issue, PR, council or extra workload.

Validity and provenance

Explicit lead gate released after predecessor try4 VALID and cleanup. One fresh large boat VM bx_26bfwpwn, 8 vCPU/16 GiB, TTL 5400 s, command timeout 4200 s. Forge launch PID 2338580, bench PID 2338581, exec session 32115; follower session 60569; read-only peek session 7393. Existing measure-lifecycle.sh SURFACE=desktop NAME=desktop executed using a byte-identical copy of ram-lifecycle-harness; private evidence record records each input. Analysis-tools copies reuse the existing graph and classifier. inspect-saved.mjs is offline path reporting on the same saved snapshot, not an added runtime collector.

Original validation-lifecycle.json is FAILED and remains unchanged. Trial exit 0, lifecycle original exit 1, overall command exit 1. The only failed original row is the aggregate “lifecycle ran to the end”: lifecycle returned 1 for repeated new-client-executable PID 16547. Both fresh pre-close.json and after-ttl.json show PID 16547 role server, apps/server/dist/bin.mjs, no --type, and server excluded from client totals. All other original lifecycle rows pass; the complete base workload checkset passes; endedAt exists. private evidence record checks fresh samples, all original rows, explicit attribution and anchors rather than accepting the helper Boolean. revalidate-lifecycle.mjs had only historical try2 offline exercise before this fresh run. Final collection validity is QUALIFIED VALID for this known server flag only; historical FAILED records are untouched.

Held anchors pre-close and post-TTL: window 784811, document 1134179, main process 7675, all nonzero and equal. Lifecycle ended 2026-11-13T22:27:22.673Z. Post-TTL point at 391.395 real seconds after home; intermediate offsets bracket the real 300 s TTL. No extra inspector attached during the held interval. Held inspector metadata and snapshot allocation affect memory; endpoint samples outside that held interval are separately labeled below.

Runtime versions: Node v26.12.1, pnpm 12.14.0, Electron 44.10.1, Linux 6.8.0-117-generic x86_64. versions.txt pins runtime and input hashes. Pinned-upstream actual plugin compilation mapping is copied in private evidence record (plugin 6.1.2, compiler 0.152.0, serve mode). Snapshot Script objects confirm the four current owner module URLs including useComposerFocus; V8 saved only 1024 source characters per module, so full compiler mapping is the existing pinned-upstream compilation, not a claim to recover full runtime source from the heap. The focus hook captures its composer ref and stable focus scheduling, not a historical ChatView focus closure.

Workload

Existing Replay synthetic corpus, 48 threads: 4 long, 32 short, 4 parents and 8 real children. Four streams; 180791 ms workload, 116 turns sent and completed, zero undrained. Drain 11120 ms; reported output window 191.911 s. Read-only database totals: 4388 items, 476 user messages, 952 assistant messages, 1688864 user characters, 234668 assistant characters, longest thread 316641 characters. Streaming output 57188 characters. This unchanged lifecycle corpus-db reports payloadBytes and characters, not streaming text UTF-8 bytes: exact output bytes are UNPROVEN; do not relabel payloadBytes or ASCII assumptions as measured text bytes. No new collector was added to close that reporting limit.

Owner classification and concrete paths

Verdict POSITIVE: a current-main obsolete-to-obsolete residual exists in these snapshots. Pre-close: 15 contexts per owner, 33 obsolete, max graph depth 18, 64165 exclusive bytes. Post-TTL: 19 contexts per owner, 39 obsolete (13 each), max graph depth 15, 84935 exclusive bytes (0.081 MiB). These are graph classifications in one lifecycle, not time-growth evidence or savings estimates. Maximum individual obsolete ladder dominator is 3896 bytes post-TTL; nested sizes overlap and are never summed.

Post-TTL actual root path to ChatView 3395825, saved in full in private evidence record:
GC roots → Global handles → NativeContext → Window → Document → mounted DOM __reactFiber → Fiber 5183905 → type ConversationTimeline → module context → keyExtractor → WeakMap key/value pair → Map 929503 → table → object.inputs → Array 5258411 → sharedState 2541611 → onImageExpand closure 935887 → wrapper context 2592025 → latest ref 3360681 → current t164 3360683 → ChatView context 3395825.

Actual outgoing obsolete links:
- ChatView 3395825 → context:onComposerSendStable → wrapper context → fn:onSendWithRouting → UCS context 3625229 (obsolete).
- ChatView 3395825 → context:handleSwitchCheckoutToThread(t18) → UTL context 4459531 (obsolete).
- UTL 4459531 → context:persistThreadSettingsForNextTurn(t121) → ChatView 3395825 (obsolete).
- ChatView 3395825 → context:setKeepFullHistory(t135) → ChatView 1163243 (obsolete).

Source mapping: ChatView.js:3278 wraps raw onSend using useStableCallback; ChatView.js:3416–3426 t164 is onExpandTimelineImage; ChatView.js:2667–2687 t135 is setKeepFullHistory; UTL.js:320–407 t18 is handleSwitchCheckoutToThread. t121 is the memoized persisted-settings callback. These names come from this snapshot and pinned current compilation, not old scope IDs. The full incoming-edge inventory includes t164, t136, t121, t38, t131, t155, t156, t91 and t51 closing over 3395825. The owner classifier traverses relevant strong owner paths rather than only the displayed shortest path; its saved ladderEdges/retains/retainedBy list alternate owner edges. There are no traversal-budget truncations, missing owners, weak-only owner contexts or in-flight warnings in either result. The report path is one concrete root witness, not a claim to enumerate every cyclic walk of the heap.

Legitimate holders remain classified separately. Pre-close live classes: ChatView 7 current/0 alternate; UTL 3/0; UCS 2/0. Post-TTL: ChatView 4 current/2 alternate; UTL 2/1 plus 3 memo leaves; UCS 2/1 plus 3 memo leaves. Both current and alternate ChatView fibers were identified in the committed tree; owner contexts are not blindly equated to fibers. Stable latest paths, current/alternate bodies and memo leaves are not counted as collectible bytes. No terminal pin or in-flight owner classification was reported. Post-home is a draft ChatView, so live current contexts are expected. Initial stable wrapper pins do not license their transitive obsolete raw links. The external timeline/list Map is an observed holder, not a newly approved cache/TTL target.

Limits: fixed short corpus only; no 30/60/hour comparison, no candidate, no material RAM bar, no C1 or fix pass, no statistical effect. Graph depth/count changes across navigation do not prove an unbounded leak. The old focus RED is historical and not used. The precise residual direction for a fresh council is the timeline-retained ChatView → raw UCS/UTL → persisted-settings ChatView bridge. It is not approval to adapt the candidate. NO NEW DIRECTION SUPPORTED for a different avoidable active owner: the top retained module/source objects below establish size, not avoidability. No broader hunt or speculative PR follows.

Process memory (MiB)

Fresh endpoint samples, before lifecycle hold and after lifecycle sessions ended. RSS is not additive physical memory; PSS is the additive attribution measure. Server/providers/build tools excluded from client totals. DevTools were closed. Roles absent from the measured process inventory are not silently counted as client.

Role Pre RSS before GC Pre PSS before GC Pre RSS after GC Pre PSS after GC Post RSS before GC Post PSS before GC Post RSS after GC Post PSS after GC
electron-main244.203156.741241.734154.272241.891154.403242.547155.060
renderer-app676.688604.827587.969516.108555.422490.076555.586490.240
gpu179.926102.948179.926102.948163.60993.182163.60993.182
utility83.91029.75183.95329.79483.88329.71383.88329.713
zygote104.81624.444104.81624.444104.81624.445104.81624.445
server452.160377.843452.207377.901358.387284.066358.449284.129
provider-agent5029.2381451.1305029.2381450.9925020.0511449.7495020.0511449.608
build-tool2613.3322284.1022613.3322284.1022613.3672284.1372613.3672284.137
client total1289.543918.7121198.398827.5671149.621791.8191150.441792.640
excluded total8094.7304113.0748094.7774112.9957991.8054017.9527991.8674017.874

Held lifecycle after-GC points are a different sampling interval: pre-close renderer V8 178.641 MiB and client PSS 826.665 MiB; post-TTL renderer V8 170.483 MiB and client PSS 980.742 MiB. Snapshot/id-map memory explains why held PSS and endpoint PSS must not be conflated. No difference is claimed as an optimization benefit.

Top actual retainers (MiB)

All identities are fresh within this held isolate. Root aggregates omitted; nested entries overlap. Full root paths remain in each original summary.

Process/object ID Pre retained Post retained
renderer system / Script / app/node_modules/.vite/deps/client-BbKUKddU.js?v=1d004a135910658.0728.072
renderer system / Script / app/node_modules/.vite/deps/effect.js?v=1d004a134400777.4067.406
renderer system / Script / app/node_modules/.vite/deps/lucide-react.js?v=1d004a132328076.9476.947
renderer system / Script / app/node_modules/.vite/deps/Schema-jO2_DT4h.js?v=1d004a133081436.7936.793
renderer import { t as __commonJSMin } from "/node_modules/.vite/deps/rolldown-runtime-BtDSRbSq.js?v=1d004a13"; import { t as ...2096295.9105.910
electron-main // \0rolldown/runtime.js var __create = Object.create; var __defProp = Object.defineProperty; var __getOwnPropDesc = ...9858911.81011.810
electron-main system / Context / scope @12441512441710.89110.904
electron-main ExitPrimitive2271755.9085.908
electron-main CauseImpl2271775.9085.908
electron-main Array5783535.9085.908

Renderer top roots are retained module scripts: client, Effect, Lucide and Schema; source strings sit below script structures and must not be added to their parents. Their concrete paths include DOM native roots and module-record resolver structures. Main source string 98589 is retained via process.cwd closure → SharedFunctionInfo → Script main.cjs → source. Main context 124417 is reached via process.cwd closure context → previous; its algorithmNotAllowed binding → ExitPrimitive 227175 → CauseImpl 227177 → Array 578353 forms a nested chain. These are measured top structures, without evidence here that they are obsolete, avoidable or growing. No new source hunt was made for them.

Measured charts

build-toolelectron-maingpuprovider-agentrenderer-appserverutilityzygoterole02004006008001,0001,2001,4001,6001,8002,0002,2002,400PSS after GC (MiB)after-ttlpre-closephaseCurrent-main short desktop lifecycleLarge boat VM • b35819c • one run • 2026-11-13 • MiB, no candidate comparison0246810MiBPre-close activePost-TTL8.07 MiB8.07 MiB 0.0%renderer #1 id 59106502468MiBPre-close activePost-TTL7.41 MiB7.41 MiB 0.0%renderer #2 id 44007702468MiBPre-close activePost-TTL6.95 MiB6.95 MiB 0.0%renderer #3 id 23280702468MiBPre-close activePost-TTL6.79 MiB6.79 MiB 0.0%renderer #4 id 3081430246MiBPre-close activePost-TTL5.91 MiB5.91 MiB 0.0%renderer #5 id 209629051015MiBPre-close activePost-TTL11.8 MiB11.8 MiB 0.0%electron-main #1 id 9858902468101214MiBPre-close activePost-TTL10.9 MiB10.9 MiB +0.1%electron-main #2 id 1244170246MiBPre-close activePost-TTL5.91 MiB5.91 MiB 0.0%electron-main #3 id 2271750246MiBPre-close activePost-TTL5.91 MiB5.91 MiB 0.0%electron-main #4 id 2271770246MiBPre-close activePost-TTL5.91 MiB5.91 MiB 0.0%electron-main #5 id 578353One b35819c lifecycle. Nested retainers overlap; do not add these values. IDs belong to this held isolate only.Top retained objects in saved heaps

Cleanup confirmed: zero owned app-tree survivors; owned VM absent; all command and analysis sessions ended. Shared historical candidate preserved. Report uses fallback black and system fonts because active host theme was not read.