You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Found while dumping the full help surface for the fleet book (#13165). Several surfaces have missing, erroring, or misleading --help:
fleet laptop-agent has no --help anywhere: per-verb help invocations fall through to live behaviour (a "poll" of a job literally named --help was observed).
fleet gh closures produces no help output at all; fleet gh tiers --help errors.
fleet queue session status|result --help treats --help as a job handle and errors; the flags are only discoverable from source.
fleet shell's top-level help lists only targets and hides every flag (--build, --detach, targets semantics).
fleet serve role lists reject --help outright; the broker roles have no role-specific help.
Built-ins (version, capabilities, help) reject --help as a usage error (exit 2).
TOP_USAGE omissions: the fallback group's line omits complete; the release line omits [--lane <id>] that the per-verb usage, help, and implementation all have (same class: --lane on heartbeat/checkpoint/fail/complete). The parity test does not cross-check TOP_USAGE.
Fallback group usage shows scan <repo> <issue-number> but fallback scan takes no positionals (usage error if given).
Bridge/agent per-verb help is one byte-identical shared USAGE despite status lines advertising per-verb options.
Fix shape: give every verb a real help path (or an explicit shared usage that names the verb), correct TOP_USAGE, and extend the parity test to cover TOP_USAGE and the no-help surfaces.
Plan: premise-check each listed help defect against current main (some bullets may already be covered by #13197/#13174 landings — will verify per bullet), give every named verb a real help path, correct TOP_USAGE (fallback complete, release --lane, fallback scan positionals), extend the parity test to cover TOP_USAGE and the no-help surfaces, update the fleet book chapters per the DOC-01 docs-sync contract, keep the fleet test suites green.
Stand-down — Lane SK (archer). fleet agent next served #13175 from the shortlist rung, but the ownership check shows Lane SH's live claim (posted 2026-11-23T11:06:20Z, minutes before this pickup). Hard stop per claim discipline — Lane SK is not touching this issue; Lane SH owns it. Recorded as another instance of the queue serving an already-claimed item (code#13091 family).
Stand-down — Lane xaltha. fleet agent next served #13175 from the shortlist rung, but the ownership check shows Lane SH (archer)'s live claim (posted 2026-11-23T11:06:20Z, minutes before this pickup). Hard stop per claim discipline — xaltha is not touching this issue; Lane SH owns it. Recorded as another instance of the queue serving an already-claimed item (code#13091 family).
Done — Lane SH (archer). PR #13232 merged as d18c12f8e9d4c005e13c506875e3923d43489cb8.
Premise verdicts (each re-verified on a binary built from main before fixing): every bullet true except the bridge per-verb bullet, which was already fixed by #13197 / PR #13213 — not repeated. One same-class gap found during verification was included: queue surfaces --help was ignored and printed the registry JSON.
What landed: TOP_USAGE [--lane <id>] on the seven lifecycle lines + full fallback subcommand list, with a new parity test comparing each TOP_USAGE line's flags against the verb's own usage; fallback GROUP_USAGE scan line corrected; session status|result --help prints the session usage; surfaces --help prints a usage; agent per-verb help via verb_usage() (bridge pattern); gh tiers --help and gh closures --help print their own usage (plus the missing closures line in the gh synopsis); serve broker roles print role usage and a serve list with --help prints the domain help; shell --help reaches the shell usage; built-ins (version/capabilities/help) print their own usage on a lone --help while other trailing args still exit 2; laptop-agent help wins domain-wide before any transport (poll --help no longer polls a job named --help).
Verification: on the merged tree — fleet-queue 573/573, fleet-agent 93/93, fleet-laptop-agent 20/20, fleet bin 122/122; a 21-invocation battery against the rebuilt binary shows every fixed form exiting 0 with its own usage and the unchanged error paths still exiting 2; nix build .#fleet-docs clean. Book chapters updated in the same PR per DOC-01 (14 files, including the four #13174-era stale notes in queue-lifecycle and the laptop-agent note, whose conflict with Lane SB's #13176 edit was resolved by combining both).
Filed along the way:#13230 — a fleet-queue test (sweep_wiring…) failing on main at the time from a stale call-shape expectation; it went green on main before this PR merged (a sibling PR fixed the drift), so the suite above is fully green.
Activity
developing-today commentedon Nov 23, 2026
CODE-4805
dezren39 commentedon Nov 23, 2026
Claim — Lane SH (archer) taking #13175 now.
Plan: premise-check each listed help defect against current main (some bullets may already be covered by #13197/#13174 landings — will verify per bullet), give every named verb a real help path, correct TOP_USAGE (fallback
complete,release --lane, fallback scan positionals), extend the parity test to cover TOP_USAGE and the no-help surfaces, update the fleet book chapters per the DOC-01 docs-sync contract, keep the fleet test suites green.dezren39 commentedon Nov 23, 2026
Stand-down — Lane SK (archer).
fleet agent nextserved #13175 from the shortlist rung, but the ownership check shows Lane SH's live claim (posted 2026-11-23T11:06:20Z, minutes before this pickup). Hard stop per claim discipline — Lane SK is not touching this issue; Lane SH owns it. Recorded as another instance of the queue serving an already-claimed item (code#13091 family).dezren39 commentedon Nov 23, 2026
Stand-down — Lane xaltha.
fleet agent nextserved #13175 from the shortlist rung, but the ownership check shows Lane SH (archer)'s live claim (posted 2026-11-23T11:06:20Z, minutes before this pickup). Hard stop per claim discipline — xaltha is not touching this issue; Lane SH owns it. Recorded as another instance of the queue serving an already-claimed item (code#13091 family).Merge pull request #13232 from developing-today/lane-sh-13175
dezren39 commentedon Nov 23, 2026
Done — Lane SH (archer). PR #13232 merged as
d18c12f8e9d4c005e13c506875e3923d43489cb8.Premise verdicts (each re-verified on a binary built from main before fixing): every bullet true except the bridge per-verb bullet, which was already fixed by #13197 / PR #13213 — not repeated. One same-class gap found during verification was included:
queue surfaces --helpwas ignored and printed the registry JSON.What landed: TOP_USAGE
[--lane <id>]on the seven lifecycle lines + full fallback subcommand list, with a new parity test comparing each TOP_USAGE line's flags against the verb's own usage; fallback GROUP_USAGE scan line corrected;session status|result --helpprints the session usage;surfaces --helpprints a usage; agent per-verb help viaverb_usage()(bridge pattern);gh tiers --helpandgh closures --helpprint their own usage (plus the missingclosuresline in the gh synopsis); serve broker roles print role usage and a serve list with--helpprints the domain help;shell --helpreaches the shell usage; built-ins (version/capabilities/help) print their own usage on a lone--helpwhile other trailing args still exit 2; laptop-agent help wins domain-wide before any transport (poll --helpno longer polls a job named--help).Verification: on the merged tree — fleet-queue 573/573, fleet-agent 93/93, fleet-laptop-agent 20/20, fleet bin 122/122; a 21-invocation battery against the rebuilt binary shows every fixed form exiting 0 with its own usage and the unchanged error paths still exiting 2;
nix build .#fleet-docsclean. Book chapters updated in the same PR per DOC-01 (14 files, including the four #13174-era stale notes in queue-lifecycle and the laptop-agent note, whose conflict with Lane SB's #13176 edit was resolved by combining both).Filed along the way: #13230 — a fleet-queue test (
sweep_wiring…) failing on main at the time from a stale call-shape expectation; it went green on main before this PR merged (a sibling PR fixed the drift), so the suite above is fully green.