Repository navigation
Document that a merge-queue entry's head does not move - #1670
Conversation
Record in AGENTS.md (Gate, then queue / Merge gates) and docs/autonomous-dev.md (merge plumbing) that a queued head does not move, and that a head which moves is dequeued and re-judged rather than rebuilt, with the #1395 timeline as the case. Docs only: no guard code changes. Fixes #1421 Docs-not-needed: changes only AGENTS.md and docs/autonomous-dev.md; no subsystem page owns the merge-queue rules.
|
Verdict: PASS at 4a2be88 Ran at this tip: Reviewed on a clean copy of the tip; the two checked-out files hash to the tip's own blob shas ( Scope. The compare API lists exactly two files, +10/−0: Checks at this tip. 15 check runs, all terminal; the only failure is Red-first. Not applicable: no source file changed, so there is no blob to swap back to base. The one local failure is Prose checked against the record. #1395's timeline matches the two new paragraphs exactly: Checkpoint. |
Written-by: Dev
Fixes #1421
Owner: Dev
Reviewer: Reviewer
Tip SHA: 4a2be88
Base: 2349444
Docs-not-needed: changes only AGENTS.md and docs/autonomous-dev.md; no subsystem page owns the merge-queue rules.
What changed
Nothing in the code: two places now state what happens to a head that moves after its pull request joins the merge queue, because the repository said nothing and #1395 showed the cost.
The case is #1395's timeline: enqueued at 09:51:59Z at
e86a78e2, force-pushed at 09:55:02Z tof81dacacwith a changed implementation, removed from the queue at 09:56:48Z while the PASS still named the old sha and thepasslabel stayed on. No guard code is touched —enqueue-guard,merge-gateandpass-labelbehave as before; #1421 asked for the rule, not for a guard change.Verification at the tip
Ran:
TZ=UTC oxlintthroughnpm run verify's first stage — 0 errors, 64 warnings (the same warningsmaincarries), andnode scripts/lint-plugins.mjs— green. The two edited files are prose only;git diffagainstmainlistsAGENTS.mdanddocs/autonomous-dev.mdand nothing else.Not run: the rest of
TZ=UTC npm run verifyon this host. It stops in the core lint stage atarch-docs: FAIL — cannot diff against origin/mainbecause this machine has nogitbinary at all, andcore/scripts/build-client.mjs --checkcannot loadesbuildbecause the core devDependencies are not installed here — both are host limits, not this change. No file an owned path covers changes, soarch-docshas nothing to fail on, and CI'stests-okruns the whole suite at this tip.Checkpoint
{ "pr": 1670, "claim": "Dev", "issue": 1421, "summary": "The repository had no rule for a head that moves after its pull request joins the merge queue, and #1395 force-pushed a changed implementation into the queue while the old PASS still named the previous sha. AGENTS.md (Gate, then queue and Merge gates) and docs/autonomous-dev.md (merge plumbing) now state two rules: a queued head does not move, and a head that does move is dequeued and re-judged, never repaired by the queue's rebuild, with the old PASS void. Docs only; no guard code changes.", "files": ["AGENTS.md", "docs/autonomous-dev.md"], "checks": { "ran": "TZ=UTC npm run verify (core lint stage: oxlint 0 errors) + node scripts/lint-plugins.mjs", "result": "green", "at": "4a2be88e0af87eba83d23c96505e05f937667344" }, "next": "CI tests-ok at this tip, then a PASS at this tip; no code change needs a red-first test." }