You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: auto-release after merge + version in issue closing comments (#4957)
Two gaps in the full-loop workflow:
1. After merging a PR on the aidevops repo, no release was cut — fixes
sat on main until someone manually released. Contributors running
aidevops update got nothing. Now the full-loop auto-bumps a patch
version, tags, and creates a GitHub release after every merge.
2. Issue closing comments didn't tell the reporter which version
contained the fix. Now the template includes a 'Released in: vX.Y.Z'
line with 'run aidevops update to get this fix' so reporters know
exactly when and how to pick up the solution.
Auto-release is aidevops-repo-only and always uses patch (workers can't
determine if a change is minor/major — that requires human judgment).
**Auto-release after merge (aidevops repo only — MANDATORY):**
827
+
828
+
After merging a PR on the aidevops repo (`marcusquinn/aidevops`), cut a patch release so contributors and auto-update users receive the fix immediately. Without this step, fixes sit on main indefinitely until someone manually releases.
829
+
830
+
```bash
831
+
# Only for the aidevops repo — skip for all other repos
**Why patch (not minor/major)?** Workers cannot determine release significance — that requires human judgment about breaking changes and feature scope. Patch is always safe. The maintainer can manually cut a minor/major release when appropriate.
861
+
862
+
**Headless mode:** Auto-release runs in headless mode too. The version bump is atomic (single commit + tag), and `--generate-notes` avoids the need to compose release notes.
863
+
825
864
**Issue closing comment (MANDATORY — do NOT skip):**
826
865
827
866
After the PR merges, post a closing comment on every linked GitHub issue. This preserves the context that would otherwise die with the worker session. The comment is the permanent record of what was done.
- <anything that should be done next but was out of scope>
861
900
- None (if complete)
901
+
902
+
**Released in:** v<VERSION> — run `aidevops update` to get this fix.
862
903
COMMENT
863
904
)"
864
905
```
@@ -868,6 +909,7 @@ COMMENT
868
909
- Be specific — "fixed the bug" is useless; "fixed race condition in worktree creation by adding `sleep 2` between dispatches" is useful
869
910
- Include file paths with brief descriptions so future workers can find the changes
870
911
- If the task was dispatched by the supervisor, include the original dispatch description for traceability
912
+
-**Include the release version** in the "Released in" line if an auto-release was cut (aidevops repo). Read the version from `VERSION` after the release step. For non-aidevops repos, omit the "Released in" line.
871
913
- This is a gate: do NOT emit `FULL_LOOP_COMPLETE` until closing comments are posted
0 commit comments