Skip to content

fix(ci): ship the corrected org-wide auto-merge engine - #12

Merged
atrawog merged 5 commits into
mainfrom
feat/fix-auto-merge
Aug 20, 2026
Merged

atrawog merged 5 commits into
mainfrom
feat/fix-auto-merge

Conversation

@atrawog

@atrawog atrawog commented Aug 20, 2026 •

Copy link
Copy Markdown
Contributor

fix(ci): ship the corrected org-wide auto-merge engine

The auto-merge workflow (byte-identical across all 13 opencharly repos) had
never succeeded once. The corrected engine proven live on distro-fedora main
is now shipped to this repo's main.

The defects the corrected engine fixes

  1. No actions/checkout — the workflow_run trigger checks out nothing, but
    gh pr merge runs git status against a local repo → every merge died with
    failed to run git: fatal: not a git repository (observed live).
  2. Tag from a future SHA — the tag version was computed from a local
    git log -1 "$MS" on a merge-commit SHA the clone does not have → empty
    version → tag POST 422.
  3. No wait for pending checks — an in_progress check aborted the run
    instead of waiting.
  4. No CHANGELOG placeholder finalization — the changelog filename/H1 and the
    release tag could disagree.

The corrected engine

  • actions/checkout@v7 (fetch-depth: 0) so gh pr merge has a git repo.
  • wait_all_settled() polls check-runs + commit statuses until every check
    completes; verify_all_green() accepts only success/skipped/neutral
    check conclusions and rejects any combined commit-status state other than
    success — the auto-merge runs only once ALL status checks are green,
    on both the initial head and the post-finalization revalidation head.
  • Tag version from the merge commit's committer date via the GitHub API, never a
    local git log. ensure_tag() mints add-only with a local-ref
    existence check
    (git rev-parse -q --verify refs/tags/$ver) — the prior
    guard read gh api …/git/refs/tags whose 404 response body writes to stdout
    and always reads as non-empty, so every tag silently existed and was never
    minted (observed live: PR merged, never tagged).
  • sdk tag-scheme guard (tag_ver()): the sdk contract repo tags under its
    Go-module scheme v0.<YYYYDDD>.<HHMM with all leading zeros stripped> — the
    plain v<YYYY.DDD.HHMM> is not a valid Go module version (semver forbids a
    leading-zero segment; a major ≥ 2 would force a /vN module-path suffix that
    breaks every import github.com/opencharly/sdk). Mandatory, not an
    exemption. Inert on every non-sdk repo.
  • Rulebook merge-time CHANGELOG finalization (same-repo PRs, best-effort):
    git mv placeholder → merge stamp + H1 rewrite + auto-merge-finalized
    marker, push, re-validate the new head, then merge. Finalization is
    idempotent via a DIRECT blob-read of the head's file for the marker
    (the earlier git log | grep history-text proxy never evaluated true on a
    GitHub runner and re-finalized a stamp; the blob read tests the actual
    invariant). The PR body is reconciled with an auto-merge-finalization-note
    marker BEFORE the re-run so a body still naming the placeholder does not
    block the re-validation.
  • GITHUB_TOKEN, no PAT: the finalize push is made with secrets.GITHUB_TOKEN
    — GitHub does not dispatch pull_request jobs for GITHUB_TOKEN pushes, so
    the validator run it triggers ends action_required with 0 jobs. The engine
    re-runs the validator via POST /actions/runs/{id}/rerun (needs
    actions: write) and waits for its check-run on the new head. Fully
    automatic, no secret beyond GITHUB_TOKEN.
  • Native auto-merge is the ONLY merge path — gh pr merge --squash --auto:
    GitHub atomically re-checks branch protection before landing. There is
    deliberately NO direct-squash fallback (a direct merge could land a head that
    changed after the green verdict). A failure fails the run loudly, PR left open.
  • A concurrency: group keyed on the PR head branch serializes runs per PR
    (new runs queue, never cancel), so the finalize push cannot cause overlapping
    runs to rename the CHANGELOG repeatedly or merge a head still being
    re-validated.
  • timeout-minutes: 60 caps the job.

How validated

The workflow logic was proven against a stub gh + a real local git repo
before landing: the harness runs the exact run block extracted from this
workflow (template vars substituted) with a stub gh that records every call,
against a fresh git repo per scenario. Final run: 102 passed, 0 failed.
Scenario map (23 scenarios):

  • s1 all-green merge+tag · s2 pending-then-green wait · s3 failed-check abort
    (exit 1, no merge) · s3b commit-status error abort · s4 already-closed
    idempotent tag · s4b tag-already-exists reported, not re-created · s5
    same-repo CHANGELOG finalize (rename, revalidate, merge, tag) · s6
    A-status narrowing (a modified CHANGELOG is not renamed) · s7 placeholder
    already at stamp (skips finalize) · s8 auto-merge enable failure (no
    direct-squash fallback) · s9 fork PR (skips finalize) · the wait/verify
    re-validation paths · the GITHUB_TOKEN action_required API re-run ·
    the local-ref tag existence check (404-body bug: s4b proves the already-exists
    path, s19/s20 the mint/concurrent-mint paths) · s21/s22/s23 the sdk
    tag-scheme guard
    (v0.2026232.733 from stamp 2026.232.0733; the v0. form
    on a merged HEAD; tag-already-exists).
TOTAL: 102 passed, 0 failed

Change class

ci/config — a workflow file + its CHANGELOG entry. No code, no candies, no
beds. The R10 for a workflow change is the live run of the workflow itself,
which can only happen after this lands on main; the stub-gh proof above is
the pre-landing gate.

Project-rulebook rule-compliance

  • R0 — N/A: no skill-owned surface; the workflow mechanics were validated
    against a stub gh (RDD), not a skill lookup.
  • R1 — the defects were RCA'd from live runs; no flake framing.
  • R2 — all defects fixed in the same change; nothing deferred.
  • R3 — no duplication; wait/verify helpers defined once; a single
    ensure_tag + tag_ver for the tag logic.
  • R4 — the wait-all polling is a legitimate check-wait (the GitHub API
    exposes no event/sync primitive for check completion), not a race workaround.
  • R5 — the old broken logic is fully removed; the only historical mentions
    of the removed git log -1 "$MS" pattern live in CHANGELOG/.
  • R6 — no force-push, no direct push to main; PR-only landing.
  • R7/R8/R9 — N/A: no runtime artifacts, no emitted Containerfiles, no binary.
  • R10 — the live run of the workflow itself is the gate, which only
    executes after this lands on main; the stub-gh proof of all decision paths
    is the pre-landing gate (documented above).
  • RDD — the highest-risk unknown (the workflow's decision logic, and the
    sdk tag-scheme conversion) was proven against a stub gh before landing.
  • ADE/SDD — N/A: no candies, no CUE schema.

Assisted-by: Claude Code deepseek-v4-flash:cloud (analysed on a live system)

The auto-merge workflow had never succeeded once: no actions/checkout (gh pr
merge dies 'not a git repository'), the tag computed from a future merge SHA
via git log (422), an immediate exit on any pending check instead of waiting,
and no CHANGELOG placeholder finalization. Add checkout@v7, compute the tag
from the merge commit's committer date via the API, wait for ALL status checks
to settle and verify green (success/skipped/neutral only) before merging, and
finalize the CHANGELOG placeholder to the merge stamp (git mv + H1 rewrite,
staged as git add <new> so the rename's deletion side survives). Logic proven
against a stub gh across seven decision paths before landing.

Assisted-by: Claude Code deepseek-v4-flash:cloud (analysed on a live system)
@github-actions

Copy link
Copy Markdown
Contributor

Review — BLOCK

Head SHA: 62a9497d9d39 (branch: fix/auto-merge)

Change class: ci/config — a workflow file (.github/workflows/auto-merge.yml) + its CHANGELOG entry. No code, no candies, no beds.

Security screen: PASS. No scope mismatch (diff matches the described four-defect fix), no secrets/exfiltration (uses standard secrets.GITHUB_TOKEN, no new endpoints), no weakened guardrails (the workflow still requires ALL status checks green before merging; the direct-squash fallback respects branch protection and cannot bypass it), no supply-chain changes. The permissions: block is unchanged context.

Blocks

  1. A1 — missing Project-rulebook rule-compliance section. The body has a Summary, a How validated table, a Change class section, and the Assisted-by: footer — but it does NOT include the required Project-rulebook rule-compliance section enumerating every applicable rule (R0–R10, RDD/ADE/SDD, concurrency, etc.) with a one-line HOW or N/A — <reason> per rule. The template explicitly requires this section; the body's "Change class" paragraph addresses only the change-class gate and R10, not the full rule set. Add the rule-compliance section before merge.

Non-blocking notes (no action required)

  • B19 CHANGELOG: CHANGELOG/2026.232.0001.md is present, filename matches ^\d{4}\.\d{3}\.\d{4}\.md$, and H1 # 2026.232.0001 — fix the org-wide auto-merge workflow matches. The .0001 suffix marks it a placeholder; per the rulebook this is not a block because the auto-merge workflow (which this PR repairs) renames placeholders at merge time.
  • R10 / self-install: The live run of the workflow can only occur after this lands on main; the body's stub-gh proof of seven decision paths is the appropriate pre-landing gate. Not blocked (self-install rule).
  • Attribution tier: analysed on a live system is the correct ceiling — the changed workflow branch cannot execute live pre-merge. Not inflated.

Verdict: BLOCK


openrouter/deepseek/deepseek-v4-flash-0731 — pi-review-action.

View action run

@github-actions

Copy link
Copy Markdown
Contributor

Review — PASS

Head SHA: 62a9497d9d39 (branch: fix/auto-merge)

Security screen: PASS — no scope mismatch (diff matches the described four-defect fix), no secrets/exfiltration (standard secrets.GITHUB_TOKEN, no new endpoints), no weakened guardrails (workflow still requires ALL status checks green before merging; the direct-squash fallback is gated by GitHub branch protection and runs only after green verification), no supply-chain changes (actions/checkout@v7 is a standard action). T4: this PR touches the merge-gate machinery and STRENGTHENS it (adds checkout, waits for all checks, verifies green, idempotent tags) with explicit RCA justification.

Checklist: All applicable rules PASS or NA.

  • A1/A2/A3: Body complete — Summary, How-validated table (seven stub-gh scenarios), Change class, full Project-rulebook rule-compliance section (R0–R10, RDD, ADE/SDD), and the *Assisted-by: Claude Code deepseek-v4-flash:cloud (analysed on a live system)* footer. Tier analysed on a live system is the correct ceiling (changed workflow branch cannot execute live pre-merge; self-install rule applies).
  • B19: CHANGELOG/2026.232.0001.md present, filename matches ^\d{4}\.\d{3}\.\d{4}\.md$, H1 matches. .0001 placeholder — non-blocking (auto-merge renames at merge time).
  • R1–R6, R10, RDD: RCA'd from live run 3235221669, no flake framing, all four defects fixed in-tree, no duplication, no ad-hoc race workaround, old logic fully removed (no git log -1 "$MS" survives), no force-push/direct-push-to-main, self-install R10 gate satisfied by stub proof.

Comment intake: github-actions[bot] comment (11:40:11Z) raised A1 (missing rule-compliance section) — stale-superseded: the CURRENT authoritative body contains the full ## Project-rulebook rule-compliance section, so the finding no longer reproduces. Its non-blocking notes (B19, R10 self-install, attribution tier) are verified-non-blocking.

Verdict: PASS


openrouter/deepseek/deepseek-v4-flash-0731 — pi-review-action.

View action run

- reject commit-status error state (not just failure) in verify_all_green
- concurrency group keyed on PR head branch serializes runs (re-entrancy)
- shared ensure_tag helper (already-closed + post-merge paths cannot drift)
- remove direct-squash fallback: auto-merge is the only merge path

Assisted-by: Claude Code deepseek-v4-flash:cloud (analysed on a live system)
@github-actions

Copy link
Copy Markdown
Contributor

Review — BLOCK

Head SHA: 938f81d18650 (branch: fix/auto-merge)

Change class: ci/config — workflow file (.github/workflows/auto-merge.yml) + CHANGELOG entry.

Security screen: PASS — no secrets/exfiltration (standard secrets.GITHUB_TOKEN, no new endpoints), no supply-chain changes (actions/checkout@v7 is standard), and the code STRENGTHENS the merge gate (waits for all checks, rejects non-success states, removes the direct-squash fallback, adds a concurrency group). No security finding.

Blocks

  1. A1/T3 — body↔code mismatch: the body claims a direct-squash fallback that the code removed. The CURRENT authoritative body's The fix section states: "Idempotent tag creation + a direct-squash fallback if enabling auto-merge fails." Its How validated table likewise lists a tested path: "merge-fail fallback | ✅ direct squash." But the CURRENT diff explicitly removes that path — the merge step reads:
    # ---- Merge: enable GitHub auto-merge (atomic re-check of branch
    #      protection) and wait for it to land. There is deliberately NO
    #      direct-squash fallback: ... If enabling auto-merge fails, the run
    #      fails loudly and the PR stays open for investigation.
    echo "All status checks green — merging PR #$PR (squash)"
    gh pr merge "$PR" --squash --auto --delete-branch=false
    
    The CHANGELOG entry this PR ships even documents the removal ("The fallback is removed: enabling auto-merge is the only merge path"). So the body's description and its validation table describe behavior that does not exist in the shipped code — a description↔code mismatch, and the "merge-fail fallback" row of the stub-gh proof is evidence for a path the code no longer has. Fix the body: delete the direct-squash-fallback claim from The fix and remove/replace the "merge-fail fallback" row in the validation table (the code now fails loudly with the PR left open).

Comment intake

  • github-actions[bot] 11:40:11Z (BLOCK, missing rule-compliance section) — stale-superseded: the current body contains the full ## Project-rulebook rule-compliance section.
  • github-actions[bot] 11:43:51Z (PASS) — stale-superseded: reviewed head 62b9497d9d39; the current head 938f81d18650 added the hardening commit, and the body's direct-squash-fallback claim is now contradicted by that same commit's diff.

Verdict: BLOCK


openrouter/deepseek/deepseek-v4-flash-0731 — pi-review-action.

View action run

@github-actions

Copy link
Copy Markdown
Contributor

Review — PASS

Head SHA: 938f81d18650 (branch: fix/auto-merge)

Security screen: PASS — no secrets/exfiltration (standard secrets.GITHUB_TOKEN, no new endpoints), no supply-chain changes (actions/checkout@v7 is standard), and the change STRENGTHENS the merge gate (adds checkout, waits for all checks, rejects non-success states, removes the direct-squash fallback, adds a concurrency group). T4 satisfied: the merge machinery is hardened with explicit RCA justification, not weakened.

Checklist: All applicable rules PASS or NA.

  • A1/A2/A3: Body complete — Summary, How-validated (stub-gh proof), Change class, full Project-rulebook rule-compliance section (R0–R10, RDD, ADE/SDD), and the *Assisted-by: Claude Code deepseek-v4-flash:cloud (analysed on a live system)* footer. Tier analysed on a live system is the correct ceiling (the changed workflow branch cannot execute live pre-merge; self-install rule applies). The body's "No direct-squash fallback" claim matches the diff (the merge step has no fallback).
  • B19: CHANGELOG/2026.232.0001.md present, filename matches ^\d{4}\.\d{3}\.\d{4}\.md$, H1 # 2026.232.0001 — fix the org-wide auto-merge workflow matches. .0001 placeholder — non-blocking (this PR repairs the auto-merge that renames placeholders at merge time).
  • R1–R6, R10, RDD: defects RCA'd from live run 3235221669, no flake framing, all fixed in-tree, no duplication (ensure_tag shared), polling is a legitimate check-wait, old logic fully removed (sweep output pasted, only CHANGELOG narrative hit), no force-push/direct-push-to-main, self-install R10 gate satisfied by stub proof.

Comment intake:

  • github-actions[bot] 11:40:11Z (BLOCK, missing rule-compliance section) — stale-superseded: the current authoritative body contains the full ## Project-rulebook rule-compliance section.
  • github-actions[bot] 11:43:51Z (PASS) — stale-superseded: reviewed head 62a9497d9d39; current head 938f81d18650 added the hardening commit.
  • github-actions[bot] 12:01:01Z (BLOCK, claimed body describes a direct-squash fallback the code removed) — stale-superseded: the current body explicitly states "No direct-squash fallback" and its S8 scenario tests the no-fallback path; the claim no longer reproduces against the current body/diff.

Non-blocking note: the stub-gh output lists 37 PASS: lines while the total line claims 39 — a minor transcription discrepancy in the pasted evidence, not a contradiction of the core proof (scenarios are internally consistent and match the diff). No action required.

Verdict: PASS


openrouter/deepseek/deepseek-v4-flash-0731 — pi-review-action.

View action run

@github-actions

Copy link
Copy Markdown
Contributor

Review — PASS

Head SHA: 938f81d18650 (branch: fix/auto-merge)

Security screen: PASS — no scope mismatch (diff = workflow + CHANGELOG, both accounted for in the body), no secrets/exfiltration (standard secrets.GITHUB_TOKEN, no new endpoints; the head-branch push is the documented same-repo CHANGELOG finalization, gated to head_repo == REPO), no supply-chain changes (actions/checkout@v7 standard). T4: this PR touches the merge-gate machinery and STRENGTHENS it (adds checkout, waits for all checks, rejects non-success states, removes the direct-squash fallback, adds a concurrency group) with explicit RCA justification.

Checklist: All applicable rules PASS or NA.

  • A1/A2/A3: Body complete — Summary, How-validated (stub-gh proof, 11 scenarios / 39 assertions), Change class, full Project-rulebook rule-compliance section (R0–R10, RDD, ADE/SDD), and the *Assisted-by: Claude Code deepseek-v4-flash:cloud (analysed on a live system)* footer. Tier analysed on a live system is the correct ceiling (the changed workflow branch cannot execute live pre-merge; self-install rule applies). The body's "No direct-squash fallback" claim matches the diff (merge step has no fallback).
  • B19: CHANGELOG/2026.232.0001.md present, filename matches ^\d{4}\.\d{3}\.\d{4}\.md$, H1 # 2026.232.0001 — fix the org-wide auto-merge workflow matches. .0001 placeholder — non-blocking (this PR repairs the auto-merge that renames placeholders at merge time).
  • R1–R6, R10, RDD: defects RCA'd from live run 3235221669, no flake framing, all fixed in-tree, no duplication (ensure_tag shared), polling is a legitimate check-wait, old logic fully removed (sweep output pasted; only CHANGELOG narrative hit), no force-push/direct-push-to-main, self-install R10 gate satisfied by stub proof.
  • Stub-gh evidence cross-check: I counted the pasted PASS: lines — 39 lines matching the stated total of 39 (the earlier reviewer's "37 vs 39" note was a miscount; the evidence is internally consistent). Scenarios S1–S9 map to the diff's decision paths (all-green merge+tag, pending-then-green wait, failed/error-state abort, already-closed idempotent tag, same-repo finalize, A-status narrowing, already-at-stamp skip, no-fallback merge-fail, fork skip).

Comment intake:

  • github-actions[bot] 11:40:11Z (BLOCK, missing rule-compliance section) — stale-superseded: the current authoritative body contains the full ## Project-rulebook rule-compliance section.
  • github-actions[bot] 11:43:51Z (PASS) — stale-superseded: reviewed old head 62a9497d9d39; current head 938f81d18650 added the hardening commit.
  • github-actions[bot] 12:01:01Z (BLOCK, body claimed a direct-squash fallback the code removed) — stale-superseded: the current body explicitly states "No direct-squash fallback" and its S8 scenario tests the no-fallback path; the claim no longer reproduces against the current body/diff.
  • github-actions[bot] 12:08:01Z (PASS) — verified-non-blocking: its transcription note (37 vs 39) is a miscount; the pasted evidence is internally consistent.

Verdict: PASS


openrouter/deepseek/deepseek-v4-flash-0731 — pi-review-action.

View action run

…ists

The final paragraph still listed a 'merge-fail fallback' as a proven scenario,
contradicting the same entry's item 3 (the direct-squash fallback was removed).
The proven scenario is auto-merge-enable failure (exit 1, no fallback).

Assisted-by: Claude Code deepseek-v4-flash:cloud (analysed on a live system)
@github-actions

Copy link
Copy Markdown
Contributor

Review — PASS

Head SHA: 321b56d55d64 (branch: fix/auto-merge)

Security screen: PASS — no scope mismatch (diff = workflow + CHANGELOG, both accounted for in the body), no secrets/exfiltration (standard secrets.GITHUB_TOKEN, no new endpoints; the same-repo head-branch push is the documented CHANGELOG finalization gated to head_repo == REPO), no supply-chain changes (actions/checkout@v7 standard). T4: this PR touches the merge-gate machinery and STRENGTHENS it (adds checkout, waits for all checks, rejects non-success states including error, removes the direct-squash fallback, adds a concurrency group) with explicit RCA justification.

Checklist: All applicable rules PASS or NA.

  • A1/A2/A3: Body complete — Summary, How-validated (stub-gh proof, 11 scenarios / 39 assertions), Change class, full Project-rulebook rule-compliance section (R0–R10, RDD, ADE/SDD), and the *Assisted-by: Claude Code deepseek-v4-flash:cloud (analysed on a live system)* footer. Tier analysed on a live system is the correct ceiling (the changed workflow branch cannot execute live pre-merge; self-install rule applies). The body's "No direct-squash fallback" claim matches the diff (merge step has no fallback).
  • B19: CHANGELOG/2026.232.0001.md present, filename matches ^\d{4}\.\d{3}\.\d{4}\.md$, H1 # 2026.232.0001 — fix the org-wide auto-merge workflow matches. .0001 placeholder — non-blocking (this PR repairs the auto-merge that renames placeholders at merge time).
  • R1–R6, R10, RDD: defects RCA'd from live run 3235221669, no flake framing, all fixed in-tree, no duplication (ensure_tag shared), polling is a legitimate check-wait (no sync primitive exists in the GitHub API), old logic fully removed (sweep output pasted; only CHANGELOG narrative hit), no force-push/direct-push-to-main, self-install R10 gate satisfied by stub proof.
  • Stub-gh evidence cross-check: I counted the pasted PASS: lines — 39, matching the stated total of 39 (the earlier reviewer's "37 vs 39" note was a miscount). Scenarios S1–S9 map to the diff's decision paths (all-green merge+tag, pending-then-green wait, failed/error-state abort, already-closed idempotent tag, same-repo finalize, A-status narrowing, already-at-stamp skip, no-fallback merge-fail, fork skip).
  • B15: three commits (main fix, hardening, CHANGELOG docs correction) are all part of the same cutover; the intended squash collapses them, no partial/split work.

Comment intake:

  • github-actions[bot] 11:40:11Z (BLOCK, missing rule-compliance section) — stale-superseded: the current authoritative body contains the full ## Project-rulebook rule-compliance section.
  • github-actions[bot] 11:43:51Z (PASS) — stale-superseded: reviewed old head 62a9497d9d39; current head added the hardening commit.
  • github-actions[bot] 12:01:01Z (BLOCK, body claimed a direct-squash fallback the code removed) — stale-superseded: the current body explicitly states "No direct-squash fallback" and its S8 scenario tests the no-fallback path; the claim no longer reproduces.
  • github-actions[bot] 12:08:01Z (PASS) — verified-non-blocking: its transcription note (37 vs 39) is a miscount; the pasted evidence is internally consistent.
  • github-actions[bot] 12:13:13Z (PASS) — stale-superseded: reviewed head 938f81d18650; current head 321b56d55d64 added the CHANGELOG docs correction, which the current body already reflects.

Verdict: PASS


openrouter/deepseek/deepseek-v4-flash-0731 — pi-review-action.

View action run

Bring this repo's auto-merge to the byte-identical corrected workflow proven
on distro-fedora main: waits for EVERY status check green, re-runs the
validator via the API when a GITHUB_TOKEN push leaves it action_required,
finalizes the CHANGELOG idempotently, reconciles the PR body before the re-run
(A1), merges only via GitHub auto-merge, and mints the release tag on the
merged HEAD.

Assisted-by: Claude Code deepseek-v4-flash:cloud (analysed on a live system)
@atrawog atrawog changed the title fix(ci): repair the org-wide auto-merge workflow fix(ci): ship the corrected org-wide auto-merge engine Aug 20, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Review — PASS

Head SHA: eb4b7b633621 (branch: fix/auto-merge)

Security screen: PASS — no scope mismatch (diff = workflow + CHANGELOG, both accounted for in the body), no secrets/exfiltration (standard secrets.GITHUB_TOKEN; the actions: write permission is justified by the validator re-run call), no supply-chain changes (actions/checkout@v7 standard). T4: this PR touches the merge-gate machinery and STRENGTHENS it (checkout added, waits for all checks, rejects non-success states including error, direct-squash fallback removed, concurrency group added) with explicit RCA justification.

Checklist: All applicable rules PASS or NA.

  • A1/A2/A3: Body complete — Summary, How-validated with pasted stub-gh output (39 PASS: lines matching the stated 39, scenarios S1–S9 map to the diff's decision paths), Change class (ci/config, self-install R10 gate satisfied by the stub proof), full Project-rulebook rule-compliance section, and the *Assisted-by: Claude Code deepseek-v4-flash:cloud (analysed on a live system)* footer. Tier is the correct ceiling (changed workflow branch cannot execute live pre-merge).
  • B19: CHANGELOG/2026.232.0001.md present, filename matches ^\d{4}\.\d{3}\.\d{4}\.md$, H1 byte-matches. .0001 placeholder — non-blocking (this PR repairs the auto-merge that renames placeholders at merge time).
  • R1–R6, R10, RDD: defects RCA'd from live run 3235221669, no flake framing, all fixed in-tree, no duplication (ensure_tag shared), polling is a legitimate check-wait, old logic fully removed (sweep output pasted and consistent with the diff — no git log -1 survives outside the CHANGELOG narrative), no force-push/direct-push-to-main.
  • B15: four commits are one cutover; the intended squash collapses them, no partial/split work pattern.

Comment intake: all five github-actions[bot] comments — stale-superseded (the two BLOCKs — missing rule-compliance section, direct-squash-fallback claim — no longer reproduce against the current body/diff; the PASSes reviewed earlier heads) or verified-non-blocking (the 37-vs-39 note was a miscount; the pasted output has 39 PASS lines).

Verdict: PASS


openrouter/deepseek/deepseek-v4-flash-0731 — pi-review-action.

View action run

…Ver)

Assisted-by: Claude Code deepseek-v4-flash:cloud (analysed on a live system)
@github-actions

Copy link
Copy Markdown
Contributor

Review — PASS

Head SHA: 5c06561e201d21a7a510068efe5abeeb48e750c9 (branch: fix/auto-merge)

Security screen: PASS — no scope mismatch (workflow rewrite + CHANGELOG, both accounted for), no secrets beyond secrets.GITHUB_TOKEN, no new endpoints/exfiltration, no supply-chain changes (actions/checkout@v7). T4 reviewed: the change STRENGTHENS the merge gate (checkout added, full wait+verify of all checks, error-state rejection, direct-squash fallback removed, concurrency group, idempotent tag minting) with explicit RCA per defect. The same-repo head-branch push in finalization is gated to head_repo == REPO, so forks are excluded.

Checklist: All applicable rules PASS or NA (body complete incl. rule-compliance section + Assisted-by footer with correct analysed on a live system ceiling; R1–R6 RCA'd with no forbidden framing; no duplication (ensure_tag/tag_ver shared); polling is a legitimate check-wait; CHANGELOG 2026.232.1951.md present, CalVer filename/H1 byte-match, non-placeholder; self-install R10 gate satisfied by the stub-gh pre-landing proof; placement CORRECT — workflow config belongs in .github/workflows).

Comment intake (all prior github-actions[bot] reviews): both BLOCKs (missing rule-compliance section; direct-squash-fallback body↔diff mismatch) — stale-superseded, neither reproduces against the CURRENT authoritative body/diff; remaining PASSes reviewed earlier heads — stale-superseded.

Verdict: PASS


openrouter/deepseek/deepseek-v4-flash-0731 — pi-review-action.

View action run

@atrawog
atrawog merged commit be7da07 into main Aug 20, 2026
1 check passed
@atrawog
atrawog deleted the feat/fix-auto-merge branch August 20, 2026 19:54
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.

2 participants