Skip to content

ci-gate-peer: admit an equal-wire --peer-exact peer for e2e:cross-build; spec skips wire-skew checks - #680

Merged
SSFSKIM merged 2 commits into
masterfrom
ci-opt/peer-equal-wire
Nov 15, 2026
Merged

SSFSKIM merged 2 commits into
masterfrom
ci-opt/peer-equal-wire

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Nov 15, 2026 •

Copy link
Copy Markdown
Owner

By the architect's decision 3475.

A landing that changes only a stored form takes no WIRE_MINOR bump, yet a go-back from it to the build the machines run (master 2c70442, wire 3.46) reads its layout. Until now scripts/ci-gate-peer.mjs refused any explicit peer-group run whose two wires were not a minor apart.

ci-gate-peer.mjs: an equal wire (same major and minor) is admitted only when the peer is named with --peer-exact and a peer group (e2e:cross-build) is listed in --gates, and never when the peer is the tested commit itself. The note reads …; this tree's 3.46, equal wire: stored forms only. Still refused: an equal wire under plain --peer (it maps to a first-parent master state), a different major, a missing manifest. --peer-exact without peer groups behaves as before. ci-gate.sh's help text says the same.

gate-plan.mjs: unchanged. minorApart governs only the automatic join (peerCheck.groups); an explicit e2e:cross-build stays in the gates and gets the Peer: sha whatever the wires, and gate.yml's peer job reads no wire.

e2e/cross-build.spec.ts: when the two builds speak one wire, these wire-skew assertions are skipped, each recorded as a skipped check annotation naming the wire (skipWireSkew):

  • builds(): classifyWireChange from older to newer (OX1's additive rule)
  • crossing(): the hello at the attacher's wire in host.log, and the welcome at the supervisor's wire in the app's main and mawsd's log
  • crossing(): the gap probe (the newer build's added commands, unknown_command from the older supervisor)
  • handedOverCrossing(): the hello to the kept host at the attacher's wire

Everything else runs: the build crossings (served as another build, the tail, the move, refusals), and every stored-form scene in both directions.

Tests: scripts/ci-gate-peer.test.mjs adds a case covering equal wire + --peer-exact + explicit group (admitted, with trailers and the note), the same under --peer (refused), --peer-exact without groups (unchanged), a different major (refused) and the tested commit as its own exact peer (refused). 24/24 pass locally.

Engine host premise (second commit): the first equal-wire proof (run 43680370273) failed (update) and (downgrade). The two builds' engine-host bundles were identical (build fed55033cde66894), so the attacher's main read the kept host as same, and the host never handed over and the app never moved. A minor-apart pair always differs there; an equal-wire pair need not, and a renderer-only stored-form change is exactly such a pair. skipOneEngineHost asks the attaching app for its appBuildId and skips the scene, giving the reason, when it equals the kept host's build.

CI on c376789: static,unit green (43683301707; an earlier run, 43681954706, failed on one unrelated Composer.test.tsx menu-chord case that passed on the rerun). The equal-wire proof, --gates e2e:cross-build --peer-exact 2c7044231, is green (43681954669): it was admitted with equal wire: stored forms only, 1 passed ((update, mawsd restart)) and 21 skipped. Against 2c70442, each stored-form scene skips on its own existing premise: each one targets a build that lacks its key.

Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)

…ld; the spec skips its wire-skew checks

Decision 3475. A change to a stored form alone takes no WIRE_MINOR bump, yet a go-back from it to the build
the machines run reads its layout, so the two-build check must be able to run against that build at the same
wire. ci-gate-peer.mjs now admits an equal wire (same major and minor) only when the peer is named with
--peer-exact and a peer group is listed in --gates, never the tested commit itself; the note says
`equal wire: stored forms only`. An equal wire under --peer, a different major and a missing manifest stay
refused. gate-plan.mjs needs no change: its minorApart governs only the automatic join, and an explicit
e2e:cross-build keeps its Peer: sha whatever the wires.

e2e/cross-build.spec.ts skips, as reported skipped checks naming the wire, the assertions that hold a
crossing of a minor when the two builds speak one wire: classifyWireChange from older to newer, the hello
and welcome at each end's wire (both crossings), and the gap probe of added commands and unknown_command.
Everything else runs.

Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)
@chatgpt-codex-connector

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

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-15T05:17:40.334226Z 3534a90 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.

The equal-wire proof (run 43680370273, peer 2c70442) failed (update) and (downgrade): the two builds'
engine-host bundles were byte for byte one build (fed55033cde66894), so the attacher's main matched the
kept host as `same` and was never handed over or moved. Two builds a minor apart always differ there; two
of one wire need not, a stored form of the renderer's being exactly such a change. The crossing now asks
the attaching app which engine-host bundle it would start and skips the scene, saying so, when it is the
kept host's.

Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)
@SSFSKIM
SSFSKIM merged commit 08a003e into master Nov 15, 2026
@SSFSKIM
SSFSKIM deleted the ci-opt/peer-equal-wire branch November 15, 2026 06:35
SSFSKIM added a commit that referenced this pull request Nov 15, 2026
… HTTP or stdio connector from Customize through claude mcp add-json, at user, local or project scope; header and variable values never leave the runner; wire minor 47 (connectors.addJson)

xhigh panel on 0e92f6e..1eb08c4: correct, no findings; URL-in-output egress traced and kept on the machine (tracker row). On 0f364a3: class 1a 43686298137, cross-build vs f1852de 43686350398 (15 passed, 7 skipped), vs 2c70442 43686427013. From 7f40f69 (delta: master's #680, four gate files): class 1a + widgets 43684190407 with its mini copy, unit:darwin 43684263448, discover on the mini's host 43684443977, default on the mini's host 43684535473.

Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
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