GeezerVison is showing github.com — fleet queue: activate condition-aware parked-task revalidation by default · Issue #16006 · developing-today/code
fleet queue: activate condition-aware parked-task revalidation by default #16006DescriptionProblem
PR #13143 adds PARKED_TERM_EXCLUSION so the default pick no longer serves parks with task_terminal, task_status, event_seen, or person_answer ready conditions. The code comment says the revalidation sweeper owns broker-condition releases and /wake owns person answers.
The default scheduled sweeper still runs with observe_only=true unless ~/.config/queue-broker/revalidator-mode contains enabled. The file was absent on 2026-11-27, so the scheduled sweep records would_release but does not mutate rows. That leaves the broker-condition parks that #13143 excludes with no automatic release path; they can remain parked after their condition is satisfied.
This is the P1 review finding on PR #13143, and it remains unfixed in later merged queue changes. The revalidator implementation was introduced by PR #6986 for #6803; its rollout note explicitly left activation as a gated step.
Acceptance
- The declarative/default fleet queue setup has a reliable release path for satisfied
task_terminal, task_status, and event_seen parks after observe-only validation.
- A regression oracle proves a satisfied broker-condition park becomes claimable/released through the default scheduled path, while an unsatisfied condition remains parked.
person_answer parks still require the person's /wake action.
- Live verification records the revalidation mode and one resumed fixture or real task without changing unrelated parked rows.
Evidence
{
"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-27T08:28:57Z",
"session_id": null,
"lane": null,
"host": "amd",
"worktree": null,
"model": null,
"lane_start_issues": [],
"workspace_ref": null,
"auth_subject": "oc-code-08",
"stamped_by": "fleet 0.1.0 (native)"
}
}
Acceptance criteria
- Condition-aware parked-task revalidation is active by default in the fleet queue
- A parked task whose ready-condition flips is revalidated and wakes without manual intervention
- Revalidation is rate-bounded: no wake storms when many conditions flip at once (cadence/backoff observable in task history)
Activityadded kind/bugSomething isn't working (prefixed form of the classic bug label) task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests effort/mMedium: expected under 1 day of work app/fleetpkgs/fleet multicall binary + platform crates on Nov 27, 2026developing-today-fleet commented on Nov 27, 2026 ContributorAuthor More actions Correction to the evidence timestamp in the issue body: the local mode-file check was performed at 2026-11-27 08:29 UTC, not 08:xxZ. The result was that ~/.config/queue-broker/revalidator-mode was absent.
developing-today-fleet commented on Nov 27, 2026 ContributorAuthor More actions agent-note claim — lane 0252-J (SUSTAIN bravo, 2026-11-27 02:52 CST)
Claiming #16006 for implementation under key 0252-J. Premise check: issue + sole comment (timestamp correction 7213630533) read; no live claim, no held/user labels, no assignees. Plan: make the declarative/default scheduled revalidator release satisfied broker-condition parks (task_terminal/task_status/event_seen) by default, keep person_answer on /wake only, add a regression oracle, verify via CI on the PR branch. Method: gh CLI only, Git-API contents route, no fresh clones.
Key: 0252-J developing-today-fleet commented on Nov 27, 2026 ContributorAuthor More actions agent-note resolution — lane 0252-J (SUSTAIN bravo)
Code landed: PR #16022 #16022 MERGED at 2026-11-27T09:23:43Z, merge commit 9e911b4.
What changed:
home/common/default.nix: the scheduled fleet-queue-sweeper is live by default (obs=false); writing observe to ~/.config/queue-broker/revalidator-mode is now the opt-out for a non-mutating observe cycle. enabled/absent = live.
pkgs/fleet/crates/fleet-queue/src/turso_queue/core.rs: sweep_observe_only() gives /sweep a live default; verb_sweep uses it. Explicit observe_only=true still honored.
- Oracle
sweep_revalidation_active_by_default_16006 in turso_queue.rs: default request resolves live; satisfied task_terminal/task_status/event_seen → released, unsatisfied → confirmed (stays parked), person_answer → never released (still /wake only); wiring asserted through verb_sweep → revalidate_parked → UPDATE tasks SET status = 'queued' + park_released.
Verification (exact head 3b3a1aa):
REMAINING (this issue stays open for it): acceptance item 4 — live verification. After the broker deploy and a home-manager switch apply the new default on the laptop, record here: the live revalidation mode, and one resumed fixture or real parked task, confirming unrelated parked rows were untouched. Wake condition: first daily 05:17 sweep after deploy, or a manual live /sweep {"revalidate":true} against the deployed broker.
Key: 0252-J developing-today-fleet commented on Nov 27, 2026 ContributorAuthor More actions agent-note progress — lane oc-code-04 (2026-11-27)
Checked against origin/main (worktree HEAD bcba771 at slice time):
- Criterion 1 (live release path): CHECKED —
home/common/default.nix:1032-1039 (obs=false default, observe opt-out) + turso_queue/core.rs:2218-2220 (sweep_observe_only defaults false). Shipped by PR fleet queue: activate condition-aware parked-task revalidation by default (#16006) #16022 (merge 9e911b4).
- Criteria 2+3 (oracle; unsatisfied stays parked; person_answer → /wake): CHECKED —
turso_queue.rs:2933 sweep_revalidation_active_by_default_16006.
- Criterion 4 (live verification): still OPEN — needs the laptop-side daily 05:17 sweep or a manual live /sweep against the deployed broker.
Slice landed: PR #16146 (docs, branch oc-code-04/16006-live-verification, commit 4d4ef52) — one bullet in pkgs/fleet/book/reference/queue-lifecycle.md:144 recording the live-by-default mode, the explicit observe opt-in, and the person_answer /wake-only rule, each cross-checked to the code lines above. Before: grep for 16006/observe_only in the book was empty; after: line 144 carries the record.
Live evidence via fleet front door (sandbox seat, no rows touched): fleet queue health reachable (Turso gateway up, full queue table returned); fleet queue list --status parked --limit 3 returned 3 of 360 parked rows (docs-only change, nothing mutated).
Not closing: criterion 4 needs a laptop-lane follow-up — after the broker deploy + home-manager switch, record the live revalidation mode and one resumed fixture/real task with unrelated parked rows confirmed untouched. Next slice after this PR merges: run that live sweep check and post its result here.
Key: oc-code-04 developing-today-fleet commented on Nov 27, 2026 ContributorAuthor More actions Intake review
🤖 Agent note · filed
Liveness: searched merged PRs referencing #16006 — #16146, #16022, #16220. None explicitly resolves this issue, so it stays open as live work. (If a listed PR was meant to close it, say so and the monitor will reconcile.)
Notes / risks: Filed 2026-11-27; labels normalized this pass (status/needs-triage, meta/enriched). Acceptance criteria appended to the body with the original text preserved verbatim above them.
Suggested approach: work through the queue as a standard fix/triage item; verify each acceptance criterion at current main before closing.
developing-today-fleet commented on Nov 27, 2026 ContributorAuthor More actions agent-note progress — lane code-i (2026-11-27)
Checked against origin/main (worktree HEAD d3dc77e at slice time, PR base merged to e8550d3):
Not closing: criterion 4 needs the laptop-side live check. Next slice: run that live sweep check and post its result here.
Key: code-i developing-today-fleet commented on Nov 28, 2026 ContributorAuthor More actions agent-note progress — lane oc-code-08 (2026-11-28)
Checked against origin/main (worktree HEAD 69993dc at slice time):
- Criteria 1/2/3/5/6/7 (code, oracle, person_answer, rate-bound): CHECKED, unchanged — fleet queue: activate condition-aware parked-task revalidation by default (#16006) #16022, test(fleet-queue): end-to-end default-sweep releases satisfied condition parks (#16031) #16220, docs(fleet): record #16006 revalidation live-by-default in queue lifecycle #16146, test(fleet-queue): rate-bound oracle for default park revalidation (#16006) #16365 all merged.
- Criterion 4 (live verification): CHECKED by live run — mode recorded (repo default live; laptop mode file absent; installed sweeper generation still observe-only until next home-manager switch, deliberately not run from this lane). Manual live /sweep against the deployed broker: observe 163 checked → 21 would_release; live released 5 (24407, 25348, 25428, 25539, 25461, all from the observe set). Within minutes 24407/25539 claimed, 25348/25461 done, 25428 claimed then re-parked with a new wait. Parked census 319 → 306, every departure attributed, no unrelated row mutated. 4 satisfied parks (23023, 21693, 23789, 21659) remain parked with fresh last_checked_at and await the next live cycle.
Slice landed: PR #16422 (docs, branch lane/oc-code-08-16006-slice, commit 4ada850) — one dated bullet in pkgs/fleet/book/reference/queue-lifecycle.md with the numbers above plus the home-manager-switch caveat. Evidence level: ran live on the laptop against the deployed broker; docs change validated by the fleet-docs book build on the PR.
Remaining for full close: the scheduled 05:17 path goes live on the next home-manager switch (owner/laptop hands step), and the 4 remaining satisfied parks release on the next live cycle — a follower can re-run the observe census from the bullet's commands to confirm. Next slice after this PR merges: re-verify the census, or close per FDR-0010 if the switch record lands.
Key: oc-code-08 developing-today-fleet commented on Nov 28, 2026 ContributorAuthor More actions agent-note progress — lane code-g (2026-11-28)
Checked against origin/main (sparse worktree at 709a713; worker-preflight clean):
Slice landed: PR #16446 (docs, branch lane/code-g-16006-census, commit 562d3af) — one dated follow-up bullet in pkgs/fleet/book/reference/queue-lifecycle.md. Fresh laptop-seat numbers, all 2026-11-28 UTC, zero mutations: observe-only /sweep → 2 checked, both stale; the four parks the criterion-4 record left awaiting the next live cycle have all moved — 23789 released by the live sweep and now done (code-h), 21693 claimed (code-j), 23023/21659 parked with active lanes (oc-code-04, oc-code-02). Installed sweeper generation verified still pre-#16006 (mode file absent) — the scheduled 05:17 path goes live on the next home-manager switch (hands step, not run from this lane).
Remaining for full close: the home-manager switch flips the scheduled path live; no code criterion is open. Next slice after this PR merges: re-verify the census, or close per FDR-0010 if the switch record lands.
Key: code-g developing-today-fleet commented on Nov 28, 2026 ContributorAuthor More actions agent-note merge — lane code-g (2026-11-28)
PR #16446 MERGED at 2026-11-28T06:48:26Z (merge check: CLEAN at slice time). The criterion-4 follow-up census is now on main in pkgs/fleet/book/reference/queue-lifecycle.md.
Done check per FDR-0010: criteria 1/2/3/5/6/7 code+oracle CHECKED (#16022, #16031, #16365); criterion 4 live verification CHECKED and recorded (#16422 + this slice). Remaining before close: the home-manager switch that flips the installed 05:17 sweeper generation live (hands step, deliberately not run from a lane). Leaving open for that record.
Key: code-g
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|