Repository navigation
Description
Context
The host turn lifecycle record (createTurnLifecycle, packages/ui-server/src/activity/turn-lifecycle.ts:7-49; durations in lifecycleTiming, packages/ui-server/src/activity/turn-lifecycle.ts:52-65) on a hosted 0.44.0 install with managed native storage shows that every governed Claude turn spends seconds in host phases before the backend is invoked. The first turn of a session after the server has been idle is the worst. Observed ranges over one day of interactive turns, all governed:
| Phase | First turn after idle (4 of 9 new sessions) | Other first turns | Follow-up turns |
|---|---|---|---|
governedAdmissionMs |
1.5–7.3 s | 1.5–3.5 s | 1.4–3.8 s, median about 1.9 s |
journalBeginMs |
10.0–11.0 s | 0.3–2.4 s | 0.4–1.1 s |
budgetAdmissionMs |
33–580 ms | 10–240 ms | 8–67 ms |
backendStartupMs |
130–350 ms | 90–140 ms | 75–310 ms |
timeToFirstFrameMs |
12.8–18.1 s | 1.9–4.6 s | 2.4–5.2 s |
The model's first text then takes another 2.5–12 s, so a new chat opened after a quiet period shows nothing for 15–25 s. The user reports that sessions "still start with a delay".
Two separate costs:
- Cold
journalBeginMsof about 10 s on the first turn after idle. Warm, it is under 1 s. governedAdmissionMsof about 2 s on every turn, warm or cold. ui-server: a governed turn's admission records commit on the write worker #2995 moved admission's record commits to the write worker; what remains is unattributed.
A single turn waited 62 s in queueWaitMs behind the same session's running turn; that is expected queuing and not part of this issue.
What each phase contains (source at 3984040f1)
governedAdmissionMs is governedStartedAt → governedAcquiredAt (packages/ui-server/src/ws/run-session.ts:528-540). It covers, in order:
- the backend's
inferenceOrigin()lookup, which runs before admission begins (const inferenceOrigin = host.governedTurns,packages/ui-server/src/ws/run-session.ts:534-535); governedTurns.begin(packages/ui-server/src/brain/governed-turn.ts:145-334): the writer-gate acquire (line 152), a native startup checkpoint (prepareNativeWorkerStartupView, line 165),boundary.prepare, provider type translation when the policy has type selectors, exposure settlement, folder retention, sandbox resolution (line 229), a possible second checkpoint when a writable root is missing (line 237), peer folder-plan waits, a private index when folders are masked (line 279), the turn data tree for strict or masked turns (line 295),recordPolicy, exposure records andmanifests.beginfor governed turns (line 320).
journalBeginMs is journalStartedAt → journalBeganAt (packages/ui-server/src/ws/run-session.ts:555-567), the journal's begin (packages/ui-server/src/brain/turn-journal.ts:418-454). Inside it:
- the wait for the journal's serialized hold (
held,packages/ui-server/src/brain/turn-journal.ts:232-252); capture.initialize: once per process, a native checkpoint plus a full metadata walk of the brain (initialize,packages/ui-server/src/brain/native-journal-observer.ts:342-358);observe(): a new checkpoint, the native delta from the last observed checkpoint and a metadata read of every changed path (prepare,packages/ui-server/src/brain/native-journal-observer.ts:359-462). The periodic observation stops when no turn is active (packages/ui-server/src/brain/turn-journal.ts:553), so the first turn after idle observes everything that changed while no turn ran (sync, cron maintenance, edits);- expiry of every turn that ended more than 30 days ago (
RETENTION_MS,packages/ui-server/src/brain/turn-journal.ts:26; loop at lines 428-429), each with its own write andcollectObjectscall. After a quiet period the backlog is expired on the next turn's path; - the turn row insert and
capture.policy.
From source, the cold candidates are therefore the first-in-process full walk, an idle-sized delta, the expiry backlog and hold contention. The data above cannot tell them apart; this is an inference, not an observation.
Scope
- Attribute both phases with sub-phase timings recorded in the lifecycle record, not by ad-hoc logging. Cover at least the parts listed above: for admission, the inference-origin lookup, gate acquire, startup checkpoint(s), boundary prepare, sandbox resolution, private index, data tree and record commits; for journal begin, hold wait, initialize, observe (checkpoint, delta, metadata reads), expiry and policy.
- Extend the native proof harness's
--observation-timingmeasurement (const observationTiming,scripts/prove-native-host.ts:49;scripts/native-proof/hosted-app.test.ts) with cold scenarios: (a) the first governed turn after server start; (b) the first turn after a few hundred files changed in the brain while no turn was active; (c) the first turn with a backlog of turns past retention. - Cut cold
journalBeginMsto the warm range by moving the cold work off the turn path. Examples that keep the journal's semantics: initialize at boot, keep observing while no turn is active, or expire on a background path. If the only remedy changes what the journal records or attributes, stop and ask for a ruling on this issue instead. - Cut warm
governedAdmissionMs, or record why each remaining sub-phase is needed.
Out of scope
- Model latency after
firstFrameAt. - Pi backend start-up (backends: Pi takes 6–8.5 s to its first frame on every turn, with no phase breakdown #2023, closed).
- Queue waits behind a running turn in the same session.
- Journal finish cost and the native observation's writer hold (ui-server: attribute and cut the native observation's remaining writer hold and journal finish after #2872 #2915).
- Changing what the journal records, attributes or retains.
Acceptance criteria
-
ActivityTurnLifecyclecarries additive sub-phase timings for governed admission and journal begin, using the same null and failure rules as the existing milestones. A unit test asserts each sub-phase is recorded and that the sub-phases fall within their phase. - The harness measures cold scenarios (a)–(c) and five warm turns, and writes the sub-phases to its timing artifact.
- In every cold scenario the harness reproduces,
journalBeginMsis within 2× the warm median after the change, shown by before/after receipts in the PR. If a scenario does not reproduce a cold cost, the PR says so with its numbers. - Warm
governedAdmissionMsis lower in the receipts, or the PR lists every remaining sub-phase over 100 ms with the reason it must stay on the turn path. -
docs/integration-contract/wire.md("Host turn lifecycle", line 499) describes the new fields.
Verification
bun run test packages/ui-server/tests/for the lifecycle tests the PR touches.bun scripts/prove-native-host.ts --backend=claude --observation-timing(needs the native proof image fromscripts/native-proof/Dockerfile), before and after: tables of the lifecycle phases and sub-phases for each cold scenario and five warm turns.- Optional: a hosted install with managed native storage confirms which sub-phase dominates there, using the new fields.
Contract impact
Additive contract change. ActivityTurnLifecycle (packages/ui-sdk/src/protocol.ts:3132) is part of the wire contract (docs/integration-contract/wire.md, "Host turn lifecycle (additive)"). New fields are optional and additive: update that section in the same commit, prefix the commit CONTRACT:, label the PR contract, and ship it in a minor.
2026-11-02 triage: read the code behind both phases at 3984040f1 and listed each phase's contents with citations. Added the harness cold scenarios and a stop rule for any remedy that changes journal semantics. Corrected contract impact: the record is wire contract, so new fields are an additive CONTRACT: change. Replaced "needs scoping": the first deliverable is the attribution, and the fix follows from it.
Native verification complete — 2026-11-05
Native verification complete — #3355, 2026-11-05.
Before 2bb182442ad6b54edded1b06af94e687432c9dc8; after #3386 merge b7b087d3bab444c071f943157c0c4f62df7a7e9b. Both exact clean revisions ran bun scripts/prove-native-host.ts --backend=claude --observation-timing on local root Docker, both application UIDs, exit 0. The unchanged timing harness produced the three scenarios and five warm turns per cell. The four native cells passed 8 tests total, 0 failures/skips, with complete owned-loop/mount/backing cleanup and unchanged runner quota. The focused after-revision lifecycle/admission/idle-maintenance run also passed: 20 tests, 182 assertions, 0 failures/skips.
Journal begin, milliseconds:
| Application UID | Scenario | Before | After | After warm median | After limit (2× warm) |
|---|---|---|---|---|---|
| 1000 | First after server start | 390 | 89 | 84 | 168 |
| 1000 | After 300 idle changes | 168 | 80 | 84 | 168 |
| 1000 | With 30 expired turns | 400 | 88 | 84 | 168 |
| 0 | First after server start | 286 | 83 | 85 | 170 |
| 0 | After 300 idle changes | 173 | 79 | 85 | 170 |
| 0 | With 30 expired turns | 404 | 84 | 85 | 170 |
Every after scenario satisfies the 2× warm criterion. Startup and retention costs reproduce in both baseline cells: journal.initialize was 258/200 ms and journal.expiry 327/323 ms (UID 1000/0). The 300-file scenario is a smaller effect: UID 1000 baseline 168 ms is below 2× its 91 ms warm median; UID 0 baseline 173 ms is just above 2× its 84 ms warm median. No baseline cell reproduces the reported 10-second hosted cost; these are fixture-specific native receipts, not a production measurement.
Warm governed admission medians: UID 1000 166 → 152 ms; UID 0 155 → 155 ms. The latter is unchanged. No governed sub-phase exceeds 100 ms in any of the ten after warm turns. Thus there is no remaining >100 ms warm step needing a cut or exception. The small median reduction in one UID is an observation, not evidence of a separate governed-admission optimization.
The remaining warm work is accounted for by the full receipt. Per-step after medians (UID 1000 / UID 0, ms): startup checkpoint 64/65; startup-view cleanup 62/59; gate acquire 14/14; manifest begin 5/5; policy record 5/5; boundary prepare 2/1; sandbox resolve 1/1; folder retention 1/1. Inference-origin lookup, exposure settlement and exposure records are 0/0 at millisecond resolution; inapplicable private-index/data-tree/type-selection steps are absent. A zero here is a measured duration, not a missing step.
These steps retain their current boundary roles: the gate excludes conflicting writers/reverts; the native checkpoint seals current execution inputs; boundary and sandbox resolution establish the current qualified masks; policy and protected-path manifests commit before execution; cleanup releases the admission checkpoint so its space is not retained. Source at the measured after revision: begin, packages/ui-server/src/brain/governed-turn.ts:147-342; prepareNativeWorkerStartupView, packages/ui-sdk/src/server/worker-startup-view.ts:98-138; createGovernedManifests, packages/ui-server/src/brain/governed-manifest.ts:217-271.
For completeness, the UID 1000 cold idle-change scenario has a 1063 ms governed gate_acquire (1238 ms admission total); it is not hidden in the journal result or described as a warm sample. The receipt attributes this wait to gate acquisition, but does not establish which peer held it. The requested warm measurements have no >100 ms step and all cold journal measurements pass.
The implementation remains #3386; no additional source change or PR was needed. Its merge is an ancestor of fetched main ee352a52442cac4d494c39b5b838666aa891550b. Later source edits preserve journal idle initialization/observation/expiry; the receipts retain their exact after revision and do not claim a new current-main or hosted-CI proof. ActivityTurnLifecycle.subPhases and the wire documentation are already delivered by that PR; the focused tests validate phase containment and failure/null rules. Existing mutation receipts remain in #3386; this invocation made no new source mutation.
Release attribution remains 0.45.0 on both #3355 and #3386. Registry latest @schlessera/brain-ui-server is 0.44.0 and no local published tag contains the implementation, so verification does not retarget the upcoming minor. AppArmor enforcement was unavailable on this Docker runtime and is not claimed. No release, deployment or paid-provider experiment was performed.
Criteria 1–5 and the remaining native verification are complete. Closing #3355 after posting both full admission receipts. Claim wi-3355-local-20261105 ends with this outcome; the closed assignment may remain as history.
Full native admission receipts: before, after. Both include every scenario, five warm turns, all phases/sub-phases and cleanup qualification.
Activity
schlessera commentedon Nov 2, 2026
Triage (2026-11-02, source at
3984040f1).governedAdmissionMsalso includes the backend'sinferenceOrigin()lookup, which runs before admission begins.journalBeginMscandidates, found by reading the source (not measured):--observation-timing, which times journal begin. The scope extends it with three cold scenarios, so the before/after receipts need no hosted install.ActivityTurnLifecycleis part of the wire contract (docs/integration-contract/wire.md, "Host turn lifecycle"). New sub-phase fields are an additiveCONTRACT:change and need thecontractPR label.priority: p2kept, and the parent epic Epic: productive, governed interactive and voice turns #1636 kept. Addedagent-ready.schlessera commentedon Nov 2, 2026
Claiming (token
wi-3355-b7f2). Branchperf/3355-cold-turn-admissionfromorigin/mainat3984040f1. Collision scan: path overlap ondocs/integration-contract/wire.mdwith drafts #3056 and #3059; closure-only reports otherwise.schlessera commentedon Nov 2, 2026
Partial delivery: #3386 (draft, ready to confirm;
Refs).ActivityTurnLifecycle.subPhases(additiveCONTRACT:) times each step of governed admission and journal begin. The record's next milestone write carries the steps, so timing adds no write to the turn path. Unit and mutation receipts are in the PR.journalBeginMsbefore → after:initialize765 → 0)expiry481 → 0)--observation-timingnow measures (a)–(c) and five warm turns.Still open: the native before/after runs (criterion 3) and warm
governedAdmissionMsattribution (criterion 4). They need the native proof image, which cannot run where this was built. The exact steps are under "Human verification remaining" in the body. Labelledneeds: human;agent-readyremoved.CONTRACT: feat(ui-server): attribute admission to timed steps and pre…
1 remaining item
schlessera commentedon Nov 4, 2026
Claiming the remaining verification for #3355 (token
wi-3355-cdedb4f5-20261104) on branchchore/work-issue-3355. #3386 is merged atb7b087d3bab444c071f943157c0c4f62df7a7e9b; no open implementation PR references this issue. The requested before revision is2bb182442. Collision scan reports no path overlap and 15 closure overlaps; this invocation is verification-only unless the measurements establish a scoped change.The current runtime prerequisite check differs from the earlier access note. I am reconciling that evidence before attempting native measurements; no timing or cleanup qualification is claimed.
schlessera commentedon Nov 4, 2026
Verification handoff (2026-11-04, claim
wi-3355-cdedb4f5-20261104).#3386 is merged and its merge commit is on fetched main. This invocation changed no source and opened no PR: the remaining deliverable is native evidence for criteria 3 and 4.
The exact harness command exited 1 before fixture launch because the native proof image is absent. Further checks found only rootless Docker, no root Docker socket, denied loop-control access and denied noninteractive sudo. The linked fallback is unreachable because its runtime mode is broader than the parent permits. These findings supersede the earlier access note for this invocation only; they are not timing results or evidence against the journal fix.
The body now preserves the earlier preflight and gives the current blocker, exact before/after SHAs, command, required artifacts, acceptance thresholds and action needed to resume. Applied
needs: human, removedagent-ready, and retained milestone 0.45.0. Restore access to the qualified native runtime (or restore the permitted fallback connection); an agent can then run the measurements. No owned native resource was created. Releasing this invocation's assignment; no partial code or new worktree needs recovery.schlessera commentedon Nov 4, 2026
Claiming the remaining native verification for #3355 (token
wi-3355-local-20261105) on branchchore/work-issue-3355. Local root Docker now has the prepared native proof image, readable/writable loop-control, unused loop1790 and Btrfs support. The body records this current access evidence; previous access failures remain historical.No open implementation PR references #3355. Verification will use isolated clean before/after checkouts at
2bb182442ad6b54edded1b06af94e687432c9dc8andb7b087d3bab444c071f943157c0c4f62df7a7e9b, both application UIDs and complete owned cleanup. No implementation change is assumed. The initial collision scan is unknown because the starting checkout's installed TypeScript cannot loadModuleResolutionKind.Bundler; it will be rerun with independent dependencies in the verification checkout before any source change.schlessera commentedon Nov 4, 2026
Native #3355 before receipt — 2026-11-05.
Source
2bb182442ad6b54edded1b06af94e687432c9dc8, clean dedicated checkout; Bun 1.4.2. Command:bun scripts/prove-native-host.ts --backend=claude --observation-timing. Both UID cells passed, exit 0. The unchanged harness measures startup, 300 idle file changes, 30 expired turns, two 65-second idle waits and five warm turns.Root Docker, Linux x86_64, kernel
6.18.54.1-microsoft-standard-WSL2, imagesha256:6a7534cc6ddfd192da8006544170aa8660844d536846addaa5f8c645e599944a, btrfs-progs 6.6.3, bubblewrap 0.9.0. Fixture network isnone; provider is the keyless loopback fixture. No AppArmor enforcement was available or qualified.Each cell proved: mounted=false, attached=false, loopCreated=false, backingExists=false, errors=[], owned removal outcome=removed, unchanged runner user-namespace quota. Runs were serialized on the exact harness-owned loop.
Application UID 1000
Timing artifact SHA-256:
90d5010e6e667e3340c0765a13c9274d095a228ce7f9d20c9944d13d25a32241.Complete
admissionsection fromobservation-timing.json(all phase durations and every recorded sub-phase, milliseconds):{ "idleWaitMs": 65000, "idleChanges": 300, "backlogTurns": 30, "warmMedian": { "governedAdmissionMs": 166, "journalBeginMs": 91 }, "scenarios": { "firstAfterStart": { "turnId": "e22567fd-69ef-47d0-91e8-d383376ab0f7", "queueWaitMs": 1671, "governedAdmissionMs": 298, "budgetAdmissionMs": 16, "journalBeginMs": 390, "backendStartupMs": 91, "timeToFirstFrameMs": 905, "steps": { "governed.inference_origin": 1, "governed.gate_acquire": 14, "governed.startup_checkpoint": 104, "governed.boundary_prepare": 1, "governed.exposure_settle": 0, "governed.folder_retention": 1, "governed.sandbox_resolve": 66, "governed.record_policy": 7, "governed.startup_view_cleanup": 92, "governed.exposure_records": 1, "governed.manifest_begin": 8, "journal.hold_wait": 1, "journal.initialize": 258, "journal.observe": 106, "journal.observe_checkpoint": 94, "journal.observe_delta": 7, "journal.observe_metadata": 1, "journal.observe_capture": 0, "journal.observe_record": 0, "journal.observe_commit": 1, "journal.expiry": 0, "journal.turn_insert": 20, "journal.policy": 5 } }, "idleChanges": { "turnId": "5379130e-9b15-4327-a3af-9ce15b8b33fa", "queueWaitMs": 849, "governedAdmissionMs": 204, "budgetAdmissionMs": 10, "journalBeginMs": 168, "backendStartupMs": 56, "timeToFirstFrameMs": 512, "steps": { "governed.inference_origin": 1, "governed.gate_acquire": 9, "governed.startup_checkpoint": 62, "governed.boundary_prepare": 2, "governed.exposure_settle": 0, "governed.folder_retention": 7, "governed.sandbox_resolve": 53, "governed.record_policy": 5, "governed.startup_view_cleanup": 61, "governed.exposure_records": 0, "governed.manifest_begin": 4, "journal.hold_wait": 0, "journal.initialize": 0, "journal.observe": 155, "journal.observe_checkpoint": 63, "journal.observe_delta": 15, "journal.observe_metadata": 76, "journal.observe_capture": 0, "journal.observe_record": 0, "journal.observe_commit": 0, "journal.expiry": 0, "journal.turn_insert": 11, "journal.policy": 2 } }, "retentionBacklog": { "turnId": "a922f0bf-0c2d-402b-94ed-5c8bc297af04", "queueWaitMs": null, "governedAdmissionMs": 193, "budgetAdmissionMs": 10, "journalBeginMs": 400, "backendStartupMs": 55, "timeToFirstFrameMs": 726, "steps": { "governed.inference_origin": 0, "governed.gate_acquire": 10, "governed.startup_checkpoint": 61, "governed.boundary_prepare": 2, "governed.exposure_settle": 0, "governed.folder_retention": 1, "governed.sandbox_resolve": 49, "governed.record_policy": 5, "governed.startup_view_cleanup": 59, "governed.exposure_records": 0, "governed.manifest_begin": 6, "journal.hold_wait": 0, "journal.initialize": 0, "journal.observe": 66, "journal.observe_checkpoint": 60, "journal.observe_delta": 3, "journal.observe_metadata": 3, "journal.observe_capture": 0, "journal.observe_record": 0, "journal.observe_commit": 0, "journal.expiry": 327, "journal.turn_insert": 5, "journal.policy": 2 } } }, "warm": [ { "turnId": "64e3ddcd-079c-4a90-9fb9-20928ff424fb", "queueWaitMs": 1012, "governedAdmissionMs": 226, "budgetAdmissionMs": 15, "journalBeginMs": 151, "backendStartupMs": 63, "timeToFirstFrameMs": 568, "steps": { "governed.inference_origin": 0, "governed.gate_acquire": 22, "governed.startup_checkpoint": 96, "governed.boundary_prepare": 1, "governed.exposure_settle": 0, "governed.folder_retention": 1, "governed.sandbox_resolve": 1, "governed.record_policy": 7, "governed.startup_view_cleanup": 91, "governed.exposure_records": 0, "governed.manifest_begin": 7, "journal.hold_wait": 0, "journal.initialize": 0, "journal.observe": 128, "journal.observe_checkpoint": 123, "journal.observe_delta": 4, "journal.observe_metadata": 1, "journal.observe_capture": 0, "journal.observe_record": 0, "journal.observe_commit": 0, "journal.expiry": 1, "journal.turn_insert": 19, "journal.policy": 2 } }, { "turnId": "418e9f5a-1876-4695-b3b9-f4a0e2770fb2", "queueWaitMs": 1341, "governedAdmissionMs": 754, "budgetAdmissionMs": 10, "journalBeginMs": 91, "backendStartupMs": 64, "timeToFirstFrameMs": 1002, "steps": { "governed.inference_origin": 0, "governed.gate_acquire": 73, "governed.startup_checkpoint": 130, "governed.boundary_prepare": 2, "governed.exposure_settle": 0, "governed.folder_retention": 1, "governed.sandbox_resolve": 1, "governed.record_policy": 477, "governed.startup_view_cleanup": 64, "governed.exposure_records": 0, "governed.manifest_begin": 6, "journal.hold_wait": 0, "journal.initialize": 0, "journal.observe": 77, "journal.observe_checkpoint": 72, "journal.observe_delta": 4, "journal.observe_metadata": 0, "journal.observe_capture": 0, "journal.observe_record": 0, "journal.observe_commit": 1, "journal.expiry": 0, "journal.turn_insert": 10, "journal.policy": 3 } }, { "turnId": "01a8d090-cfcd-4bae-9698-8a67c33033f4", "queueWaitMs": 788, "governedAdmissionMs": 148, "budgetAdmissionMs": 10, "journalBeginMs": 95, "backendStartupMs": 84, "timeToFirstFrameMs": 420, "steps": { "governed.inference_origin": 0, "governed.gate_acquire": 13, "governed.startup_checkpoint": 61, "governed.boundary_prepare": 3, "governed.exposure_settle": 0, "governed.folder_retention": 0, "governed.sandbox_resolve": 2, "governed.record_policy": 4, "governed.startup_view_cleanup": 58, "governed.exposure_records": 0, "governed.manifest_begin": 5, "journal.hold_wait": 0, "journal.initialize": 0, "journal.observe": 79, "journal.observe_checkpoint": 73, "journal.observe_delta": 5, "journal.observe_metadata": 1, "journal.observe_capture": 0, "journal.observe_record": 0, "journal.observe_commit": 0, "journal.expiry": 0, "journal.turn_insert": 11, "journal.policy": 4 } }, { "turnId": "8d28ee24-0b07-4a97-a0ef-3719d995bf4b", "queueWaitMs": 760, "governedAdmissionMs": 166, "budgetAdmissionMs": 10, "journalBeginMs": 88, "backendStartupMs": 68, "timeToFirstFrameMs": 428, "steps": { "governed.inference_origin": 0, "governed.gate_acquire": 15, "governed.startup_checkpoint": 76, "governed.boundary_prepare": 2, "governed.exposure_settle": 0, "governed.folder_retention": 1, "governed.sandbox_resolve": 1, "governed.record_policy": 5, "governed.startup_view_cleanup": 61, "governed.exposure_records": 0, "governed.manifest_begin": 5, "journal.hold_wait": 0, "journal.initialize": 0, "journal.observe": 73, "journal.observe_checkpoint": 67, "journal.observe_delta": 4, "journal.observe_metadata": 2, "journal.observe_capture": 0, "journal.observe_record": 0, "journal.observe_commit": 0, "journal.expiry": 0, "journal.turn_insert": 11, "journal.policy": 3 } }, { "turnId": "bfb46970-80e8-496e-bd11-9a87a96d4f0b", "queueWaitMs": 755, "governedAdmissionMs": 151, "budgetAdmissionMs": 10, "journalBeginMs": 84, "backendStartupMs": 72, "timeToFirstFrameMs": 393, "steps": { "governed.inference_origin": 0, "governed.gate_acquire": 13, "governed.startup_checkpoint": 66, "governed.boundary_prepare": 1, "governed.exposure_settle": 0, "governed.folder_retention": 0, "governed.sandbox_resolve": 1, "governed.record_policy": 5, "governed.startup_view_cleanup": 59, "governed.exposure_records": 0, "governed.manifest_begin": 4, "journal.hold_wait": 0, "journal.initialize": 0, "journal.observe": 70, "journal.observe_checkpoint": 65, "journal.observe_delta": 4, "journal.observe_metadata": 0, "journal.observe_capture": 0, "journal.observe_record": 0, "journal.observe_commit": 0, "journal.expiry": 0, "journal.turn_insert": 11, "journal.policy": 3 } } ] }Application UID 0
Timing artifact SHA-256:
4b4b10b1505668d81fcdcccc1c114f59a492b902211d37d5163292fdf58c5e1c.Complete
admissionsection fromobservation-timing.json(all phase durations and every recorded sub-phase, milliseconds):{ "idleWaitMs": 65000, "idleChanges": 300, "backlogTurns": 30, "warmMedian": { "governedAdmissionMs": 155, "journalBeginMs": 84 }, "scenarios": { "firstAfterStart": { "turnId": "240db5c9-e1cb-474d-8743-74213c70dcc5", "queueWaitMs": 1207, "governedAdmissionMs": 207, "budgetAdmissionMs": 10, "journalBeginMs": 286, "backendStartupMs": 77, "timeToFirstFrameMs": 668, "steps": { "governed.inference_origin": 0, "governed.gate_acquire": 9, "governed.startup_checkpoint": 69, "governed.boundary_prepare": 1, "governed.exposure_settle": 0, "governed.folder_retention": 1, "governed.sandbox_resolve": 53, "governed.record_policy": 6, "governed.startup_view_cleanup": 58, "governed.exposure_records": 0, "governed.manifest_begin": 6, "journal.hold_wait": 1, "journal.initialize": 200, "journal.observe": 71, "journal.observe_checkpoint": 61, "journal.observe_delta": 6, "journal.observe_metadata": 0, "journal.observe_capture": 1, "journal.observe_record": 0, "journal.observe_commit": 0, "journal.expiry": 0, "journal.turn_insert": 10, "journal.policy": 4 } }, "idleChanges": { "turnId": "39798106-587b-481a-9ab5-5d0053abc574", "queueWaitMs": 871, "governedAdmissionMs": 212, "budgetAdmissionMs": 10, "journalBeginMs": 173, "backendStartupMs": 66, "timeToFirstFrameMs": 535, "steps": { "governed.inference_origin": 0, "governed.gate_acquire": 10, "governed.startup_checkpoint": 74, "governed.boundary_prepare": 4, "governed.exposure_settle": 0, "governed.folder_retention": 4, "governed.sandbox_resolve": 53, "governed.record_policy": 5, "governed.startup_view_cleanup": 57, "governed.exposure_records": 0, "governed.manifest_begin": 5, "journal.hold_wait": 0, "journal.initialize": 0, "journal.observe": 158, "journal.observe_checkpoint": 67, "journal.observe_delta": 16, "journal.observe_metadata": 74, "journal.observe_capture": 0, "journal.observe_record": 0, "journal.observe_commit": 0, "journal.expiry": 0, "journal.turn_insert": 11, "journal.policy": 3 } }, "retentionBacklog": { "turnId": "acf181dd-6e8c-4122-aa8a-e8659973f386", "queueWaitMs": 1114, "governedAdmissionMs": 197, "budgetAdmissionMs": 10, "journalBeginMs": 404, "backendStartupMs": 62, "timeToFirstFrameMs": 748, "steps": { "governed.inference_origin": 0, "governed.gate_acquire": 10, "governed.startup_checkpoint": 65, "governed.boundary_prepare": 1, "governed.exposure_settle": 0, "governed.folder_retention": 0, "governed.sandbox_resolve": 51, "governed.record_policy": 6, "governed.startup_view_cleanup": 58, "governed.exposure_records": 1, "governed.manifest_begin": 4, "journal.hold_wait": 0, "journal.initialize": 0, "journal.observe": 74, "journal.observe_checkpoint": 69, "journal.observe_delta": 4, "journal.observe_metadata": 1, "journal.observe_capture": 0, "journal.observe_record": 0, "journal.observe_commit": 0, "journal.expiry": 323, "journal.turn_insert": 5, "journal.policy": 2 } } }, "warm": [ { "turnId": "2cd8506a-5385-4cb7-be54-124d49715cc3", "queueWaitMs": 702, "governedAdmissionMs": 155, "budgetAdmissionMs": 9, "journalBeginMs": 81, "backendStartupMs": 58, "timeToFirstFrameMs": 390, "steps": { "governed.inference_origin": 0, "governed.gate_acquire": 15, "governed.startup_checkpoint": 63, "governed.boundary_prepare": 2, "governed.exposure_settle": 0, "governed.folder_retention": 0, "governed.sandbox_resolve": 1, "governed.record_policy": 5, "governed.startup_view_cleanup": 63, "governed.exposure_records": 1, "governed.manifest_begin": 5, "journal.hold_wait": 0, "journal.initialize": 0, "journal.observe": 69, "journal.observe_checkpoint": 64, "journal.observe_delta": 3, "journal.observe_metadata": 1, "journal.observe_capture": 0, "journal.observe_record": 0, "journal.observe_commit": 1, "journal.expiry": 0, "journal.turn_insert": 10, "journal.policy": 2 } }, { "turnId": "8b61fa19-0e05-479c-b620-0036aae6550f", "queueWaitMs": 731, "governedAdmissionMs": 155, "budgetAdmissionMs": 10, "journalBeginMs": 83, "backendStartupMs": 65, "timeToFirstFrameMs": 401, "steps": { "governed.inference_origin": 0, "governed.gate_acquire": 15, "governed.startup_checkpoint": 65, "governed.boundary_prepare": 2, "governed.exposure_settle": 0, "governed.folder_retention": 0, "governed.sandbox_resolve": 2, "governed.record_policy": 5, "governed.startup_view_cleanup": 60, "governed.exposure_records": 0, "governed.manifest_begin": 5, "journal.hold_wait": 0, "journal.initialize": 0, "journal.observe": 71, "journal.observe_checkpoint": 67, "journal.observe_delta": 3, "journal.observe_metadata": 1, "journal.observe_capture": 0, "journal.observe_record": 0, "journal.observe_commit": 0, "journal.expiry": 0, "journal.turn_insert": 8, "journal.policy": 4 } }, { "turnId": "08b330b5-3336-4813-937c-b9ea0d3d10f5", "queueWaitMs": 697, "governedAdmissionMs": 148, "budgetAdmissionMs": 9, "journalBeginMs": 84, "backendStartupMs": 65, "timeToFirstFrameMs": 380, "steps": { "governed.inference_origin": 0, "governed.gate_acquire": 14, "governed.startup_checkpoint": 63, "governed.boundary_prepare": 1, "governed.exposure_settle": 0, "governed.folder_retention": 1, "governed.sandbox_resolve": 1, "governed.record_policy": 5, "governed.startup_view_cleanup": 58, "governed.exposure_records": 0, "governed.manifest_begin": 5, "journal.hold_wait": 1, "journal.initialize": 0, "journal.observe": 69, "journal.observe_checkpoint": 65, "journal.observe_delta": 3, "journal.observe_metadata": 1, "journal.observe_capture": 0, "journal.observe_record": 0, "journal.observe_commit": 0, "journal.expiry": 0, "journal.turn_insert": 10, "journal.policy": 3 } }, { "turnId": "f4bce458-bc1b-4069-a122-b2241b4d881d", "queueWaitMs": 722, "governedAdmissionMs": 156, "budgetAdmissionMs": 9, "journalBeginMs": 85, "backendStartupMs": 59, "timeToFirstFrameMs": 398, "steps": { "governed.inference_origin": 0, "governed.gate_acquire": 14, "governed.startup_checkpoint": 65, "governed.boundary_prepare": 2, "governed.exposure_settle": 0, "governed.folder_retention": 1, "governed.sandbox_resolve": 1, "governed.record_policy": 5, "governed.startup_view_cleanup": 62, "governed.exposure_records": 0, "governed.manifest_begin": 5, "journal.hold_wait": 0, "journal.initialize": 0, "journal.observe": 70, "journal.observe_checkpoint": 66, "journal.observe_delta": 3, "journal.observe_metadata": 1, "journal.observe_capture": 0, "journal.observe_record": 0, "journal.observe_commit": 0, "journal.expiry": 0, "journal.turn_insert": 11, "journal.policy": 4 } }, { "turnId": "3397ba68-ff5b-4bd4-84f7-75120837c5b2", "queueWaitMs": 690, "governedAdmissionMs": 150, "budgetAdmissionMs": 10, "journalBeginMs": 89, "backendStartupMs": 60, "timeToFirstFrameMs": 387, "steps": { "governed.inference_origin": 0, "governed.gate_acquire": 14, "governed.startup_checkpoint": 63, "governed.boundary_prepare": 2, "governed.exposure_settle": 0, "governed.folder_retention": 1, "governed.sandbox_resolve": 2, "governed.record_policy": 5, "governed.startup_view_cleanup": 58, "governed.exposure_records": 0, "governed.manifest_begin": 5, "journal.hold_wait": 0, "journal.initialize": 0, "journal.observe": 75, "journal.observe_checkpoint": 70, "journal.observe_delta": 4, "journal.observe_metadata": 1, "journal.observe_capture": 0, "journal.observe_record": 0, "journal.observe_commit": 0, "journal.expiry": 0, "journal.turn_insert": 10, "journal.policy": 4 } } ] }schlessera commentedon Nov 4, 2026
Native #3355 after receipt — 2026-11-05.
Source
b7b087d3bab444c071f943157c0c4f62df7a7e9b, clean dedicated checkout; Bun 1.4.2. Command:bun scripts/prove-native-host.ts --backend=claude --observation-timing. Both UID cells passed, exit 0. The unchanged harness measures startup, 300 idle file changes, 30 expired turns, two 65-second idle waits and five warm turns.Root Docker, Linux x86_64, kernel
6.18.54.1-microsoft-standard-WSL2, imagesha256:6a7534cc6ddfd192da8006544170aa8660844d536846addaa5f8c645e599944a, btrfs-progs 6.6.3, bubblewrap 0.9.0. Fixture network isnone; provider is the keyless loopback fixture. No AppArmor enforcement was available or qualified.Each cell proved: mounted=false, attached=false, loopCreated=false, backingExists=false, errors=[], owned removal outcome=removed, unchanged runner user-namespace quota. Runs were serialized on the exact harness-owned loop.
Application UID 1000
Timing artifact SHA-256:
4904cec366c062460ac7277f4ac00fd2cb694326d48d9ffd90bc42832b9a1eb8.Complete
admissionsection fromobservation-timing.json(all phase durations and every recorded sub-phase, milliseconds):{ "idleWaitMs": 65000, "idleChanges": 300, "backlogTurns": 30, "warmMedian": { "governedAdmissionMs": 152, "journalBeginMs": 84 }, "scenarios": { "firstAfterStart": { "turnId": "bf581194-0a8b-4315-9add-921b2fa171b6", "queueWaitMs": 997, "governedAdmissionMs": 199, "budgetAdmissionMs": 10, "journalBeginMs": 89, "backendStartupMs": 79, "timeToFirstFrameMs": 465, "steps": { "governed.inference_origin": 0, "governed.gate_acquire": 8, "governed.startup_checkpoint": 62, "governed.boundary_prepare": 1, "governed.exposure_settle": 0, "governed.folder_retention": 1, "governed.sandbox_resolve": 52, "governed.record_policy": 5, "governed.startup_view_cleanup": 61, "governed.exposure_records": 0, "governed.manifest_begin": 6, "journal.hold_wait": 1, "journal.initialize": 0, "journal.observe": 72, "journal.observe_checkpoint": 63, "journal.observe_delta": 4, "journal.observe_metadata": 5, "journal.observe_capture": 0, "journal.observe_record": 0, "journal.observe_commit": 0, "journal.expiry": 0, "journal.turn_insert": 11, "journal.policy": 5 } }, "idleChanges": { "turnId": "057ddecd-2c9c-497e-9a05-e34fa582e925", "queueWaitMs": 1755, "governedAdmissionMs": 1238, "budgetAdmissionMs": 10, "journalBeginMs": 80, "backendStartupMs": 46, "timeToFirstFrameMs": 1442, "steps": { "governed.inference_origin": 0, "governed.gate_acquire": 1063, "governed.startup_checkpoint": 59, "governed.boundary_prepare": 2, "governed.exposure_settle": 0, "governed.folder_retention": 0, "governed.sandbox_resolve": 42, "governed.record_policy": 5, "governed.startup_view_cleanup": 61, "governed.exposure_records": 0, "governed.manifest_begin": 5, "journal.hold_wait": 0, "journal.initialize": 0, "journal.observe": 67, "journal.observe_checkpoint": 64, "journal.observe_delta": 3, "journal.observe_metadata": 0, "journal.observe_capture": 0, "journal.observe_record": 0, "journal.observe_commit": 0, "journal.expiry": 0, "journal.turn_insert": 11, "journal.policy": 2 } }, "retentionBacklog": { "turnId": "4e8e3a66-fc10-437f-8ee7-cde78a66c858", "queueWaitMs": 764, "governedAdmissionMs": 202, "budgetAdmissionMs": 9, "journalBeginMs": 88, "backendStartupMs": 59, "timeToFirstFrameMs": 432, "steps": { "governed.inference_origin": 0, "governed.gate_acquire": 9, "governed.startup_checkpoint": 62, "governed.boundary_prepare": 1, "governed.exposure_settle": 0, "governed.folder_retention": 0, "governed.sandbox_resolve": 57, "governed.record_policy": 5, "governed.startup_view_cleanup": 61, "governed.exposure_records": 0, "governed.manifest_begin": 5, "journal.hold_wait": 0, "journal.initialize": 0, "journal.observe": 75, "journal.observe_checkpoint": 71, "journal.observe_delta": 4, "journal.observe_metadata": 0, "journal.observe_capture": 0, "journal.observe_record": 0, "journal.observe_commit": 0, "journal.expiry": 0, "journal.turn_insert": 10, "journal.policy": 2 } } }, "warm": [ { "turnId": "f1ae597e-785f-41fc-bd12-11be924aa750", "queueWaitMs": 742, "governedAdmissionMs": 152, "budgetAdmissionMs": 10, "journalBeginMs": 84, "backendStartupMs": 74, "timeToFirstFrameMs": 400, "steps": { "governed.inference_origin": 0, "governed.gate_acquire": 14, "governed.startup_checkpoint": 65, "governed.boundary_prepare": 1, "governed.exposure_settle": 0, "governed.folder_retention": 0, "governed.sandbox_resolve": 2, "governed.record_policy": 5, "governed.startup_view_cleanup": 59, "governed.exposure_records": 0, "governed.manifest_begin": 5, "journal.hold_wait": 1, "journal.initialize": 0, "journal.observe": 69, "journal.observe_checkpoint": 64, "journal.observe_delta": 4, "journal.observe_metadata": 1, "journal.observe_capture": 0, "journal.observe_record": 0, "journal.observe_commit": 0, "journal.expiry": 0, "journal.turn_insert": 11, "journal.policy": 3 } }, { "turnId": "795e8bc2-728b-4aa3-9a12-2f9c2fb3fc53", "queueWaitMs": 748, "governedAdmissionMs": 152, "budgetAdmissionMs": 10, "journalBeginMs": 85, "backendStartupMs": 69, "timeToFirstFrameMs": 398, "steps": { "governed.inference_origin": 0, "governed.gate_acquire": 14, "governed.startup_checkpoint": 63, "governed.boundary_prepare": 2, "governed.exposure_settle": 0, "governed.folder_retention": 0, "governed.sandbox_resolve": 2, "governed.record_policy": 4, "governed.startup_view_cleanup": 63, "governed.exposure_records": 0, "governed.manifest_begin": 4, "journal.hold_wait": 0, "journal.initialize": 0, "journal.observe": 69, "journal.observe_checkpoint": 64, "journal.observe_delta": 4, "journal.observe_metadata": 1, "journal.observe_capture": 0, "journal.observe_record": 0, "journal.observe_commit": 0, "journal.expiry": 1, "journal.turn_insert": 10, "journal.policy": 3 } }, { "turnId": "425a0369-3be1-4ef4-8453-c2a51256f38e", "queueWaitMs": 717, "governedAdmissionMs": 155, "budgetAdmissionMs": 9, "journalBeginMs": 83, "backendStartupMs": 62, "timeToFirstFrameMs": 399, "steps": { "governed.inference_origin": 0, "governed.gate_acquire": 15, "governed.startup_checkpoint": 63, "governed.boundary_prepare": 2, "governed.exposure_settle": 0, "governed.folder_retention": 1, "governed.sandbox_resolve": 1, "governed.record_policy": 5, "governed.startup_view_cleanup": 62, "governed.exposure_records": 0, "governed.manifest_begin": 5, "journal.hold_wait": 0, "journal.initialize": 0, "journal.observe": 69, "journal.observe_checkpoint": 65, "journal.observe_delta": 3, "journal.observe_metadata": 0, "journal.observe_capture": 0, "journal.observe_record": 0, "journal.observe_commit": 0, "journal.expiry": 0, "journal.turn_insert": 10, "journal.policy": 4 } }, { "turnId": "049543e3-3ae2-4ccc-b80f-64d98b78853f", "queueWaitMs": 737, "governedAdmissionMs": 164, "budgetAdmissionMs": 10, "journalBeginMs": 83, "backendStartupMs": 66, "timeToFirstFrameMs": 409, "steps": { "governed.inference_origin": 0, "governed.gate_acquire": 16, "governed.startup_checkpoint": 64, "governed.boundary_prepare": 2, "governed.exposure_settle": 0, "governed.folder_retention": 1, "governed.sandbox_resolve": 1, "governed.record_policy": 5, "governed.startup_view_cleanup": 70, "governed.exposure_records": 0, "governed.manifest_begin": 5, "journal.hold_wait": 0, "journal.initialize": 0, "journal.observe": 70, "journal.observe_checkpoint": 65, "journal.observe_delta": 3, "journal.observe_metadata": 2, "journal.observe_capture": 0, "journal.observe_record": 0, "journal.observe_commit": 0, "journal.expiry": 0, "journal.turn_insert": 10, "journal.policy": 3 } }, { "turnId": "8915af65-62a1-49b8-bf23-50249ee4b0b2", "queueWaitMs": 707, "governedAdmissionMs": 151, "budgetAdmissionMs": 9, "journalBeginMs": 86, "backendStartupMs": 68, "timeToFirstFrameMs": 394, "steps": { "governed.inference_origin": 0, "governed.gate_acquire": 14, "governed.startup_checkpoint": 65, "governed.boundary_prepare": 2, "governed.exposure_settle": 0, "governed.folder_retention": 1, "governed.sandbox_resolve": 1, "governed.record_policy": 4, "governed.startup_view_cleanup": 58, "governed.exposure_records": 0, "governed.manifest_begin": 5, "journal.hold_wait": 0, "journal.initialize": 0, "journal.observe": 73, "journal.observe_checkpoint": 68, "journal.observe_delta": 3, "journal.observe_metadata": 1, "journal.observe_capture": 0, "journal.observe_record": 0, "journal.observe_commit": 1, "journal.expiry": 0, "journal.turn_insert": 10, "journal.policy": 3 } } ] }Application UID 0
Timing artifact SHA-256:
4723deeac2d4fadf13d99304c435819f0953d19000e533b9e172d903e6ca3921.Complete
admissionsection fromobservation-timing.json(all phase durations and every recorded sub-phase, milliseconds):{ "idleWaitMs": 65000, "idleChanges": 300, "backlogTurns": 30, "warmMedian": { "governedAdmissionMs": 155, "journalBeginMs": 85 }, "scenarios": { "firstAfterStart": { "turnId": "6c5ea16d-4130-49a5-ab66-b717b92bddd9", "queueWaitMs": 995, "governedAdmissionMs": 204, "budgetAdmissionMs": 12, "journalBeginMs": 83, "backendStartupMs": 79, "timeToFirstFrameMs": 467, "steps": { "governed.inference_origin": 0, "governed.gate_acquire": 8, "governed.startup_checkpoint": 59, "governed.boundary_prepare": 2, "governed.exposure_settle": 0, "governed.folder_retention": 0, "governed.sandbox_resolve": 53, "governed.record_policy": 6, "governed.startup_view_cleanup": 68, "governed.exposure_records": 0, "governed.manifest_begin": 6, "journal.hold_wait": 0, "journal.initialize": 0, "journal.observe": 70, "journal.observe_checkpoint": 64, "journal.observe_delta": 3, "journal.observe_metadata": 3, "journal.observe_capture": 0, "journal.observe_record": 0, "journal.observe_commit": 0, "journal.expiry": 0, "journal.turn_insert": 9, "journal.policy": 4 } }, "idleChanges": { "turnId": "272c9168-e230-4741-ac4e-da9bffa44a8a", "queueWaitMs": null, "governedAdmissionMs": 180, "budgetAdmissionMs": 9, "journalBeginMs": 79, "backendStartupMs": 47, "timeToFirstFrameMs": 381, "steps": { "governed.inference_origin": 0, "governed.gate_acquire": 9, "governed.startup_checkpoint": 62, "governed.boundary_prepare": 1, "governed.exposure_settle": 0, "governed.folder_retention": 0, "governed.sandbox_resolve": 41, "governed.record_policy": 4, "governed.startup_view_cleanup": 57, "governed.exposure_records": 1, "governed.manifest_begin": 4, "journal.hold_wait": 0, "journal.initialize": 0, "journal.observe": 66, "journal.observe_checkpoint": 63, "journal.observe_delta": 3, "journal.observe_metadata": 0, "journal.observe_capture": 0, "journal.observe_record": 0, "journal.observe_commit": 0, "journal.expiry": 0, "journal.turn_insert": 11, "journal.policy": 2 } }, "retentionBacklog": { "turnId": "a96e8ace-369a-4c3f-834d-d30ed9166b52", "queueWaitMs": null, "governedAdmissionMs": 198, "budgetAdmissionMs": 10, "journalBeginMs": 84, "backendStartupMs": 60, "timeToFirstFrameMs": 433, "steps": { "governed.inference_origin": 0, "governed.gate_acquire": 9, "governed.startup_checkpoint": 64, "governed.boundary_prepare": 1, "governed.exposure_settle": 0, "governed.folder_retention": 0, "governed.sandbox_resolve": 52, "governed.record_policy": 4, "governed.startup_view_cleanup": 62, "governed.exposure_records": 0, "governed.manifest_begin": 4, "journal.hold_wait": 0, "journal.initialize": 0, "journal.observe": 72, "journal.observe_checkpoint": 68, "journal.observe_delta": 4, "journal.observe_metadata": 0, "journal.observe_capture": 0, "journal.observe_record": 0, "journal.observe_commit": 0, "journal.expiry": 0, "journal.turn_insert": 10, "journal.policy": 2 } } }, "warm": [ { "turnId": "bdedbbb9-53b0-422d-a795-4b23db53179a", "queueWaitMs": 730, "governedAdmissionMs": 157, "budgetAdmissionMs": 11, "journalBeginMs": 90, "backendStartupMs": 70, "timeToFirstFrameMs": 414, "steps": { "governed.inference_origin": 0, "governed.gate_acquire": 14, "governed.startup_checkpoint": 61, "governed.boundary_prepare": 1, "governed.exposure_settle": 0, "governed.folder_retention": 1, "governed.sandbox_resolve": 1, "governed.record_policy": 5, "governed.startup_view_cleanup": 63, "governed.exposure_records": 0, "governed.manifest_begin": 9, "journal.hold_wait": 0, "journal.initialize": 0, "journal.observe": 74, "journal.observe_checkpoint": 69, "journal.observe_delta": 3, "journal.observe_metadata": 2, "journal.observe_capture": 0, "journal.observe_record": 0, "journal.observe_commit": 0, "journal.expiry": 1, "journal.turn_insert": 11, "journal.policy": 3 } }, { "turnId": "3759e059-ff7e-48a2-9ed5-10012ad25026", "queueWaitMs": 722, "governedAdmissionMs": 155, "budgetAdmissionMs": 11, "journalBeginMs": 85, "backendStartupMs": 63, "timeToFirstFrameMs": 401, "steps": { "governed.inference_origin": 0, "governed.gate_acquire": 14, "governed.startup_checkpoint": 69, "governed.boundary_prepare": 2, "governed.exposure_settle": 0, "governed.folder_retention": 1, "governed.sandbox_resolve": 2, "governed.record_policy": 4, "governed.startup_view_cleanup": 59, "governed.exposure_records": 0, "governed.manifest_begin": 4, "journal.hold_wait": 0, "journal.initialize": 0, "journal.observe": 73, "journal.observe_checkpoint": 68, "journal.observe_delta": 3, "journal.observe_metadata": 1, "journal.observe_capture": 0, "journal.observe_record": 0, "journal.observe_commit": 0, "journal.expiry": 0, "journal.turn_insert": 9, "journal.policy": 3 } }, { "turnId": "1693a135-94b5-46c4-83ea-738fad476dbf", "queueWaitMs": 714, "governedAdmissionMs": 157, "budgetAdmissionMs": 10, "journalBeginMs": 84, "backendStartupMs": 69, "timeToFirstFrameMs": 394, "steps": { "governed.inference_origin": 0, "governed.gate_acquire": 13, "governed.startup_checkpoint": 67, "governed.boundary_prepare": 1, "governed.exposure_settle": 0, "governed.folder_retention": 4, "governed.sandbox_resolve": 1, "governed.record_policy": 5, "governed.startup_view_cleanup": 59, "governed.exposure_records": 0, "governed.manifest_begin": 6, "journal.hold_wait": 0, "journal.initialize": 0, "journal.observe": 70, "journal.observe_checkpoint": 66, "journal.observe_delta": 3, "journal.observe_metadata": 1, "journal.observe_capture": 0, "journal.observe_record": 0, "journal.observe_commit": 0, "journal.expiry": 0, "journal.turn_insert": 11, "journal.policy": 2 } }, { "turnId": "2e503ad0-bd56-4f3e-9627-3ce9fc637064", "queueWaitMs": 714, "governedAdmissionMs": 152, "budgetAdmissionMs": 10, "journalBeginMs": 85, "backendStartupMs": 70, "timeToFirstFrameMs": 396, "steps": { "governed.inference_origin": 0, "governed.gate_acquire": 14, "governed.startup_checkpoint": 65, "governed.boundary_prepare": 2, "governed.exposure_settle": 0, "governed.folder_retention": 1, "governed.sandbox_resolve": 1, "governed.record_policy": 6, "governed.startup_view_cleanup": 58, "governed.exposure_records": 0, "governed.manifest_begin": 5, "journal.hold_wait": 0, "journal.initialize": 0, "journal.observe": 72, "journal.observe_checkpoint": 67, "journal.observe_delta": 4, "journal.observe_metadata": 0, "journal.observe_capture": 0, "journal.observe_record": 0, "journal.observe_commit": 1, "journal.expiry": 0, "journal.turn_insert": 10, "journal.policy": 2 } }, { "turnId": "55ce5a81-83ee-4230-87ef-368f967d1a8e", "queueWaitMs": 714, "governedAdmissionMs": 152, "budgetAdmissionMs": 10, "journalBeginMs": 82, "backendStartupMs": 58, "timeToFirstFrameMs": 383, "steps": { "governed.inference_origin": 0, "governed.gate_acquire": 14, "governed.startup_checkpoint": 62, "governed.boundary_prepare": 1, "governed.exposure_settle": 0, "governed.folder_retention": 0, "governed.sandbox_resolve": 1, "governed.record_policy": 5, "governed.startup_view_cleanup": 63, "governed.exposure_records": 0, "governed.manifest_begin": 5, "journal.hold_wait": 0, "journal.initialize": 0, "journal.observe": 69, "journal.observe_checkpoint": 64, "journal.observe_delta": 4, "journal.observe_metadata": 1, "journal.observe_capture": 0, "journal.observe_record": 0, "journal.observe_commit": 0, "journal.expiry": 0, "journal.turn_insert": 11, "journal.policy": 2 } } ] }schlessera commentedon Nov 4, 2026
Native verification complete — #3355, 2026-11-05.
Before
2bb182442ad6b54edded1b06af94e687432c9dc8; after #3386 mergeb7b087d3bab444c071f943157c0c4f62df7a7e9b. Both exact clean revisions ranbun scripts/prove-native-host.ts --backend=claude --observation-timingon local root Docker, both application UIDs, exit 0. The unchanged timing harness produced the three scenarios and five warm turns per cell. The four native cells passed 8 tests total, 0 failures/skips, with complete owned-loop/mount/backing cleanup and unchanged runner quota. The focused after-revision lifecycle/admission/idle-maintenance run also passed: 20 tests, 182 assertions, 0 failures/skips.Journal begin, milliseconds:
Every after scenario satisfies the 2× warm criterion. Startup and retention costs reproduce in both baseline cells:
journal.initializewas 258/200 ms andjournal.expiry327/323 ms (UID 1000/0). The 300-file scenario is a smaller effect: UID 1000 baseline 168 ms is below 2× its 91 ms warm median; UID 0 baseline 173 ms is just above 2× its 84 ms warm median. No baseline cell reproduces the reported 10-second hosted cost; these are fixture-specific native receipts, not a production measurement.Warm governed admission medians: UID 1000 166 → 152 ms; UID 0 155 → 155 ms. The latter is unchanged. No governed sub-phase exceeds 100 ms in any of the ten after warm turns. Thus there is no remaining >100 ms warm step needing a cut or exception. The small median reduction in one UID is an observation, not evidence of a separate governed-admission optimization.
The remaining warm work is accounted for by the full receipt. Per-step after medians (UID 1000 / UID 0, ms): startup checkpoint 64/65; startup-view cleanup 62/59; gate acquire 14/14; manifest begin 5/5; policy record 5/5; boundary prepare 2/1; sandbox resolve 1/1; folder retention 1/1. Inference-origin lookup, exposure settlement and exposure records are 0/0 at millisecond resolution; inapplicable private-index/data-tree/type-selection steps are absent. A zero here is a measured duration, not a missing step.
These steps retain their current boundary roles: the gate excludes conflicting writers/reverts; the native checkpoint seals current execution inputs; boundary and sandbox resolution establish the current qualified masks; policy and protected-path manifests commit before execution; cleanup releases the admission checkpoint so its space is not retained. Source at the measured after revision:
begin,packages/ui-server/src/brain/governed-turn.ts:147-342;prepareNativeWorkerStartupView,packages/ui-sdk/src/server/worker-startup-view.ts:98-138;createGovernedManifests,packages/ui-server/src/brain/governed-manifest.ts:217-271.For completeness, the UID 1000 cold idle-change scenario has a 1063 ms governed
gate_acquire(1238 ms admission total); it is not hidden in the journal result or described as a warm sample. The receipt attributes this wait to gate acquisition, but does not establish which peer held it. The requested warm measurements have no >100 ms step and all cold journal measurements pass.The implementation remains #3386; no additional source change or PR was needed. Its merge is an ancestor of fetched main
ee352a52442cac4d494c39b5b838666aa891550b. Later source edits preserve journal idle initialization/observation/expiry; the receipts retain their exact after revision and do not claim a new current-main or hosted-CI proof.ActivityTurnLifecycle.subPhasesand the wire documentation are already delivered by that PR; the focused tests validate phase containment and failure/null rules. Existing mutation receipts remain in #3386; this invocation made no new source mutation.Release attribution remains 0.45.0 on both #3355 and #3386. Registry latest
@schlessera/brain-ui-serveris 0.44.0 and no local published tag contains the implementation, so verification does not retarget the upcoming minor. AppArmor enforcement was unavailable on this Docker runtime and is not claimed. No release, deployment or paid-provider experiment was performed.Criteria 1–5 and the remaining native verification are complete. Closing #3355 after posting both full admission receipts. Claim
wi-3355-local-20261105ends with this outcome; the closed assignment may remain as history.Full native admission receipts: before, after. Both include every scenario, five warm turns, all phases/sub-phases and cleanup qualification.