You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Artifacts: main's id-only table, the maws-artifact:// bytes and copyAsset still serve one copy for two machines' same id #806
#783 (batch b8) keys an artifact by machine and id through the window: library rows, the record view, every editor's props and state, document hosts, comment drafts, directory contexts and design-system reads. Main's side still keys by id alone:
src/main/artifacts/machines.ts, main's table of which machine holds an id;
the bytes served at maws-artifact://<id>/<revision>/<path>, whose URL carries no machine;
copyAsset's bare from / to operands;
the transcript version chip's console cache.
So when two machines hold an artifact with the same id, an HTML artifact, a media file or an embedded asset of one copy can be drawn from the other copy's bytes, even though the window opened the right copy.
Done when
The three paths and the cache carry the machine with the id. The scheme's URL names the machine, or the window resolves it before the request. A unit test opens two same-id copies on two machines and reads each copy's own bytes through the scheme and through copyAsset. e2e/remote.spec.ts M5b gains a twin-id step on the Mac lane.
Found while building #783 (UX wave follow-up group b8-bugs); left out of that landing by agreement because the scheme change reaches main's protocol handler.
Two more for this ticket, from the xhigh panel on ux-wave/b8-bugs (4b1fd6a..f4c496e, ticket 783's build), confirmed by its verifier and deferred here because both need the machine carried past the window into main:
copyAsset routing: the renderer's machine client exempts copyAsset, and a bare destination hint resolves to this Mac once both copies were observed. An image pasted between peer documents then fails when the source is absent here, or copies locally and saves a reference the peer's copy lacks. The source's machine must be checked separately from the destination's route (src/renderer/src/artifacts/machine-client.ts).
HTML comment drafts and their cleanup are keyed by the bare artifact id: the last-view cleanup leaves an HTML pass alive while any view of that id remains, and the unsent chip filters by host and subject, so a peer view that stays open can show and reopen the draft of a closed local copy (src/renderer/src/artifacts/registry.ts).
Activity
SSFSKIM commentedon Nov 20, 2026
Two more for this ticket, from the xhigh panel on ux-wave/b8-bugs (4b1fd6a..f4c496e, ticket 783's build), confirmed by its verifier and deferred here because both need the machine carried past the window into main: