Skip to content

A pause does not destroy artifacts, and does not deliver them twice

The rule

Normative: this is the rule
  1. Artifacts produced before a run pauses MUST be held durably against the turn that produced them rather than discarded.
  2. Held artifacts MUST NOT be exposed on the wire while they are held.
  3. The next write-back for the same execution MUST take them and prepend them to whatever the resumed run collected.
  4. That write-back MUST deliver the merged array on the resumed turn's assistant message.
  5. Taking is destructive, so a delivered artifact MUST NOT be delivered a second time.
  6. A resume that pauses again MUST hold everything for the next one.
  7. A write-back that fails after taking the artifacts MUST put them back before it reports the failure, so a failed write postpones delivery rather than destroying it.
  8. The held array MUST be bounded.
  9. Where it would exceed the bound, the newest entries MUST be dropped, with a warning.

What it means

A pause is the hard case: a tool already ran and produced an artifact before the run stopped to ask a question, and there is no assistant message yet to carry it. The artifact is held rather than lost, but it stays off the wire while it waits — a caller polling the paused turn never sees it. Only the resume's write-back takes it, and taking it is destructive: once delivered on the resumed turn's assistant message, the same artifact is never handed out again, even if the run pauses a second time.

Example

What is held against the paused turnheld
{ "type": "link", "payload": { "url": "https://example.com/report" }, "tool_call_id": "call_1" }

Answering the question resumes the run and delivers it exactly once, on the resumed turn's assistant message; asking the same question again finds nothing left to deliver.

Why

Recorded under OPEN-25.

Rule identifiers are permanent and are never renumbered. Each implementation publishes its own standing against these rules; this specification does not.spec 1.0 · RT-TOOL-7 · changed in spec 1.0