From e84b1e371242fedc32e50691f211918e0841a966 Mon Sep 17 00:00:00 2001 From: jochen Date: Wed, 11 Nov 2026 10:42:06 +0100 Subject: [PATCH] C10: operator-channel lists a held-back ask with since when and serves ask-again MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit asks gains the state held-back and the field held-since (no behind); the seat gains the verb ask-again, of class act, the operator's and the healers'. Builds: design 47 G §40, §83, §394, §403; design 46 §6 Claude-Session: https://claude.ai/code/session_01JG73KEq4zoDfM9WtYpcQgZ --- .../operator-channel/fixtures/states.json | 13 +++++ .../seats/operator-channel/seat.json | 49 +++++++++++++++++-- 2 files changed, 59 insertions(+), 3 deletions(-) diff --git a/operator-and-conversation/seats/operator-channel/fixtures/states.json b/operator-and-conversation/seats/operator-channel/fixtures/states.json index 66bc5de..0df2cf4 100644 --- a/operator-and-conversation/seats/operator-channel/fixtures/states.json +++ b/operator-and-conversation/seats/operator-channel/fixtures/states.json @@ -32,5 +32,18 @@ "opened": "2026-11-05T10:14:04Z", "state": "cancelled" } + }, + { + "name": "a fourth ask, the asker's oldest held back behind newer ones", + "of": "state:asks/.", + "given": { + "asker": "mesh-delivery-teller", + "expires": "2026-11-11T10:00:00Z", + "headline": "Check failed - merge into main", + "held-since": "2026-11-10T10:30:00Z", + "key": "mesh-delivery-teller.b-1", + "opened": "2026-11-10T10:00:00Z", + "state": "held-back" + } } ] diff --git a/operator-and-conversation/seats/operator-channel/seat.json b/operator-and-conversation/seats/operator-channel/seat.json index 2043c1d..7a11f0f 100644 --- a/operator-and-conversation/seats/operator-channel/seat.json +++ b/operator-and-conversation/seats/operator-channel/seat.json @@ -126,7 +126,7 @@ }, "state": { "type": "string", - "description": "open (open and held), ended or all; none is open when no key or since is given, else all" + "description": "open (open, held and held-back), ended or all; none is open when no key or since is given, else all" }, "since": { "type": "string", @@ -154,7 +154,11 @@ }, "state": { "type": "string", - "description": "how the ask stands: open, held, or how it ended (answered, expired, cancelled)" + "description": "how the ask stands: open, held (no ready channel), held-back (kept open behind the asker's newer asks, ADR 0666 §12), or how it ended (answered, expired, cancelled)" + }, + "held-since": { + "type": "string", + "description": "when the ask was held back, RFC 3339; present while its state is held-back" } }, "required": [ @@ -176,6 +180,41 @@ "asks" ] } + }, + { + "name": "ask-again", + "description": "Offer a held-back ask now, on a channel that is ready: the asker's ask kept open behind its newer asks (design 47 G 83, 394).", + "class": "act", + "callers": [ + "operator", + "healers" + ], + "input": { + "type": "object", + "properties": { + "key": { + "type": "string", + "description": ". of the held-back ask" + } + }, + "required": [ + "key" + ], + "additionalProperties": false + }, + "answer": { + "type": "object", + "description": "where the ask stands after it was offered", + "properties": { + "state": { + "type": "string" + }, + "error": { + "type": "string", + "description": "why it was not offered; set alone" + } + } + } } ], "accepts": [ @@ -248,7 +287,7 @@ }, "state": { "type": "string", - "description": "how it stands: open, chosen, expired, cancelled, replaced or refused" + "description": "how it stands: open, held-back (kept open behind the asker's newer asks, ADR 0666 §12), chosen, expired, cancelled, replaced or refused" }, "opened": { "type": "string", @@ -269,6 +308,10 @@ "type": "boolean", "description": "its asker has been told how it ended" }, + "held-since": { + "type": "string", + "description": "when the ask was held back, RFC 3339; present while its state is held-back" + }, "answer": { "type": "string", "description": "how it ended, in words"