GeezerVison is showing github.com — fix(opencode-claimant): make handed-off tasks actually bind and execute (task 13488) by developing-today[bot] · Pull Request #7834 · developing-today/code
Conversation
developing-today
Bot
commented
Nov 8, 2026
•
edited by blacksmith-sh
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
The opencode execution lane has never bound a handed-off task through claimant.py: lanes hand off, the claimant fires, and nothing launches. Four defects compounded:
- poll.py json-parsed the repo-queue binary's list output, which is a human table since the design: repo-queue + secrets brokers on the laptop behind the session proxy #5362 cutover, so every queue read as empty and the gate always exited (opencode-claimant(poll): repo-queue list emits a table, not JSON — every queue read fails and candidate discovery is blind fleet-wide #7325, opencode-claimant: repo-queue list emits a table, claimant poll/claimant parse JSON — candidate discovery silently no-ops #7375).
- The checkpoint verb records the yield at progress.last_checkpoint.stage; is_candidate reads progress.stage, so even a working read classified ~0 candidates (opencode-claimant(poll): candidate filter reads progress.stage, but the checkpoint verb writes progress.last_checkpoint.stage — ~60 recorded yields invisible per fire, stale stages offered unsafely #7706).
- launch_step never read mode — a shadow fire reaching step 4 would have created and bound sessions (opencode-claimant(claimant.py): launch_step ignores its mode argument — a shadow fire creates and binds a session if discovery ever returns a candidate #7366) — and it bound sessions without ever sending the execution prompt, manufacturing opencode-claimant: bound session that never received its prompt (task 6722) has no recovery path — stuck claimed forever #4758 zero-message sessions (opencode-claimant(claimant.py): launch_step binds a session and never sends the prompt — every live launch creates a zero-message bound session #7356). Its session calls also carried none of the server's required Basic auth.
- The broker's rich /list (built for this claimant) did not return the task payload, so launch prompts carried an empty packet.
Fixes:
- poll.py reads claimed rows from the broker's /list with rich: true (URL/token resolved exactly as the fleet client resolves them), lifts the yield stage from last_checkpoint, and exposes payload as the candidate packet. Fail-closed semantics unchanged: an unreadable queue contributes no rows.
- claimant.py supervision reads rows through poll.py; launch_step in shadow mode records the would-launch window as skips and mutates nothing; the live launch creates the session with auth, binds it, then delivers the prompt via POST /api/session/{id}/prompt with message-reconcile before any resend, flagging the launch entry when the prompt cannot be landed. Session responses unwrap the v2 data envelope.
- fleet-queue: rich /list selects payload on both the Turso and PostgREST paths and parses it as JSON (Turso).
Verification (laptop): python suites 60/60 pass (test_poll + test_claimant, incl. new coverage for the broker read, stage lift, payload packet, shadow no-mutation, prompt-failure flagging and prompt reconcile). Live read-only smoke of the fixed poll.py against the production broker: 22 candidates across the queues (was 0 all day), cap_room 35, no poll warnings.
Queue task 13488 (the claimant-binding fix task; its packet names #1187, the dispatch design this claimant implements).
Fixes #7325
Fixes #7375
Fixes #7366
Fixes #7356
Fixes #7706
![Autofix with [code]smith](/api/image?u=https%3A%2F%2Fcamo.githubusercontent.com%2F33b6f70f3541c4e93f4503d29cbfec051fa1b040d8e0ae9313a51c4ece44a627%2F68747470733a2f2f70722d636f6d6d656e74732d6173736574732e626c61636b736d6974682e73682f636f6465736d6974682f6175746f6669782d776974682d636f6465736d6974682d6461726b2d33782e706e67)
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
…e prompt; authenticated session calls (#7366, #7356)
coderabbitai
Bot
commented
Nov 8, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Important
Review skipped
Bot user detected.
To trigger a single review, invoke the @coderabbitai review command.
Run configuration
-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: defaults
- Review profile: CHILL
- Plan: Advanced
- Run ID:
0303c212-da39-4efd-9b52-ab5f0fddc4ac
You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.
Use the checkbox below for a quick retry:
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Share
-
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
| Review |
Status |
Commit |
Review trigger |
| 📝 Code Review |
✅ Completed 2026-11-08T22:49:00.431937Z |
8a0588f |
Manual request |
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review" or "@codex security review".
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: bfb084beba
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
…n (Codex P1 on PR #7834)
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Codex Review: Didn't find any major issues. Nice work!
Reviewed commit: 8a0588f1a9
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Nov 8, 2026
This was referenced Nov 25, 2026
Reviewers
dezren39
Awaiting requested review from dezren39
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|