Context
examples/worker/task is the engine's only example with a task worker. It has no catalog record, so Workers & Platform does not show it; the folder was last changed in July 2025. #21140's target renews it as "Heavy work off the UI", and the band's epic #21358 counts it among its nine renewals. No leaf was filed.
The Problem
The band's read (its rows): "One button on a white page; the answer goes to the console." A visitor asks "does the UI stay alive under heavy work?" and gets a button whose result they cannot see.
The Architectural Reality
src/worker/Task.mjs: the task worker, a thread for work that belongs neither to the app worker nor to the main thread.
examples/worker/task: the folder to rebuild in place.
- No record with this folder exists in
apps/portal/resources/data/examples.json on dev 78013b10fc.
The Fix
Rebuild the example in place. A job that takes seconds runs in the task worker and reports its progress to the page. While it runs, a text field stays editable. A switch runs the same job in the app worker instead, and the page shows the difference: the field or a small frame counter stalls. One line on screen says what to try. It gets its record in Workers & Platform.
Acceptance Criteria
Publication (added 22 Nov, the same for every leaf of this wave). The criterion above that names this example's record, card, tile or cover in the catalog is met in one of two ways. If #21856 (one catalog file per group) has merged before this leaf's pull request, the pull request carries the record in its group's file. If not, the pull request merges without it: the record stands as text in the pull request body, the cover is merged on neomjs/pages, and the catalog entry lands with #21934, the wave's publication pass. Either way this leaf closes with its example.
Out of Scope
A new worker type or a change to src/worker/Task.mjs beyond a defect the drive finds (that is its own ticket). The canvas example.
Avoided Traps
- A spinner instead of a comparison. The proof is the difference between the two workers, so both runs must be one switch apart.
Related
Parent #21358 · #21140 (the target: its content table names this row) · #21142 (the slate) · #21856 (one catalog file per group: the record rides this pull request once it has merged, before that it stands as text in the pull request body).
Live latest-open + closed sweep: checked latest 20 open (47 open, orange band: no open leaf owns this row, #21358 is its owning epic) + open and closed search ("worker task example") at 2026-11-22T11:27Z; no equivalent found. A2A in-flight sweep: latest 30 messages, all read-states, at 11:28Z: no claim on this row. MC sweep: "examples groups missing demonstrations, platform proofs without a leaf", 6 results: the target of 18 Nov and the lanes' rows, no decision against it. Own-assignment sweep: 6 open; #21140 is the parent outcome and names this row, none owns its build.
unowned-rationale: open to any maintainer for the Engine 14 cut of Mon 23 Nov; no contributor labels, because the cut is a day away and the first step is a drive on dev.
Decision Record impact: none.
Origin Session ID: c227dcb5-c90c-4730-964e-540d812bcfd0
Retrieval Hint: "heavy work off the UI example, task worker progress, worker/task renewal"
📜 Clio · @neo-fable-clio · Claude Fable 5.2 · Claude Code · session c227dcb5-c90c-4730-964e-540d812bcfd0
Context
examples/worker/taskis the engine's only example with a task worker. It has no catalog record, so Workers & Platform does not show it; the folder was last changed in July 2025. #21140's target renews it as "Heavy work off the UI", and the band's epic #21358 counts it among its nine renewals. No leaf was filed.The Problem
The band's read (its rows): "One button on a white page; the answer goes to the console." A visitor asks "does the UI stay alive under heavy work?" and gets a button whose result they cannot see.
The Architectural Reality
src/worker/Task.mjs: the task worker, a thread for work that belongs neither to the app worker nor to the main thread.examples/worker/task: the folder to rebuild in place.apps/portal/resources/data/examples.jsonondev78013b10fc.The Fix
Rebuild the example in place. A job that takes seconds runs in the task worker and reports its progress to the page. While it runs, a text field stays editable. A switch runs the same job in the app worker instead, and the page shows the difference: the field or a small frame counter stalls. One line on screen says what to try. It gets its record in Workers & Platform.
Acceptance Criteria
neomjs/pages).Publication (added 22 Nov, the same for every leaf of this wave). The criterion above that names this example's record, card, tile or cover in the catalog is met in one of two ways. If #21856 (one catalog file per group) has merged before this leaf's pull request, the pull request carries the record in its group's file. If not, the pull request merges without it: the record stands as text in the pull request body, the cover is merged on
neomjs/pages, and the catalog entry lands with #21934, the wave's publication pass. Either way this leaf closes with its example.Out of Scope
A new worker type or a change to
src/worker/Task.mjsbeyond a defect the drive finds (that is its own ticket). The canvas example.Avoided Traps
Related
Parent #21358 · #21140 (the target: its content table names this row) · #21142 (the slate) · #21856 (one catalog file per group: the record rides this pull request once it has merged, before that it stands as text in the pull request body).
Live latest-open + closed sweep: checked latest 20 open (47 open, orange band: no open leaf owns this row, #21358 is its owning epic) + open and closed search ("worker task example") at 2026-11-22T11:27Z; no equivalent found. A2A in-flight sweep: latest 30 messages, all read-states, at 11:28Z: no claim on this row. MC sweep: "examples groups missing demonstrations, platform proofs without a leaf", 6 results: the target of 18 Nov and the lanes' rows, no decision against it. Own-assignment sweep: 6 open; #21140 is the parent outcome and names this row, none owns its build.
unowned-rationale: open to any maintainer for the Engine 14 cut of Mon 23 Nov; no contributor labels, because the cut is a day away and the first step is a drive on
dev.Decision Record impact: none.
Origin Session ID: c227dcb5-c90c-4730-964e-540d812bcfd0
Retrieval Hint: "heavy work off the UI example, task worker progress, worker/task renewal"
📜 Clio · @neo-fable-clio · Claude Fable 5.2 · Claude Code · session c227dcb5-c90c-4730-964e-540d812bcfd0