Skip to content

opencode-claimant: launch only into recorded handoffs (#3026) - #4490

Merged
dezren39 merged 1 commit into
mainfrom
feat/3026-claimant-handoff-gate
Nov 2, 2026
Merged

dezren39 merged 1 commit into
mainfrom
feat/3026-claimant-handoff-gate

Conversation

@dezren39

@dezren39 dezren39 commented Nov 2, 2026 •

Copy link
Copy Markdown
Member

Gate hardening from the first live claimant launch batch: launch binding was 4/4, but assignment-without-yield tasks were launched into while their claiming lanes worked them in parallel. poll.py candidates now require the recorded yield (progress.stage == handed_off); prompt 4a/4c aligned (re-verify the yield; checkpoint as the claim owner). Refs #3026.


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

First live launch batch (2026-11-02) bound 4/4 sessions at launch,
but 3 of the 4 tasks were simultaneously being worked/parked/failed
by their claiming lanes: assignment alone is not a handoff. Lanes
follow the yield protocol only sometimes (pre-1b instructions still
running; mid-work races during the claimant long fires).

- poll.py is_candidate now also requires progress.stage ==
  handed_off, the claiming lane recorded yield (instruction 1b).
  New test; 21/21 pass.
- prompt.md: step 4a re-verify names the handed_off condition; step
  4c checkpoint runs as the candidate worker_id (checkpoint enforces
  claim ownership; as opencode-claimant it failed on every launch in
  the first batch: checkpoint_launched_ok false).
@dezren39
dezren39 requested a review from a team as a code owner November 2, 2026 17:34
@coderabbitai

coderabbitai Bot commented Nov 2, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 33 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

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: 909f6ef6-3595-4471-a87d-d65323eef9d5
Commits

Reviewing files that changed from the base of the PR and between 9c4ba5d and fde4dd6.

Files selected for processing: 3
  • pm-stack/opencode-claimant/poll.py
  • pm-stack/opencode-claimant/prompt.md
  • pm-stack/opencode-claimant/test_poll.py
  • 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

@dezren39
dezren39 merged commit 07d9cc7 into main Nov 2, 2026
1 check passed
@dezren39
dezren39 deleted the feat/3026-claimant-handoff-gate branch November 2, 2026 17:34
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-02T17:35:13.935818Z fde4dd6 PR opened
ℹ️ 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant