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 gh step 2.2: Queue/GitHub sync verbs for scripted flows (dispatch, claimant, job bodies) · Issue #10973 · developing-today/code

fleet gh step 2.2: Queue/GitHub sync verbs for scripted flows (dispatch, claimant, job bodies) #10973

New issue
Copy link
New issue
Copy link
Open
Open
fleet gh step 2.2: Queue/GitHub sync verbs for scripted flows (dispatch, claimant, job bodies)#10973
Copy link
Labels
epic/fleet-toolEpic: fleet-tool - all issues of this effort carry itprimary-parent/fleet-toolPrimary parent epic fleet-tool (design §3)queue/blockedQueue or user escalation statestatus/needs-triageNot yet triaged; needs a first lookstatus:in-reviewstray-workStray work: not tied to a design or roadmap item (AUDIT-7 Lane 7)task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

Description

@dezren39
dezren39
opened on Nov 17, 2026
Issue body actions

Step 2.2 of #9016 (fleet gh step 2: higher-level sync tools on the token rotation), sequenced second by triage task 18808 (2026-11-17).

Scope

Build the Queue/GitHub sync verbs: the recurring scripted flows that today compose raw gh issue / gh pr calls in job bodies and pm-stack tooling move onto shared fleet verbs over the step-1 rotation (fleet gh, PR #9014), inheriting the rotation, the retry-safety rule, and value-free errors.

Caller set / call sites retired (verified on main, 2026-11-17)

  • pm-stack/dispatch/src/github.ts — raw GitHub call composition in the dispatch service.
  • pm-stack/opencode-claimant/claimant.py — raw gh issue/gh pr composition in the claimant.
  • Job-body flows named by fleet gh step 2: higher-level sync tools on the token rotation #9016: program tending, stewardship verdict posting, pool reviews (cron job bodies composing raw gh calls).

Acceptance

  • Each named caller runs through the shared verbs; the raw-gh call sites above are retired or reduced to the verb.
  • Verb names follow the conventions established under fleet gh step 2: higher-level sync tools on the token rotation #9016 (see also the queue-verb spec cross-linked from fleet queue: resume-by-session, claim-any-task, and manual-only items #9178).
  • Evidence per caller posted here and linked from fleet gh step 2: higher-level sync tools on the token rotation #9016.

Activity

Next
  1. dezren39
    added
    task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
    on Nov 17, 2026
  2. developing-today commented on Nov 17, 2026

    @developing-today
    developing-todayBot
    on Nov 17, 2026 – with developing.today
    Contributor
    More actions

    CODE-3942

  3. github-actions
    assigned
    dezren39
    on Nov 17, 2026
  4. dezren39
    removed their assignment
    on Nov 20, 2026
  5. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Pickup — xaltha lane taking step 2.2 (#10973): building the Queue/GitHub sync verbs over the step-1 fleet gh rotation and retiring the raw-gh composition at the named call sites (pm-stack/dispatch/src/github.ts, pm-stack/opencode-claimant/claimant.py, and the #9016 job-body flows). Branch xaltha/10973-gh-queue-sync from current main. Progress + per-caller evidence to follow here.

  6. dezren39
    added a commit that references this issue on Nov 23, 2026

    feat(fleet): gh sync verbs for scripted flows (#10973)

    d142839
  7. developing-today
    added
    status:in-review
    on Nov 23, 2026
  8. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Progress — xaltha lane: the sync verbs are built and the in-repo callers are retired onto them. PR #13155 (#13155, branch xaltha/10973-gh-queue-sync, commit d142839be) — Refs this issue, not Closes: one acceptance item remains (job-body adoption, below).

    The verbs (new gh_sync.rs in the fleet crate): sync-labels, sync-view, sync-comment, sync-issue-create, sync-issue-get, sync-labels-add, sync-label-ensure, sync-issue-close. Each strictly declares its command line (#3352) and rewrites to the canonical gh call before the close guard / closure layer / metadata create path run, inheriting the step-1 rotation, the retry-safety rule and value-free errors. Registry inventory + pkgs/fleet/docs/verbs.md updated in the same change. Unit tests in the module pin every verb's canonical rewrite and the strict-parsing refusals (including sync-issue-close refusing gh's 'not planned' spelling in favour of the #9221 taxonomy).

    Per-caller evidence:

    • pm-stack/dispatch/src/github.ts — fallback route rewired end-to-end: ensureLabel → sync-label-ensure, createIssue → sync-issue-create, getIssue → sync-issue-get, addLabels → sync-labels-add, closeIssue → sync-issue-close, comment → sync-comment, all via the packaged fleet binary (PM_DISPATCH_FLEET_BIN, default ~/.local/bin/fleet). App REST route untouched. Disclosure: verb closes speak the fleet closure taxonomy — not_planned → cancelled, completed → implemented; GitHub state_reason granularity is not preserved (all live callers close not_planned, for launch compensation).
    • pm-stack/opencode-claimant/claimant.py — label read → sync-labels (fail-closed contract kept); the three agent-note posts deduplicated into one helper over sync-comment. No raw gh composition remains in the file. Its subprocess-boundary tests were updated to the verb argv shapes.
    • pm-stack/opencode-claimant/launch_one.py — hard-stop read → sync-view, launch note → sync-comment --body-file. (Named in the caller set's spirit: same claimant tool, same two operations, extended to PRs; send_to_opencode.py inherits both.)
    • Job-body flows (program tending, stewardship verdict posting, pool reviews) — their GitHub ops are the same comment-post and label/state-read shapes the verbs cover, but their bodies live outside this repo, so adoption happens in their own definitions. That is the remaining acceptance item; evidence for those callers should be appended here as each body adopts the verbs, and linked from fleet gh step 2: higher-level sync tools on the token rotation #9016.

    Verification (remote dispatch only, per the current build rule) — submitted against the PR branch and, at the time of this note, still queued for placement (fleet GitHub-hosted surfaces saturated; the jobs are recorded and will run; ids/URLs to be appended here as they land):

    • Rust: cargo test --manifest-path pkgs/fleet/Cargo.toml -p fleet -p fleet-registry — dispatch handle fp_783d9b73c28e881223ebd1dfe0ea78dd
    • Claimant: python3 pm-stack/opencode-claimant/run_hermetic_tests.py — handle fp_371f0a95ed7d942259d32c7671ad4696
    • Dispatch: bun install --frozen-lockfile && bun test test/github.test.ts && bunx tsc --noEmit in pm-stack/dispatch — handle fp_3fdf5efaa63319c5f8a237075227666a

    PR #13155's own CI also runs the caller suites (pm-stack-tests.yml) and the fleet Rust crates. No suites were compiled or run locally or on the laptop; locally only a Python syntax parse of the edited files.

  9. dezren39
    added a commit that references this issue on Nov 24, 2026

    Merge pull request #13155 from developing-today/xaltha/10973-gh-queue…

    68f2cb0
  10. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    🤖 Second-pass verdict (task 22057, lane code-f): NOT resolved — verbs merged, adoption remainder routed.

    Fresh revalidation 2026-11-24:

    • fleet gh step 2.2: Queue/GitHub sync verbs for scripted flows (dispatch, claimant, job bodies) #10973 OPEN (status:in-review, task/small-fix). PR feat(fleet): gh sync verbs for scripted flows (#10973) #13155 MERGED 2026-11-24T04:55Z (Refs, not Closes).
    • Done: all 8 sync verbs in gh_sync.rs; registry + verbs.md updated; in-repo callers retired (dispatch github.ts fallback, claimant.py zero raw-gh, launch_one.py / send_to_opencode.py inherits). Parent fleet gh step 2: higher-level sync tools on the token rotation #9016 CLOSED.
    • Remaining: job-body adoption (program tending, stewardship verdict posting, pool reviews) — bodies live outside this repo; no evidence posted since the merge.
    • Action: enqueued queue task 22945 (repo-health-code-pilot, priority 70) to migrate each job-body definition onto the verbs and post per-caller evidence here.
  11. developing-today-fleet
    added
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    on Nov 25, 2026
  12. developing-today-fleet commented on Nov 25, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 25, 2026 – with developing.today fleet
    Contributor
    More actions

    🤖 Agent note · handed off

    • Agent: fleet monitor (repo-fleet-monitor)
    • Session / ID: task 22945 — live claimed task in repo-health-code-pilot
    • Found via: monitor reconciliation
    • Task: Reverse claim/label mismatch repaired: the queue task is claimed with a live lease but the issue lacked the claim labels; labels synced to queue/claimed + work/assigned + status/in-progress to match the live claim.
    • Expectation: holder continues under its existing claim; no new work started by the monitor.
    • Links: queue task above
  13. developing-today-fleet
    removed
    status/in-progressQueue worker lifecycle state
    on Nov 26, 2026
  14. 1 remaining item

  15. developing-today-fleet
    added
    queue/queuedHas a queued queue task
    status/needs-triageNot yet triaged; needs a first look
    and removed
    work/assignedQueue worker lifecycle state
    on Nov 26, 2026
  16. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 26, 2026 – with developing.today fleet
    Contributor
    More actions

    🤖 Agent note · handed off

    • Agent: fleet monitor
    • Session / ID: repo-fleet-monitor cron run 2026-11-26 06:14 CST; task 22945
    • Found via: monitor reconciliation
    • Task: Claim-evaporation repair: the queue task is queued unclaimed (lease expired, attempts 1) while the issue still carried queue/claimed + work/assigned. Labels reset to queue/queued + status/needs-triage to match the live queue truth.
    • Expectation: a worker re-claims from the queue; checkpoint stage at evaporation: none recorded
    • Links: queue repo-health-code-pilot
  17. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 26, 2026 – with developing.today fleet
    Contributor
    More actions

    code-f access recheck — 2026-11-26: no remote job-body edits made. The scheduler registry locates the three external bodies under the laptop goal store: program-tending at /home/hatch/workspace/goals/keep-the-four-repos-healthy/crons/daily/program-tending__daily@09:12:00.md; pool-composition-review and pool-meta-reviewer under the same goal’s crons/hourly and crons/daily directories; stewardship-cycle under /home/hatch/workspace/goals/stewardship-commission-recurring-review-and-dispatch/crons/hourly/[email protected].

    Those are not in this repository. fleet shell targets reports laptop and Codespace unreachable, and this lane has no alternate writable access to the job-body store. I did not modify the scheduler definitions or claim migration evidence. PR #13155 provides the in-repo verbs, but the external three-flow acceptance remains open. Recheck when a laptop/Codespace target is reachable; then inspect each body, migrate supported operations, and post caller-by-caller evidence.

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

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

    oc-code-02 access recheck — 2026-11-27: no remote job-body edits made. In-repo callers remain retired (no raw gh composition in claimant.py / dispatch github.ts; only a README historical mention). The three job-body definitions remain outside this repo (laptop goal-store paths from the 2026-11-26 note; no program-tending/stewardship-cycle files locally). fleet shell targets reports laptop=false, codespace=false (local/actions reachable), so this lane has no writable access to the job-body store. PR #13155 verbs stand; external three-flow acceptance remains open. Recheck when a laptop/Codespace target is reachable; then inspect each body, migrate supported operations, and post caller-by-caller evidence.

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

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

    #10973 adoption recheck — task 22945: The scheduler registry still points program-tending, pool-composition-review, pool-meta-reviewer, and stewardship-cycle to goal-store files under /home/hatch/workspace. Their corresponding files are absent from this seat's /home/user/workspace/goals mirror, and Fleet again reports laptop and Codespace unreachable. PR #13155 remains the merged source of the sync verbs. No job body was changed and no caller migration evidence is claimed.

    Parked until the laptop or Codespace provides writable access to the external goal-store definitions. Then inspect all three flow groups, migrate the covered GitHub operations to sync verbs, and record per-caller evidence here.

  20. developing-today-fleet
    added
    queue/blockedQueue or user escalation state
    and removed
    queue/queuedHas a queued queue task
    on Nov 27, 2026
  21. developing-today-fleet commented on Nov 27, 2026

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

    oc-code-03 adoption recheck — 2026-11-27 ~05:55Z. The remaining job-body callers still live in the external laptop goal store under /home/hatch/workspace/goals/..., not this repo. fleet shell targets currently reports laptop and Codespace unreachable; only local and Actions answer. In-repo dispatch/claimant callers already use fleet gh sync-* (grep shows only verb references). No external files changed and no per-caller migration evidence claimed. Park until the laptop goal store is reachable; then update the four bodies (program-tending, pool-composition-review, pool-meta-reviewer, stewardship-cycle) and post evidence here.

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

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

    oc-code-02 adoption recheck — 2026-11-27 ~06:15Z. No remote job-body edits made. Reverified: in-repo callers remain on sync verbs (dispatch github.ts, claimant.py, launch_one.py grep shows only sync- references, no raw gh issue/pr composition); installed fleet binary here predates sync verbs (0.1.0-dev+g74eee89, gh domain lists no sync verbs) so verification is by source grep, not verb execution. The four job-body definitions (program-tending, pool-composition-review, pool-meta-reviewer, stewardship-cycle) remain external laptop goal-store paths (/home/hatch/workspace/goals/...); local mirror /home/user/workspace/goals has no crons directories, only files/designs. fleet shell targets = laptop=false, codespace=false (local/actions reachable), so no writable access. PR #13155 verbs stand; external acceptance remains open. Recheck when laptop/Codespace reachable.

  23. developing-today-fleet
    added
    epic/fleet-toolEpic: fleet-tool - all issues of this effort carry it
    primary-parent/fleet-toolPrimary parent epic fleet-tool (design §3)
    stray-workStray work: not tied to a design or roadmap item (AUDIT-7 Lane 7)
    on Nov 27, 2026
  24. developing-today-fleet commented on Nov 27, 2026

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

    Adoption evidence (lane oc-code-01, amd laptop seat)

    Job bodies live in the live goal store (hatch-personal, minute-autocommit repo), not the stale /home/hatch registry paths. Five adoption edits, all autocommitted and working tree clean:

    1. keep-the-four-repos-healthy/hidden_files/tools/lane-share.py — raw gh issue comment 1425 composition replaced with fleet gh sync-comment --repo developing-today/code (+ error surfaces fleet gh sync-comment failed). py_compile clean.
    2. program-tending-instruction.md — GitHub-access section added: all scripted issue/PR reads and comments go through fleet gh sync-*; documented exception: §8 project-reconcile.sh uses Projects API (GH_TOKEN), which has no verb equivalent.
    3. pool-composition-review-instruction.md — flag filing routed via sync-issue-create / sync-comment.
    4. pool-meta-reviewer-instruction.md — issue filing routed via sync verbs.
    5. [email protected] — verdict-posting rule added; documented exception: CONSOLE HOST VERSION read stays raw gh api .../commits/main (no verb equivalent).

    In-repo callers (dispatch github.ts, claimant.py) revalidated clean on origin/main: sync refs only, no raw gh composition.

    Verb contract: cargo test -p fleet --bin fleet gh_sync → 12 passed, 0 failed. gh_sync.rs is merged on origin/main (PR #16216; local diff vs origin is rustfmt-width only). Live read check with a fresh dev-binary build: fleet gh sync-view --repo developing-today/code issue 10973 returns current labels/state correctly.

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

    epic/fleet-toolEpic: fleet-tool - all issues of this effort carry itprimary-parent/fleet-toolPrimary parent epic fleet-tool (design §3)queue/blockedQueue or user escalation statestatus/needs-triageNot yet triaged; needs a first lookstatus:in-reviewstray-workStray work: not tied to a design or roadmap item (AUDIT-7 Lane 7)task/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.