Delivery auto-close-linked - #520
Merged
Merged
Conversation
chore: sync dev to main for v1.0.39
LeXwDeX
marked this pull request as ready for review
September 3, 2026 03:18
This was referenced Sep 3, 2026
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.
Closes #519
Why
GitHub's native issue auto-close only fires when a PR carrying
Closes #nmerges into the default branch (main). This repo delivers intodevfirst (two-tier Git Workflow), so delivered issues stayed open — #433/#472/#473/#474/#475/#477/#496 all had to be closed manually on 2026-09-03. This adds the dev-layer mirror of auto-close.What changed
.github/workflows/dev-issue-autoclose.yml(sole change): triggerpull_request: types: [closed], job gated onmerged == true && base.ref == 'dev'(merges tomainkeep native auto-close — no overlap). Parses the PR body for the official closing keywords + bare#n(case-insensitive, deduped), guards the shared issue/PR number space (skip PRs, skip nonexistent, skip already-CLOSED — no duplicate comments), closes survivors withgh issue close --reason completedplus an explanatory comment naming the delivery PR. Least privilege (contents: read,issues: write,pull-requests: read), no checkout, no third-party actions, PR body passed only viaenv:(script-injection safe).Evidence
dag_fe5f9b2cb4a9P4dMQwVbLL5pi7— verify PASS: actionlint exit 0; shellcheck exit 0 on the extracted run block; 11/11 dry-run matrix (PATH-shimmedghintercepting every write): real bodies fix(test): bound httpapi exerciser teardown and force process exit (#472) #487→{472}, feat(opencode): add warn-only shell silence guard #491→{433}, chore: sync main to dev after v1.0.37 notes fix #497→{496}, chore: sync dev to main for v1.0.39 #518→{517} extracted exactly with skip-closed firing; synthetic mixed-case / multi-ref / PR-ref-skip / zero-ref / closed-skip / not-found-skip all correct; chore: auto-close linked issues when PRs merge into dev #519 still OPEN post-run = zero tracker writes. Review verdict ACCEPT (fingerprintsha256:aceb61ec…acac6; arbiter independently re-inspected 7 load-bearing claims after both review lanes lost supervision with zero findings; synthesizer re-performed V1–V7 first-hand).devis expected to fire the new workflow (same-repopull_requestevents evaluate workflows at the merge ref) and auto-close chore: auto-close linked issues when PRs merge into dev #519 — the declared live proof, not a gate input.Checklist
specgit finishexits 0.