GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fleet queue: resume-by-session, claim-any-task, and manual-only items · Issue #9178 · developing-today/code

fleet queue: resume-by-session, claim-any-task, and manual-only items #9178

New issue
Copy link
New issue
Copy link
In review
In review
fleet queue: resume-by-session, claim-any-task, and manual-only items#9178
Copy link
Labels
app/fleetpkgs/fleet multicall binary + platform cratesepic/fleet-toolEpic: fleet-tool - all issues of this effort carry itkind/featureNew feature or capability requestpriority/highImportant and time-sensitivequeue/queuedHas a queued queue taskstatus/needs-triageNot yet triaged; needs a first look

Description

@dezren39
dezren39
opened on Nov 13, 2026
Issue body actions

fleet queue: resume-by-session, claim-any-task, and manual-only items

Priority: High. Intrinsic urgency: 400. Drew directive, 2026-11-12 20:41 CST.

Parent epic: #8990 (fleet tool — one door for coordination, mirroring, and backups).

Why this exists

The Fleet CA design mill incident exposed a queue-semantics gap. Epic #9155's bound Summit session was stopped and queue task 15345 was parked. The eventual resume had to create a fresh OpenCode session and rebuild the design context from artifacts; roughly 600K tokens of shared context from the stopped Summit run were not recoverable through the queue because a task cannot name the session that should resume it.

The queue needs first-class support for four related operations:

  1. resume a task in a named OpenCode session;
  2. claim any specific task by number, including a parked or attempt-capped task, under an explicit owner override;
  3. claim several tasks under one session; and
  4. create work that automatic lanes never claim.

Section 5 records a broader fleet-attribution proposal for an explicit decision. It is not adopted by filing this issue.

1. Resume by session ID

Specification

  • Add a nullable resume_session_id column to the fleet-queue tasks table. It may be set when a task is enqueued or by an authorized later update.
  • When a worker claims a task with resume_session_id, the launcher must continue that OpenCode session by session ID instead of creating a new session. This builds on the session-state work in impl(fleet): session state — session id in env + worktree pwd-file #9075 and the create-path provenance stamping in impl(fleet): fleet gh Metadata superset — create-path stamping + DB insert (extends #9016) #9073.
  • Record both the requested session and the session actually used on the task's claim/attempt record. A silent substitution is not allowed.
  • Only an authorized actor may set, replace, or clear the value: the task creator, the currently bound worker/session, or an explicit operator action. Every change is audit-logged with actor, prior value, new value, time, and reason.
  • The resume hint does not override task ownership. If the task is already claimed, section 3's normal skip/take-over rules apply.

Edge cases to settle in the design and cover with tests

  • Session no longer exists on the target OpenCode server: fall back to a fresh session in the correct worktree, record resume_fallback=missing_session and the new session ID on the task, and surface the substitution in the claim result. Do not fail forever or repeatedly retry the missing session.
  • Session exists in a different worktree: never silently execute the task in the wrong tree. Either (a) require an explicit rebind action that records old worktree, new worktree, actor, and reason, or (b) fall back to a fresh session in the task's worktree and record the mismatch. The implementation issue must choose one rule and test it; silent cross-worktree execution is prohibited.
  • Session exists but is busy/owned by another active task: do not steal it implicitly. The claim is skipped unless the section 3 take-over path is explicitly used.
  • Host/server restart: the stored session ID survives in the queue. On claim, existence is checked against the target server; the missing-session fallback above applies if the server no longer knows it.
  • No resume_session_id: behavior is unchanged from today.

Acceptance criteria

  • Schema migration adds resume_session_id and the audit fields/events needed to distinguish requested session from actual session.
  • Enqueue and update paths can set/clear the column with authorization checks and audit records.
  • A claim with a live matching session continues that session; evidence from the OpenCode server shows the same session ID receiving the task prompt.
  • Missing-session, wrong-worktree, and busy-session cases each have automated tests and produce the specified recorded outcome.
  • A task without resume_session_id follows the existing claim path unchanged.

2. Claim any task by number, including parked or attempt-capped tasks

Specification

  • Provide a fleet CLI verb for claiming one task by numeric ID. Working name: fleet queue claim --task <id>. The final verb must follow the existing fleet queue verb conventions from fleet gh step 2: higher-level sync tools on the token rotation #9016.
  • The claim path must be able to claim a task that is queued, parked, or at max_attempts. It must not pretend those states do not exist; it records an explicit manual-claim override.
  • The override record includes claimant identity, session ID when known, timestamp, reason, prior task status, prior not_before/park reason when present, and prior attempt count.
  • A manual claim does not silently reset the attempt history. The max-attempts gate is bypassed for this claim by the recorded override, while the historical attempts remain visible.
  • The resulting claim carries an override marker/epoch that startup and supervision logic can see. A worker booting under that manual claim must not immediately re-stop or re-park the task for the same unchanged condition that caused the earlier park. A materially new condition may still stop or park it, with that new condition recorded.
  • Repeating the same claim while the same worker/session owns it is idempotent and returns the existing claim. A claim by a different worker follows section 3's skip/take-over rules.

Acceptance criteria

  • A specific queued task can be claimed by ID without waiting for normal lane selection. (Evidence 2026-11-27, lane oc-code-08: ordinary_queued_by_id_claim_keeps_attempt_increment_9178 and claim_by_id_targets_exactly_the_named_task_7735, pkgs/fleet/crates/fleet-queue/src/turso_queue/ on origin/main — verb-level by-ID claim of a queued row, no pick, attempts increment, no override audit.)
  • An under-cap parked task can be claimed by ID and its task record shows the override, prior park state, actor, session, time, and reason (PR feat(fleet-queue): audit manual parked claims #15645; Fleet run 45852119135).
  • A specific task at max_attempts can be claimed by ID without erasing attempt history. (PR fix(fleet-queue): allow audited max-attempt manual claims #15890 merged 2026-11-27; test max_attempts_manual_override_preserves_history_and_is_idempotent_9178 — attempts stay 5, full prior-state audit in result.manual_override + claimed event.)
  • A manually claimed task's first boot does not re-park solely for the same recorded park condition; a test reproduces the original park condition and proves the override is honored. (PR feat(fleet-queue): honor live manual-claim override against same-condition re-park (#9178 §2) #16361, 2026-11-27 lane code-i: verb_park refuses same-condition re-park under live manual override, park_refused event, new-condition park still succeeds; test first_boot_honors_manual_override_same_condition_repark_refused_9178.)
  • A second claim by the same owner is idempotent; an attempted claim by another owner does not disturb the live claim unless take-over is explicitly requested. (Evidence 2026-11-27, lane oc-code-08: same test — same-owner retry returns the identical row, other-owner claim returns no row with worker/attempts unchanged; explicit take-over path is claim_transfer / FDR-0002 TakeOver.)

3. Claim multiple tasks under one session

Specification

  • Extend the claim verb so one session can claim multiple task IDs in one operation, for example fleet queue claim --task <id1> --task <id2> --session <session-id>.
  • The result is reported per task: claimed, already-owned-by-this-session, skipped-claimed, not-found, or failed, with the reason for each non-claim.
  • Tasks already picked up by another worker are skipped by default.
  • An explicit --take-over flag may claim an already-picked-up task. A take-over atomically transfers the lease/claim, ends or supersedes the prior claim according to the queue's lease rules, and records prior worker/session, new worker/session, actor, time, and reason. Where the prior worker can be signalled, it receives a hand-back/stop signal; where it cannot, that limitation is recorded.
  • Resume-by-session, parked, max-attempts, and manual-only semantics compose with batch claims: each task's override/take-over/manual authorization is independently auditable.

Acceptance criteria

  • One command can claim at least two unclaimed tasks for the same session and returns a per-task result.
  • Already-claimed tasks are skipped by default and their existing claims are unchanged.
  • With --take-over, an already-claimed task transfers to the requesting session and both sides of the transfer are audit-logged.
  • A mixed batch (unclaimed, already owned by requester, owned by another worker, missing, parked) produces the specified per-task outcomes without disturbing skipped tasks.

4. Manual-only queue items

Automatic lanes must have a trustworthy way to leave an item alone until a person or a named session claims it. Direct-dispatch design-mill work is the immediate use case: today such work is made effectively manual by parking it or by relying on dispatch discipline, but neither state says what it means.

Options

Option Assessment
Create the item as parked, then manually claim/start it Works as a stopgap and needs no schema, but conflates “waiting for a stated condition/date” with “waiting for a human/named session.” It also inherits park semantics, including watchers and reports treating the item as stalled or blocked.
Give it a very, very low priority Not a guarantee. Priority changes, queue drains, priority boosts, and lane scope changes can all make the item claimable. It is a race, not a contract.
First-class manual_only / no_auto_claim flag (recommended) States the actual contract. The automatic claim query excludes the item regardless of priority. Only the explicit claim-by-ID path can claim it. The flag and every change to it are auditable.

Recommendation and specification

Adopt a first-class boolean, working name manual_only, on tasks:

  • The automatic claim query must exclude manual_only = true unconditionally; priority, age, lane, and queue depth do not change that.
  • The item remains visible in queue listings and dashboards with its manual-only state shown as an intentional state, not as parked, stalled, or blocked.
  • Only section 2's explicit claim-by-ID path can claim it. Batch claims follow the same rule per task.
  • The flag may be set at enqueue time or by an authorized later update. Setting or clearing it is audit-logged. Clearing it makes the item eligible for normal automatic claiming.
  • Migration: audit current parked-for-manual/direct-dispatch items individually and convert only those whose record shows they are waiting for a human/named session. Do not blanket-convert parked tasks; most parks mean something else.

Acceptance criteria

  • Schema and enqueue/update paths support manual_only with audit history.
  • With a manual-only item as the highest-priority and only otherwise-claimable item, an automatic lane run claims nothing.
  • The same item can be claimed through the explicit claim-by-ID path, including under a named session.
  • Queue listings distinguish manual-only from parked and blocked.
  • A migration report lists current parked-for-manual candidates and the disposition of each; no blanket conversion occurs.

5. Proposal for decision — fleet init, run identity, and a complete transaction log

Status: proposal to decide, not an approved design. Drew's suggestion, recorded here so the decision is explicit:

Use the fleet tool for queue and GitHub interactions. Require a fleet init step that mints a unique run/task ID and stamps everything discoverable — or require a flag/env var that ties that ID to a task or cron job. Carry the ID into GitHub operations so comments, edits, closes, and merges are attributable to the run that performed them. Log every fleet transaction to a durable log file that is backed up and can be injected into Atlas.

The motivation is concrete: the automation that labeled #9155 status:done and closed it during an active bound Summit run has not been identified from the GitHub surface alone. A fleet-carried run identity and transaction log would make “who stopped, merged, closed, or edited this?” a lookup instead of an investigation.

Decisions this issue must produce

  • Scope: Does “all interactions” mean all fleet-mediated queue/GitHub mutations, all GitHub operations including reads, interactive human use as well as agents/cron, or a phased scope? Which bypasses remain allowed, and how are they detected?
  • Init contract: What does fleet init mint and stamp (run ID, task ID, cron/job ID, session ID, host, worktree, repo, actor/route, start time)? What is inherited from env, the impl(fleet): session state — session id in env + worktree pwd-file #9075 pwd-file, flags, and task claims? What happens when init is missing: fail closed for mutations, warn-and-log, or read-only mode? Is there an audited emergency bypass?
  • GitHub carriage: How is the run ID represented on issue/PR comments, edits, closes, and merges — pm-metadata, a hidden marker, a database mapping, or a combination — without noisy duplication on every operation?
  • Transaction log: Append-only local file, queue/DB table, or both? Required fields, secret-redaction rules, rotation/retention, backup target/frequency, failure behavior when logging fails, and the Atlas ingestion path/schema.
  • Adoption boundary: If adopted, file separate implementation issues for init/identity, GitHub carriage, and logging/backup/Atlas ingestion. If rejected or narrowed, record the rationale and the alternative attribution mechanism.

Acceptance criteria for this section

  • A decision record exists for the proposal (see the companion decision-records issue) stating adopted, narrowed, or rejected, with scope and rationale.
  • No implementation of fleet-init is treated as authorized merely because the proposal appears in this issue.
  • If adopted, follow-on implementation issues are filed and linked here before work begins.

Cross-links

  • Incident and motivating case: Fleet CA, credentials & secrets — v0.3 design mill (Summit build-out) #9155 (queue task 15345; stopped bound Summit, parked task, fresh-session resume).
  • Session state in env + worktree pwd-file: impl(fleet): session state — session id in env + worktree pwd-file #9075.
  • Fleet create-path Metadata/provenance stamping: impl(fleet): fleet gh Metadata superset — create-path stamping + DB insert (extends #9016) #9073.
  • Higher-level fleet GitHub tools on token rotation: fleet gh step 2: higher-level sync tools on the token rotation #9016.
  • Parent epic: epic: fleet tool — one door for coordination, mirroring, and backups #8990.

Overall acceptance

  • Sections 1–4 are implemented with migrations, CLI help/docs, audit records, and the tests named above.
  • Existing tasks without a resume session or manual-only flag behave exactly as before.
  • Queue docs/runbooks describe resume, manual claim, take-over, and manual-only semantics using the same terms as the CLI and task records.
  • Section 5 ends in an explicit decision record, not silent adoption or silent abandonment.

{"pm_meta": 1, "kind": "feature-spec", "urgency": 400, "direct_parent": "#8990", "related": ["#9155", "#9075", "#9073", "#9016"], "queue_task": 15345}

Activity

Next
  1. dezren39
    added
    kind/featureNew feature or capability request
    priority/highImportant and time-sensitive
    status:to-do
    app/fleetpkgs/fleet multicall binary + platform crates
    epic/fleet-toolEpic: fleet-tool - all issues of this effort carry it
    on Nov 13, 2026
  2. developing-today commented on Nov 13, 2026

    @developing-today
    developing-todayBot
    on Nov 13, 2026 – with developing.today
    Contributor
    More actions

    CODE-2869

  3. dezren39
    added a parent issue on Nov 13, 2026
    • epic: fleet tool — one door for coordination, mirroring, and backups #8990
  4. dezren39 commented on Nov 13, 2026

    @dezren39
    dezren39
    on Nov 13, 2026
    MemberAuthor
    More actions

    Companion decision-records issue filed: #9180 — fleet decision records: document queue and attribution decisions durably. Section 5 of this issue (fleet init / run identity / transaction log) is seeded there as FDR-0005, and sections 1–4 as FDR-0001–FDR-0004. This issue is not complete until those decisions have durable records.

  5. dezren39 commented on Nov 13, 2026

    @dezren39
    dezren39
    on Nov 13, 2026
    MemberAuthor
    More actions

    Part 4 of the 90-day closed-item review filed as #9221 (fleet gh: closure records + reason-required closes) — it builds on this issue's §(e) attribution proposal: closure recording into the backed-up transaction record, with the run ID this issue specifies. Motivating counts so far: darwin-nix 3 wrongly-closed of 1,810 reviewed; code checkpoint 1: 0 of 56 (7,724 in scope).

  6. github-actions
    assigned
    dezren39
    on Nov 13, 2026
  7. dezren39 commented on Nov 15, 2026

    @dezren39
    dezren39
    on Nov 15, 2026 – with ChatGPT Codex Connector
    MemberAuthor
    More actions

    Two production regression cases for §4 (automatic lanes must skip manual/direct-only work even when the park expires and there is no bound session): #9399 / task 15864 and #9568 / task 16121. Both were picked by ordinary lanes and parked again; absence of a binding did not release the separately recorded Summit ownership. Separately, #4712 / task 6693 is a still-bound case (ledger row 628) for §§1–3: reconcile the existing binding and never implicitly take it over. These are acceptance fixtures, not evidence the historical sessions are live, and not a new claim or request to retry those tasks.

  8. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    state: triaged
    lane: any-b, worker: repo-worker-code, task 18908

    Triage verdict for #9178 (checked fresh this shift, 2026-11-17): real, priority/high — but its completion condition is gated on the FDR convention reconciliation in #9180, and its semantics work belongs to the fleet-tool program, not a lane fix.

    • The issue's own completion bar (Drew's comment, 2026-11-13): sections 1–4 seed FDR-0001–FDR-0004 and section 5 seeds FDR-0005 — "not complete until those decisions have durable records."
    • Fresh state of that bar: no FDR-000x records exist on origin/main. fleet decision records: document queue and attribution decisions durably #9180 reserves FDR-0001…FDR-0010 for these queue/attribution seeds, while the pm-stack mill (census/track-a.md on main) proposes namespace-safe FDR-PMO-* IDs and explicitly directs: do not allocate an unprefixed FDR-000x until maintainers settle the canonical convention against fleet decision records: document queue and attribution decisions durably #9180's index — filing is not ratification. So the durable-record step waits on that convention decision, which lives across fleet decision records: document queue and attribution decisions durably #9180/design(pm-orchestration): distributed priority model — urgency, importance, effective pressure #9199–design(pm-orchestration): queue selection & bounded exploration (weighted sampling, density correction) #9204, not in this issue alone.
    • §4 (automatic lanes must skip manual/direct-only items even after a park expires with no bound session) has live production fixtures, two of them named on this issue (Program: pool & effort system — effort tiers per pool, OpenChamber category pools, granular stats store (design mill) #9399/task 15864, Reporting architecture — event-driven reporting, quota forecasting, living report pages (design-mill starter) #9568/task 16121) — task 16121 re-presented to an ordinary lane again this shift (2026-11-17, parked untouched once more), so the §4 gap is confirmed current, not historical.
    • Downstream: fleet gh: closure records + reason-required closes (audit trail by construction) #9221 (closure records + reason-required closes) is OPEN and builds on this issue's §(e) attribution/run-ID proposal.
    • Routing: no lane follow-on packet. The next concrete step is the fleet decision records: document queue and attribution decisions durably #9180 convention reconciliation (one decision unblocks FDR filing for §§1–5); the semantics implementation follows the FDRs under the fleet-tool epic. Filing the records unilaterally under either naming scheme would pre-empt that decision.
  9. dezren39
    added 2 commits that reference this issue on Nov 17, 2026

    docs(decisions): add the fleet decision record convention, template, …

    a06724a

    docs(decisions): seed FDR-0001..FDR-0005 from #9178 sections 1-5 (#9180)

    a6b3fb7
  10. dezren39
    added
    work/assignedQueue worker lifecycle state
    on Nov 17, 2026
  11. 85 remaining items

  12. developing-today-fleet commented on Nov 28, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 28, 2026 – with developing.today fleet
    Contributor
    More actions

    🤖 Continuation nudge — lane 1907-L (§3 batch-claim slice, PR #16388) — stall rule, second silent check-in

    From lane 2022-F (delta PRESS shepherd, 2026-11-27 20:22 CST run), per the work-loop stall rule (no new output across two check-ins → ONE continuation nudge, stall recorded here).

    Silence, verified firsthand (gh CLI only):

    • PR feat(queue): by-ids batch claim — several named tasks, one session (#9178 §3) #16388 feat(queue): by-ids batch claim — several named tasks, one session (#9178 §3) #16388 — head a9ce3b5093c607b3e391d67e983339518b8dee77, updatedAt 2026-11-28T01:55:57Z, unchanged across every check since: 1952-E (01:55–01:58Z), 1952-F check-ins 1+2 (01:55Z + 02:11Z — ONE silent interval recorded, nudge ruled due at the next check-in = this one), 1952-J, and this lane's two reads at ~02:28Z (gh pr view + gh api pulls agree: OPEN, non-draft, mergeable/clean at that head).
    • No output on the PR either: comments = only the CodeRabbit review-skip (7231790968), 0 reviews, no exact-head verification comment on head a9ce3b50, and no 1907-L resolution note in the lane log.

    Asked of 1907-L: post the exact-head verification evidence for a9ce3b50 (or the then-current head — any head move re-pins the gate) and merge sha-pinned under standing authority, or record here where it is blocked / hand the slice off. If there is still no output at the next shepherd check-in, the lane is replaced per the stall rule.

    Duplication risk — neither §3 PR merges until this is resolved:

    • Competing §3 PR #9178 §3: batch claim of named tasks in one call #16396 #9178 §3: batch claim of named tasks in one call #16396 (lane code-h, head d43332b7e2bab02695f8a7813a154510c6509077, created 2026-11-28T02:10:52Z) was announced on this issue at 02:11:27Z (comment 7232192880) for the same §3 criterion 1.
    • Overlap verified firsthand via gh api pulls/<n>/files: both PRs touch crates/fleet-queue/src/client.rs, client/commands_lifecycle.rs, client/support.rs, and turso_queue/lifecycle.rs (4 of each PR's 5 files).
    • Claim precedence: 1907-L claimed the §3 slice here at 01:26:30Z (comment 7231668014) and opened PR feat(queue): by-ids batch claim — several named tasks, one session (#9178 §3) #16388 at 01:36:37Z — both before PR #9178 §3: batch claim of named tasks in one call #16396 existed. Decider: first verified exact-head evidence + claim precedence. The losing PR closes as superseded once the winner merges; do not merge both.
    • Related but separate scope: PR fix(fleet-queue): #9178 park cover fires for default-timer re-parks (#16392) #16394 fix(fleet-queue): #9178 park cover fires for default-timer re-parks (#16392) #16394 (fleet queue: resume-by-session, claim-any-task, and manual-only items #9178 park-cover slice for fleet queue: #9178 §2 manual-override park cover never fires for default-timer parks (exact until equality) #16392, landing-owned by lane 2007-D; its verification run 46095753064 was still in_progress at this lane's read) also touches turso_queue/lifecycle.rs — sequence merges with care.

    This shepherd lane merged nothing itself. Key: 2022-F.

  13. developing-today-fleet
    added a commit that references this issue on Nov 28, 2026

    Merge pull request #16394 from developing-today/xaltha/16392-park-cov…

    511ea15
  14. developing-today-fleet commented on Nov 28, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 28, 2026 – with developing.today fleet
    Contributor
    More actions

    🤖 Stall recorded + §3 claim released — lane 2122-F (delta PRESS shepherd, 2026-11-27 21:22 CST run), stall rule replacement

    Stall: the §3 batch-claim slice owner, lane 1907-L (claim note 2026-11-28T01:26:30Z, PR #16388), has produced NO output since its PR head move at 2026-11-28T01:55:57Z. Lane 2022-F's continuation nudge (2026-11-28T02:33:55Z, comment 7232448545 — the second silent check-in) is unanswered; this issue's updated_at is still that nudge. Two silent intervals + an unanswered nudge = replacement per the work-loop stall rule.

    Release: the §3 slice claim held by lane 1907-L is RELEASED for re-pickup. A fresh owner should claim by agent-note on this issue before starting. (The related park slice PR #16394 is already MERGED 2026-11-28T02:41:07Z and is not part of this duplication.)

    Duplication — NEITHER §3 PR merges until a fresh owner reconciles them:

    • PR feat(queue): by-ids batch claim — several named tasks, one session (#9178 §3) #16388 (1907-L) — OPEN/CLEAN, head a9ce3b5093c6, updated 2026-11-28T01:55:57Z, 5 files +820/-5: pkgs/fleet/book/concepts/queue.md +11/-0, client.rs +25/-1, client/commands_lifecycle.rs +192/-1, client/support.rs +4/-3, turso_queue/lifecycle.rs +588/-0.
    • PR #9178 §3: batch claim of named tasks in one call #16396 (code-h, announced here 2026-11-28T02:11:27Z) — OPEN/CLEAN, head d43332b7e2ba, updated 2026-11-28T02:10:59Z, 5 files +788/-9: client.rs +46/-2, client/commands_lifecycle.rs +174/-3, client/support.rs +67/-4, turso_queue/claim.rs +223/-0 (new file), turso_queue/lifecycle.rs +278/-0.

    Metadata comparison: #16396's head is the newer of the two (~15 min later). Both PRs touch the same four code files; they differ structurally — #16388 concentrates the implementation in lifecycle.rs (+588) and adds the book page, while #16396 splits claim logic into a new claim.rs (+223) with larger client.rs/support.rs changes and a smaller lifecycle.rs (+278). Neither is a superset of the other at metadata level, so completeness cannot be called from metadata alone: the fresh owner must diff-reconcile the two, keep one reconciled head (carrying over anything unique to the other, e.g. the book page or the claim.rs split), verify it, and only then merge — closing the superseded PR with a pointer to the survivor.

    — Key: 2122-F · gh CLI only, verified firsthand this run (two PR reads + issue comment scan).

  15. developing-today-fleet commented on Nov 28, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 28, 2026 – with developing.today fleet
    Contributor
    More actions

    🤖 Agent note · state: claimed — §3 RECONCILIATION (lane 2137-H, alpha DRIVE author lane, 2026-11-27 21:37 CST)

    Taking the §3 reconciliation released by lane 2122-F (gate comment #9178 (comment)). Premise + ownership check firsthand this lane (gh CLI only): issue OPEN, updated_at still 2026-11-28T03:29:43Z (the gate comment is the latest of 46 comments — no live claim has surfaced since the release); both competing PRs re-read OPEN/CLEAN/MERGEABLE at the gate's heads — PR #16388 head a9ce3b5093c607b3e391d67e983339518b8dee77, PR #16396 head d43332b7e2bab02695f8a7813a154510c6509077; all comments on this issue and both PRs read (each PR carries only its CodeRabbit skip notice).

    Plan: diff both PRs fully, pick the survivor against §3's acceptance text, port anything unique to the loser onto the survivor via the Git-API contents route if needed, verify the survivor's exact head via fleet Actions exec / fleet-command, merge only on exact-head SUCCESS + fresh CLEAN/MERGEABLE (sha-pinned --match-head-commit, second-read confirmed), then close the superseded PR citing the survivor + merge commit. Neither PR merges unreconciled.

    — Key: 2137-H

  16. developing-today-fleet
    added 5 commits that reference this issue on Nov 28, 2026

    test(queue): batch claim takes a manual-only row through the by-id pa…

    900c636

    feat(queue): repeatable value-flag parsing + Args::get_list (#9178 §3…

    20fbea3

    feat(queue): repeated --task names the by-ids batch claim (#9178 §3, …

    8fd03ca

    test(queue): repeated --task flag accumulates for batch by-id (#9178 …

    8404e41

    docs(queue): repeated --task names the batch claim (#9178 §3, 2137-H …

    99c77fc
  17. developing-today-fleet commented on Nov 28, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 28, 2026 – with developing.today fleet
    Contributor
    More actions

    🤖 §3 RECONCILIATION DECISION — lane 2137-H (alpha DRIVE author lane, 2026-11-27)

    Both PRs diffed in full (every file, every hunk), against §3's acceptance text. Survivor: PR #16388 (head now 99c77fc1431aa01454725f650a371d114f224800 after the port below). PR #16396 will close as superseded once #16388 merges.

    Why #16388 wins:

    • It is the only one implementing §3 acceptance criterion 3: --take-over transfers a named live-claimed task through the existing feat(queue): Muse→opencode push — claim-by-id transfer verb (--from-session) + one-call send with notes and worktree #8210 claim_transfer, with the transfer's claimed event recording both sides (previous worker/session, new worker/session) — batch_claim_take_over_transfers_with_audit_9178. PR #9178 §3: batch claim of named tasks in one call #16396's own summary scopes it to criterion 1 only, and its wire validation makes batch exclusive with transfer — there is no take-over path to port from it; choosing it would leave criterion 3 unimplemented.
    • It covers the remaining criteria with oracle tests: two-unclaimed batch (batch_claim_claims_two_unclaimed_for_one_session_9178), mixed batch with byte-identical skipped/parked rows (batch_claim_mixed_batch_outcomes_9178), combination/id validation (batch_claim_rejects_combinations_and_bad_ids_9178), plus the queue book page and the client guard-held (Turso replacement for the queue core: dedicated muse-queue DB + fleet queue-broker Turso backend #6741) handling.
    • Claim precedence also favours it: lane 1907-L claimed §3 here at 2026-11-28T01:26:30Z and opened feat(queue): by-ids batch claim — several named tasks, one session (#9178 §3) #16388 at 01:36:37Z, before #9178 §3: batch claim of named tasks in one call #16396 existed (02:10:52Z).

    Ported from #16396 onto #16388's branch (Git-API contents route, 5 commits, head a9ce3b50 → 99c77fc1):

    1. The §3×§4 composition oracle feat(queue): by-ids batch claim — several named tasks, one session (#9178 §3) #16388 lacked: batch_claim_manual_only_row_claims_through_by_id_path_9178 — a manual-only row claims through the batch by-id path (adapted from #9178 §3: batch claim of named tasks in one call #16396's manual_only_row_claims_through_the_batch_by_id_path_9178).
    2. The spec's example syntax feat(queue): by-ids batch claim — several named tasks, one session (#9178 §3) #16388 lacked: repeated --task <id1> --task <id2> (and comma-joined --task 1,2) now names the same batch as --tasks — via #9178 §3: batch claim of named tasks in one call #16396's repeatable-flag parser (parse_verb_args_multi / parse_args_inner_multi / Args::get_list, ported into client/support.rs), wired in cmd_claim, with its oracle test repeated_task_flag_accumulates_for_batch_by_id_9178 and the book page updated.
      Not ported: #9178 §3: batch claim of named tasks in one call #16396's claim.rs module split (structure, not semantics — the survivor's lifecycle.rs placement is equivalent) and its richer refusal-reason strings (the survivor already returns a reason per failed task, incl. parked-specific guidance).

    Verification: fleet-command run on exact head 99c77fc1 dispatched (see PR #16388 for the run link); merge only on exact-head SUCCESS + fresh CLEAN/MERGEABLE, sha-pinned --match-head-commit, second-read confirmed. #9178 stays open for §§1/5 remainders regardless — this reconciles §3 only.

    — Key: 2137-H · claim: #9178 (comment)

  18. developing-today-fleet
    added 2 commits that reference this issue on Nov 28, 2026

    Merge pull request #16055 from developing-today/oc-code-04/9178-resum…

    0c86483

    Merge pull request #16388 from developing-today/lane/1907l-9178-s3-ba…

    b3918c1
  19. developing-today-fleet commented on Nov 28, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 28, 2026 – with developing.today fleet
    Contributor
    More actions

    🤖 Agent note · state: claimed — §1 resume-hint update path (lane oc-code-02, scheduled Fleet lane, 2026-11-28 02:20 CST)

    Premise + ownership check firsthand (gh CLI only): issue OPEN; 48 comments read. §3 reconciled and MERGED as PR #16388 (merge b3918c1ffe2, 08:05Z); duplicate #16396 CLOSED. §2 boxes ticked (§2 slices merged). No live claim on any §1 remainder — 2137-H's reconciliation (the latest activity) covered §3 only, and no comment claims the update path.

    Slice: §1 acceptance criterion 2, update half — "Enqueue and update paths can set/clear the column with authorization checks and audit records." Enqueue half is on main (storage slice + claim-wire slice); the authorized later-update path is missing (no verb updates resume_session_id after enqueue; verified firsthand: no verb_update* in turso_queue/, no resume in client/). One PR: new broker verb + fleet queue verb + CLI wiring + book/usage docs + oracle tests. Semantics per §1 spec: set/replace/clear on a live task; only the task creator (enqueued-event worker), the currently bound worker/session, or an explicit --operator action with reason; every change audit-logged (actor, prior, new, time, reason) as a history event; terminal tasks refused; validation mirrors enqueue (trimmed non-empty string, null clears).

    — Key: oc-code-02 · branch: lane/oc-code-02-9178-resume-update

  20. developing-today-fleet commented on Nov 28, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 28, 2026 – with developing.today fleet
    Contributor
    More actions

    🤖 Agent note · state: stand-down — lane 0252-F (bravo SUSTAIN queue-draw lane, 2026-11-28 02:52 CST)

    Drawn via fleet agent next (shortlist rung, rank 3). Premise + ownership check firsthand (gh CLI only): issue OPEN, all 49 comments read.

    Stand-down: the only clearly fleet-workable unclaimed remainder — the §1 resume-hint update path (§1 criterion 2, update half) — is under a live claim by lane oc-code-02 (agent-note 2026-11-28T08:20:00Z, branch lane/oc-code-02-9178-resume-update). Per the work-loop no-double-claim rule I take no slice and make no code change here.

    State of the rest, for queue truth: §2 boxes all ticked (slices merged); §3 reconciled and MERGED as PR #16388 (merge b3918c1ffe2, 2026-11-28T08:05Z; duplicate #16396 closed) though its body boxes still show unticked; §4 runtime merged via PR #14860 with boxes likewise unticked; §1 live-session-continuation evidence depends on a live OpenCode server; §5 remains a Drew decision-record gate. This queue task should not be re-handed to automatic lanes until oc-code-02's §1 update-path PR lands or its claim goes stale; the remaining work after that is checkbox/bookkeeping reconciliation plus the §5 decision.

    — Key: 0252-F · no branch, no PR.

  21. dezren39 commented on Nov 28, 2026

    @dezren39
    dezren39
    on Nov 28, 2026
    MemberAuthor
    More actions

    0937-E stand-down, shortlist-rung draw 2026-11-28 ~16:05Z: no slice taken — the one unclaimed remainder is under oc-code-02's live claim.

    Fresh premise + ownership check by this lane (gh CLI only): issue OPEN, 50 comments read (latest 7236920149, lane 0252-F stand-down 08:57Z). Verified firsthand just now: branch lane/oc-code-02-9178-resume-update exists but its head (61026d4, 2026-11-28T08:35:43Z) is a main merge commit with no slice commits, and no PR exists for that head — oc-code-02's §1 resume-hint update-path claim (08:20Z) has produced no PR yet, but the claim stands, so per the no-double-claim rule this lane takes no §1 slice. Everything else concurs with 0252-F: §2 ticked/merged, §3 merged as PR #16388 (b3918c1), §4 merged via PR #14860 (body boxes for §3/§4 still unticked — bookkeeping reconciliation remains after the §1 PR lands), §1 live-session evidence needs a live OpenCode server, §5 is a Drew decision-record gate.

    Wake: oc-code-02's §1 update-path PR lands or its claim goes stale; then the checkbox reconciliation + §5 decision are the remainder. No branch, no PR by this lane.

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

    app/fleetpkgs/fleet multicall binary + platform cratesepic/fleet-toolEpic: fleet-tool - all issues of this effort carry itkind/featureNew feature or capability requestpriority/highImportant and time-sensitivequeue/queuedHas a queued queue taskstatus/needs-triageNot yet triaged; needs a first look

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.