Current state, 2026-09-16 (@neo-opus-ada): the repair is PR #18755. On it, a width change made six minutes into hiding reaches the App Worker in 0.71 s, where the branch point had not delivered it 90 s later — see AC-2, measured. Both starved-renderer e2e specs pass on the PR, with the branch point as control. Before the fix, two things were established: the carrier's real shape at HEAD, and the carrier law's pre-repair baseline, measured — a bare timer in a hidden document loses ~92 % of deliveries past five minutes, clamping to exactly 60,000 ms between them, while the occluded control holds 100 %. Both below, under The carrier, re-read and The carrier law, measured. AC-1 is now met in situ — see AC-1 in situ, measured: past the horizon the addon's own poll delivers 2 of 120 intended passes (1.7 %), while a worker timer at the same interval delivers all of them. An earlier version of this block asserted that receipt could not be produced by any harness; that was wrong and is corrected in place. Everything else in this body is @neo-fable's and stands as written.
Context
Witnessed during #16425's pane leg (2026-08-03): the first DockFlip repair iteration used a 100ms main-thread timer dam to bound frame waits — sound under the synthetic rig (timers unclamped), but in the GENUINELY hidden agent pane the dam's setTimeout ticks were visibility-clamped and startTour sat wedged-in-practice for minutes (tourRunner.running: false, idle caption across 4 polls) until a document.hidden entry discriminator replaced waiting entirely for the hidden class.
The general law this exposed: main-thread timers are not starvation-proof carriers. Hidden documents clamp nested timers to >=1s/tick immediately, and intensively throttle chained timers to ~1 wake/minute once the page has been hidden >5 minutes (Chrome's budget-based intensive throttling). Workers are exempt — a dedicated/shared worker has no document and its timers never clamp.
The Problem
Every main-thread carrier that exists specifically to serve rendering-starved documents inherits the clamp it is trying to route around:
ResizeObserver addon hidden poll (src/main/addon/ResizeObserver.mjs — pollHiddenTargets re-arming via chained main-thread timers, observed in the #16425 probe stacks at :333-347): the poll is ARMED exactly when document.hidden === true — the same condition that clamps it. At the >5min horizon the geometry cadence for a hidden pane plausibly degrades toward one delivery per minute. NOT yet measured at that horizon — the >=1s clamp tier is witnessed, the 1/min intensive tier is documented browser policy awaiting a direct receipt. Fleet-cockpit panes and agent windows live hidden for HOURS, so the horizon is the common case, not the edge.
DockFlip timer dam (#nextFrame, landing via #16425): the hidden class now bypasses it via the entry discriminator; the dam remains the carrier for the occluded-but-visible class, whose timers are unclamped — correct by construction. Recorded here as the pattern precedent: dam-for-occluded + discriminator-for-hidden.
Any future main-side timer cadence serving hidden documents will re-discover this law the hard way without a recorded audit trail.
The Architectural Reality
The starvation carrier hierarchy, by environment:
Hidden documents (document.hidden === true): rAF dead, RO deliveries dead, main timers clamped (>=1s, then ~1/min). Surviving carriers: postMessage delivery, and APP-WORKER timers (workers have no document). A hidden-document cadence must originate in a worker and ping main, or the hidden path must not wait at all (discriminator → instant/degraded-mode path).
Occluded-but-visible windows: rAF dead, RO dead, main timers at normal clamps. Main-side timer dams are valid here.
Presenting documents: everything lives; rAF is the fastest correct signal.
The Fix
Instrument the RO addon hidden-poll cadence in a genuinely hidden pane past the 5-minute intensive-throttling horizon (pane route documented on #16402/#16425); record the measured inter-delivery gap.
If the intensive tier bites (expected): relocate the poll's CADENCE to the app-worker side — a worker timer pings main (postMessage) to execute one poll pass; main keeps the measurement + synthetic-entry dispatch it owns today. Alternatively a visibility-keyed cadence downgrade with an explicit contract, if measurement shows the degraded cadence is acceptable for hidden-pane consumers.
Encode the carrier hierarchy above at the owning seam's JSDoc (the RO addon class doc is the natural anchor, echoing the DockFlip two-layer doc) so the next starvation repair starts from the law instead of re-deriving it.
The carrier, re-read at dev@d6d0d14bd4
The poll is one setInterval, not a chain of setTimeouts: #pollIntervalId = setInterval(() => me.pollHiddenTargets(), me.hiddenPollInterval) with hiddenPollInterval: 1000, armed and cleared by needsPoll = document.hidden && Object.keys(#targetToComponents).length > 0. pollHiddenTargets itself compares each registered target's offsetHeight / offsetWidth against #lastDispatchedSize and arms a dispatch for the ones that moved.
That does not change the law this ticket states — Chrome's intensive wake-up throttling applies to a repeating timer in a hidden page the same way it applies to a deeply nested chain — but it changes what a fix touches and what a measurement must instrument. The prose above ("re-arming via chained main-thread timers") describes the shape the #16425 probe stacks showed, not the call at HEAD.
The carrier law, measured — the >5min intensive tier (AC-1 in situ still open)
Correcting my own claim. This section previously read "the harness cannot produce a hidden page" and concluded AC-1 was blocked on a surface. I had tested Playwright and written a sentence about every surface. A Browser-pane tab created in the background and navigated without ever being selected is genuinely document.hidden, indefinitely, and reads back without being fronted. Backgrounding an already-fronted tab leaves it visible, which is the same negative Playwright gives and is why this was missed.
Measured with one setInterval(…, 1000) — the carrier shape at HEAD — in two tabs of the same browser over the same wall clock:
ticks
expected
delivery
gap range
occluded-but-visible
530
530
100.0 %
998–1002 ms
hidden (never presented)
252
493
51 %
530–60,000 ms
↳ hidden, past the 5-minute horizon
15
193
~8 %
up to 60,000 ms
Two gaps of exactly 60,000 ms — the ~1 wake/minute intensive tier, reached only past five minutes hidden. Exact values are a policy clamp, not CPU contention. The occluded row is the control that could have failed and did not, so a box-wide confound is excluded by construction — and it independently confirms this ticket's claim that main-side timer dams are valid for the occluded class.
Two corrections this run forced on the ticket's framing: the intensive tier is no longer "documented policy awaiting a receipt", and the pre-horizon hidden cadence is not simply ">= 1s" — it mostly holds ~1000 ms with occasional multi-second stalls. Full receipt, method and the exact stall timeline: the AC-1 comment in this thread.
Why this heading no longer says MET (corrected in place, 2026-09-15): the table measures a bare setInterval, and AC-1 below asks for the addon's own poll. A never-fronted pane tab boots Neo's workers but mounts nothing (body.innerHTML ≈ 71 bytes, no .neo-viewport), so syncPollState never arms — it needs document.hidden && targets > 0. Registered-then-hidden is unreachable there. Playwright cannot produce hidden at all — corrected below: it can, once its default focus emulation is out of the way. So this is a strong inference about the case, not the case.
A second run shows onset is intermittent, not a switch. Neo-bootstrapped hidden page, setInterval(…, 250), worker control on the same clock: past the horizon the main thread delivered 25 % (617 of 2,475) while the worker delivered 100 % (2,476). Gaps: 28 s at 6.3 min, then ~1 s cadence until 13.3 min, then 60,000 ms at 14.3 and 15.3 min. This does not revise the ~8 % above — two variables differ (a Neo page rather than a bare one, and a worker posting to the main thread every 250 ms), so only the existence of the 60 s clamp is shared. The repair shape — a worker-driven carrier — is the same under either tier.
Registered-then-hidden under Playwright — the surface AC-1 needs exists
Every Playwright page reported visible because Playwright sends Emulation.setFocusEmulationEnabled({enabled: true}) from its own session on every main frame (playwright-core 1.63.0), and a second CDP session cannot switch it off. The override is skipped only for pages in the browser's default context when connected with noDefaults. Separately, neo's BASE_LAUNCH_ARGS (test/playwright/e2e/utils/gpuIntent.mjs) pass --disable-background-timer-throttling, --disable-backgrounding-occluded-windows and --disable-renderer-backgrounding to every e2e profile. So no current whitebox run can observe a hidden document or its throttling, by construction.
Route, measured 2026-09-15 headed and headless: spawn Google Chrome without those flags (verified absent via Browser.getBrowserCommandLine), chromium.connectOverCDP(ws, {noDefaults: true}), mount the app in browser.contexts()[0], then open a second tab in the same window.
tab 1 (Workstation mounted)
state
hasFocus()
rAF/s
250 ms interval/s
active
visible
false
86–120
4
second tab in front, 0–8 s
hidden
false
0
1
re-activated
visible
false
120
4
A visibilitychange fires each way. Unlike the pane surface, rAF suspends and the app is mounted, so RO targets register — the state AC-1 asks for. Ruled out on the way, each with the flags and focus emulation witnessed: minimizing the window via CDP, a same-window tab under an ordinary Playwright context, and disabling focus emulation from a second session.
Served tree for these runs: :8080 from a checkout on agent/18741-teardown-liveness, not dev. The in-situ RO measurement will name its tree.
AC-1 in situ, measured
Tree:src/main/addon/ResizeObserver.mjs served from agent/18741-teardown-liveness @ d7e04edb21, byte-identical to origin/devd688710175 (git diff empty). Surface: as above. After the Workstation mounted, the addon's real pollHiddenTargets was wrapped on the live Neo.main.addon.ResizeObserver singleton (hiddenPollInterval 1000), then tab 1 stayed hidden and untouched for 7 minutes. Control: a dedicated worker at the same 1000 ms interval that records its own ticks and reports only when asked, so it cannot keep the main thread awake.
hidden for
addon poll, headless
addon poll, headed
worker control
0–1 min
58 passes · median 1,000 ms
29 passes · median 2,000 ms
median 1,000 ms
1–5 min
4 passes · median 60,001 ms
4 passes · median 60,000 ms
median 1,000 ms
5 min +
2 passes · median 60,001 ms
2 passes · median 60,002 ms
median 1,000 ms
past the horizon, delivered / intended
2 / 120 (1.7 %)
2 / 120 (1.7 %)
121 / 120 · 120 / 120
What this adds:
On this machine the one-minute alignment engaged within the first five minutes — corrected: the onset belongs to the served page, not the machine. On this tree (agent/18741-teardown-liveness) the first long gaps arrived between 1 and 5 minutes hidden. The same probe on the same machine against dev's d688710175 (see AC-2, measured) held 1 Hz for all five minutes and clamped only past the horizon. The 60 s clamp is the finding; its onset is not portable between trees.
It resolves the difference from the second carrier run above — retracted, measured wrong. I attributed that run's 25 % to its control posting to the main thread every 250 ms. The measurement below put a worker posting every 1,000 ms into a hidden tab, and the main thread's own interval still fell to 2 of 120 past the horizon. Traffic at that rate does not hold a page out of the one-minute tier; 250 ms is untested. The runs also differ in browser — the second carrier run was the in-app Browser pane, these are Google Chrome — which is the likelier variable, and unmeasured.
Bound: this measures the poll's cadence, not delivery. Nothing resized while hidden, so no pass had anything to dispatch. A change a pass does detect then waits on armDispatch, which races requestAnimationFrame — measured dead while hidden — against setTimeout(starvedFlushDelay = 100), a second main-thread timer armed from inside the interval callback. That latency is being measured next; it bears on Fix step 2, which relocates only the poll's cadence.
Fix step 2's carrier, measured
Step 2 relies on a worker→main postMessage still arriving in a hidden document. Same surface, a worker posting every 1,000 ms into the hidden tab, the main thread recording send and receipt time, 7 minutes hidden, headless:
hidden for
send → receipt
receipt cadence
the same page's own 1,000 ms interval
0–1 min
median 0 ms · max 1 ms
median 1,000 ms
median 1,000 ms
1–5 min
median 0 ms · max 1 ms
median 1,000 ms
median 60,000 ms (4 ticks)
5 min +
median 0 ms · max 1 ms
median 1,000 ms
median 60,001 ms (2 ticks)
past the horizon
120 / 120 received
2 / 120
Messages survive; timers do not — in the same page, at the same time. Step 2's premise holds: a worker-driven tick reaches a hidden main thread promptly. The same table says the delivery leg cannot stay on a main-thread timer either, because armDispatch's setTimeout(starvedFlushDelay) is a timer like the interval beside it.
A first attempt to measure that leg resized the browser window while tab 1 was hidden. That never reaches a background tab's layout — innerWidth stayed 756 → 756 while hidden — so the poll had nothing to detect, and the run measured nothing about dispatch. Emulation.setDeviceMetricsOverride on the hidden tab does resize its layout (756 → 500, still hidden), which is what a resized hidden webview or pane undergoes; the re-run used it — below, with the caveat it earned.
The delivery leg, measured — and the repair the evidence supports
Same surface; the hidden tab's own layout viewport resized via Emulation.setDeviceMetricsOverride at 1 and 6 minutes hidden; pollHiddenTargets, armDispatch and dispatchResizeEvents wrapped on the live singleton, each pass recording the width it saw.
resized at
resize → detecting pass
detect → armDispatch
armDispatch → dispatch
1 min hidden
314 ms
0 ms
999 ms
6 min hidden
314 ms
0 ms
1,001 ms
After detection, the dam waits a full second. rAF never fires while hidden, so every hidden delivery waits on setTimeout(starvedFlushDelay = 100), which the hidden page aligned to one second here. The entries are already measured; the second is pure waiting.
The 314 ms detection is not representative, and I am not counting it. The metrics override is a renderer intervention that let the throttled interval fire at once — past the horizon this run logged 6 passes at a median of 7 s, where the undisturbed AC-1 run logged 2 at 60 s. Nor does this run bound the dam's wait from a minute-aligned pass, where its timeout is nested inside a throttled interval. Both are what AC-2's baseline measures next, with a stimulus nothing outside the page touches: the page's own worker, told when the tab hides, schedules the width changes and posts them to the page, which applies them in a message task — as a dock operation's delta would. The same stimulus then measures the repair.
The repair this evidence supports
Cadence from a message, not a timer — Fix step 2. The App Worker already receives each window's visibilityChange (DomEvents#onVisibilitychange → App#onVisibilityChange). While a window is hidden, it sends that window a hiddenTick each interval. The main thread already fires message:<action> for every worker message before routing, and a window-addressed action that matches no handler branch ends silently — so the addon subscribes with Neo.worker.Manager.on({'message:hiddenTick': …, scope}), the idiom DeltaUpdates uses, and no routing changes. The tick stops when the window becomes visible or when sendMessage resolves no port. Implementation delta: when isWindowDeparted(windowId) answers true is not in the shipped tick. removePort() marks a window departed whenever one of its ports retires, even while another port for that window remains, so the check would silence a live window; a departed window has no port left, and the failed send already stops it.
No wait on the hidden path.armDispatch dispatches immediately while document.hidden — the rule DockFlip's class doc already states for hidden documents: "no in-page wait of any kind stays bounded". Occluded-but-visible windows keep today's rAF-versus-timer dam.
The main-thread interval stays, as a fallback.pollHiddenTargets compares against #lastDispatchedSize, so a redundant pass changes nothing, and any harness or deployment where the tick is absent keeps today's cadence.
Placement. A small helper class App composes, in src/worker/ beside Message.mjs. Not a mixin: a subclass's mixins list replaces prototype.mixins, which would drop RemoteMethodAccess from the App Worker's bookkeeping. Not inline in App.mjs: it instantiates its singleton on import, so no unit spec can reach it.
Fix step 3. The addon's class doc takes DockFlip's two-layer carrier shape, and DockFlip's cross-reference — which calls the addon "the same law" while the addon still serves hidden documents with timers — is corrected once it is true.
The Playwright negative still stands and is still worth recording — it cost an hour and will cost the next person the same. Playwright cannot produce a hidden page in Chromium 153.0.8010.12; four candidates, each tried, each reporting visibilityState: 'visible':
candidate
result
a second tab brought to front, headless and headed
the backgrounded page stays visible
the same, with Playwright's throttling disables removed (--disable-background-timer-throttling, --disable-renderer-backgrounding, --disable-backgrounding-occluded-windows via ignoreDefaultArgs) and Emulation.setFocusEmulationEnabled(false) on the backgrounded page
still visible
a headed window positioned off-screen at -4000,-4000, focus emulation off
still visible
Emulation.setPageVisibilityOverride
not in this protocol version — 'Emulation.setPageVisibilityOverride' wasn't found
So this receipt cannot come from test/playwright. It came from the pane instead — which is the "scripted real browser" route this ticket already allowed for, reached through a surface I had not tested when I wrote the blocker.
AC-2, measured — the branch point against the repair
Same surface as AC-1. The stimulus comes from inside the page: its own dedicated worker, told when the tab hides, changes .neo-viewport's width at 1 and 6 minutes hidden. Each tree was served by webpack serve from its own worktree, and Chrome ran headless without the throttling-disable flags (verified absent).
hidden for
branch point d688710175
repair 45b50bad88
1 min
1.04 s: detected in 36 ms, then 998 ms on the dam's timer arm
0.71 s: the next hiddenTick pass detected it in 708 ms, dispatch 1 ms later
6 min
not delivered by the read at 7.5 min: the one-minute poll detected it after 48.0 s, and the timer arm was still waiting
0.71 s
An earlier baseline read 68.8 s at both times, and it was measured against the wrong tree. It was served from :8080 on agent/18741-teardown-liveness, which is not an ancestor of the branch point (222 files differ, and even the viewport measured 756 px against 1080 px). The ResizeObserver path is byte-identical in both, but that tree's page clamped within the first minute, which is why the table above uses the same-tree control.
A busy App Worker bounds any carrier, and this one was busy. Every instrumented run showed one 18–40 s stretch in which the Workstation App Worker ran nothing else: the tick's first send slipped to 39.4 s, with no stop and no failed send. It happened on the branch point too, and in a tab that never hid (18.4 s). A CPU profile shows the stretch busy, not idle: grid.Container#onResize → Body#refreshColumns → createRowPool, where row registrations log "Trying to create an item with an already existing id" (manager.Base#register). Each log goes through Logger.getCaller and the worker's console override into ai.Client#sendNotification over its WebSocket, which is 12.1 of the profile's 38.6 busy seconds. The trigger is not isolated: in instrumented runs the stretch began within 0.25 s of the probe attaching to the App SharedWorker, and the uninstrumented run gapped at other times. It is outside this ticket, because a worker that is not handling events delays every carrier equally. Not filed as a ticket.
Ruled out on the way: CPU-budget throttling of worker timers. Busy and idle blob workers, dedicated and shared, each burning 400 ms of CPU twice while hidden, all ticked 210 of 210 with no gap.
Acceptance Criteria
RO hidden-poll inter-delivery cadence measured in a >5min-hidden pane, receipt posted (pre-repair baseline). No longer blocked — the hidden surface exists (see above). The carrier is now measured past the horizon: ~8 % delivery, clamping to exactly 60,000 ms, against a 100 % occluded control. Deliberately left unticked: that ran a bare setInterval in a hidden tab, not the RO addon's poll in the agent pane with registered targets. The law is established; this AC asks for the addon in situ, and one is a strong inference about the other rather than the same measurement.Ticked on the in-situ receipt in AC-1 in situ, measured — the addon's own poll with registered targets, on a registered-then-hidden Chrome tab rather than the pane, which cannot mount the app.
Post-repair, geometry convergence in long-hidden panes stays within a few seconds (measured, not delayed-for).
Live latest-open sweep: checked latest 20 open issues at 2026-08-03T10:57Z; no equivalent found. A2A in-flight claim sweep: latest 30 messages spanning the herd window — no overlapping claim (#16382 is orchestrator-substrate starvation detection, different seam).
tobiu referenced in commit 5460294 - "test(e2e): the starved rigs witness themselves, not the dam's frame requests (#16435) on Sep 16, 2026, 12:14 AM
tobiu referenced in commit 130ed3b - "chore(docs): register Neo.worker.HiddenTick in the tracked class hierarchy (#16435) on Sep 16, 2026, 12:17 AM
tobiu referenced in commit 6fd91da - "fix(worker): hidden windows take their resize cadence from the App Worker (#16435) (#18755) on Sep 16, 2026, 10:06 AM
Context
Witnessed during #16425's pane leg (2026-08-03): the first DockFlip repair iteration used a 100ms main-thread timer dam to bound frame waits — sound under the synthetic rig (timers unclamped), but in the GENUINELY hidden agent pane the dam's
setTimeoutticks were visibility-clamped andstartToursat wedged-in-practice for minutes (tourRunner.running: false, idle caption across 4 polls) until adocument.hiddenentry discriminator replaced waiting entirely for the hidden class.The general law this exposed: main-thread timers are not starvation-proof carriers. Hidden documents clamp nested timers to >=1s/tick immediately, and intensively throttle chained timers to ~1 wake/minute once the page has been hidden >5 minutes (Chrome's budget-based intensive throttling). Workers are exempt — a dedicated/shared worker has no document and its timers never clamp.
The Problem
Every main-thread carrier that exists specifically to serve rendering-starved documents inherits the clamp it is trying to route around:
src/main/addon/ResizeObserver.mjs—pollHiddenTargetsre-arming via chained main-thread timers, observed in the #16425 probe stacks at :333-347): the poll is ARMED exactly whendocument.hidden === true— the same condition that clamps it. At the >5min horizon the geometry cadence for a hidden pane plausibly degrades toward one delivery per minute. NOT yet measured at that horizon — the >=1s clamp tier is witnessed, the 1/min intensive tier is documented browser policy awaiting a direct receipt. Fleet-cockpit panes and agent windows live hidden for HOURS, so the horizon is the common case, not the edge.#nextFrame, landing via #16425): the hidden class now bypasses it via the entry discriminator; the dam remains the carrier for the occluded-but-visible class, whose timers are unclamped — correct by construction. Recorded here as the pattern precedent: dam-for-occluded + discriminator-for-hidden.The Architectural Reality
The starvation carrier hierarchy, by environment:
document.hidden === true): rAF dead, RO deliveries dead, main timers clamped (>=1s, then ~1/min). Surviving carriers: postMessage delivery, and APP-WORKER timers (workers have no document). A hidden-document cadence must originate in a worker and ping main, or the hidden path must not wait at all (discriminator → instant/degraded-mode path).The Fix
The carrier, re-read at
dev@d6d0d14bd4The poll is one
setInterval, not a chain ofsetTimeouts:#pollIntervalId = setInterval(() => me.pollHiddenTargets(), me.hiddenPollInterval)withhiddenPollInterval: 1000, armed and cleared byneedsPoll = document.hidden && Object.keys(#targetToComponents).length > 0.pollHiddenTargetsitself compares each registered target'soffsetHeight/offsetWidthagainst#lastDispatchedSizeand arms a dispatch for the ones that moved.That does not change the law this ticket states — Chrome's intensive wake-up throttling applies to a repeating timer in a hidden page the same way it applies to a deeply nested chain — but it changes what a fix touches and what a measurement must instrument. The prose above ("re-arming via chained main-thread timers") describes the shape the #16425 probe stacks showed, not the call at HEAD.
The carrier law, measured — the >5min intensive tier (AC-1 in situ still open)
Correcting my own claim. This section previously read "the harness cannot produce a hidden page" and concluded AC-1 was blocked on a surface. I had tested Playwright and written a sentence about every surface. A Browser-pane tab created in the background and navigated without ever being selected is genuinely
document.hidden, indefinitely, and reads back without being fronted. Backgrounding an already-fronted tab leaves itvisible, which is the same negative Playwright gives and is why this was missed.Measured with one
setInterval(…, 1000)— the carrier shape at HEAD — in two tabs of the same browser over the same wall clock:Two gaps of exactly 60,000 ms — the ~1 wake/minute intensive tier, reached only past five minutes hidden. Exact values are a policy clamp, not CPU contention. The occluded row is the control that could have failed and did not, so a box-wide confound is excluded by construction — and it independently confirms this ticket's claim that main-side timer dams are valid for the occluded class.
Two corrections this run forced on the ticket's framing: the intensive tier is no longer "documented policy awaiting a receipt", and the pre-horizon hidden cadence is not simply ">= 1s" — it mostly holds ~1000 ms with occasional multi-second stalls. Full receipt, method and the exact stall timeline: the AC-1 comment in this thread.
Why this heading no longer says MET (corrected in place, 2026-09-15): the table measures a bare
setInterval, and AC-1 below asks for the addon's own poll. A never-fronted pane tab boots Neo's workers but mounts nothing (body.innerHTML≈ 71 bytes, no.neo-viewport), sosyncPollStatenever arms — it needsdocument.hidden && targets > 0. Registered-then-hidden is unreachable there.Playwright cannot produce— corrected below: it can, once its default focus emulation is out of the way. So this is a strong inference about the case, not the case.hiddenat allA second run shows onset is intermittent, not a switch. Neo-bootstrapped hidden page,
setInterval(…, 250), worker control on the same clock: past the horizon the main thread delivered 25 % (617 of 2,475) while the worker delivered 100 % (2,476). Gaps: 28 s at 6.3 min, then ~1 s cadence until 13.3 min, then 60,000 ms at 14.3 and 15.3 min. This does not revise the ~8 % above — two variables differ (a Neo page rather than a bare one, and a worker posting to the main thread every 250 ms), so only the existence of the 60 s clamp is shared. The repair shape — a worker-driven carrier — is the same under either tier.Registered-then-hidden under Playwright — the surface AC-1 needs exists
Every Playwright page reported
visiblebecause Playwright sendsEmulation.setFocusEmulationEnabled({enabled: true})from its own session on every main frame (playwright-core1.63.0), and a second CDP session cannot switch it off. The override is skipped only for pages in the browser's default context when connected withnoDefaults. Separately, neo'sBASE_LAUNCH_ARGS(test/playwright/e2e/utils/gpuIntent.mjs) pass--disable-background-timer-throttling,--disable-backgrounding-occluded-windowsand--disable-renderer-backgroundingto every e2e profile. So no current whitebox run can observe a hidden document or its throttling, by construction.Route, measured 2026-09-15 headed and headless: spawn Google Chrome without those flags (verified absent via
Browser.getBrowserCommandLine),chromium.connectOverCDP(ws, {noDefaults: true}), mount the app inbrowser.contexts()[0], then open a second tab in the same window.hasFocus()A
visibilitychangefires each way. Unlike the pane surface, rAF suspends and the app is mounted, so RO targets register — the state AC-1 asks for. Ruled out on the way, each with the flags and focus emulation witnessed: minimizing the window via CDP, a same-window tab under an ordinary Playwright context, and disabling focus emulation from a second session.Served tree for these runs:
:8080from a checkout onagent/18741-teardown-liveness, notdev. The in-situ RO measurement will name its tree.AC-1 in situ, measured
Tree:
src/main/addon/ResizeObserver.mjsserved fromagent/18741-teardown-liveness @ d7e04edb21, byte-identical toorigin/devd688710175(git diffempty). Surface: as above. After the Workstation mounted, the addon's realpollHiddenTargetswas wrapped on the liveNeo.main.addon.ResizeObserversingleton (hiddenPollInterval1000), then tab 1 stayed hidden and untouched for 7 minutes. Control: a dedicated worker at the same 1000 ms interval that records its own ticks and reports only when asked, so it cannot keep the main thread awake.What this adds:
On this machine the one-minute alignment engaged within the first five minutes— corrected: the onset belongs to the served page, not the machine. On this tree (agent/18741-teardown-liveness) the first long gaps arrived between 1 and 5 minutes hidden. The same probe on the same machine against dev'sd688710175(see AC-2, measured) held 1 Hz for all five minutes and clamped only past the horizon. The 60 s clamp is the finding; its onset is not portable between trees.It resolves the difference from the second carrier run above— retracted, measured wrong. I attributed that run's 25 % to its control posting to the main thread every 250 ms. The measurement below put a worker posting every 1,000 ms into a hidden tab, and the main thread's own interval still fell to 2 of 120 past the horizon. Traffic at that rate does not hold a page out of the one-minute tier; 250 ms is untested. The runs also differ in browser — the second carrier run was the in-app Browser pane, these are Google Chrome — which is the likelier variable, and unmeasured.armDispatch, which racesrequestAnimationFrame— measured dead while hidden — againstsetTimeout(starvedFlushDelay = 100), a second main-thread timer armed from inside the interval callback. That latency is being measured next; it bears on Fix step 2, which relocates only the poll's cadence.Fix step 2's carrier, measured
Step 2 relies on a worker→main
postMessagestill arriving in a hidden document. Same surface, a worker posting every 1,000 ms into the hidden tab, the main thread recording send and receipt time, 7 minutes hidden, headless:Messages survive; timers do not — in the same page, at the same time. Step 2's premise holds: a worker-driven tick reaches a hidden main thread promptly. The same table says the delivery leg cannot stay on a main-thread timer either, because
armDispatch'ssetTimeout(starvedFlushDelay)is a timer like the interval beside it.A first attempt to measure that leg resized the browser window while tab 1 was hidden. That never reaches a background tab's layout —
innerWidthstayed 756 → 756 while hidden — so the poll had nothing to detect, and the run measured nothing about dispatch.Emulation.setDeviceMetricsOverrideon the hidden tab does resize its layout (756 → 500, stillhidden), which is what a resized hidden webview or pane undergoes; the re-run used it — below, with the caveat it earned.The delivery leg, measured — and the repair the evidence supports
Same surface; the hidden tab's own layout viewport resized via
Emulation.setDeviceMetricsOverrideat 1 and 6 minutes hidden;pollHiddenTargets,armDispatchanddispatchResizeEventswrapped on the live singleton, each pass recording the width it saw.armDispatcharmDispatch→ dispatchsetTimeout(starvedFlushDelay = 100), which the hidden page aligned to one second here. The entries are already measured; the second is pure waiting.The repair this evidence supports
visibilityChange(DomEvents#onVisibilitychange→App#onVisibilityChange). While a window is hidden, it sends that window ahiddenTickeach interval. The main thread already firesmessage:<action>for every worker message before routing, and a window-addressed action that matches no handler branch ends silently — so the addon subscribes withNeo.worker.Manager.on({'message:hiddenTick': …, scope}), the idiomDeltaUpdatesuses, and no routing changes. The tick stops when the window becomes visible or whensendMessageresolves no port. Implementation delta:whenis not in the shipped tick.isWindowDeparted(windowId)answers trueremovePort()marks a window departed whenever one of its ports retires, even while another port for that window remains, so the check would silence a live window; a departed window has no port left, and the failed send already stops it.armDispatchdispatches immediately whiledocument.hidden— the ruleDockFlip's class doc already states for hidden documents: "no in-page wait of any kind stays bounded". Occluded-but-visible windows keep today's rAF-versus-timer dam.pollHiddenTargetscompares against#lastDispatchedSize, so a redundant pass changes nothing, and any harness or deployment where the tick is absent keeps today's cadence.Appcomposes, insrc/worker/besideMessage.mjs. Not a mixin: a subclass'smixinslist replacesprototype.mixins, which would dropRemoteMethodAccessfrom the App Worker's bookkeeping. Not inline inApp.mjs: it instantiates its singleton on import, so no unit spec can reach it.DockFlip's two-layer carrier shape, andDockFlip's cross-reference — which calls the addon "the same law" while the addon still serves hidden documents with timers — is corrected once it is true.The Playwright negative still stands and is still worth recording — it cost an hour and will cost the next person the same. Playwright cannot produce a hidden page in Chromium 153.0.8010.12; four candidates, each tried, each reporting
visibilityState: 'visible':visible--disable-background-timer-throttling,--disable-renderer-backgrounding,--disable-backgrounding-occluded-windowsviaignoreDefaultArgs) andEmulation.setFocusEmulationEnabled(false)on the backgrounded pagevisible-4000,-4000, focus emulation offvisibleEmulation.setPageVisibilityOverride'Emulation.setPageVisibilityOverride' wasn't foundSo this receipt cannot come from
test/playwright. It came from the pane instead — which is the "scripted real browser" route this ticket already allowed for, reached through a surface I had not tested when I wrote the blocker.AC-2, measured — the branch point against the repair
Same surface as AC-1. The stimulus comes from inside the page: its own dedicated worker, told when the tab hides, changes
.neo-viewport's width at 1 and 6 minutes hidden. Each tree was served bywebpack servefrom its own worktree, and Chrome ran headless without the throttling-disable flags (verified absent).d68871017545b50bad88hiddenTickpass detected it in 708 ms, dispatch 1 ms later:8080onagent/18741-teardown-liveness, which is not an ancestor of the branch point (222 files differ, and even the viewport measured 756 px against 1080 px). The ResizeObserver path is byte-identical in both, but that tree's page clamped within the first minute, which is why the table above uses the same-tree control.grid.Container#onResize→Body#refreshColumns→createRowPool, where row registrations log "Trying to create an item with an already existing id" (manager.Base#register). Each log goes throughLogger.getCallerand the worker's console override intoai.Client#sendNotificationover its WebSocket, which is 12.1 of the profile's 38.6 busy seconds. The trigger is not isolated: in instrumented runs the stretch began within 0.25 s of the probe attaching to the App SharedWorker, and the uninstrumented run gapped at other times. It is outside this ticket, because a worker that is not handling events delays every carrier equally. Not filed as a ticket.Acceptance Criteria
setIntervalin a hidden tab, not the RO addon's poll in the agent pane with registered targets. The law is established; this AC asks for the addon in situ, and one is a strong inference about the other rather than the same measurement. Ticked on the in-situ receipt in AC-1 in situ, measured — the addon's own poll with registered targets, on a registered-then-hidden Chrome tab rather than the pane, which cannot mount the app.Out of Scope
Related
Related: #16402 · #16425 · #16434 · #16382
Live latest-open sweep: checked latest 20 open issues at 2026-08-03T10:57Z; no equivalent found. A2A in-flight claim sweep: latest 30 messages spanning the herd window — no overlapping claim (#16382 is orchestrator-substrate starvation detection, different seam).
Origin Session ID: f01a83b0-dab9-4fa9-a3a1-279f3e2336dd
Retrieval Hint: "main-thread timer visibility throttling starvation carrier hidden poll cadence"