Repository navigation
Closed
Labels
effort/lLarge: multi-day or open-ended; expect staged check-insLarge: multi-day or open-ended; expect staged check-insepic/fleet-orchestrationReprioritization program epic (2026-11-12)Reprioritization program epic (2026-11-12)kind/enhancementmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedIntake review done: acceptance criteria, links, and normalized labels addedpriority/highImportant and time-sensitiveImportant and time-sensitivesource/creatorFiled by the new-issue-creator jobFiled by the new-issue-creator jobstatus/triagedTriaged and routed (see agent note)Triaged and routed (see agent note)task/triageQueue packet kind: verify, reproduce, and route this itemQueue packet kind: verify, reproduce, and route this item
Description
Problem
Fleet GitHub content creation is fire-and-forget, and tonight it lost work silently:
- 2026-11-01 ~05:55–06:25 CST: four separate attempts to file one evidence issue (provider-routes rollback defect) across three actors produced NOTHING — two
gh issue createinvocations exited without a URL and without an error (gh's known silent-failure mode), one API POST hit GitHub's secondary rate limit (HTTP 403, content-creation block), and a direct retry an hour later silently no-oped again. The loss was discovered only because a human asked for the issue number. - The secondary limit was plausibly sustained by the fleet's own preserved-branch issue burst (hundreds of issues filed in a short window; fork issue numbers past Babysitter access: enroll a paired OpenChamber client for sandbox → laptop, and document the credential home #1271 within the hour). Burst creation is a normal fleet behavior (branch preservation, sweep filings, creator jobs), so this will recur.
Proposal: a creation outbox for fleet GitHub writes
Route fleet issue/PR creation through a small durable outbox (natural home: alongside repo-queue.py / the Supabase agent schema the queue already uses):
- Enqueue, don't fire: callers submit {repo, kind (issue/PR/comment), title, body, dedup-key} and get an outbox id immediately. No caller talks to
ghdirectly for fleet filings. - Serial paced drainer: one worker files entries one at a time with a minimum interval, so fleet bursts never present as a burst to GitHub.
- Verify by read-back: a creation counts as done only when the object is read back via the API with its number/URL.
ghexit 0 is not evidence (it has exited 0 creating nothing, repeatedly). - Backoff, never drop: on 403 / secondary-limit responses, the entry waits with exponential backoff and retries later; the queue reports its depth and oldest-entry age. A rate limit becomes a delay, never a loss.
- Dedup: the same dedup-key (repo + normalized title) never files twice — retries and multi-actor submissions are safe.
- Loud stall surface: if the queue is blocked beyond a threshold, it reports visibly (chat/heartbeat) instead of sitting silent — the fleet's standing rule is that nothing sits silently.
Notes / alternatives considered
- A GitHub App installation token gets its own primary-rate bucket with higher per-repo limits and would isolate automation quota, but secondary (burst) limits are behavioral and apply to apps too — an app alone does not fix tonight's failure mode. The outbox is the fix; an app identity for the drainer is a compatible later upgrade.
- Scope v1: issues + PRs + comments in the four fleet repos. Out of scope: interactive human
ghuse, review submissions, releases.
Acceptance
- A burst of 50 filings enqueued at once drains without a single loss and without tripping a secondary limit, each verified by read-back.
- Killing the drainer mid-burst loses nothing; on restart it resumes from the durable queue.
- A forced 403 leaves entries pending with visible age, delivered after the limit clears.
Acceptance criteria
- Fleet issue/PR/comment creation can go through a durable outbox: callers submit {repo, kind, title, body, dedup-key} and receive an outbox id immediately.
- A creation counts as done only when the created object is read back via the API with its number/URL; a
ghexit 0 alone never marks an entry done. - On HTTP 403 / secondary-rate-limit responses an entry backs off exponentially and is retried — entries are never silently dropped — and the outbox reports depth and oldest-entry age.
- Duplicate submissions with the same dedup-key produce one created object.
- At least one fleet producer job files through the outbox in a trial, and the 2026-11-01 silent-loss case (four attempts, no issue, no error) is replayed against the design in the trial notes.
Metadata
Metadata
Assignees
Labels
effort/lLarge: multi-day or open-ended; expect staged check-insLarge: multi-day or open-ended; expect staged check-insepic/fleet-orchestrationReprioritization program epic (2026-11-12)Reprioritization program epic (2026-11-12)kind/enhancementmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedIntake review done: acceptance criteria, links, and normalized labels addedpriority/highImportant and time-sensitiveImportant and time-sensitivesource/creatorFiled by the new-issue-creator jobFiled by the new-issue-creator jobstatus/triagedTriaged and routed (see agent note)Triaged and routed (see agent note)task/triageQueue packet kind: verify, reproduce, and route this itemQueue packet kind: verify, reproduce, and route this item
Activity
developing-today commentedon Nov 1, 2026
CODE-1508
dezren39 commentedon Nov 1, 2026
Intake review
Related: Filed after the 2026-11-01 ~05:55–06:25 CST silent-loss incident described in the body; the preserved-branch filing burst the same morning is the load case. No merged PR referencing #3706 was found at intake.
Notes: No labels at filing. This is a fleet-wide change to how every producer files, so it carries user/review: Muse should review the proposal (Supabase
agentschema home, drainer pacing) before lanes build it. priority/high because silent loss of filed work has already happened once and bursts are normal fleet behaviour.Risks: An outbox bug becomes a single point of failure for all filings; pacing that is too slow delays time-sensitive filings (main-broken issues).
Suggested approach: Build alongside
repo-queue.pyon the existing Supabase agent schema per the proposal, starting with one producer (new-issue-creator) as the trial caller.🤖 Agent note · filed
dezren39 commentedon Nov 3, 2026
agent-note:v1
state: reviewed (coverage loop-back)
Coverage pass 2026-11-03, loop-back review: this issue was re-reviewed (drift / overlap / already-handled / stale / blockers / ordering) so every open issue in the four repos is reviewed and in the system. Verdict: still live; in the system as task 7399 (triage, queued, priority 50) in repo-health-code-pilot. Labels audited and synced. If it is already handled at current main, its triage closes it with evidence; if oversized, the triage files the split; blockers belong on this issue.
Found via: coverage loop-back 2026-11-03
180 remaining items
dezren39 commentedon Nov 17, 2026
🤖 Agent note · triaged
user/escalated, task 14666). No duplicate escalation is filed here; that decision stays with the user.dezren39 commentedon Nov 22, 2026
Picked up task 14666 in lane oc-code-05. Fresh verification: PR #8198 is merged; #8331 is closed with fix 6c104c5 on main; existing trial record reports the live kill/restart rerun passed. The remaining claim is whether a live producer exists for the required flip. The prior runtime check says no, but the checked-in schedule registry lists creator-a enabled; this session cannot reach laptop-agent to recheck runtime, so I am verifying what is available locally and will decide the disposition from recorded evidence rather than wait on an owner. Also checking the existing aged uncertain outbox row before calling the pilot complete.
dezren39 commentedon Nov 22, 2026
Decided: Close #3706 as pilot-proven; defer producer integration until a live creator-class producer exists, and do not substitute an unrelated scheduled job.
Why: PR #8198 is merged and the broker answers outbox metrics. The issue records the burst and failure-path trials and the post-#8331 kill/restart rerun with no duplicate (comments #3706 (comment) and #3706 (comment); #8331 is closed). The latest direct scheduler inventory recorded here (#3706 (comment)) found no live creator jobs. The checked-in registry still lists creator-a enabled, but that row was last checked Nov 3; laptop-agent is unreachable in this session, so runtime state cannot be refreshed now. The only remaining requested flip therefore has no verified target. The one aged
uncertainoutbox row is the intentional nonexistent-repository failure probe; it did not create a trial-repo duplicate.Undo: Reopen #3706 when a live creator-class producer is available and resume the one-producer integration and drain verification.
By: oc-code-05
dezren39 commentedon Nov 22, 2026
Closed as implemented.