Skip to content

Improvement: build the fleet manager's admission, dispatch and recheck lessons into the platform, and shrink its automations #4945

Closed

Description

@yannickmonney

Summary

Tale's own development is run by a Tale instance: a standing manager agent that decides, every thirty minutes (light) and every three hours (full), which of twenty workers starts which task, plus four standing roles (review, product QA, engineering and performance, release). It is the heaviest user of task.start_agent there is. Between 2026-10-04 and 2026-10-07 its declarations changed in 37 commits, most of them about admission, pressure and dispatch, and the pattern repeats: a rule the platform could enforce is written as an instruction instead.

The result is policy as prose: about 250 lines of project policy, a 136-line manager brief, a 167-line worker brief and six pseudo-code functions an agent is asked to execute in its head, repeated across six near-identical automations and guarded by about 2,600 lines of tests that assert what the prose says. This issue collects what that cycle learned and proposes moving the enforceable part into the platform, so that (1) the cycle's own definitions shrink to a few lines and (2) any automation or agent that starts agents gets the same protection without copying a policy.

It proposes a shape, not a final design. The forks at the end are the owner's.

Where the lessons live: the private tale-project/ops repository at 90f4d7cb, deployments/tale/platform/pr/autonomous-cycle/ (policy.md, roles/manager.md, worker.md, workflows/*.yml, configuration.json, README.md) and tests/shell/tests/{autonomous-cycle,ci-backpressure}.test.ts.

What the platform already does (anchors: main 40e7a56, 2026-10-13)

  • Start admission for an agent run (backend/domains/tasks/delegated-start.ts): task dependencies (blockedBy), a busy task or agent (busyTaskId), automated starts per task per rolling hour (AUTOMATED_STARTS_PER_TASK_PER_HOUR = 3, :151) and retryAfter while a circuit is open (:202, :938).
  • Why a run waits (lib/shared/agent-run-waiting.ts): org_limit, host, destroy_pending, exec_limit.
  • Host admission when a session is created (services/sandbox/src): a MemAvailable reserve (host-memory.ts: a tenth of the host, at least 1 GiB) plus a planned working set per starting session and a 90 s reservation for young sessions (session/session-routes.ts); CPU pressure from /proc/pressure/cpu some avg10, 60% by default, above which sessions start one per 10 s; a disk free-space floor (host-disk.ts: a twentieth of the disk, 2 to 20 GiB); a first-come queue with retry hints.
  • Waiting for room in an automation step instead of failing it (backend/core/automations/agent_host.ts, SANDBOX_ROOM_RETRY_CEILING_MS).
  • Cursored imports with receipts (task.get_import_cursor, task.save_import_cursor, migration 0140).

What the cycle needed on top

# What happened How the cycle handles it today What the platform would need
1 Five agent sessions at once drove a four-vCPU host to load ~94 with 3 GB free; /api/health took 7 s and the scheduler's own calls hung (2026-09-29). Every start had passed the spawner's admission, which looks at memory, CPU pressure and disk when a session is created; the load came from whole-workspace type checks, installs and local stacks run inside sessions already admitted. phaseAdmission in the project policy: stop at load or CPU of 1 or more, CPU PSI 20%, memory PSI 1% or I/O PSI 10%; recover below half; two readings 10 to 60 s apart, the last at most 30 s old, from one host /proc scope (never the sandbox's cpu.max). Described as "a voluntary manager predicate, not a lease service". One admission service with these thresholds as configuration (memory and I/O pressure and hysteresis added to the signals that exist), asked at session creation and before a declared heavy command class inside a session. The verdict and its evidence are recorded on the run.
2 Heavy phases need a reservation, not a hope. An atomic same-owner reservation with two predicted-growth slots, at most two heavy phases active, expiry, and free bytes minus predicted growth of at least max(20 GiB, native reserve). The cycle's own README lists "no native lease service" as an open gap. Leases in the spawner: count, predicted growth, expiry, released when the process or session ends. Related: #4871 (no per-workspace disk bound).
3 Dispatch is a loop an agent runs by hand. One task_start_agent per eligible (agent, task) pair, read the run or refusal back, take two fresh readings, repeat until the queue is empty, every worker is busy, a guard refuses or pressure holds; record dispatchCount; with zero starts and no fresh proof admit exactly one pair (a deadlock breaker). A dispatch step: ranked candidates in, incremental admission with fresh evidence between starts, per-pair verdicts out. The model supplies the ranking; the engine supplies the mechanics.
4 Transient pressure should not end a pass. Recheck at 60, 120 and 240 s inside a 15-minute deadline; the credit is consumed even when interrupted; the pass keeps its identity (planDispatchRecovery, resumeDispatchRecovery, planDispatchPair, planDispatchContinuation). A durable wait and retry: #4928 (retry a failed step after a wait) and #4929 (a wait step).
5 One agent was working while there was room for six (2026-10-03). Nothing technical blocked it: the rules reserved agents for their next standing slot. A capacity target, "reserve a worker only within 30 minutes of its own slot", and an hourly dispatch-only automation that refills. A role's reservation window and the refill are engine behaviour, and "why is this agent idle" is a readback: blockedBy, next slot, held reason.
6 Each agent holds a session between tasks, so N agents need maxSessionsPerOrg of at least N; at four, the fifth agent's run sat queued with waitingForCapacity, re-parked by the watchdog on every tick. Found by reading the database. Say so when the quota is set below the agent count, or let an idle session yield.
7 People start runs on the same agents; a second run on a busy agent shares its session (seven runs by people beside five by the scheduler overloaded the host). The manager is told to check the live runs of every starter. Admission counts every starter.
8 A 200 GiB sandbox volume reached 97% with seven standing workspaces of 20 to 26 GB. The owner's ruling: Tale must clean up old sessions itself. sandbox.workspace_gc deletes only owner-gone workspaces and ones unused for N days, never on size or pressure. Reclaim by size and pressure, ownership-verified, never a running session. Related: #4871.
9 Subscription accounts reached their weekly caps at the same time. "A provider failure requires new availability evidence"; the first two broker rotations and own-429 retries are free, the third counts (partly native: freeCooldownWaits, freeCredentialRotations). Admission that considers provider availability and retryAfter.
10 Optional CI-producing work was held while the hosted-runner queue was full. ciAdmission: a queue of 20 or more is pressure, recover below half, one optional batch per pass at least 30 minutes apart, a five-minute snapshot TTL, at most 240 requests. A generic external gate (an HTTP signal feeding admission), not a GitHub-specific one.

Boilerplate every automation repeats

Six automations differ only in role, task, agent and brief, and each carries the same pieces:

  • a 10-line transform that formats a schedule's firedAt as a Zurich wall-clock label (the manager's carries two DST tests);
  • a 12-line feedback preamble telling the agent to task_get its own task and the project instructions before deciding, because "conversation memory and prior receipts are not current instructions" (the worker brief repeats it);
  • a 10-line task.comment admission receipt ("Admission only; work completion requires the agent run receipt...");
  • and, in the manager's, the intake: three sources times four nodes (position, import, save cursor, receipt).

The instruction size limit also shaped the policy: "keep cycle policy within worker limit" and "keep pressure instructions within budget" are commit subjects. Rules were compressed into dense prose because there was no other place for them.

Proposal (shape, not final)

  1. One admission service. Signals: host memory, CPU, I/O pressure and load; disk floor and predicted growth; organization worker and session limits; provider availability; optional external gates. Thresholds are configuration per deployment, with a per-organization override; hysteresis and freshness are built in; the verdict is structured (admit or hold, reason, retryAfter, evidence) and recorded on the run. Used at session creation (as today), by task.start_agent and task_start_agent, and before a declared heavy command class in a session.
  2. Heavy leases in the spawner: atomic, expiring, visible on the Sandboxes page, released at process or session end.
  3. A dispatch step or tool: candidates and a ranking in, incremental admission, verdicts and dispatchCount out; the first-pair rule is part of it.
  4. Wait and recheck built from Improvement: run independent steps and a forEach's items at the same time, and try a failed step again after a wait #4928 and Improvement: durable test runs with stand-ins, preview mode, a wait step and the approval line in the run record #4929, not from pseudo-code.
  5. Standing roles as data: agent, task, schedule with its time zone, mode (full or light). The platform starts the run, labels the occurrence in the schedule's zone, coalesces replays and records the admission on the run's timeline. No automation per role and no receipt node.
  6. An instruction snapshot at run start: the platform hands the run its current role and project instructions and records their hash, and refuses to start when they are unavailable. No task_get preamble.
  7. An intake step with a native receipt that takes a list of sources (with Improvement: run independent steps and a forEach's items at the same time, and try a failed step again after a wait #4928's forEach).
  8. Reclaim by size and pressure beside sandbox.workspace_gc, and a heartbeat metric (the last successful dispatch pass) for an external alert, since a loop inside the platform cannot prove its own availability during an outage.

What the cycle's definitions become (targets, measured by wc -l before and after)

  • the six automations (933 lines with tests) become role declarations of a few lines each, with one definition for the manager's two modes;
  • the manager brief (136 lines) and the capacity and CI sections of the policy (about 90 lines, two functions) become thresholds in configuration plus a short brief of judgement only;
  • the two cycle test files (about 2,600 lines) become configuration checks, because the behaviour is tested in the platform.

Acceptance

  • A second project's automation that starts agents gets host and provider admission, dispatch and recheck with no policy text (shown with a second standing role in a throwaway project).
  • A heavy phase asks and gets a lease; a second one that would break the reserve is refused with a reason and retryAfter; process exit releases the lease.
  • Replaying a coalesced or interrupted pass causes no duplicate start and no duplicate receipt.
  • Under injected CPU, memory and I/O pressure, dispatch holds, rechecks at the configured delays and resumes; the run record shows each reading.
  • A 24-hour shadow run of the shrunk cycle starts the same work or less under pressure, never more, with load average and idle-agent time no worse.

Forks (recommendation in bold)

  1. Enforce or advise? Enforce in the platform; keep ranking and judgement with the manager; keep urgent exemptions explicit and never for local admission.
  2. Where are per-command phases admitted? A declared class the agent asks for first, enforced by the lease at exec time, with process caps for the rest. The exec path cannot know intent.
  3. Thresholds: keep today's spawner values as defaults, make them configurable, ship the cycle's stricter values as a "conservative" preset and recalibrate after seven days of data (the cycle's own rule).
  4. External gates: a generic signal, not a GitHub connector.
  5. Provider availability in admission: yes, through the existing retry and credential-rotation facts, not a second account ledger.

Out of scope

Related

#4871, #4927, #4928, #4929, #4936, #4946

Activity

  1. added
    needs discussion
    improvement
    service: platform
    on Oct 13, 2026
  2. yannickmonney commented on Oct 14, 2026

    @yannickmonney
    ContributorAuthor

    Five-hour fleet monitor — baseline (2026-10-14)

    Live readback from the Tale platform:

    • Fleet Manager task fix(deps): update dependency nodemailer to v8 #357 is in_progress; its run is live (1fa68394-9ffd-47ec-9c37-02591968e0fc).
    • The manager has admitted worker task feat(platform): add editing support to Canvas with apply-back to message #1451, whose run is live (7fb00e64-b1a1-4b15-8671-a17c76cb734c).
    • The task board and /tasks/ops-indicators/by-project agree on the active runs.
    • autonomous-cycle/fleet-manager and autonomous-cycle/fleet-dispatch are deployed at v14, enabled, with no skip reason.
    • The earlier zero-worker state was a dispatch/admission regression: the manager settled without starting a worker while stale assignments and incomplete queue/capacity evidence remained. Manual native admission restored the first worker; this monitor will record whether scheduled refill keeps the fleet live.

    This comment starts a five-hour observation window. Subsequent checkpoints will record active task/run IDs, queued/waiting/refused runs, provider/model, board-vs-ledger divergence, schedule skips, and any failures.

  3. yannickmonney commented on Oct 14, 2026

    @yannickmonney
    ContributorAuthor

    Five-hour fleet monitor checkpoint 2026-10-14T01:07:17.286Z

    Sample 0; workers in ledger: 0; worker cards: 0; manager: in_review.
    Worker runs: none.
    No worker task cards are visible in In progress.
    Queue counts: backlog 181, To do 3, In review 755.
    Waiting/queued runs: none.
    No recent manager failure/refusal in the sampled history.
    Fleet schedules enabled with no skip reason.
    Board and run-ledger counts agree for worker work.
    The watcher will continue polling and will append the next checkpoint on state change or at the regular interval.

  4. yannickmonney commented on Oct 14, 2026

    @yannickmonney
    ContributorAuthor

    Five-hour fleet monitor checkpoint 2026-10-14T01:22:19.303Z

    Sample 3; workers in ledger: 0; worker cards: 0; manager: in_review.
    Worker runs: none.
    No worker task cards are visible in In progress.
    Queue counts: backlog 181, To do 3, In review 755.
    Waiting/queued runs: none.
    No recent manager failure/refusal in the sampled history.
    Fleet schedules enabled with no skip reason.
    Board and run-ledger counts agree for worker work.
    The watcher will continue polling and will append the next checkpoint on state change or at the regular interval.

  5. yannickmonney commented on Oct 14, 2026

    @yannickmonney
    ContributorAuthor

    Five-hour fleet monitor checkpoint 2026-10-14T01:32:21.342Z

    Sample 5; workers in ledger: 0; worker cards: 0; manager: in_progress.
    Worker runs: none.
    No worker task cards are visible in In progress.
    Queue counts: backlog 181, To do 3, In review 754.
    Waiting/queued runs: none.
    No recent manager failure/refusal in the sampled history.
    Fleet schedules enabled with no skip reason.
    Board and run-ledger counts agree for worker work.
    The watcher will continue polling and will append the next checkpoint on state change or at the regular interval.

  6. yannickmonney commented on Oct 14, 2026

    @yannickmonney
    ContributorAuthor

    Five-hour fleet monitor checkpoint 2026-10-14T01:37:22.887Z

    Sample 6; workers in ledger: 0; worker cards: 0; manager: in_review.
    Worker runs: none.
    No worker task cards are visible in In progress.
    Queue counts: backlog 180, To do 3, In review 756.
    Waiting/queued runs: none.
    No recent manager failure/refusal in the sampled history.
    Fleet schedules enabled with no skip reason.
    Board and run-ledger counts agree for worker work.
    The watcher will continue polling and will append the next checkpoint on state change or at the regular interval.

  7. yannickmonney commented on Oct 14, 2026

    @yannickmonney
    ContributorAuthor

    Live repair during monitor (2026-10-14)

    The watcher caught a second zero-worker interval: the manager task had settled back to in_review and the worker ledger was empty. I reopened the manager through the native status endpoint. Its current run is 6c5c73a5-7c6d-4aa6-b38b-908b8209bec5.

    The manager subsequently admitted a worker task (#1452, 3729d02a-eb44-42b2-a68e-1bec2cebbcd6) and reopened the independent-review role (#359). The task board briefly showed both worker cards while the run ledger exposed the manager and the worker run. The five-hour watcher remains active and will record whether this admission survives the next settle/schedule boundary.

  8. yannickmonney commented on Oct 14, 2026

    @yannickmonney
    ContributorAuthor

    Five-hour fleet monitor checkpoint 2026-10-14T01:47:24.803Z

    Sample 8; workers in ledger: 0; worker cards: 1; manager: in_progress.
    Worker runs: none.
    Worker task numbers visible on the board: 1452.
    Queue counts: backlog 179, To do 3, In review 755.
    Waiting/queued runs: none.
    No recent manager failure/refusal in the sampled history.
    Fleet schedules enabled with no skip reason.
    Readback note: board/ledger counts differ (manager or refresh lag possible).
    The watcher will continue polling and will append the next checkpoint on state change or at the regular interval.

  9. yannickmonney commented on Oct 14, 2026

    @yannickmonney
    ContributorAuthor

    Five-hour fleet monitor checkpoint 2026-10-14T01:52:26.428Z

    Sample 9; workers in ledger: 0; worker cards: 1; manager: in_review.
    Worker runs: none.
    Worker task numbers visible on the board: 1452.
    Queue counts: backlog 179, To do 3, In review 756.
    Waiting/queued runs: none.
    No recent manager failure/refusal in the sampled history.
    Fleet schedules enabled with no skip reason.
    Readback note: board/ledger counts differ (manager or refresh lag possible).
    The watcher will continue polling and will append the next checkpoint on state change or at the regular interval.

  10. yannickmonney commented on Oct 14, 2026

    @yannickmonney
    ContributorAuthor

    Five-hour fleet monitor checkpoint 2026-10-14T02:02:28.127Z

    Sample 11; workers in ledger: 0; worker cards: 1; manager: in_progress.
    Worker runs: none.
    Worker task numbers visible on the board: 1452.
    Queue counts: backlog 179, To do 3, In review 755.
    Waiting/queued runs: none.
    No recent manager failure/refusal in the sampled history.
    Fleet schedules enabled with no skip reason.
    Readback note: board/ledger counts differ (manager or refresh lag possible).
    The watcher will continue polling and will append the next checkpoint on state change or at the regular interval.

  11. yannickmonney commented on Oct 14, 2026

    @yannickmonney
    ContributorAuthor

    Five-hour fleet monitor checkpoint 2026-10-14T02:07:29.497Z

    Sample 12; workers in ledger: 0; worker cards: 1; manager: in_review.
    Worker runs: none.
    Worker task numbers visible on the board: 1452.
    Queue counts: backlog 179, To do 3, In review 756.
    Waiting/queued runs: none.
    No recent manager failure/refusal in the sampled history.
    Fleet schedules enabled with no skip reason.
    Readback note: board/ledger counts differ (manager or refresh lag possible).
    The watcher will continue polling and will append the next checkpoint on state change or at the regular interval.

  12. yannickmonney commented on Oct 14, 2026

    @yannickmonney
    ContributorAuthor

    Five-hour fleet monitor checkpoint 2026-10-14T02:17:31.530Z

    Sample 14; workers in ledger: 1; worker cards: 2; manager: in_review.
    Worker runs: cdf04a08-7daa-4048-b7cd-84a1332c42f7:cb87a4ad-9937-469f-9269-fc40f22c41d6:running.
    Worker task numbers visible on the board: 1452, 358.
    Queue counts: backlog 179, To do 3, In review 755.
    Waiting/queued runs: none.
    No recent manager failure/refusal in the sampled history.
    Fleet schedules enabled with no skip reason.
    Readback note: board/ledger counts differ (manager or refresh lag possible).
    The watcher will continue polling and will append the next checkpoint on state change or at the regular interval.

  13. yannickmonney commented on Oct 14, 2026

    @yannickmonney
    ContributorAuthor

    Five-hour fleet monitor checkpoint 2026-10-14T02:22:33.078Z

    Sample 15; workers in ledger: 0; worker cards: 1; manager: in_review.
    Worker runs: none.
    Worker task numbers visible on the board: 1452.
    Queue counts: backlog 179, To do 3, In review 756.
    Waiting/queued runs: none.
    No recent manager failure/refusal in the sampled history.
    Fleet schedules enabled with no skip reason.
    Readback note: board/ledger counts differ (manager or refresh lag possible).
    The watcher will continue polling and will append the next checkpoint on state change or at the regular interval.

  14. 11 remaining items

  15. yannickmonney commented on Oct 14, 2026

    @yannickmonney
    ContributorAuthor

    Enhanced fleet observation — 2026-10-14T04:31:49.395Z

    Window remains 2026-10-14 01:03:24Z–06:03:24Z (03:03–08:03 Europe/Zurich). Sampling is now every 30 seconds, with project-scoped board reads and per-task outcome tracking.
    Live ordinary-task runs: 2; standing-role runs: 1; In progress cards: 4.
    Ordinary live task IDs: 8a6fcc46-49af-4d58-b2b5-ccf29051b061, 1b5fbe28-2316-492f-b815-892861835d36.
    Queue: backlog=176, in_progress=4, in_review=755, todo=4; board truncated=false; ledger truncated=false.
    In progress cards without a current ledger run: 15541bea-a119-4145-9785-3557d7851946. These are transition/stale-card candidates, not live-worker proof.
    Manager card: in_progress; serving platform version: 0.5.89.
    Fleet schedule readback: [{"enabled":true,"lastSkipReason":null,"name":"autonomous-cycle/fleet-dispatch","version":14},{"enabled":true,"lastSkipReason":null,"name":"autonomous-cycle/fleet-manager","version":14}]
    Observation continues. Successful harness settlement will be assessed separately from implementation/review progress.

  16. yannickmonney commented on Oct 14, 2026

    @yannickmonney
    ContributorAuthor

    Interim findings — 04:42:01Z

    The enhanced observation (30-second polling, 02:37:09Z–04:42:01Z) has 246 valid samples and 0 unavailable/truncated samples. 209/246 (85.0%) valid samples have zero ordinary-task runs. This is a sample proportion, not exact time coverage. Peak ordinary concurrency in this phase is 3, well below the configured twenty workers.

    Findings supported by run history:

    1. Provider capacity repeatedly blocks the manager and workers. 6 observed run outcomes have model_capacity; examples include manager run 3d047ec0-2a94-45cf-8b84-965e66f7c91f and the three successive TALE-670 attempts (81e13040-8252-499b-80e6-11dba8d61635, 466557e3-6934-4f55-8752-524b272fa0c7, 4508dfe0-0692-4b8e-8885-2eba164b80e6). These runs use gpt-6-astra with provider openai.
    2. Board status overstates active work for long intervals. TALE-1452 remains In progress while its newest run a18296c1-9853-4582-bb91-0f3b25dea097 failed with model_capacity and the live run ledger contains no run for that task. During much of the interval, the board showed cards while ordinary run count was zero. This is more than a brief non-atomic read transition.
    3. Scheduled coordination is alive, but it does not continuously refill ordinary work. The manager admitted TALE-505/1453/1454 in its 06:30 Zurich pass; all three were observed live. It later settled, and ordinary concurrency declined as work settled. Enabled scheduling alone does not establish a busy fleet.
    4. A settled run is not proof of a landed change. TALE-1450 produced an investigation with no source changes or tests. TALE-505 reports source edits with git diff --check passed, but full tests were NOT_RUN because dependencies were unavailable. TALE-1453 delivered a migration artifact outside a materialized checkout, with no commit, PR or runtime check. These are distinct outcomes to represent in the dispatch/review design.
    5. Standing-role coverage remains blocked. Product review reports blocked live checks; Engineering reports missing atomic reservation and unavailable Ops-dependent coverage. A successful coordination checkpoint must not be counted as completed coverage.

    The platform health readback remains version 0.5.89. Fleet schedule readbacks remain enabled/deployed v14 with no skip reason. No deployment or provider setting was changed by this enhanced observation. Monitoring continues until 06:03:24Z (08:03:24 Europe/Zurich).

  17. yannickmonney commented on Oct 14, 2026

    @yannickmonney
    ContributorAuthor

    Enhanced fleet observation — 2026-10-14T04:47:06.995Z

    Window remains 2026-10-14 01:03:24Z–06:03:24Z (03:03–08:03 Europe/Zurich). Sampling is now every 30 seconds, with project-scoped board reads and per-task outcome tracking.
    Live ordinary-task runs: 0; standing-role runs: 0; In progress cards: 1.
    Ordinary live task IDs: none.
    Queue: backlog=175, in_progress=1, in_review=759, todo=4; board truncated=false; ledger truncated=false.
    In progress cards without a current ledger run: 15541bea-a119-4145-9785-3557d7851946. These are transition/stale-card candidates, not live-worker proof.
    Manager card: in_review; serving platform version: 0.5.89.
    Fleet schedule readback: [{"enabled":true,"lastSkipReason":null,"name":"autonomous-cycle/fleet-dispatch","version":14},{"enabled":true,"lastSkipReason":null,"name":"autonomous-cycle/fleet-manager","version":14}]
    Observation continues. Successful harness settlement will be assessed separately from implementation/review progress.

  18. yannickmonney commented on Oct 14, 2026

    @yannickmonney
    ContributorAuthor

    Enhanced fleet observation — 2026-10-14T05:02:25.422Z

    Window remains 2026-10-14 01:03:24Z–06:03:24Z (03:03–08:03 Europe/Zurich). Sampling is now every 30 seconds, with project-scoped board reads and per-task outcome tracking.
    Live ordinary-task runs: 0; standing-role runs: 1; In progress cards: 2.
    Ordinary live task IDs: none.
    Queue: backlog=175, in_progress=2, in_review=758, todo=4; board truncated=false; ledger truncated=false.
    In progress cards without a current ledger run: 15541bea-a119-4145-9785-3557d7851946. These are transition/stale-card candidates, not live-worker proof.
    Manager card: in_progress; serving platform version: 0.5.89.
    Fleet schedule readback: [{"enabled":true,"lastSkipReason":null,"name":"autonomous-cycle/fleet-dispatch","version":14},{"enabled":true,"lastSkipReason":null,"name":"autonomous-cycle/fleet-manager","version":14}]
    Observation continues. Successful harness settlement will be assessed separately from implementation/review progress.

  19. yannickmonney commented on Oct 14, 2026

    @yannickmonney
    ContributorAuthor

    Enhanced fleet observation — 2026-10-14T05:17:43.541Z

    Window remains 2026-10-14 01:03:24Z–06:03:24Z (03:03–08:03 Europe/Zurich). Sampling is now every 30 seconds, with project-scoped board reads and per-task outcome tracking.
    Live ordinary-task runs: 0; standing-role runs: 0; In progress cards: 1.
    Ordinary live task IDs: none.
    Queue: backlog=174, in_progress=1, in_review=760, todo=4; board truncated=false; ledger truncated=false.
    In progress cards without a current ledger run: 15541bea-a119-4145-9785-3557d7851946. These are transition/stale-card candidates, not live-worker proof.
    Manager card: in_review; serving platform version: 0.5.89.
    Fleet schedule readback: [{"enabled":true,"lastSkipReason":null,"name":"autonomous-cycle/fleet-dispatch","version":14},{"enabled":true,"lastSkipReason":null,"name":"autonomous-cycle/fleet-manager","version":14}]
    Observation continues. Successful harness settlement will be assessed separately from implementation/review progress.

  20. yannickmonney commented on Oct 14, 2026

    @yannickmonney
    ContributorAuthor

    Enhanced fleet observation — 2026-10-14T05:33:02.104Z

    Window remains 2026-10-14 01:03:24Z–06:03:24Z (03:03–08:03 Europe/Zurich). Sampling is now every 30 seconds, with project-scoped board reads and per-task outcome tracking.
    Live ordinary-task runs: 1; standing-role runs: 1; In progress cards: 3.
    Ordinary live task IDs: 70587490-e522-4dac-accc-da179f9800c1.
    Queue: backlog=173, in_progress=3, in_review=759, todo=4; board truncated=false; ledger truncated=false.
    In progress cards without a current ledger run: 15541bea-a119-4145-9785-3557d7851946. These are transition/stale-card candidates, not live-worker proof.
    Manager card: in_progress; serving platform version: 0.5.89.
    Fleet schedule readback: [{"enabled":true,"lastSkipReason":null,"name":"autonomous-cycle/fleet-dispatch","version":14},{"enabled":true,"lastSkipReason":null,"name":"autonomous-cycle/fleet-manager","version":14}]
    Observation continues. Successful harness settlement will be assessed separately from implementation/review progress.

  21. yannickmonney commented on Oct 14, 2026

    @yannickmonney
    ContributorAuthor

    Enhanced fleet observation — 2026-10-14T05:48:21.606Z

    Window remains 2026-10-14 01:03:24Z–06:03:24Z (03:03–08:03 Europe/Zurich). Sampling is now every 30 seconds, with project-scoped board reads and per-task outcome tracking.
    Live ordinary-task runs: 0; standing-role runs: 0; In progress cards: 1.
    Ordinary live task IDs: none.
    Queue: backlog=173, in_progress=1, in_review=761, todo=4; board truncated=false; ledger truncated=false.
    In progress cards without a current ledger run: 15541bea-a119-4145-9785-3557d7851946. These are transition/stale-card candidates, not live-worker proof.
    Manager card: in_review; serving platform version: 0.5.89.
    Fleet schedule readback: [{"enabled":true,"lastSkipReason":null,"name":"autonomous-cycle/fleet-dispatch","version":14},{"enabled":true,"lastSkipReason":null,"name":"autonomous-cycle/fleet-manager","version":14}]
    Observation continues. Successful harness settlement will be assessed separately from implementation/review progress.

  22. yannickmonney commented on Oct 14, 2026

    @yannickmonney
    ContributorAuthor

    Enhanced fleet observation — 2026-10-14T06:00:36.181Z

    Window remains 2026-10-14 01:03:24Z–06:03:24Z (03:03–08:03 Europe/Zurich). Sampling is now every 30 seconds, with project-scoped board reads and per-task outcome tracking.
    Live ordinary-task runs: 0; standing-role runs: 1; In progress cards: 2.
    Ordinary live task IDs: none.
    Queue: backlog=173, in_progress=2, in_review=760, todo=4; board truncated=false; ledger truncated=false.
    In progress cards without a current ledger run: 15541bea-a119-4145-9785-3557d7851946. These are transition/stale-card candidates, not live-worker proof.
    Manager card: in_progress; serving platform version: 0.5.89.
    Fleet schedule readback: [{"enabled":true,"lastSkipReason":null,"name":"autonomous-cycle/fleet-dispatch","version":14},{"enabled":true,"lastSkipReason":null,"name":"autonomous-cycle/fleet-manager","version":14}]
    New run failures: 5477fe04-25a1-41f8-b980-2765c0f83e37 (model_capacity).
    Observation continues. Successful harness settlement will be assessed separately from implementation/review progress.

  23. yannickmonney commented on Oct 14, 2026

    @yannickmonney
    ContributorAuthor

    Enhanced fleet observation — 2026-10-14T06:01:39.418Z

    Window remains 2026-10-14 01:03:24Z–06:03:24Z (03:03–08:03 Europe/Zurich). Sampling is now every 30 seconds, with project-scoped board reads and per-task outcome tracking.
    Live ordinary-task runs: 0; standing-role runs: 0; In progress cards: 2.
    Ordinary live task IDs: none.
    Queue: backlog=173, in_progress=2, in_review=760, todo=4; board truncated=false; ledger truncated=false.
    In progress cards without a current ledger run: 15541bea-a119-4145-9785-3557d7851946, 92d0b86a-e357-42a8-9696-6e72bcab6673. These are transition/stale-card candidates, not live-worker proof.
    Manager card: in_progress; serving platform version: 0.5.89.
    Fleet schedule readback: [{"enabled":true,"lastSkipReason":null,"name":"autonomous-cycle/fleet-dispatch","version":14},{"enabled":true,"lastSkipReason":null,"name":"autonomous-cycle/fleet-manager","version":14}]
    New run failures: 47f3b5d9-9b05-47e8-b47c-3910c0aa2894 (model_capacity).
    Observation continues. Successful harness settlement will be assessed separately from implementation/review progress.

  24. yannickmonney commented on Oct 14, 2026

    @yannickmonney
    ContributorAuthor

    Five-hour fleet observation — closeout (2026-10-14T06:03:24+00:00)

    The enhanced watcher completed the requested window 2026-10-14T02:37:09+00:00–2026-10-14T06:03:24+00:00 UTC (03:03:24–08:03:24 Europe/Zurich). It polled every 30 seconds, recorded 406 valid samples, and had 0 unavailable/truncated samples.

    Measured behavior

    • Ordinary worker runs were present in only 56 of 406 samples; 350 samples (86.2%) had zero ordinary worker runs.
    • Peak ordinary concurrency was 3, versus 20 configured workers.
    • The run ledger observed 10 ordinary run events and 16 standing-role run events; 18 settled and 8 failed during the window.
    • All 8 observed failures were model_capacity from the OpenAI Astra pool. Representative failures: 3d047ec0-2a94-45cf-8b84-965e66f7c91f, 81e13040-8252-499b-80e6-11dba8d61635, a18296c1-9853-4582-bb91-0f3b25dea097, 466557e3-6934-4f55-8752-524b272fa0c7, 4508dfe0-0692-4b8e-8885-2eba164b80e6, 3f2ebe76-76f1-4d2d-abdd-3756114a0d82.
    • The board repeatedly retained In progress cards after their live runs failed or settled. That divergence lasted across many 30-second samples, so it is not only a read race; board state is not a reliable occupancy signal.
    • The fleet schedules remained enabled/deployed v14 with no skip reason, and /api/health remained version 0.5.89.

    Work quality

    Settled work included review/coordination receipts, an investigation with no source changes or tests, an implementation report where full tests were NOT_RUN because dependencies were unavailable, and an artifact delivered without a materialized checkout or PR. A successful run therefore does not mean a tested change landed.

    The evidence supports the issue's platform-level direction: provider capacity, durable dispatch admission, and board/run occupancy need first-class readbacks. The manager's current prose and schedules are insufficient to keep twenty configured workers busy when the provider refuses starts; retries also leave stale In Progress cards that overstate active work.

    The raw sample log and aggregate are retained locally at /Users/yannick/.codex/notes/autonomous-review-cycles-20261004/fleet-monitor-4945-20261014/.

  25. yannickmonney commented on Oct 14, 2026

    @yannickmonney
    ContributorAuthor

    Monitoring coverage correction

    The five-hour request was covered by two authenticated samplers: the initial sampler ran from approximately 01:03:24Z until 02:33Z, and the enhanced sampler ran from 02:37:09Z through 06:03:24Z. There was a roughly four-minute restart gap while the enhanced sampler was installed.

    The closeout aggregate above is therefore the precise aggregate for the enhanced 30-second sample set (406 valid samples, 02:37:09Z–06:03:24Z). The earlier checkpoint comments cover the initial interval. No telemetry was silently counted as zero; the gap is recorded explicitly.

  26. yannickmonney commented on Oct 14, 2026

    @yannickmonney
    ContributorAuthor

    Capacity-failure circuit fix — 2026-10-14

    The live readback isolated the fleet stop condition: three OpenAI model_capacity refusals were counted by the per-task automated-start circuit, so the next fleet-dispatch occurrence returned paused until the hourly window expired. The manager and fourteen Sol workers are configured with OpenAI gpt-6.1-sol; the model catalog and run ledger confirm the selected model.

    PR #4985 changes the native admission rule so provider model-capacity refusals do not consume the hourly restart circuit. The existing three-start protection remains for real automated starts, and the normal retry budget plus one-minute capacity retry floor remain unchanged. The domain spec, manual reference and EN/DE/FR troubleshooting docs are updated, with unit coverage for repeated capacity refusals and mixed real-start histories.

    The PR is in GitHub's merge queue at position 1; all ordinary checks are green and the merge-group queue is still awaiting its required checks. No branch protection was disabled. After the merged release is deployed, the acceptance readback will repeat the capacity-failure sequence and verify that the next dispatch is admitted instead of paused.

  27. yannickmonney commented on Oct 14, 2026

    @yannickmonney
    ContributorAuthor

    Fleet recovery update — 2026-10-14 15:12 UTC

    • The fourteen Sol workers and Fleet Manager are now configured for OpenAI gpt-6.1-sol; roster readback confirmed those fifteen native configurations. Six pre-existing Opus-labelled workers remain on their existing interim Astra configuration.
    • The 14:30 UTC live read observed Fleet Manager run b0f1b997-d21a-4357-abf6-db8051d3d5dd and worker run ca2ae38d-ee8c-4833-9490-2eb2bf825e65 running concurrently.
    • The 15:00 UTC fleet schedule admitted and completed manager run d7b29b96-cb8a-4062-a0bd-65856eb5afe7 on gpt-6.1-sol. It started TALE-1452 with run 370070a3-3ea4-46a5-afde-bc2a608a5f14 and posted checkpoint 3a4a422e-6662-4384-bc11-52f72f4fcd52. This proves a fresh scheduled manager pass after the earlier capacity failures; it does not prove sustained twenty-worker occupancy.
    • Native fleet-survival fix #4985 is merged at 874bdc50e9adf818a1f4b670b8efb110c09e557b. Failed model_capacity refusals no longer consume the hourly task circuit; the normal retry budget and 60-second provider floor remain enforced.
    • Release notes #4986 are merged. Tale v0.5.91 candidate is c2aba71c46297ad02cd7a452354f7d3fca46535f; release validation is still in progress. It is not deployed yet.
    • Current acceptance gaps: the manager's 15:00 checkpoint still carried continuation.action=continue with remaining time and no stop reason, and one retained final-read debt. A successful dispatch is not proof that every eligible worker was filled; keep this workflow-effectiveness gap visible.
  28. yannickmonney commented on Oct 14, 2026

    @yannickmonney
    ContributorAuthor

    Fleet recovery update — 2026-10-14 15:30 UTC

    • Fleet dispatch occurrence 492698de-328a-432f-9c9a-46e07ffab540 was admitted on gpt-6.1-sol with no waiting reason, retry-after or blocker.
    • The manager settled normally at 15:33 UTC and posted checkpoint 4ac40ff5-7a8b-41ce-b45f-6b8c07cc2125; no capacity circuit pause occurred.
    • This pass dispatched zero workers because its retained queue slice reported zero eligible pairs (dispatchCount=0, eligiblePairs=0, heldPairs=[], allQueuesComplete=false). That is an empty eligible slice, not a provider-capacity refusal; the next half-hour occurrence remains active.
    • The live fix is merged but v0.5.91 is waiting behind the once-per-UTC-day release guard after v0.5.90. The tag is reserved and the tag-bound release rerun is waiting for 00:02 UTC; no deployment claim is made before publication.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    improvementneeds discussionservice: platform

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions