Skip to content

Artifacts keyed by id alone: one id on two machines shares one row, view and route #783

Closed

Description

@SSFSKIM

Problem

The window keys an artifact's reads, its view and its route by the artifact id alone. When two machines both hold an artifact with the same id, their copies therefore share one library row, one view and one route, whichever machine the user picked.

Where the id-only keying lives:

  • src/renderer/src/library/store.ts: rowKey(id) and watchLibraryRow(id)
  • tools/artifacts/ (ArtifactsTool): <ArtifactRecordView key={artifactId}>
  • every editor: useLibraryRow(artifactId)
  • artifacts/machines.ts: one route table for the whole window. It already names "one id held by two machines" as a known residual.

U6b-5a's palette (panel finding scalpel-5#2) passes the chosen row's machine, but everything after the palette drops it. U6b-5a's DL 16 (iv) route-hint row has the same cause.

Work

Key artifact reads, views and routes by (machine, id) in the files above. Cover the case with a test: one artifact id on two machines, both opened, and each view reads and edits its own machine's copy.

Not in scope

Choosing a palette-side refusal instead (refusing the second machine's row, or closing the other view). That would be a product call.

Found during: UX wave U6b-5a panel fix wave (2026-11-19). The defect predates U6b-5a. It goes through U10's files, which U6b-5a's §H does not edit.

Activity

  1. added
    bug
    status:ready-for-implementer
    priority:P2
    on Nov 19, 2026
  2. added
    status:in-progress
    and removed
    status:ready-for-implementer
    on Nov 20, 2026
  3. SSFSKIM commented on Nov 20, 2026

    @SSFSKIM
    OwnerAuthor

    [board] in-progress: batch 8, group b8-bugs

  4. 7 remaining items

  5. added
    status:in-review
    and removed
    status:in-progress
    on Nov 20, 2026
  6. added a commit that references this issue on Nov 20, 2026
  7. removed
    status:in-review
    on Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugpriority:P2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions