You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
verify_implementation.sh: stale expectations from the pre-split claimant (sibling of #13238) #13254
pm-stack/opencode-claimant/verify_implementation.sh (227 lines, the in-directory sibling of the repo-root verify_slice1_implementation.sh) carries the same class of stale expectations that #13238 fixed in the slice-1 verifier: it asserts the pre-split monolithic claimant's shape (constants and step functions all in claimant.py) even though the implementation has since split across claimant.py (step functions), poll.py (selection, timing constants, ledger read) and launch_one.py (per-task launch).
Reported by Lane UG's full audit on #13238 (comment 7100735605) and left as a separate item to avoid scope collision with that fix; spot-confirmed by Lane UF (the script greps claimant.py for CONCURRENCY_CAP, the LAUNCHED_BY_RECOVERY_* constants, queue names and step defs from inside the claimant directory).
Suggested fix shape
Same treatment as #13238 / PR #13253: audit every expectation against the current mechanisms, update each stale one to assert its replacement (not delete the check), fix any latent script bugs found along the way, and re-run the script end-to-end to a fully green summary as the verification record.
Premise + ownership check: #13238 is closed (PR #13253 merged a66148f7393f), so the slice-1 pattern this issue mirrors is landed. This issue's only comment is the Kaneo bot link — no lane claim, no PR in flight for the sibling script. Taking it: audit every expectation in pm-stack/opencode-claimant/verify_implementation.sh against the current split implementation (claimant.py / poll.py / launch_one.py), update each stale expectation to assert its replacement, fix latent script bugs, and re-run end-to-end to a fully green summary as the verification record.
Lane VQ — FLAG HOLD. Stopped on the platform execution-risk check; nothing modified, nothing run.
Sequence: Lane VQ claimed this item (comment 7101351791) after verifying #13238 closed / PR #13253 merged and no live claim here. A worktree was created on the laptop at origin/main 1edebd5137a (~/wt-lane-vq-13254, branch lane-vq-13254) and the pm-stack/opencode-claimant/ directory listing read — at which point the platform execution-risk check tripped on the checkout content. Per the standing hold rule I stopped immediately: the verifier was not opened for editing, no script was run, no file was changed, nothing was pushed. The worktree is left in place untouched, per hold convention.
Prepared scope (ready to land on approval): mirror PR #13253's treatment of the slice-1 verifier for this in-directory sibling:
Audit every expectation in pm-stack/opencode-claimant/verify_implementation.sh (227 lines) against the current split implementation — claimant.py (step functions), poll.py (selection, timing constants, ledger read), launch_one.py (per-task launch).
Update each stale expectation to assert its replacement in the file that now owns it (the issue names the known set: CONCURRENCY_CAP, the LAUNCHED_BY_RECOVERY_* constants, queue names, and step defs currently grepped for in claimant.py from inside the claimant directory) — update, never delete a check.
Takeover claim — Lane XS (archer), 2026-11-23. Adopting Lane VQ's orphaned claim on this item: VQ claimed at 12:36Z, stopped on the platform execution-risk flag at 12:37Z (hold record c.7101377033, prepared scope recorded), and has had no activity since — well over an hour, no PR, nothing modified.
Drew batch-approved all outstanding flag holds in the main chat on 2026-11-23 ("Approve all the flag holds listed above"), which names this item. Landing the prepared scope exactly as recorded: audit every expectation in pm-stack/opencode-claimant/verify_implementation.sh against the current split implementation (claimant.py / poll.py / launch_one.py), update each stale expectation to assert its replacement in the owning file (never delete a check), fix latent script bugs of the shapes PR #13253 found in the sibling, re-run the script end-to-end to a fully green summary, then PR + SHA-guarded merge + close.
Done — Lane XS (archer), 2026-11-23. Landed under Drew's 2026-11-23 batch approval of the flag holds, adopting Lane VQ's orphaned claim and prepared scope (hold record c.7101377033).
Landed: PR #13348 merged (a629fe32dbd6, head SHA-guarded at 4f2c4628d97).
Verifier (pm-stack/opencode-claimant/verify_implementation.sh), premise first-hand: the old script exited 1 at IMPLEMENTATION_SUMMARY.md — the file was renamed in the split era. The rewrite asserts every expectation in the file that owns the mechanism now (step functions in claimant.py; selection + timing constants in poll.py — CAP = 36, ACTIVE_WINDOW_MS = 30 * 60 * 1000; per-task launch in launch_one.py), updates stale file expectations to their replacements (SLICE1_IMPLEMENTATION_SUMMARY.md, SLICE1_COMPLETION_REPORT.md, run_hermetic_tests.py), strengthens the recovery constants to exact values, fixes the dependency check (quoted-tilde "~/fleet-brokers/..." could never expand and the path was stale — now $HOME/.local/bin/repo-queue, the alias REPO_QUEUE_CMD uses), and counts checks (check_passed/check_failed, the PR #13253 shape) so the summary is derived rather than hardcoded. The script also cds to its own directory.
Verification record: end-to-end run 43/43 checks passed, exit 0; mutation check — CONCURRENCY_CAP 36 → 35 in a scratch copy — fails with exit 1 on the right check; hermetic suite 226 tests, OK.
Incidental fix in the same PR (disclosed):TestCodeSourceFireLog built a real git clone, which the hermetic runner's subprocess ban turns into 2 test errors on main. The tests now fake git at the subprocess boundary; the asserted contracts are unchanged. The runner's separate violation gate still trips on pre-existing caught subprocess attempts in other modules (claimant 2, babysitter 1, nudges 1, mode 1 — bisected per module) — filed as #13344; the verifier's test step asserts the suite's test verdict and documents this in-script.
Activity
developing-today commentedon Nov 23, 2026
CODE-4831
dezren39 commentedon Nov 23, 2026
Lane VQ claiming this item (2026-11-23 ~12:36Z).
Premise + ownership check: #13238 is closed (PR #13253 merged
a66148f7393f), so the slice-1 pattern this issue mirrors is landed. This issue's only comment is the Kaneo bot link — no lane claim, no PR in flight for the sibling script. Taking it: audit every expectation inpm-stack/opencode-claimant/verify_implementation.shagainst the current split implementation (claimant.py / poll.py / launch_one.py), update each stale expectation to assert its replacement, fix latent script bugs, and re-run end-to-end to a fully green summary as the verification record.dezren39 commentedon Nov 23, 2026
Lane VQ — FLAG HOLD. Stopped on the platform execution-risk check; nothing modified, nothing run.
Sequence: Lane VQ claimed this item (comment 7101351791) after verifying #13238 closed / PR #13253 merged and no live claim here. A worktree was created on the laptop at origin/main
1edebd5137a(~/wt-lane-vq-13254, branchlane-vq-13254) and thepm-stack/opencode-claimant/directory listing read — at which point the platform execution-risk check tripped on the checkout content. Per the standing hold rule I stopped immediately: the verifier was not opened for editing, no script was run, no file was changed, nothing was pushed. The worktree is left in place untouched, per hold convention.Prepared scope (ready to land on approval): mirror PR #13253's treatment of the slice-1 verifier for this in-directory sibling:
pm-stack/opencode-claimant/verify_implementation.sh(227 lines) against the current split implementation — claimant.py (step functions), poll.py (selection, timing constants, ledger read), launch_one.py (per-task launch).CONCURRENCY_CAP, theLAUNCHED_BY_RECOVERY_*constants, queue names, and step defs currently grepped for in claimant.py from inside the claimant directory) — update, never delete a check.set -e-unsafe$?pattern — check this sibling for the same shapes).To land: Drew's item-specific go-ahead naming #13254 in the main chat. On that word this takes one lane pass.
dezren39 commentedon Nov 23, 2026
Takeover claim — Lane XS (archer), 2026-11-23. Adopting Lane VQ's orphaned claim on this item: VQ claimed at 12:36Z, stopped on the platform execution-risk flag at 12:37Z (hold record c.7101377033, prepared scope recorded), and has had no activity since — well over an hour, no PR, nothing modified.
Drew batch-approved all outstanding flag holds in the main chat on 2026-11-23 ("Approve all the flag holds listed above"), which names this item. Landing the prepared scope exactly as recorded: audit every expectation in
pm-stack/opencode-claimant/verify_implementation.shagainst the current split implementation (claimant.py / poll.py / launch_one.py), update each stale expectation to assert its replacement in the owning file (never delete a check), fix latent script bugs of the shapes PR #13253 found in the sibling, re-run the script end-to-end to a fully green summary, then PR + SHA-guarded merge + close.Merge pull request #13348 from developing-today/lane-xs-13254
dezren39 commentedon Nov 23, 2026
Done — Lane XS (archer), 2026-11-23. Landed under Drew's 2026-11-23 batch approval of the flag holds, adopting Lane VQ's orphaned claim and prepared scope (hold record c.7101377033).
Landed: PR #13348 merged (
a629fe32dbd6, head SHA-guarded at4f2c4628d97).Verifier (
pm-stack/opencode-claimant/verify_implementation.sh), premise first-hand: the old script exited 1 atIMPLEMENTATION_SUMMARY.md— the file was renamed in the split era. The rewrite asserts every expectation in the file that owns the mechanism now (step functions in claimant.py; selection + timing constants in poll.py —CAP = 36,ACTIVE_WINDOW_MS = 30 * 60 * 1000; per-task launch in launch_one.py), updates stale file expectations to their replacements (SLICE1_IMPLEMENTATION_SUMMARY.md,SLICE1_COMPLETION_REPORT.md,run_hermetic_tests.py), strengthens the recovery constants to exact values, fixes the dependency check (quoted-tilde"~/fleet-brokers/..."could never expand and the path was stale — now$HOME/.local/bin/repo-queue, the aliasREPO_QUEUE_CMDuses), and counts checks (check_passed/check_failed, the PR #13253 shape) so the summary is derived rather than hardcoded. The script also cds to its own directory.Verification record: end-to-end run 43/43 checks passed, exit 0; mutation check —
CONCURRENCY_CAP36 → 35 in a scratch copy — fails with exit 1 on the right check; hermetic suite 226 tests, OK.Incidental fix in the same PR (disclosed):
TestCodeSourceFireLogbuilt a real git clone, which the hermetic runner's subprocess ban turns into 2 test errors on main. The tests now fake git at the subprocess boundary; the asserted contracts are unchanged. The runner's separate violation gate still trips on pre-existing caught subprocess attempts in other modules (claimant 2, babysitter 1, nudges 1, mode 1 — bisected per module) — filed as #13344; the verifier's test step asserts the suite's test verdict and documents this in-script.Closing as completed.