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
@@ -50,12 +53,18 @@ Dispatch a read-only plan auditor to verify:
50
53
-`bun run build:gui`
51
54
-`cd docs-site && bun install --frozen-lockfile && bun run build`
52
55
-`git diff --check`
56
+
- Capture `git rev-parse dev origin/dev main origin/main` so the release log records the exact
57
+
source and target commits.
53
58
2. Merge `dev` to `main`:
54
59
- Ensure clean tree.
60
+
- Push local `dev` first if it contains release-plan or result evidence commits that are not yet
61
+
on `origin/dev`.
55
62
- Checkout `main`.
56
-
- Fast-forward `main` to `dev`if possible.
63
+
- Fast-forward `main` to the actual verified local `dev`HEAD.
57
64
- Push `origin/main`.
58
-
3. Wait for `main` Cross-platform CI on commit `3a8852c`.
65
+
3. Wait for `main` Cross-platform CI on the actual pushed `main` HEAD computed after the
66
+
fast-forward/merge. Do not hardcode `3a8852c`; that commit is only the pre-plan
67
+
`origin/dev` baseline.
59
68
4. Release:
60
69
- Run `bun scripts/release.ts 2.1.8 --publish` from clean `main`.
61
70
- Let the helper bump `package.json`, commit `release: v2.1.8`, push `main`, wait for CI, dispatch release workflow, and watch the workflow.
@@ -80,14 +89,20 @@ Final checks:
80
89
81
90
### D: Done
82
91
83
-
Record the final result in `devlog/_plan/260623_v218_release/10_result.md`, save memory, and pause the goal only after an independent final objective review returns DONE.
92
+
Record the final result in `devlog/_plan/260623_v218_release/10_result.md` before release if it can be
93
+
completed without speculative evidence; otherwise keep post-release evidence in `cli-jaw goal update`
94
+
and memory so `dev` does not drift ahead of the published `main` release commit. Pause the goal only
95
+
after an independent final objective review returns DONE.
- Create before the release only if its content can be factual and non-speculative; otherwise use
104
+
goal evidence/memory for post-release facts to keep `main` and `dev` synchronized at the release
105
+
commit.
91
106
92
107
### MODIFY
93
108
@@ -98,7 +113,9 @@ Record the final result in `devlog/_plan/260623_v218_release/10_result.md`, save
98
113
## Risks
99
114
100
115
- Release workflow could fail after npm publish. Mitigation: `scripts/release.ts` checks npm, tag, and GitHub Release are unused before publishing.
101
-
-`origin/main` could move while waiting for CI. Mitigation: release helper aborts if remote main no longer equals the release commit.
116
+
-`origin/main` could move while waiting for CI. Mitigation: compute the pushed main HEAD after the
117
+
merge, wait for CI on that exact SHA, and let the release helper abort if remote main no longer
118
+
equals the release commit.
102
119
- Docs build is not part of CI. Mitigation: run `docs-site` build locally before main merge/release.
103
120
- GUI build is not in full local test by default. Mitigation: run `bun run build:gui` before release and rely on CI GUI build smoke after push.
104
121
- npm trusted publishing may fail due GitHub/npm configuration. Mitigation: do not use token fallback unless the trusted publishing failure proves it is necessary; report exact failure.
0 commit comments