@@ -40,18 +40,22 @@ check items off as they complete. Start with this visible checklist:
40406 . Test surfaces and record feedback
41417 . Draft, review, and publish feedback
4242
43- For ** Update campaign** , instead explain that the run refreshes the stable
44- release train's shared testing dashboard for the new beta, then ends; use a
45- corresponding three-item checklist: identify release train, update priorities,
46- verify the campaign issue. For a stable tag, the last item closes the campaign.
43+ For ** Update campaign** , instead explain that the run dispatches the isolated
44+ GitHub workflow which refreshes the stable release train's shared testing
45+ dashboard, waits for its result, then ends. Use a three-item checklist:
46+ identify release train, dispatch the campaign runner, verify the issue.
47+ ** Campaign artifact** is non-interactive CI work and does not show a checklist.
4748
4849## Workflows
4950
5051Choose the workflow from the request:
5152
52- - ** Update campaign** is the asynchronous release-process path. A beta creates
53- or refreshes the canonical issue for its stable release train. A stable tag
54- closes that train's issue. Print the issue URL and stop.
53+ - ** Update campaign** dispatches ` release-validation-skill-runner.yml ` on the
54+ default branch for an explicit beta or stable tag, waits for it, prints the
55+ resulting issue URL, and stops. It never analyzes or writes the issue itself.
56+ - ** Campaign artifact** runs only when ` RELEASE_VALIDATION_ARTIFACT_PATH ` is
57+ present. It analyzes the selected release using the instructions below and
58+ writes the publisher artifact. GitHub is read-only in this workflow.
5559- ** Validate release** is the default human-testing path. Join the existing
5660 campaign issue, choose an isolated-copy or in-place lane, move the selected
5761 test gateway to the latest immutable ` origin/main ` , then guide testing and
@@ -70,32 +74,57 @@ canonical issue, label, title, and hidden marker belong to that train; the body
7074also records the current beta. Testing still targets an immutable latest
7175` origin/main ` SHA.
7276
73- When the request supplies an issue URL or number, resolve it directly with
74- ` gh issue view ` . Accept it only when it is open, has the exact
75- ` release-validation ` label, and contains
77+ When the request supplies an issue URL or number in ** Validate release ** ,
78+ resolve it directly with ` gh issue view ` . Accept it only when it is open, has
79+ the exact ` release-validation ` label, and contains
7680` <!-- openclaw-release-validation:<stable-train> --> ` . Read the current beta
77- from the body. In ** Update campaign** only, a legacy beta-specific marker is
78- also acceptable when it normalizes to the selected train; replace it with the
79- stable-train marker during this update. Do not search releases or issues first.
81+ from the body. Do not search releases or issues first.
8082
8183When no issue is supplied, use an explicit beta or stable tag when supplied.
8284Otherwise run ` gh api 'repos/openclaw/openclaw/releases?per_page=100' ` once and
8385select the newest published ` vYYYY.M.D-beta.N ` locally. Do not paginate. If the
8486bounded response has no beta, ask for an explicit tag.
8587
86- Find the campaign with one bounded lookup:
88+ Without a supplied issue, find the campaign with one bounded lookup:
8789
8890``` sh
8991gh api ' repos/openclaw/openclaw/issues?state=open&labels=release-validation&per_page=2'
9092```
9193
92- Ignore pull requests. Require at most one issue with the label and require its
93- marker to match the selected stable train. The label is the fast index; the
94- marker is the identity check. In ** Validate release** , no match means stop with
95- ` Release validation has not been initialized for <stable-train>. ` Multiple
96- matches or a different marker are conflicts: show their URLs and stop. Never
97- fall back to an unbounded issue scan. ** Update campaign** may migrate one legacy
98- beta marker that normalizes to the selected stable train.
94+ Ignore pull requests. Require at most one issue with the label. The label is
95+ the fast index; the stable-train marker is the identity check. Multiple issues
96+ or a different marker are conflicts: show their URLs and stop. Never fall back
97+ to an unbounded issue scan.
98+
99+ In ** Validate release** , compare the selected latest beta with the issue's
100+ exact ` - Current beta: ` line. If the issue is absent or names an older beta,
101+ dispatch the runner. Generate a request id containing UTC time plus a short
102+ random suffix, then run:
103+
104+ ``` sh
105+ gh workflow run release-validation-skill-runner.yml \
106+ --repo openclaw/openclaw \
107+ --ref main \
108+ -f tag=< selected-beta> \
109+ -f request_id=< request-id>
110+ ```
111+
112+ When the tester supplied an existing issue that still has a legacy
113+ beta-specific marker, also pass ` -f campaign_issue=<number> ` for that one-time
114+ migration. Never infer an unlabeled issue number from search results.
115+
116+ Find the run by that request id with one bounded `gh run list --workflow
117+ release-validation-skill-runner.yml --event workflow_dispatch --limit 20`, then
118+ wait with ` gh run watch <run-id> --exit-status ` . On success, repeat the bounded
119+ issue lookup and require the marker and current-beta line to match. If dispatch
120+ is forbidden, stop with the exact permission error and say that a repository
121+ operator must run the workflow. If the workflow fails, show its URL and stop.
122+ Do not prepare or update a gateway without a current campaign.
123+
124+ In ** Update campaign** , always dispatch the same workflow for the selected
125+ explicit tag, wait for it by request id, and verify the resulting issue state.
126+ This is intentionally independent of beta publication and never blocks a
127+ release.
99128
100129Whenever the workflow reaches its issue announcement, use this exact shape with
101130one raw URL and no commentary about discovery or campaign counts:
@@ -111,13 +140,10 @@ the private worksheet. After announcing it, resolve the test target and show
111140` Test target: origin/main at <full SHA> ` . The campaign beta describes the
112141guidance; that immutable main SHA is the runtime being tested.
113142
114- In ** Update campaign** , ensure these exact labels exist without changing an
115- existing label:
116-
117- - ` release-validation ` — green ` 0E8A16 ` ; only the one open campaign issue.
118- - ` release-validation-finding ` — red ` D93F0B ` ; bugs found by campaign testers.
119-
120- For a beta tag:
143+ In ** Campaign artifact** , use the exact tag, release commit, and guidance-main
144+ SHA supplied in ` RELEASE_VALIDATION_TAG ` ,
145+ ` RELEASE_VALIDATION_RELEASE_COMMIT ` , and
146+ ` RELEASE_VALIDATION_GUIDANCE_MAIN_SHA ` . For a beta tag:
121147
1221481 . Resolve its stable train, release URL, commit, the previous stable release,
123149 and one immutable guidance SHA from the current ` origin/main ` . Record that
@@ -184,19 +210,42 @@ For a beta tag:
184210 <concise instruction to run this skill >
185211 ```
186212
187- 7 . Create the issue if absent or update the existing train issue in place. Keep
188- all comments. Apply only ` release-validation ` , read back title/body/labels,
189- and require the marker plus guidance bytes to match. Close any older open
190- train campaign after commenting with the new issue URL. Do not add history
191- for superseded betas to the current body.
213+ 7 . Write this exact JSON shape to ` RELEASE_VALIDATION_ARTIFACT_PATH ` :
192214
193- For a stable tag, find the matching train issue, comment with the stable release
194- URL, remove the ` release-validation ` label, close the issue as completed, and
195- stop. Never close it for another beta in the same train.
215+ ``` json
216+ {
217+ "schema" : " openclaw.release-validation-campaign/v1" ,
218+ "operation" : " upsert" ,
219+ "tag" : " <exact beta tag>" ,
220+ "stableTrain" : " <vYYYY.M.D>" ,
221+ "releaseUrl" : " https://github.com/openclaw/openclaw/releases/tag/<tag>" ,
222+ "releaseCommit" : " <exact supplied release commit>" ,
223+ "guidanceMainSha" : " <exact supplied guidance SHA>" ,
224+ "title" : " OpenClaw <YYYY.M.D> beta feedback" ,
225+ "body" : " <rendered body>"
226+ }
227+ ```
228+
229+ Write valid JSON, not a Markdown fence. Create no other files and do not
230+ call a GitHub mutation API.
231+
232+ For a stable tag, skip analysis and write this exact JSON shape to
233+ ` RELEASE_VALIDATION_ARTIFACT_PATH ` :
234+
235+ ``` json
236+ {
237+ "schema" : " openclaw.release-validation-campaign/v1" ,
238+ "operation" : " close" ,
239+ "tag" : " <exact stable tag>" ,
240+ "stableTrain" : " <same exact stable tag>" ,
241+ "releaseUrl" : " https://github.com/openclaw/openclaw/releases/tag/<tag>"
242+ }
243+ ```
196244
197- Campaign updating is deliberately last-writer-simple; release orchestration
198- does not launch overlapping update tasks. ** Update campaign** ends after the
199- readback and never waits for human testing.
245+ The trusted publisher validates every field, creates the two release-validation
246+ labels when needed, updates or creates the campaign, preserves comments, and
247+ closes older campaigns. Campaign publishing is deliberately last-writer-simple;
248+ release orchestration does not launch overlapping update tasks.
200249
201250## 2. Choose a real gateway and test mode
202251
0 commit comments