From 06cdac2f0d50c13a23edf627fdd0b56506e3f7e5 Mon Sep 17 00:00:00 2001 From: Sweets Sweetman Date: Sun, 25 Oct 2026 17:10:45 -0500 Subject: [PATCH] Sync published trailing-delete description from docs-site The docs review (docs-site#5) shortens the DELETE /api/chats/{id}/messages/trailing operation description to three sentences. This copies the regenerated record, so docs-site's build-contract-examples --check matches once the inventory pins this merge. Co-Authored-By: Claude Opus 5.5 --- lib/contracts/fixtures/published-docs.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/contracts/fixtures/published-docs.json b/lib/contracts/fixtures/published-docs.json index 2d32d3083..3e54d9449 100644 --- a/lib/contracts/fixtures/published-docs.json +++ b/lib/contracts/fixtures/published-docs.json @@ -1232,7 +1232,7 @@ "sourceHashes": { "content/docs/source/api-reference/openapi/accounts.json": "1a5a04f9ec358a15b8339b7029c9fed5fe69c6f042c8b03b6b4f03f3aafdeeed", "content/docs/source/api-reference/openapi/content.json": "a59fa965788414731d19e031ec4b44f4a83319bdc651cb0aa49fba5a534317b0", - "content/docs/source/api-reference/openapi/research.json": "19100841a55ed3a793ce4ebc04038916f431150c529d54d38ddb1958484fbfdd", + "content/docs/source/api-reference/openapi/research.json": "6559809afceb26786f697b53f6d92b09d55eecd5a592edad9a1da32ba595507d", "content/docs/source/api-reference/openapi/releases.json": "7bfbdee327e8b3e27ba39cea3fcfe1fe930997d2ea05cb19a707f926ae3bdba2", "content/docs/source/api-reference/openapi/social.json": "5bd167a78cf6a17c46724486e2921882be20969ea32f3c0297f5b7e7ba9a30aa", "content/docs/source/api-reference/openapi/context.json": "2d28305aa357b3771a12bc1fbc26df78e2b9bbacd459642e31b1b1e13a314875", @@ -4372,7 +4372,7 @@ "chatTrailingDelete": { "method": "DELETE", "path": "/api/chats/{id}/messages/trailing", - "description": "Delete one persisted Workflow chat message and its inclusive suffix, ordered by `created_at` then `id`. The anchor must belong to the owned Workflow chat; legacy chat memories are not read or deleted. Authenticate with exactly one of `x-api-key` or `Authorization: Bearer`. Ownership is checked against the chat session's effective account, including an authorized `account_id` query override.\n\nThe caller must ensure there are no concurrent or outstanding message writers, including queued persistence and other edits. Any observed nonnull workflow slot returns `409` without cancelling work or clearing the slot. A null slot or a successful Stop does not prove that outstanding writers have finished. Concurrent edit/resend is unsupported.\n\nThe delete is scoped to this chat and includes the anchor, messages with a later timestamp, and messages at the same timestamp whose UUID sorts at or after the anchor UUID. Earlier UUIDs at the same timestamp survive; timestamp precision is preserved.\n\n`200` means the delete statement succeeded, possibly affecting zero rows. It does not report a deleted-row count or guarantee durable absence or prevent later message recreation. A transport failure can leave the commit outcome unknown: refresh authoritative history before deciding what to do next, rather than blindly resending a turn.", + "description": "Delete a message in a Workflow chat and every message after it, ordered by `created_at` then `id`. Concurrent edit/resend is unsupported: stop other writers first, because an active workflow run returns `409`. `200` means the delete ran, possibly affecting zero rows; after a transport failure, refresh the chat history instead of resending.", "parameters": [ { "name": "id",