Repository navigation
ISS-14881: Fix vibe review receipts, lane records and fleet monitoring - #454
Merged
Merged
Conversation
GitHub's Ubuntu runner image sets safe.directory = * in /etc/gitconfig, so every lane step trusted every directory and the AC-7 refusal test exited 0 (main Node Tests run 46925693587). The lane home's .gitconfig now starts with an empty safe.directory, which resets the list before the checkout and clone entries.
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.
What was wrong
This change builds on ISS-14754 (#450), ISS-14883 (#452) and ISS-14874 (#453), all merged; this branch is one commit on main c2d822f.
Three tickets of logged vibe gaps, combined into one change by the operator's ruling: review receipts, lane records and handoff gates (ISS-14881), fleet hosts and monitoring (ISS-14882), and heavy lanes and the recurring worker check (ISS-14827).
What changed
Receipts, records and gates (ISS-14881)
worktreefield is accepted on its tree, session and request. A differentworktreeis still refused. Receipt capture keeps its own copy of each launcher output.checkflags a record that differs from its witness.runrecords the result of the lane it ran and keeps no log, except for a replayed workflow job.proof-receipts.mjsreads the branch's own tests and runbooks from the merge base.fleet.sh <program> remote reviewstarts the reviewer from the other host's installed plugin.Hosts and monitoring (ISS-14882)
exact-tree-check.mjsimports the existing main-sync bundle. No second bundle ships:main-sync.mjsis 10,694,837 bytes in both editions, 16,257 more than on the ISS-14874 tree this change stands on.local-plans.mjs write.statuslists.fleet.sh remote stop-ownedstops only a process that host's slot records name with the caller's owner.Lanes and worker check (ISS-14827)
FLEET_HOME, then the chat's program, then the program whose board registers the worktree, so a writer's own chat does not miss it. A refusal before the lane starts, or a run killed midway, is never a pass or a failure. An environmental skip names its timed-out tests and needs the run's witness: the outcomes file is one the witnessed run wrote (Playwright's JSON report, or a list of test ids and statuses), and at least one test passed. A partial report, a suite that did not load, a test that failed or was flaky, and a timeout with any error beside it other than the pending call's own timeout refuse it, andcheckapplies the same rules again.pre-pr-lanes.mjs run --fleet-where remotereplays a workflow job on the heavy host.fleet-home.mjs startandresumerun a recurring worker check, and a missing, stale or failing heartbeat is flagged. A remote writer's worktree is read on its host, and one that cannot be read is a finding. The check covers unworked tickets, the fix cap and folds.vibe 1.1.118 in both vibe plugins and vibe-closedloop-provider 1.0.10. Bundles and generated copies were rebuilt with
npm run build.Choices to know about
stop-ownedis given, are names the caller passes. They show which of this account's own work is meant and prove no identity.recordedBy, and arunrow has no witness, so a row edited to look like either is accepted. The records are not signed, so an edited report, passed count orrecordedByis accepted too. A row with a witness is always compared with it, and an environmental skip always needs one.expect) is refused an environmental skip. The pending call's own timeout, such aslocator.click, is tested on a constructed message and was not captured from a browser. An error written to read exactly like it is accepted: for example anafterEacherror wordeddb.seed: Test timeout of 1ms exceeded.with a Call log line, or one that endswhile runningand any text. A genuinewhile setting up "f"timeout is refused, which is stricter than needed.repeatEachand two projects with one name are refused. A single shard, or a merge missing a shard, is accepted, and a background process of the run can write the outcomes file.FLEET_HOMEor--fleet-orchnaming an unbarred home, or a chat bound to one, wins over the board. A retired writer's board row still bars its worktree. A writer whose machine has neitherFLEET_HOMEnor a bound chat is not found.local-plans.mjs writehook misses(cd x && node LOCAL-PLANS.mjs)and a renamed relative link after acdit cannot resolve. The command's own check still refuses a conversation recorded for another session. A conversation no session recorded keeps the earlier check, the working directory. A chat or launched worker recorded in another session is refused in a fresh worktree untilvibe newrecords it there.VIBE_LAUNCHED_AGENTor runningenv -iruns in Claude Code only.timeout,xargs,if,!,niceandexec -clin front ofenv -istill pass, so clearing the variable some other way is a known limit.time -l grep -iandenv -v grep -iare refused.REMOTE-UNREADABLEwith another exit code still wakes the watcher. An empty or self-linkedcurrent, or a home that cannot be read at one poll, ends the loop. Aboard.jsonwhosewritersis not an object deletes the earlier findings.Engineering review
Two guard data entries. Each adds one exact value, and both guards still run:
review-class-guard-baseline.jsonaddsVIBE_LAUNCHED_AGENTto the configuration environment list. The launcher sets it to the launched role (ISS-14881 AC-4). It turns no feature on and has no value in a standalone run.vibe_generic_mapping.jsonadds283e81a06acd8fc69f2cfor one line ofresolve-core-skill.mjs. The call and client identity are unchanged. Its timeout and its diagnostic changed (ISS-14881 AC-13, AC-14).Changed assertions
test_vibe_session_endings_contract.py: the "diagnostic only" contract is reversed. A barred host's exact-tree report is accepted, and the test is renamed (ISS-14882 AC-1).main-sync.test.tsandmain-sync-remote-report.test.ts: the remote-slot cases moved to the second file with their assertions. The public recorder now refuses any detached report, so the before-capture case runs the fleet entry point with the same exit, status and reason, and the 128 KB case reads the fleet output and asserts the recorder's refusal (ISS-14882 AC-1, AC-2).frozen-render-gate.test.mjs: two exact refusals now name the lead-provider route (ISS-14882 AC-12).slot-lock.test.mjsexpects theprocess-startwitness (ISS-14882 AC-20).fleet.test.mjsexpectsheavy-3.free, the release time the worker check reads (ISS-14827 AC-18).pre-pr-lanes.test.mjs: the fleet arguments are matched exactly, with--expected-head, in place of a slice and a pattern (ISS-14881 AC-5, ISS-14827 AC-11). The single spec list is split by lane (ISS-14881 AC-8, AC-9). Recorded passes carry a witness in this file,pre-pr-lanes-unaffected.test.mjsandlane-cache.test.mjs(ISS-14881 AC-5).claude-worker.test.ts: the verifier's prompt says lane records belong to the writer (ISS-14881 AC-4).core-client-process.test.mjs: the total discovery budget is 382,000 ms, which covers the new stage bound (ISS-14881 AC-13).review-gap-prevention.test.mjs: the fixture files holding JSX are.tsx, as the parser needs. Both assertions are unchanged, and two cases are added (ISS-14881 AC-11, AC-12).worker-check.test.mjs(new): a remote writer's worktree is now read on its host, so the assertion that it is not read is replaced by the remote cases (ISS-14827 AC-18).pre-pr-lanes-run-outcomes.test.mjs(new): an existing contract forbids a test that signals itself, so the interrupted-lane fixture signals a child it started. The direct-signal result has its own assertion.pre-pr-lanes.test.mjswent topre-pr-lanes-workflow-replay.test.mjs. Every assertion of main's version is kept. A cloud pass now also needs its run log and tree, with cases that refuse each when it differs (ISS-14881 AC-5). Two provider assertions on the shipment went tovibe-closedloop-provider/tests/fleet-shipment.test.mjsunchanged.How it was tested
Each behavior fix made while this change was finished outside vibe has a test that failed on the unfixed code: the merge-base cases, the named sweep, the single-bundle shipment, the review round and its rechecks, and the two fixes the carry onto ISS-14874 needed (the replay's time limit and its clone's origin).
Exceptions:
chat-binding.mjsin the carry is meant to change no behavior, so it has no red test. The old and new lookups gave the same result on 756 cases.One
protected-write-guard.test.mjscase fails, here and on the base, when the running chat's id is in the environment. It was run without it; CI has no chat id.watcher.test.mjsfails 27 of 64 cases, here and on the base, while the host's load is over 1.5 per core. It was run withMAX_LOAD_PER_CORE=99.Every CI job was run on the heavy host, one fresh worktree per lane, on December 1 (CST):
77c2b83e77c2b83e77c2b83e77c2b83e8a01fc688a01fc688a01fc688a01fc688a01fc68is the final tree. It differs from77c2b83eonly by six lines in one Python test file, which the Node and TypeScript jobs do not read.Ticket criteria
These tickets were finished outside vibe at the operator's request, so vibe's own gate did not run on this change: no review receipts, decision table, mutation log or handoff record. Not met, or not shown, for this change:
Not part of this change, though its tree carries them from ISS-14874: the removal of the expired T0 quarantine entry, and the older-Git
--no-detachfixture cases.Risks
board.test.mjs(1,018 to 1,055) andproof-receipts.test.mjs(1,369 to 1,439).timeout-minutes. The cloud's 25 minute limit per lane stays with cloud lanes, so a lane the cloud refuses for its length can run on the heavy host. The test for it failed first withCLOUD_LANE_ROUTED.originis the heavy host's worktree, sogit fetch origin mainreads that worktree's ownmainand needs no key or network. A cloud lane's clone still has the checkout's network origin. Both refusing origins (https and ssh) failed first with exit 128.Built outside vibe at the operator's request.
| carried onto main c2d822f: the unit tree plus #451's two eval result files and #453's token fixture change, no other difference |
4c87e9ac|cloud-capability-probe.test.mjs19 passed || vibe-bench (tools) lane, CI command |
4c87e9ac| 273 of 274 passed. The red one,batch deadline kills the owned child process group(phase2.test.ts:201), gotbenchmark-child-cleanup-failedwhile this laptop's load average was 35; this change touches nothing under tools/. It passed 3 of 3 alone on the same tree and passed in the full lane on #453's identical tools tree |