Repository navigation
verify_slice1: update stale expectations to the current claimant mechanisms - #13253
Merged
Merged
Conversation
…anisms Refs #13238. The verifier asserted the slice-1 monolith's shape; the claimant has since been split across claimant.py (step functions), poll.py (selection, timing constants, ledger read) and launch_one.py (per-task launch). Every drifted check now asserts the mechanism that replaced the original: - Check 2: ACTIVE_WINDOW_MS is defined in poll.py (#8038), not claimant.py -- the filed defect. - Checks 5-9, 11-13: step functions (gate_step/cap_step/launch_step), poll.is_stuck_bound / poll.parse_lease_ms selection, _get_messages, _delete_session, _recover_error_stopped / _fail_attempts_exhausted, cap_step room, _server_request session POST, PRIMARY_CLONE location body, repo-queue bind argv, launch_one.build_prompt, HELD_ISSUE_LABELS (renamed, same set), current README wording, CAP = 36 in poll.py (LAUNCH_WORKERS is gone; launches are sequential). - Check 14: poll.py's JSON field set as emitted today. - Two latent verifier bugs fixed: the pass/total counters could never agree (a fully green run still exited 1), and Checks 14/15 used a set -e-unsafe $? pattern that killed the script before the failure branch could run. - CLAIMANT_DIR override (defaults to the primary clone) so a worktree can be verified; header documents the staged-HOME read paths Check 15's fire needs. Verified end-to-end on the laptop against this worktree with a staged shadow HOME: 39/39 sub-checks pass, exit 0, including Check 14's live poll and Check 15's full shadow fire (gate, cap, launch; launched 0 sessions). The rewrite was adopted from Lane UG's stand-down copy (lane-ug-13238 @ 6e2fb6b) with one header amendment; UG's audit of all 15 checks is recorded on #13238.
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Caution Review failedThe pull request is closed.
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. |
This was referenced Nov 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Refs #13238 (deliberate close with evidence follows the merge).
verify_slice1_implementation.shasserted the slice-1 monolith's shape and failed Check 2 on current main:ACTIVE_WINDOW_MSmoved to poll.py with the stuck-bound selection (#8038). Lane UG's audit (on #13238) found the drift was much wider — Checks 2, 5, 6, 7, 8, 9, 11, 12, 13, 14 — plus two latent verifier bugs. This PR is UG's verified rewrite, adopted fromlane-ug-13238@6e2fb6bf02fwith one header amendment (UF), and re-verified end-to-end by UF.What changed, per check:
ACTIVE_WINDOW_MS = 30 * 60 * 1000is now asserted in poll.py, where the constant lives.gate_step/cap_step/launch_step),poll.is_stuck_bound/poll.parse_lease_msselection,_get_messages,_delete_session,_recover_error_stopped/_fail_attempts_exhausted,_server_requestsession POST, thePRIMARY_CLONElocation body, repo-queue bind argv elements,launch_one.build_prompt,HELD_ISSUE_LABELS(renamed; same set), current README wording, andCAP = 36in poll.py (LAUNCH_WORKERSno longer exists; launches are sequential).stale_binding,ledger_readable,cap,concurrency_cap, …).set -e-unsafe$?pattern that killed the script before its failure branch.~/tools,~/.config/turso,~/.config/repo-queue,~/.config/queue-broker,~/.local/bin/repo-queue).Verification (laptop route — the script's own execution is the test surface; no build applies): run against this branch's worktree with a staged shadow HOME:
including Check 14's live poll and Check 15's full shadow fire (gate → cap → launch, "Fire complete. Launched 0 sessions."). An earlier Check 15 failure during verification was the staged HOME missing the turso-exec read path — the claimant failing closed on an unreadable ledger, as designed; the header now documents this.
Sibling note:
pm-stack/opencode-claimant/verify_implementation.shis stale the same way (UG's finding); it gets its own follow-up issue rather than riding this PR.{ "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-23T12:34:10Z", "session_id": null, "lane": null, "host": "amd", "worktree": "/home/user/wt-lane-uf-13238", "model": null, "lane_start_issues": [], "workspace_ref": { "kind": "worktree", "id": "/home/user/wt-lane-uf-13238", "repo": "developing-today/code", "branch": "lane-uf-13238", "sha": "68bc2d22a566e01a1fb8741c3e8228396cac1db6" }, "auth_subject": "oc-code-01", "stamped_by": "fleet 0.1.0 (native)" } }Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.