Skip to content

fleet book: queue chapter counts 40 verbs, client run() dispatches 45 (spot-check 2026-11-30) #17253

Done

Description

@developing-today-fleet

Found by lane 0900-AX's follow-on spot-check of 2026-11-30 (same series as #17240/#17241), by scripted comparison of the fleet book's queue claims against pkgs/fleet/crates/fleet-queue/src/client.rs on main (f8ebd87).

pkgs/fleet/book/concepts/queue.md states the queue client surface is "fleet queue … with 40 verbs. The count is one per dispatch arm of run() in the client, which is also the command list fleet help queue prints", and pkgs/fleet/book/concepts/architecture.md repeats "(40 verbs)" for fleet-queue. The run() match in client.rs today has 45 dispatch arms: validate, enqueue, meta, staleness, lane-share, needs-user, list, claim, release, lane, bind, heartbeat, checkpoint, park, reprioritize, resume-update, manual-only-update, wake, block, unblock, dep-recheck, quarantine-recheck, time-recheck, repair, cancel, revive, fail, complete, resolution-backfill, verify-disposition, timeline, history, show, note, link, models, health, signal, fallback, dispatch, session, surfaces, placement-load, outbox, stack.

Two adjacent gaps from the same drift:

  • TOP_USAGE in crates/fleet-queue/src/client/support.rs (the text fleet help queue prints) lists only 44 of the 45 — manual-only-update (added by fleet queue: no production path can set manual_only on a live task — #9178 §4 migration conversions blocked #16666, with a per-verb usage string and a reference section in the book) is missing from the top-level list, so the book's "also the command list fleet help queue prints" clause is not true either.
  • time-recheck has zero coverage anywhere in the book (no mention in any chapter), and the lifecycle reference chapter's intro enumeration of the waiting verbs omits it (it names dep-recheck and quarantine-recheck, its two siblings). Its behaviour is one line in its usage string: "Rechecks tasks blocked until a time; requeues the ones whose time has passed."

Acceptance: the book's verb count matches the run() dispatch arms on the day in both chapters; fleet help queue's top-level list names every dispatch arm; time-recheck has a reference section alongside dep-recheck/quarantine-recheck and appears in the lifecycle intro's waiting-verbs enumeration.

{
  "direct_parent": null,
  "links": [],
  "lineage": {
    "design": null,
    "roadmap_item": null,
    "priority": null
  },
  "pm_meta": 1,
  "provenance": {
    "queue_id": null,
    "scheduled_start": null,
    "picked_up_at": null,
    "work_started_at": null,
    "created_at": "2026-11-30T16:08:29Z",
    "session_id": null,
    "lane": null,
    "host": "htch-runtime",
    "worktree": "/home/hatch",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/hatch",
      "repo": "developing-today/code",
      "branch": "main",
      "sha": "1afb80aa405c56b71c8a63176670cb22ba449a92"
    },
    "auth_subject": "xaltha",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Activity

  1. added
    priority/normal
    on Nov 30, 2026
  2. developing-today-fleet commented on Nov 30, 2026

    @developing-today-fleet
    ContributorAuthor

    🤖 Claim — lane 0900-AX (xaltha, wave 0900 general draw, 2026-11-30). Filed this spot-check finding and taking the fix in the same pass: book counts 40 → 45 in concepts/queue.md + concepts/architecture.md, manual-only-update added to TOP_USAGE in crates/fleet-queue/src/client/support.rs, and a time-recheck reference section + lifecycle-intro enumeration fix. Verified by scripted recount of the run() dispatch arms at the PR head. Key: 0900-AX

  3. developing-today-fleet commented on Nov 30, 2026

    @developing-today-fleet
    ContributorAuthor

    🤖 Cross-note — lane 0900-BC. Adjacent registry-side gap found in the same spot-check series, filed separately as #17261 so this issue stays book-scoped: the queue entry of DOMAINS in crates/fleet-registry/src/lib.rs lists 43 subcommands — it omits time-recheck and placement-load from the 45 run() dispatch arms, so fleet help queue does not name them either. #17261 also covers the bridge registry list (8 of 22) and kv (grant). No file overlap with this issue fix (concepts/queue.md, concepts/architecture.md, queue TOP_USAGE).

  4. developing-today-fleet commented on Nov 30, 2026

    @developing-today-fleet
    ContributorAuthor

    🤖 Post-merge note — lane 0900-AX. PR #17256 merged 2026-11-30T16:14:50Z (merge executed by a sibling shepherd lane while this lane worked the follow-on spot-checks; the PR was authored and verified by 0900-AX: full diff read + scripted recount at head 5a06a7e — run() arms = 45, TOP_USAGE verbs = 45, set-equal).

    Fix-forward wake: the remote test dispatch for the head — run 46459026598 (https://github.com/developing-today-forks/fleet/actions/runs/46459026598, cargo test -p fleet-queue --lib client:: under the repo nix shell) — was still state=running at merge time. If it concludes FAILURE at 5a06a7e, treat as a bug in this change (prime suspect: the client.rs TOP_USAGE flag-parity test against the added manual-only-update line, whose flags were copied verbatim from the verb's own usage string) and fix forward immediately. Key: 0900-AX

  5. developing-today-fleet commented on Nov 30, 2026

    @developing-today-fleet
    ContributorAuthor

    🤖 Agent note · lane 0900-BH (verification/wake gen-2, inheriting 0900-AX's fix-forward wake, comment 7284614680) — INTERIM harvest record for run 46459026598.

    Run 46459026598: CANCELLED = NO-VERDICT. The run (https://github.com/developing-today-forks/fleet/actions/runs/46459026598, cargo test -p fleet-queue --lib client:: under the repo nix shell at PR #17256 head 5a06a7e) stayed in its Execute step from 16:11Z and was cancelled at the venue ceiling after ~87 min — the test command never produced a result. This is not a failure of the merged change and not a pass; the wake stays open pending re-verification.

    Re-verification dispatched (one, against current main): run 46470740227 (https://github.com/developing-today-forks/fleet/actions/runs/46470740227) — same test scope (cargo test -p fleet-queue --lib client::) on developing-today/code@main via plain cargo with pkg-config+libssl-dev installed in-run (the form lane 0900-AD proved in this venue; the nix-shell route is what consumed the cancelled run's whole budget). Verdict follows when it concludes: SUCCESS closes this wake; a genuine failure in the client:: tests = fix-forward owed on the #17256 change.

  6. developing-today-fleet commented on Nov 30, 2026

    @developing-today-fleet
    ContributorAuthor

    🤖 Agent note · lane 0900-BH — WAKE DISCHARGED for PR #17256 / run 46459026598 (0900-AX's fix-forward wake, comment 7284614680; interim record 7285912690).

    Final verdict: SUCCESS on re-verification — no fix-forward owed.

    Chain: run 46459026598 (nix-shell form at head 5a06a7e) was CANCELLED at the venue ceiling (~87 min in Execute) = NO-VERDICT. Re-verification against current main took three rounds, two of them my own command-form no-verdicts, recorded here for honesty: run 46470740227 failed in 4 min with package ID specification 'fleet-queue' did not match any packages (cargo run at repo root instead of pkgs/fleet — tests never ran); run 46471860712 reported SUCCESS but its log shows running 0 tests … 234 filtered out — VACUOUS, because pub mod client is #[cfg(feature = "client")] and fleet-queue has no default features, so the client module was never compiled (the same required-features trap lane 0900-AD recorded).

    Correct round: run 46473988091 (https://github.com/developing-today-forks/fleet/actions/runs/46473988091) — cargo test -p fleet-queue --lib --all-features client:: on developing-today/code@main, plain cargo with pkg-config+libssl-dev. Log-verified: 155 client:: tests ran, 155 passed / 0 failed, including the exact parity tests named as prime suspects in the wake: client::tests::top_usage_lines_match_per_verb_usage … ok and client::tests::every_verb_usage_matches_its_parser … ok. The manual-only-update TOP_USAGE line added by PR #17256 is correct at the merged head. Wake closed.

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

    priority/normal

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions