Repository navigation
ISS-15046: Scope mutation proofs and require full CI before a PR - #458
Merged
Merged
Conversation
…usal replays The mutation-proof gate asks only about cases changed after the ruling and after the branch's accepted heads, so a long-lived branch is no longer refused for tests it pushed before the check existed. PR create and push-check now refuse a head until every declared CI job has a witnessed full run of its tree, and push-check asks this only of rows with no PR yet or a PR opened after the 9:10 PM ruling. Every check that can refuse a branch is registered and replayed against a long-lived branch shape in Node Tests, and PR create wants a replay against real worktrees for a change to one. The handoff gate, push-check and PR create refuse a required e2e spec with no run receipt, read from the merge base, with the specs the provider-declared workflow says the change owes.
- Preserve the seven-slot cloud validation queue and three Node shards. - Keep the 1.1.122 readiness rules, provider recipes and release notes. - Check missing proof warnings at handoff and refusals at PR creation. Testing: Rebuilt both outputs, ran focused tests and compared the archived fleet replay against 2cc2066. Risks: Laptop 2 must verify the process-dependent tests and live replay.
The fleet-orchestrator generic scan rejected the repository-named import. The test now imports a provider-neutral alias for the same fixture remote.
…reader reader-ownership (AC-082, AC-083) rejected a direct parse of captured git output in full-ci-check.mjs. The generated ClosedLoop copy is rebuilt from the generic source.
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.
Summary
ISS-15046 scopes mutation proofs to tests added or changed after the 2026-12-01 ruling. Push-check previously reported 551 missing proofs on the long-lived ox-14491 branch and 76 on ox-14948 by reaching back to tests written before the ruling. Push-check now also accounts for the branch's pushed head and last accepted proof pass.
Two PRs exposed gaps in pre-PR testing. Claude-plugins #457 went red on 13 tests its writer never ran and missed a provider version bump. Symphony-alpha #10328 merged a shared browser E2E helper and story change after running two targeted specs. The missed spec opened a changed story by its Storybook URL, an edge the graph selector could not see. New PR creation now requires a witnessed passing run of every declared
ci.ymljob on the exact tree, including each shard and dist check, even for a plain worker in a fleet conversation. Browser E2E coverage includes specs reached through changed stories or added files as well as graph-selected and changed specs. A helper, config, or story change requires the full browser lane when the affected set cannot be determined completely. Targeted receipts must cover every required spec when the set can be narrowed.The operator's 2026-12-02 hard rule keeps the new readiness checks from blocking in-flight work:
The source change is in
plugins/vibeand the E2E workflow declaration is inplugins/vibe-closedloop-provider. The regenerated ClosedLoop plugin ships the same checks. Vibe and the generated edition are at 1.1.122, and the provider is at 1.0.12.Test plan
PR head is
da484831. The table records the full local workflow runs from a second dev machine, using the commands in.github/workflows/ci.yml. The first block ran at698c271a. The second block records the reruns at20438b84.plugin-version-bump698c271aplugin-manifest-versions698c271alint698c271atypecheck698c271atest698c271anode-tests/1698c271anode-tests/2698c271anode-tests/3698c271avibe-eval-t0698c271atools-ts/design-inventory698c271atools-ts/code-review-cost698c271atools-ts/guided-manual-qa698c271atools-ts/erd-diagram698c271atools-ts/vibe-workers698c271atools-ts/vibe-workers(rerun)da484831da484831tools-ts/vibe-closedloop-build698c271a698c271anode-tests/320438b84generic+board-push-proof20438b842cc2066a. The separate reproduction ran withtimeout -k 10s 180s node --test --test-reporter=spec plugins/vibe/skills/cl-sweep/scripts/app-server-worker-session.test.mjsand exited 124. The AC-11/AC-12 remote workflow replay emitted an emptyNODE=in the second dev machine's shell. The same replay passed at698c271aon the first dev machine.generic.test.mjsbecause the board proof test used a provider-specific fixture name. Commit20438b84switched both references to the generic alias, and the full shard rerun passed.da484831fixed reader ownership by routing the committed CI declaration through the shared JSON reader. Both reader-ownership tests passed at that head. The isolatedmain-sync-prototype.test.tsrun passed both cases in 23.07 s wall time, about 11 s per case. The 20 s per-case limit stayed in place. The workflow runs used their original time limits and ran all selected tests.Focused checks and failing-first evidence
proof-scope.test.mjs,refusing-checks.test.mjsandrefusing-check-replay.test.mjscover the cutoff, accepted heads, the replay receipt, and an ox-14491-shaped history with 495 inherited cases, a main sync and one new case. At2cc2066a, 4 of 7 guard cases failed and the old proof check asked for 551 proofs at the accepted head. The candidate stopped asking for those 551 and still asked for the one new case. The receipt test requires new PR creation to reject a modified registered check until a real-work replay covers the exact tree.full-ci-check.test.mjscovers focused runs, exact-tree witnesses, ticketed overrides and the report of jobs still owed.pr-create-full-ci.test.mjsexpected a refusal for a plain worker with partial runs and failed at2cc2066abecause PR create allowed it. The new check reported all 15 jobs as unrun on ISS-15038: Run Claude cloud validation at fleet scale #457's two control heads, including the version bump and all three Node shards. The combined focused PR-create, CI, proof, registry, replay and E2E gate run passed 43 tests.e2e-requirement.test.mjscaptured the #10328 miss, where import-based selection omitted the spec that opens the changed story by URL. It also covers helper fallback, unresolved story IDs, added files, changed specs and targeted receipts. The targeted-record regression first hitFULL-E2E-REQUIRED; with the fix the record is retained and warns about the remaining coverage. All 15 requirement tests passed.e2e-gate-check.test.mjsfirst produced two push refusals on the post-cutoff PR fixture, then passed with warnings and no push refusal. New PR creation still refuses missing required coverage or a PR body that lists it as unrun without an authorized skip.node --test plugins/vibe/skills/fleet-orchestrator/scripts/board-push-proof.test.mjsstopped all nine cases at fixture setup because process inspection returnedEPERM. The failure reproduced at20438b84, and a baseline board fixture also reproduced it at2cc2066a. The combined generic and board proof rerun on a second dev machine passed.generic.test.mjsscan found two references to the provider-specific fixture. Both tests passed after20438b84, and the full generic scan found zero hits. Beforeda484831,npm --prefix tools/vibe-workers test -- src/reader-ownership.test.tsfound the direct command-output parse infull-ci-check.mjs. Both tests passed after the fix. The full-CI, E2E, registry, replay and shared JSON-reader group passed 25 tests, the PR-create guard passed 11, and the built ClosedLoop full-CI smoke listed owed jobs and cleared them after passing receipts were recorded.8b97ed04. The change added 18 instruction words. The inventory, review import and E2E requirement group passed 32 tests. The three focused Python contracts for takeover, ISS-13321 and WS8 passed 38 tests along with targeted Ruff and Pyright checks. Bothnpm --prefix tools/vibe-workers run buildandnpm --prefix tools/vibe-closedloop-build run buildpassed. The latter rebuilt 518 files. The ClosedLoop build's test suite passed 27 tests. Both tools' typechecks, the generic runtime scan, syntax checks, source/generated byte comparison andgit diff --checkpassed.2cc2066a. A bounded lane retry had 48 passes, five failures and one cancelled file. A bounded CI-shape, word-count and PR Facts run had 15 passes and one cancelled file. The completed focused runs above report the checks that were rerun separately.Real-work replay
The archived read-only replay compared
2cc2066awith the merged working tree using the same 68 captured targets. Counts are by row. Inactive rows, unavailable checkouts and probe errors are outside the compared counts. There were 24 unavailable local checkouts, including the #457 control. Two merge-guard comparisons used archived PR metadata at matching heads. An old provider binding prevented three ox-14948 comparisons, and four board probes lacked PR-base evidence.The live replay compared
698c271aagainst2cc2066aacross 13 live rows on all five boards (vibe-bugs,flamingo-fleet,iss-13430-push-ready,iss-13483-evidence-resendandiss-13754-writer-skill-migration). It found zero new refusals and zero new refusal reasons at all seven stops. Handoff refusals dropped from one to zero. Merge guard and targeted-record replay had zero eligible comparisons in the live sample.The per-test mutation-proof counts at push-check went from 551 to 0 on ox-14491 and 76 to 26 on ox-14948. These count proof findings within a branch. The replay tables count rows.
Breaking changes
New PR creation now requires passing full CI evidence, any required browser E2E evidence and any owed proof receipts. Existing PR rows can continue with readiness warnings as described above. No migration is required.
Flags
None.
DONE