chore(release): add fork flow confirmation step

Amolith created

- Show commit stats after LLM-generated commit
- Add confirmation prompt before tagging
- Add deferred cleanup task to reset if release aborted

Assisted-by: Claude Opus 4.5 via Crush

Change summary

Taskfile.yaml | 25 ++++++++++++++++++++++++-
1 file changed, 24 insertions(+), 1 deletion(-)

Detailed changes

Taskfile.yaml 🔗

@@ -143,9 +143,32 @@ tasks:
     cmds:
       - git tag -d nightly || true
       - git fetch upstream --tags
-      - crush run "Please update the mentioned version in the top of the README to {{.TAG}}. You only need to read the first 65 lines for the relevant bits. Commit when you're done."
+      - >-
+        crush run "Please update the mentioned version in the top of the README to {{.TAG}}.
+        You only need to read the first 65 lines for the relevant bits.
+        Commit with 'docs(README): bump to [ver]' when you're done."
+      - git show --stat HEAD
+      - defer:
+          task: release:fork:cleanup
+          vars:
+            TAG: "{{.TAG}}"
+      - task: release:fork:confirm
       - git tag -a {{.TAG}}
       - git push soft {{.TAG}}
       - echo "Released {{.TAG}}"
       - go list -m git.secluded.site/crush@{{.TAG}} > /dev/null
       - echo "Module proxy notified"
+
+  release:fork:confirm:
+    desc: Review LLM-generated commit and confirm release
+    internal: true
+    prompt: "Proceed with release?"
+
+  release:fork:cleanup:
+    desc: Undo LLM commit if release aborted
+    internal: true
+    cmds:
+      - git reset --hard HEAD~1
+      - git tag -d {{.TAG}} 2>/dev/null || true
+    status:
+      - git tag -l {{.TAG}} | grep -q {{.TAG}}