Skip to content

A handle held by two live artifacts: the tool's answer names the other one #691

Open

Description

@SSFSKIM

What this is

A follow-up of the UX wave's artifact landing U10b-2 (ticket 687), from its review panel.

The problem

An agent deletes its own draft and then makes a new artifact that takes the draft's handle. The person presses Undo on the transcript's "Deleted <title>" row. Both artifacts are then live and hold the same handle. By the landing's decision 7 nothing is renamed: the lookup by handle answers the newer artifact, and the restored one is reached by its id. That is by design, and it is silent: an agent that resolves the handle is not told that a second live artifact holds it, and the undo is the person's act in the window, so no answer of it reaches the agent.

What done looks like

When a tool call of the artifact tools resolves a handle that more than one live artifact within the session's reach holds, its answer names the other holder or holders by id and title, in one optional field, so an agent asked about "the draft that was restored" can find it. The lookup's choice (the newest) does not change, and nothing is renamed. The transcript's row for the person says nothing of handles.

Design is open

Where the field is added (the one lookup every artifact tool goes through, so that each tool's answer carries it without a change per tool), its name and shape, whether a session is told once or at every resolution, and what both older builds' tool servers answer (nothing: the field is optional). Whether an agent should also be told of a person's Undo at all is a separate question and is not this ticket's.

Edges

  • After ticket 687 (the delete and its undo).
  • Stores nothing; changes a tool's answer only (a dated line under the charter's X9).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementpriority:P3status:ready-for-architect

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions