Reconcile the root snapshot after a partial environment activation failure, and make deep-link routing honor the activation result before navigating. This keeps the UI selection aligned with the runtime even when the target computer is unreachable.
Use an explicit cancellation receipt instead of a long blocking sleep in the aggregate refresh test. Treat a disconnected snapshot as a failed onboarding connection so activation and pairing cannot advance to the success screen while the selected computer is unreachable.
Multi-environment fixtures were spending four seconds per failed fake WebSocket request, and Xcode spent another 600 seconds collecting diagnostics after simulator launch failures. Use explicit loader receipts, inject a short fixture-only connection deadline, run one test host, skip verbose failure diagnostics, and cap individual test execution time.
The stale-document fallback kept any revision-mismatched render while
streaming, so a reused transcript cell whose @State survived recycling
could briefly show another message's markdown. Only accept a stale
document whose source is a prefix of the current message.
Co-Authored-By: Claude Fable 5 <[email protected]>
A cancelled drain unwinding after a replacement started could clear the
replacement's task slot, allowing two concurrent drains to deliver out
of order. Generation-stamp each drain; only the current generation may
clear the shared slot, loop, or deliver.
Co-Authored-By: Claude Fable 5 <[email protected]>
- Move streaming markdown rendering out of .task(id:) into a renderer
that survives revision changes; the per-revision task cancelled any
in-flight parse, so messages that parse slower than the publish
cadence never rendered. One render runs at a time, latest revision
wins, 150ms throttle. Keep showing the previous streamed document
between renders instead of flashing back to plain text.
- Cap the terminal buffer in UTF-8 bytes (the unit the limit is defined
in) instead of Character count, snapping to a character boundary.
- Start the home list timer after items are populated so an initially
working thread gets the 1Hz interval; re-evaluate on every update.
- Sort activities by memoized parsed dates (stable, wire-order ties);
raw ISO strings sort wrong across mixed fractional representations.
Co-Authored-By: Claude Fable 5 <[email protected]>