Repository navigation
fix(opencode-claimant): re-audit verify_implementation.sh against the split implementation (#13254) - #13348
Merged
Conversation
… split implementation (#13254) The in-directory verifier still asserted the pre-split monolith's shape and failed on its first file check. Every expectation is now asserted against the mechanism that owns it: step functions in claimant.py, selection and timing constants in poll.py, per-task launch in launch_one.py. Stale file expectations updated to their replacements (SLICE1_IMPLEMENTATION_SUMMARY.md, SLICE1_COMPLETION_REPORT.md, run_hermetic_tests.py); the repo-queue dependency check now tests the path the code actually uses ($HOME/.local/bin/repo-queue) with an expandable $HOME instead of a quoted tilde that could never match. Checks are counted (check_passed/check_failed, per PR #13253's shape) so the summary is derived, not hardcoded. Incidental fix in the same pass: TestCodeSourceFireLog built a real git clone, which the hermetic runner forbids (subprocess ban), so the canonical suite reported 2 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 attempts in other modules -- filed as #13344; the verifier's test step asserts the suite's test verdict and says so. Verification: verifier runs 43/43 green, exit 0; mutation check (CONCURRENCY_CAP 36 -> 35 in a scratch copy) fails with exit 1. Hermetic suite: 226 tests, OK.
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 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.
Re-audits
pm-stack/opencode-claimant/verify_implementation.shagainst the split claimant implementation, per the prepared scope recorded on #13254 (Lane VQ's audit/hold record, adopted by Lane XS under Drew's 2026-11-23 batch approval of the flag holds).Verifier changes
claimant.py, selection + timing constants inpoll.py(CAP = 36,ACTIVE_WINDOW_MS), per-task launch inlaunch_one.py(launch()).IMPLEMENTATION_SUMMARY.md→SLICE1_IMPLEMENTATION_SUMMARY.md,CHANGES.md→SLICE1_COMPLETION_REPORT.md,test_implementation.py→run_hermetic_tests.py; recovery constants asserted at their exact values."~/fleet-brokers/bin/repo-queue"— a quoted tilde never expands, and the path itself is stale; it now tests$HOME/.local/bin/repo-queue, the aliasREPO_QUEUE_CMDin claimant.py actually uses. The hardcoded summary ("12/12 unit tests") is replaced by counted checks (check_passed/check_failed, the PR verify_slice1: update stale expectations to the current claimant mechanisms #13253 shape), so the summary is derived: 43/43.Incidental fix (same pass, disclosed on #13254)
TestCodeSourceFireLogbuilt a real git clone; the hermetic runner forbids subprocess outright, so the canonical suite reported 2 errors on main. The tests now fake git at the subprocess boundary — the asserted contracts (ok read, fail-open, fire entry carries code_source) are unchanged. The runner's separate violation gate still trips on pre-existing caught attempts in other modules; filed as #13344. The verifier's test step asserts the suite's test verdict and documents why.Verification
CONCURRENCY_CAP36 → 35 in a scratch copy makes the verifier fail with exit 1 on the right check.{ "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-23T14:03:23Z", "session_id": null, "lane": null, "host": "htch-runtime", "worktree": null, "model": null, "lane_start_issues": [], "workspace_ref": null, "auth_subject": "archer", "stamped_by": "fleet 0.1.0 (native)" } }Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.