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: activate condition-aware parked-task revalidation by default · Issue #16006 · developing-today/code

fleet queue: activate condition-aware parked-task revalidation by default #16006

New issue
Copy link
New issue
Copy link
In progress
In progress
fleet queue: activate condition-aware parked-task revalidation by default#16006
Copy link
Labels
app/fleetpkgs/fleet multicall binary + platform crateseffort/mMedium: expected under 1 day of workkind/bugSomething isn't working (prefixed form of the classic bug label)meta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/highImportant and time-sensitivesource/agentCreated by an agent workerstatus/needs-triageNot yet triaged; needs a first looktask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

Description

@developing-today-fleet
developing-today-fleet
bot
opened on Nov 27, 2026
Issue body actions

Problem

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

  • PR fix(queue): broker never re-serves condition parks or completed work (#13091) #13143 review finding #4663760263.
  • home/common/default.nix configures observe-only unless the mode file enables mutations.
  • The local mode file was absent at 2026-11-27T08:xxZ; the configured scheduled sweeper therefore remains observe-only.
  • PR fleet-queue: /sweep verb — Turso sweepers replace the pg_cron trio (#6803) #6986 and its completion note on fleet-queue: port the pg_cron sweepers (expire standalone, parked revalidation, events prune) #6803 document the intentionally gated observe-only rollout.
{
  "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)

Activity

  1. developing-today-fleet
    added
    kind/bugSomething isn't working (prefixed form of the classic bug label)
    task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
    priority/highImportant and time-sensitive
    effort/mMedium: expected under 1 day of work
    source/agentCreated by an agent worker
    app/fleetpkgs/fleet multicall binary + platform crates
    on Nov 27, 2026
  2. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 27, 2026 – with developing.today fleet
    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.

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

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 27, 2026 – with developing.today fleet
    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

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

    fleet queue: activate parked-task revalidation by default (#16006)

    50ec6b7

    fleet queue: activate parked-task revalidation by default (#16006)

    d63f91e

    fleet queue: activate parked-task revalidation by default (#16006)

    3b3a1aa

    fleet queue: enable default condition-park revalidation (#16006)

    e82975a

    Merge pull request #16022 from developing-today/fix/16006-revalidator…

    9e911b4
  5. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 27, 2026 – with developing.today fleet
    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):

    • fleet-rust-tests run 45970899209: fleet-queue lib 867 passed / 1 failed; the new oracle passed. The single failure (client::tests::every_verb_usage_matches_its_parser, claim --manual-override) is pre-existing — main baseline run 45972217476 (head e818f42) fails the identical test, 866/1. Filed as fleet-queue: claim usage advertises --manual-override its parser rejects — every_verb_usage_matches_its_parser red on main #16035.

    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

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

    docs(fleet): record #16006 revalidation live-by-default in queue life…

    4d4ef52
  7. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 27, 2026 – with developing.today fleet
    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

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

    Merge pull request #16146 from developing-today/oc-code-04/16006-live…

    32f5d80
  9. developing-today-fleet
    added
    status/needs-triageNot yet triaged; needs a first look
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    on Nov 27, 2026
  10. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 27, 2026 – with developing.today fleet
    ContributorAuthor
    More actions

    Intake review

    🤖 Agent note · filed

    • Agent: fleet monitor
    • Session / ID: repo-fleet-monitor cron run 2026-11-27 16:14 CST
    • Found via: monitor reconciliation (Duty 2 intake enrichment)
    • Task: Intake pass per protocol §5: liveness check, acceptance criteria, label normalization.
    • Expectation: m — see the acceptance criteria appended to the issue body.
    • Links: fleet queue: activate condition-aware parked-task revalidation by default #16006

    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.

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

    test(fleet-queue): rate-bound oracle for default park revalidation (#…

    e871de0
  12. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 27, 2026 – with developing.today fleet
    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):

    • Criteria 1/5/6 (live release path): CHECKED — home/common/default.nix live default (obs=false unless mode file contains observe) + turso_queue/core.rs sweep_observe_only defaults false, verb_sweep uses it. Shipped by PR fleet queue: activate condition-aware parked-task revalidation by default (#16006) #16022.
    • Criteria 2/3 (oracle; unsatisfied stays parked; person_answer → /wake): CHECKED — sweep_revalidation_active_by_default_16006 + default_sweep_releases_satisfied_condition_parks_16006 in turso_queue.rs (fleet queue: activate condition-aware parked-task revalidation by default (#16006) #16022 + Merge and deploy default condition-park revalidation (#16006 follow-up) #16031).
    • Criterion 7 appended (rate-bounded, cadence/backoff observable in history): CHECKED by new slice — PR test(fleet-queue): rate-bound oracle for default park revalidation (#16006) #16365 adds turso_queue::tests::revalidation_rate_bound_16006: the parked SELECT carries the per-cycle bound on the wire (explicit limit=2 + min_age=3600 asserted; broker defaults 500/86400 asserted at source), and every examined row leaves a history-visible event (2 park_released + 2 park_revalidated in the oracle). Evidence: full cargo test -p fleet-queue --lib --features queue-broker → 860 passed, 0 failed on the laptop.
    • Criterion 4 (live verification): still OPEN — needs a laptop lane after the broker deploy + home-manager switch: record the live revalidation mode and one resumed fixture/real task with unrelated parked rows untouched. Sandbox cannot mutate live rows, so this note records no live sweep.

    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

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

    Merge pull request #16365 from developing-today/code-i/16006-rateboun…

    eca5dae

    docs(fleet): record #16006 live sweep verification in queue lifecycle

    4ada850
  14. developing-today-fleet commented on Nov 28, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 28, 2026 – with developing.today fleet
    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

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

    Merge pull request #16422 from developing-today/lane/oc-code-08-16006…

    2b2bb1e

    docs(fleet): follow-up census for #16006 live verification

    562d3af
  16. developing-today-fleet commented on Nov 28, 2026

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

    agent-note progress — lane code-g (2026-11-28)

    Checked against origin/main (sparse worktree at 709a713; worker-preflight clean):

    • Criteria 1/5/6 (live release path): CHECKED — turso_queue/core.rs sweep_observe_only defaults false (doc line: absent field = LIVE), verb_sweep resolves through it; home/common/default.nix scheduled sweep defaults obs=false unless the mode file contains observe. Shipped by PR fleet queue: activate condition-aware parked-task revalidation by default (#16006) #16022.
    • Criteria 2/3 (oracle; unsatisfied stays parked; person_answer → /wake): CHECKED — sweep_revalidation_active_by_default_16006 + default_sweep_releases_satisfied_condition_parks_16006 in turso_queue.rs (fleet queue: activate condition-aware parked-task revalidation by default (#16006) #16022 + Merge and deploy default condition-park revalidation (#16006 follow-up) #16031); revalidate_outcome maps person_answer to stale, never released.
    • Criterion 7 appended (rate-bounded, cadence/backoff observable in history): CHECKED — revalidation_rate_bound_16006 (test(fleet-queue): rate-bound oracle for default park revalidation (#16006) #16365).
    • Criterion 4 (live verification): CHECKED by lane oc-code-08's live run, recorded in the book by docs(fleet): record #16006 revalidation live-by-default in queue lifecycle #16146 + docs(fleet): record #16006 live sweep verification in queue lifecycle #16422.

    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

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

    Merge pull request #16446 from developing-today/lane/code-g-16006-census

    7cd2668
  18. developing-today-fleet commented on Nov 28, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 28, 2026 – with developing.today fleet
    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

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 crateseffort/mMedium: expected under 1 day of workkind/bugSomething isn't working (prefixed form of the classic bug label)meta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/highImportant and time-sensitivesource/agentCreated by an agent workerstatus/needs-triageNot yet triaged; needs a first looktask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

    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.