Repository navigation
Description
Found by the #9178 §4 criterion-5 migration audit (2026-11-29, worker felix).
Gap. The tasks table carries park_kind, wait_kind, ready_condition and manual_only (see TASK_COLS in pkgs/fleet/crates/fleet-queue/src/turso_queue/core.rs), but the hosted (cloud) read model behind fleet queue show --json and the scoped fleet queue list --queue <q> --task <id> --json projects none of them: the returned task record has no manual_only key at all, and no park/wait/ready-condition fields. fleet queue timeline --json likewise returns event kinds and timestamps with no detail payload, so a parked event's ready-condition is not readable through any front-door verb.
Measured cost. The §4 audit had to classify 345 parked tasks from free-text progress prose (stage/resume_condition/next strings written by parking lanes) instead of the structured fields the queue itself stores. Two genuinely hands-scoped tasks (23879, 24700) could not be converted to manual_only candidates because their task records, as readable, do not show the human wait — the structured fields would have settled both either way.
Ask. Project manual_only, park_kind, wait_kind and ready_condition in the hosted task read model (show + scoped list), and include the park ready-condition in timeline event detail for parked events. Regression coverage in the hosted-worker suite comparing projected fields against the stored row.
Refs #9178.
{
"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-29T08:32:55Z",
"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": "4291c7d25d6699e6d0378dcce687f1935ec39c09"
},
"auth_subject": "felix",
"stamped_by": "fleet 0.1.0 (native)"
}
}Acceptance criteria
fleet queue show --jsonand the scopedfleet queue list --queue <q> --task <id> --jsonprojectmanual_only,park_kind,wait_kind, andready_conditionfrom the stored task row.fleet queue timeline --jsonincludes the park ready-condition in the detail payload of parked events.- Hosted-worker regression coverage compares the projected fields against the stored row for a parked, a manual-only, and a plain queued task.
- The fleet queue: resume-by-session, claim-any-task, and manual-only items #9178 §4 audit classification (345 parked tasks) is re-runnable from structured fields alone, without free-text progress prose.
Activity
developing-today-fleet commentedon Nov 29, 2026
Agent-note — claim (lane felix, muse, 2026-11-29): picking this up (self-refill after the queue draw came back empty; sibling #16666 is already under a felix claim). Plan: project
manual_only,park_kind,wait_kindandready_conditionin the hosted task read model (show + scoped list), include the park ready-condition in timeline event detail for parked events, with regression coverage in the hosted-worker suite comparing projected fields against the stored row — failing test first. PR will be left unmerged for review.test(fleet-hosted): rich list must project manual_only and the park w…
fix(fleet-hosted): project manual_only and the park wait fields in th…
developing-today-fleet commentedon Nov 29, 2026
Progress (agent:felix): fix landed as PR #16680 (unmerged, for Felix's review).
Root cause: the hosted /list rich projection (LIST_RICH_KEYS in pkgs/fleet/hosted-worker/src/queue.ts) carried none of manual_only, park_kind, wait_kind, ready_condition, while every hosted store selects all four into the task row (shared TASK_COLS) and the native broker's rich projection has carried the park wait fields since #14317. The rich list is the read model behind queue show --json and the scoped exact-status list, so the fields never reached a hosted reader.
Fix: the four fields added to LIST_RICH_KEYS. The timeline half needed no change — the hosted park verb already writes ready_condition into the parked event's detail and events-list returns detail verbatim; the new regression test pins that.
Regression coverage: new test in test/queue.test.ts parks a task on a pr_merged ready-condition and compares the rich-list and scoped-list projections against the stored row field by field, plus the parked timeline event detail.
Evidence (all remote, fleet-command on the branch):
developing-today-fleet commentedon Nov 29, 2026
Verification addendum (agent:felix): typecheck on the PR #16680 head (cb38923) — fleet-command run 46247039358: npm install exit 0, npm run typecheck (tsc --noEmit) printed no diagnostics. The hosted-worker change is type-clean as well as suite-green.
developing-today-fleet commentedon Nov 29, 2026
Agent-note — triage (lane oc-code-07, OpenChamber, 2026-11-29): #16667 remains OPEN and the defect is addressed by open PR #16680, which is still OPEN/unmerged. The issue premise is confirmed by the body and PR description; PR #16680 adds the four omitted fields to the hosted rich list projection and regression coverage for rich/scoped list plus parked timeline detail. Routed by parking this issue’s triage task until PR #16680 merges. Verified with
gh issue view 16667 --repo developing-today/code,gh pr view 16680 --repo developing-today/code(OPEN, mergedAt null), andfleet queue list --queue repo-health-code-pilot --status queued --limit 100(no duplicate queued task). On resume, verify the merged fix, close #16667 with evidence and clear stale queue/triage labels. No implementation was done in this triage task.developing-today-fleet commentedon Nov 29, 2026
Intake review
Related: #9178 (§4 criterion-5 migration audit, 2026-11-29, worker felix — the audit that found this). Sibling gap from the same audit: #16666 (no production path can set
manual_onlyon a live task; this issue is the read-side twin — the field cannot even be seen through the hosted read model). The stored columns exist inpkgs/fleet/crates/fleet-queue/src/turso_queue/core.rs(TASK_COLS).Notes: Verified live at intake — issue open,
queue/queued, no live queue task; the safety net enqueued triage task 26390 this run. The measured cost in the body is concrete: 345 parked tasks classified from free-text prose, and two genuinely hands-scoped tasks (23879, 24700) left unclassifiable. The fleet monitor hits the same wall from the other side: its digest/broker reads cannot see park/wait structure either.Risks: Low implementation risk (projection-only change), but the hosted read model is a separate code path from the store — a partial projection (show but not scoped list, or list but not timeline) would recreate the gap in a subtler form. The acceptance criteria name all three surfaces for that reason.
Suggested approach: Add the four fields to the hosted task projection in one pass (show + scoped list), add the ready-condition to timeline parked-event detail, and pin all of it with the hosted-worker regression suite comparing projection vs stored row.
🤖 Agent note · filed
Merge pull request #16680 from developing-today/felix/16667-hosted-re…
developing-today-fleet commentedon Nov 29, 2026
Closing as completed: fixed by PR #16680 (merged 2026-11-29T09:39:32Z) — the hosted Worker rich projection (LIST_RICH_KEYS) now carries manual_only, park_kind, wait_kind, ready_condition; regression test pins it (failing-first run 46244008717, fixed run 46245971507: 62 pass / 0 fail across the queue + store parity suites; typecheck clean). The timeline half needed no change — hosted park already writes ready_condition into the parked event detail. — Felix