From 82c567a7b88c45ff522ba9a2256840b80d3ca64e Mon Sep 17 00:00:00 2001 From: Kishore Kumar Date: Tue, 24 Nov 2026 17:01:25 +0530 Subject: [PATCH 1/3] docs: one clock for runners, and the settings it removed agentsfleet #862 (M255_001) merged at 3fbd9e40e: - changelog: runners renew on the heartbeat the server announces and send no ping; renewal_interval_ms is refused at boot; the new ttl_seconds default and heartbeat bound; max_idle_hold_seconds sets the whole hold; the setup page and removed members' pages react to changes. - runners/install: drop renewal_interval_ms, which the runner refuses, and the two authoring_renewal keys it no longer reads. - workspaces/teammates: a removed member's pages close when the removal saves, not within 15 seconds. Co-Authored-By: Claude Opus 5.5 --- changelog.mdx | 25 +++++++++++++++++++++++++ runners/install.mdx | 6 ------ workspaces/teammates.mdx | 2 +- 3 files changed, 26 insertions(+), 7 deletions(-) diff --git a/changelog.mdx b/changelog.mdx index 0d83fd6..7d12e01 100644 --- a/changelog.mdx +++ b/changelog.mdx @@ -7,6 +7,31 @@ description: "Product changes and upgrade notes." agentsfleet is in **stealth-mode testing** and pre-production. APIs and agent behavior may change between releases without long deprecation windows. Email [agentsfleet@agentmail.to](mailto:agentsfleet@agentmail.to) if you want a hand calibrating an agent or to join as a design partner. + + ## One clock for runners + + Each runner now renews its runs on its heartbeat, every 10 seconds by default, and sends no separate ping. + The server announces the interval when a runner connects. + + ## Upgrading + + Upgrade every server replica before any runner. + Remove `renewal_interval_ms` from each runner's `[supervisor]` table first: a runner refuses to start with it. + + ## Breaking + + - **Run lifetime** — The default `[runner.run] ttl_seconds` is now 38. The server refuses a value under `heartbeat_interval_seconds` plus 28. + - **Heartbeat interval** — The server refuses `[runner.health] heartbeat_interval_seconds` above 24, above `ttl_seconds` minus 28, or above a third of `ttl_seconds` minus one. + + ## What's new + + - **Held sandboxes** — `[runner.sandboxes] max_idle_hold_seconds` now sets how long a finished run's sandbox stays held, including values over 10 minutes. + - **Setup page** — The page updates when its fleet changes instead of checking every second. + - **Removed teammates** — A removed member's open pages close as soon as the removal saves. + + See [runner installation](/runners/install) for the runner settings. + + ## Enable checkpoint resumption after testing diff --git a/runners/install.mdx b/runners/install.mdx index b55a883..f060de8 100644 --- a/runners/install.mdx +++ b/runners/install.mdx @@ -309,9 +309,6 @@ max_retry_after_seconds = 60 daemon_max_attempts = 5 daemon_initial_backoff_ms = 250 daemon_max_backoff_ms = 30_000 -renewal_interval_ms = 5000 -authoring_renewal_interval_ms = 10_000 -authoring_renewal_retry_ms = 250 max_concurrent_file_operations = 2 ``` @@ -326,9 +323,6 @@ max_concurrent_file_operations = 2 | `supervisor` | `daemon_max_attempts` | 1–10 | Caps sends for a bounded daemon operation. | | `supervisor` | `daemon_initial_backoff_ms` | 1–`daemon_max_backoff_ms` | Sets the first jittered daemon retry pause. | | `supervisor` | `daemon_max_backoff_ms` | 1–30,000 | Caps the exponential component before jitter. | -| `supervisor` | `renewal_interval_ms` | 100–5000 | Sets the batched host renewal interval. | -| `supervisor` | `authoring_renewal_interval_ms` | 100–10,000 | Sets the private authoring renewal interval. | -| `supervisor` | `authoring_renewal_retry_ms` | 1–250 | Sets the pause after a retryable authoring renewal failure. | | `supervisor` | `max_concurrent_file_operations` | 1–16 | Caps admitted file captures and restores across this runner. | Attempt counts include the first send. diff --git a/workspaces/teammates.mdx b/workspaces/teammates.mdx index 50a8af3..5d42325 100644 --- a/workspaces/teammates.mdx +++ b/workspaces/teammates.mdx @@ -93,7 +93,7 @@ The link stops working. You can invite the same address again. If your teammate accepted the invite first, `agentsfleet` refuses the revoke with [`UZ-INV-003`](/api-reference/error-codes#UZ-INV-003). The **People** table then lists them as a member. To take back their access, remove them. -A removed member loses access to every workspace in your account within 15 seconds, including any page they have open. Your fleets, secrets, and workspaces stay as they are. +A removed member loses access to every workspace in your account as soon as the removal saves, including any page they have open. Your fleets, secrets, and workspaces stay as they are. To remove a member: From 7b26c27cf0a8c5325d5d80340ab150661c7c9f72 Mon Sep 17 00:00:00 2001 From: Kishore Kumar Date: Tue, 24 Nov 2026 17:14:23 +0530 Subject: [PATCH 2/3] docs: list the API routes main serves docs.json named 50 operations agentsfleet main no longer serves and left 43 out, so make lint, and with it every push, failed its OpenAPI drift check. The renames: - /runners/me/leases/{lease_id} -> /runners/me/runs/{run_id}, and its tasks -> durable_tasks, tool-calls -> items - fleet and workspace events -> turns, event_id -> turn_id, tool-calls/{call_id} -> items/{item_id} - fleet tasks -> durable_tasks, authoring-context -> setup-context - admin runner events -> history, leases -> runs - draft cancellations -> PATCH the draft's turn The plugin routes and the workspace preference route are gone from the API, and their two groups with them; the fleet turn Stop is listed. Co-Authored-By: Claude Opus 5.5 --- docs.json | 105 +++++++++++++++++++++++------------------------------- 1 file changed, 44 insertions(+), 61 deletions(-) diff --git a/docs.json b/docs.json index d50a750..12e665b 100644 --- a/docs.json +++ b/docs.json @@ -221,8 +221,8 @@ "GET /v1/admin/runners/{runner_id}", "PATCH /v1/admin/runners/{runner_id}", "DELETE /v1/admin/runners/{runner_id}", - "GET /v1/admin/runners/{runner_id}/leases", - "GET /v1/admin/runners/{runner_id}/events" + "GET /v1/admin/runners/{runner_id}/runs", + "GET /v1/admin/runners/{runner_id}/history" ] }, { @@ -230,38 +230,38 @@ "pages": [ "GET /v1/runners/me", "POST /v1/runners/me/stream", - "POST /v1/runners/me/leases/{lease_id}/tool-calls", - "POST /v1/runners/me/leases/{lease_id}/messages", - "GET /v1/runners/me/leases/{lease_id}/fleets", - "GET /v1/runners/me/leases/{lease_id}/fleets/{fleet_id}/events", - "POST /v1/runners/me/leases/{lease_id}/steers", - "GET /v1/runners/me/leases/{lease_id}/schedules", - "POST /v1/runners/me/leases/{lease_id}/schedules", - "PATCH /v1/runners/me/leases/{lease_id}/schedules/{schedule_id}", - "DELETE /v1/runners/me/leases/{lease_id}/schedules/{schedule_id}", - "GET /v1/runners/me/leases/{lease_id}/schedules/{schedule_id}/runs", - "POST /v1/runners/me/leases/{lease_id}/schedules/{schedule_id}/runs", + "POST /v1/runners/me/runs/{run_id}/items", + "POST /v1/runners/me/runs/{run_id}/messages", + "GET /v1/runners/me/runs/{run_id}/fleets", + "GET /v1/runners/me/runs/{run_id}/fleets/{fleet_id}/turns", + "POST /v1/runners/me/runs/{run_id}/steers", + "GET /v1/runners/me/runs/{run_id}/schedules", + "POST /v1/runners/me/runs/{run_id}/schedules", + "PATCH /v1/runners/me/runs/{run_id}/schedules/{schedule_id}", + "DELETE /v1/runners/me/runs/{run_id}/schedules/{schedule_id}", + "GET /v1/runners/me/runs/{run_id}/schedules/{schedule_id}/runs", + "POST /v1/runners/me/runs/{run_id}/schedules/{schedule_id}/runs", "POST /v1/runners/me/credentials/mint", "GET /v1/runners/me/memory/{fleet_id}", "POST /v1/runners/me/memory/{fleet_id}", "POST /v1/runners/me/memory/{fleet_id}/recall", - "GET /v1/runners/me/leases/{lease_id}/tasks/checkpoints/{checkpoint_id}/objects", - "GET /v1/runners/me/leases/{lease_id}/tasks/checkpoints/{checkpoint_id}/pages/{page_id}", - "GET /v1/runners/me/leases/{lease_id}/tasks/effects", - "GET /v1/runners/me/leases/{lease_id}/tasks/effects/{effect_id}", - "GET /v1/runners/me/leases/{lease_id}/tasks/inputs", - "PATCH /v1/runners/me/leases/{lease_id}/tasks/checkpoints/{checkpoint_id}", - "PATCH /v1/runners/me/leases/{lease_id}/tasks/checkpoints/{checkpoint_id}/pins/{pin_id}", - "PATCH /v1/runners/me/leases/{lease_id}/tasks/decisions/{call_id}", - "POST /v1/runners/me/leases/{lease_id}/tasks/bindings", - "POST /v1/runners/me/leases/{lease_id}/tasks/checkpoints", - "POST /v1/runners/me/leases/{lease_id}/tasks/checkpoints/{checkpoint_id}/authorizations", - "POST /v1/runners/me/leases/{lease_id}/tasks/checkpoints/{checkpoint_id}/objects", - "POST /v1/runners/me/leases/{lease_id}/tasks/checkpoints/{checkpoint_id}/uploads", - "POST /v1/runners/me/leases/{lease_id}/tasks/decisions", - "POST /v1/runners/me/leases/{lease_id}/tasks/effects", - "POST /v1/runners/me/leases/{lease_id}/tasks/input-receipts", - "PUT /v1/runners/me/leases/{lease_id}/tasks/checkpoints/{checkpoint_id}/pages/{page_id}" + "GET /v1/runners/me/runs/{run_id}/durable_tasks/checkpoints/{checkpoint_id}/objects", + "GET /v1/runners/me/runs/{run_id}/durable_tasks/checkpoints/{checkpoint_id}/pages/{page_id}", + "GET /v1/runners/me/runs/{run_id}/durable_tasks/effects", + "GET /v1/runners/me/runs/{run_id}/durable_tasks/effects/{effect_id}", + "GET /v1/runners/me/runs/{run_id}/durable_tasks/inputs", + "PATCH /v1/runners/me/runs/{run_id}/durable_tasks/checkpoints/{checkpoint_id}", + "PATCH /v1/runners/me/runs/{run_id}/durable_tasks/checkpoints/{checkpoint_id}/pins/{pin_id}", + "PATCH /v1/runners/me/runs/{run_id}/durable_tasks/decisions/{call_id}", + "POST /v1/runners/me/runs/{run_id}/durable_tasks/bindings", + "POST /v1/runners/me/runs/{run_id}/durable_tasks/checkpoints", + "POST /v1/runners/me/runs/{run_id}/durable_tasks/checkpoints/{checkpoint_id}/authorizations", + "POST /v1/runners/me/runs/{run_id}/durable_tasks/checkpoints/{checkpoint_id}/objects", + "POST /v1/runners/me/runs/{run_id}/durable_tasks/checkpoints/{checkpoint_id}/uploads", + "POST /v1/runners/me/runs/{run_id}/durable_tasks/decisions", + "POST /v1/runners/me/runs/{run_id}/durable_tasks/effects", + "POST /v1/runners/me/runs/{run_id}/durable_tasks/input-receipts", + "PUT /v1/runners/me/runs/{run_id}/durable_tasks/checkpoints/{checkpoint_id}/pages/{page_id}" ] }, { @@ -275,8 +275,8 @@ "pages": [ "POST /v1/workspaces", "GET /v1/workspaces/{workspace_id}/members", - "GET /v1/workspaces/{workspace_id}/events", - "GET /v1/workspaces/{workspace_id}/events/stream", + "GET /v1/workspaces/{workspace_id}/turns", + "GET /v1/workspaces/{workspace_id}/turns/stream", "GET /v1/workspaces/{workspace_id}/onboarding", "GET /v1/workspaces/{workspace_id}/models" ] @@ -291,14 +291,8 @@ "DELETE /v1/workspaces/{workspace_id}/drafts/{draft_id}", "GET /v1/workspaces/{workspace_id}/drafts/{draft_id}/messages", "POST /v1/workspaces/{workspace_id}/drafts/{draft_id}/messages", - "POST /v1/workspaces/{workspace_id}/drafts/{draft_id}/cancellations", - "GET /v1/workspaces/{workspace_id}/drafts/{draft_id}/events/stream" - ] - }, - { - "group": "Workspace preferences", - "pages": [ - "PUT /v1/workspaces/{workspace_id}/preferences/{pref_key}" + "PATCH /v1/workspaces/{workspace_id}/drafts/{draft_id}/turns/{turn_id}", + "GET /v1/workspaces/{workspace_id}/drafts/{draft_id}/turns/stream" ] }, { @@ -335,27 +329,15 @@ "GET /v1/workspaces/{workspace_id}/fleets", "POST /v1/workspaces/{workspace_id}/fleets", "GET /v1/workspaces/{workspace_id}/fleets/{fleet_id}", - "GET /v1/workspaces/{workspace_id}/fleets/{fleet_id}/authoring-context", + "GET /v1/workspaces/{workspace_id}/fleets/{fleet_id}/setup-context", "PATCH /v1/workspaces/{workspace_id}/fleets/{fleet_id}", "DELETE /v1/workspaces/{workspace_id}/fleets/{fleet_id}", "POST /v1/workspaces/{workspace_id}/fleets/{fleet_id}/revisions", "PATCH /v1/workspaces/{workspace_id}/fleets/{fleet_id}/memory-access", - "GET /v1/workspaces/{workspace_id}/fleets/{fleet_id}/authoring-context", - "GET /v1/workspaces/{workspace_id}/fleets/{fleet_id}/tasks", - "GET /v1/workspaces/{workspace_id}/fleets/{fleet_id}/tasks/{task_id}", - "PATCH /v1/workspaces/{workspace_id}/fleets/{fleet_id}/tasks/{task_id}" - ] - }, - { - "group": "Plugins", - "pages": [ - "GET /v1/workspaces/{workspace_id}/plugins", - "POST /v1/workspaces/{workspace_id}/plugins", - "GET /v1/workspaces/{workspace_id}/plugins/{plugin_id}", - "DELETE /v1/workspaces/{workspace_id}/plugins/{plugin_id}", - "GET /v1/workspaces/{workspace_id}/plugins/{plugin_id}/revisions", - "POST /v1/workspaces/{workspace_id}/plugins/{plugin_id}/revisions", - "GET /v1/workspaces/{workspace_id}/plugins/{plugin_id}/revisions/{revision_id}" + "GET /v1/workspaces/{workspace_id}/fleets/{fleet_id}/setup-context", + "GET /v1/workspaces/{workspace_id}/fleets/{fleet_id}/durable_tasks", + "GET /v1/workspaces/{workspace_id}/fleets/{fleet_id}/durable_tasks/{durable_task_id}", + "PATCH /v1/workspaces/{workspace_id}/fleets/{fleet_id}/durable_tasks/{durable_task_id}" ] }, { @@ -387,10 +369,11 @@ { "group": "Fleet events", "pages": [ - "GET /v1/workspaces/{workspace_id}/fleets/{fleet_id}/events", - "GET /v1/workspaces/{workspace_id}/fleets/{fleet_id}/events/{event_id}", - "GET /v1/workspaces/{workspace_id}/fleets/{fleet_id}/events/{event_id}/tool-calls/{call_id}", - "GET /v1/workspaces/{workspace_id}/fleets/{fleet_id}/events/stream" + "GET /v1/workspaces/{workspace_id}/fleets/{fleet_id}/turns", + "GET /v1/workspaces/{workspace_id}/fleets/{fleet_id}/turns/{turn_id}", + "PATCH /v1/workspaces/{workspace_id}/fleets/{fleet_id}/turns/{turn_id}", + "GET /v1/workspaces/{workspace_id}/fleets/{fleet_id}/turns/{turn_id}/items/{item_id}", + "GET /v1/workspaces/{workspace_id}/fleets/{fleet_id}/turns/stream" ] }, { From 292b6ebb2940617729d0d17f507bedd7c76304c0 Mon Sep 17 00:00:00 2001 From: Kishore Kumar Date: Tue, 24 Nov 2026 17:19:48 +0530 Subject: [PATCH 3/3] docs: say which file holds the server settings Greptile on #259: the changelog named server settings beside a link to the runner's own file, which refuses unknown keys. The entry now names the daemon's file and keeps the link for the runner's [supervisor] settings. The recovery page's lease deadline is 38 seconds since M255. Co-Authored-By: Claude Opus 5.5 --- changelog.mdx | 3 ++- runners/recovery.mdx | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/changelog.mdx b/changelog.mdx index 7d12e01..bab9243 100644 --- a/changelog.mdx +++ b/changelog.mdx @@ -29,7 +29,8 @@ description: "Product changes and upgrade notes." - **Setup page** — The page updates when its fleet changes instead of checking every second. - **Removed teammates** — A removed member's open pages close as soon as the removal saves. - See [runner installation](/runners/install) for the runner settings. + Set the `[runner.*]` server settings in the daemon's configuration file, which `AGENTSFLEET_CONFIG_FILE` or `agentsfleetd --config serve` selects; a runner refuses them. + See [runner installation](/runners/install) for the runner's own `[supervisor]` settings. diff --git a/runners/recovery.mdx b/runners/recovery.mdx index e9221ed..d38bca4 100644 --- a/runners/recovery.mdx +++ b/runners/recovery.mdx @@ -37,7 +37,7 @@ An incomplete upload never replaces the last complete checkpoint. ### Replacing a failed runner The failed runner's lease must expire before another runner takes the work. -The normal deadline is 35 seconds after the last confirmed renewal. +The normal deadline is 38 seconds after the last confirmed renewal. The deployment can configure the lease lifetime. Capacity, permissions, funds, approval checks, and restore time can delay continuation.