Repository navigation
Closed as not planned
Labels
S3Severity 3: everything else
Description
Deferred findings from the /ship review of #3484 (train ops: screen verdict, watch, forget, post-merge, dispatch-ci, stack-tests). Each was judged below the blocking floor (would fail a test, break production, or lose data or secrets) or lives in code #3484 does not own, so it is filed here rather than fixed in that PR (crew rule 23). Blocking findings were fixed in #3484's pass-1 commits.
Design / neighbouring code
- Scratch-merge screens on a conflicting PR cannot route.
scripts/eval-readiness.ts:45,115admits onlyevent === 'pull_request'Free Tests runs at the head. A head that conflicts with main has no merge ref, so GitHub runs no pull_request workflow; theready --screenscratch merge (screen/<pr>-<head12>) and the--dispatch-ciworkflow_dispatch runs are both invisible to readiness. The route job waits ~20 min and fails,screenVerdictreadsnot-run, andlib/ship-queue-train-ready.ts(notFollowing) dispatches an identical screen on the nextready --screen. Fix belongs in readiness (accept a workflow_dispatch Free Tests run at the same head) or in the scratch path (refuse when no pull_request run exists). - Screen verdict is not bound to the receipt.
lib/ship-queue-screen.tsparsesgate-binding.json(pr,head_sha,tested_sha,purpose) but compares none of them with the receipt'spr,head,screen.merge_sha; a receipt whosescreen.runnames any green evals run reads GREEN. Refuse (unknown) unless purpose/pr/tested_sha match; same for the reuse record. --stack-testsruns PR test files with the coordinator's full environment (API keys, gh token, git identity) and against a symlinkednode_modulesfrom the coordinator's checkout (stale deps give false red/green). Consider an env allowlist and a process-group kill on timeout.verify --post-mergecan settle green before every push workflow has attached a check run (the backstop queues behind a previous run withcancel-in-progress: false). Require the policy's known push checks beforesettled, or an--expectlist.- One RED screen pins a head red forever, even when the red was main's fault and main has since moved (
QUEUE_SCREEN_REDis checked on the prior receipt before the new merge SHA is computed). Decide whether the refusal should be scoped to the prior merge's base. ready --screenre-dispatch bounds. Anincompleteprior run re-dispatches on every call; and after main moves, a fresh scratch merge is screened even when the prior run at this head is GREEN or pending. Follow the prior run or require an explicit--rescreen.train forget --trainleaves the remotetrain/<nonce>branch orphaned (pruneTrains no longer sees the train). Delete it in forget or refuse while it exists.ready --screenpushes a fork head's scratch merge toscreen/<pr>-<head12>before any fork refusal (admitSlots/dispatchCi refuse later). CheckisCrossRepositorybefore screenMerge.- A pending screen is seated as screened and never re-read before the merge; a screen that turns RED after
train buildstill gates the head. - Artifact-derived strings are printed verbatim into the parsed block (
FLAKY:,SCREEN_VERDICT:detail); collapse whitespace/control characters as the gh error paths do. --dispatch-cidetails. Workflows are dispatched and awaited serially against one--timeout;clearObligationis called directly (bypassingclearDecision, nil effect today); a lane is cleared without checkingpregate.json's head (no bypass:verifyPregaterefusesPREGATE_STALE); a cancelled or non-success workflow_dispatch run at the head blocks--dispatch-ciuntil a new push.- Minor.
lib/ship-queue-screen.tsclassifiesreconcile_exit != 0with a non-RED verdict as RED (permanent);ScreenChoice.branchis written but never read; hand-rolledsleephelpers are duplicated across modules.
Test gaps left open (state-matrix cells without a test)
ScreenOutcome 5/18, prune --stale 4/6, forget 2/4, watch 2/5, post-merge 2/6 (state-machines specialist matrix); coverage audit 63% value-weighted before the pass-1 test additions.
Metadata
Metadata
Assignees
Labels
S3Severity 3: everything else
Activity
capy-ai commentedon Oct 26, 2026
Two more follow-ups from GStack Minder (2026-10-26), raised after #3484's pin fe019b3 was pushed and frozen:
scripts/lib/windows-curation.ts: add a KNOWN_WINDOWS_INCOMPATIBLE entry for test/pregate-remote-stamp-only.test.ts (v1.91.257.0 feat(pregate): clear --receipt accepts a remote_gate receipt from a stamp-only predecessor tree (gbrain gate-ahead) #3486), beside the pregate-* entries from v1.91.254.0 pregate: starter policy, benign-finding allowlist, environment vs diff failures, per-run scratch #3480. Reason: it expects the Linux-host lanes verdict like test/pregate-remote.test.ts; on Windows that lane is a requires-remote obligation; the suite also skips itself on win32 (describe.skipIf). v1.91.257.0 feat(pregate): clear --receipt accepts a remote_gate receipt from a stamp-only predecessor tree (gbrain gate-ahead) #3486 left the entry to this file's owner.
lib/ship-queue-train.ts: train build checks the fill rule before the scratch merge, so a QUEUE_TRAIN_WAITING result says nothing about conflicts. Follow-up: a dry-run merge check in that path, or a note in the output. Low priority.
v1.91.279.0 eval:select exemptions and ETHOS.md registration (#3499),…
capy-ai commentedon Oct 27, 2026
#3515 (v1.91.279.0) marks test/pregate-remote-stamp-only.test.ts KNOWN_WINDOWS_INCOMPATIBLE in scripts/lib/windows-curation.ts with the how-to in docs/TESTING_INTERNALS.md, and lands the below-floor rulings table. The remaining items here stay open.
capy-ai commentedon Nov 16, 2026
Closing. This holds findings an earlier review judged below the blocking bar and set aside. We now keep deferred review findings on the pull request where they came up, not as open issues, unless one describes a live security exposure, and none here does.