Skip to content

Commit 2f7fb35

Browse files
committed
chore(ci): merge main and retain plugin selection cache identity
2 parents 78c9b84 + c0f1cbf commit 2f7fb35

68 files changed

Lines changed: 2169 additions & 491 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.agents/skills/openclaw-release-validation/SKILL.md‎

Lines changed: 127 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,64 @@ approved in-place update when the tester prefers less setup. Automate only
1313
preparation, finding triage, and reporting. Let the human drive OpenClaw and
1414
judge quality.
1515

16-
For a ready gateway, use one editable Markdown worksheet as the entire run
17-
record. A blocked upgrade has no worksheet or surface-testing phase; its final
18-
report draft is the only local record. Do not create `run.json`, mission state,
19-
receipts, or other tracking files.
16+
For a ready gateway, use one editable Markdown worksheet as the entire
17+
candidate-validation record. A blocked upgrade has no worksheet or
18+
surface-testing phase; its final report draft is the only local candidate
19+
record. A redacted tooling-feedback packet is the one exception: create it only
20+
when OCM, setup, build, backup, or cleanup tooling fails, and never treat it as
21+
candidate feedback. Do not create `run.json`, mission state, receipts, or other
22+
tracking files.
23+
24+
## Check this skill before an interactive workflow
25+
26+
When `RELEASE_VALIDATION_ARTIFACT_PATH` is present, this is the non-interactive
27+
**Campaign artifact** workflow. Skip this section entirely: do not make a
28+
network request or prompt for a skill update.
29+
30+
For **Validate release** and **Update campaign**, before the introduction or
31+
checklist, resolve this loaded skill's directory from the available skill
32+
catalog and run:
33+
34+
```sh
35+
node <skill-directory>/scripts/check-update.mjs
36+
```
37+
38+
Read its JSON and show one concise status line with the installed ClawHub
39+
source and version, the current canonical ClawHub version, and the comparison
40+
status. Do not show local paths. This check is read-only.
41+
42+
When `status` is `update-available` and `localModifications` is `false`, ask:
43+
44+
```text
45+
A newer canonical release-validation skill is available. Would you like me to
46+
upgrade it before validation?
47+
48+
Reply exactly `upgrade release-validation skill` or `continue with current skill`.
49+
```
50+
51+
When `status` is `update-available` and `localModifications` is `true`, say that
52+
the installed copy has local modifications and ask:
53+
54+
```text
55+
A newer canonical release-validation skill is available, but this installed
56+
copy has local modifications. Upgrading will replace those modifications.
57+
58+
Reply exactly `upgrade release-validation skill and replace local modifications`
59+
or `continue with current skill`.
60+
```
61+
62+
Wait for the applicable reply. On either approved upgrade reply, run the
63+
checker's exact `update.command` arguments from `update.cwd`; do not construct a
64+
different install command. Rerun the checker and require `status: current`.
65+
Then stop this run and tell the tester to start a fresh task and invoke the
66+
skill again, because the current task has already loaded the old instructions.
67+
Never continue release validation in that task after changing the skill.
68+
69+
On `continue with current skill`, continue normally. For `current`, continue
70+
without asking. For `ahead-of-latest`, `local-modifications`,
71+
`different-source`, `untracked`, or `check-failed`, report the installed source
72+
and version plus the status briefly and continue without offering an automated
73+
update; the checker could not prove that replacing this copy is safe.
2074

2175
## Start the run
2276

@@ -433,8 +487,11 @@ Report every error immediately, including errors recovered by a retry. OpenClaw
433487
config migration, update, plugin convergence, startup, and readiness failures
434488
from the selected test target are eligible **Upgrade findings**. Add them to the
435489
worksheet only when readiness is later verified. OCM tooling, copying, backup
436-
plumbing, local build setup, and cleanup failures stay conversational and never
437-
enter the worksheet or GitHub output.
490+
plumbing, local build setup, and cleanup failures never enter the worksheet,
491+
candidate finding drafts, campaign report, hidden payload, or Discord summary
492+
details. On the first such failure, read and apply
493+
[the tooling-feedback packet procedure](references/tooling-feedback.md). A
494+
tooling-only blocker is not an Upgrade finding.
438495

439496
As soon as an eligible upgrade finding is concrete, run the related-issue
440497
investigation from section 6 and queue its private draft. Do this before manual
@@ -444,10 +501,11 @@ Complete this step only when test-target readiness is either verified or blocked
444501
with a concrete terminal finding. Do not continue to testing while the upgrade
445502
or gateway readiness is unresolved.
446503

447-
If readiness is **blocked**, this is a terminal upgrade-validation result: mark
448-
the optional diagnostics, worksheet, and surface-testing checklist items as
449-
skipped. Do not create, open, mention, or ask the tester to use a worksheet;
450-
there is no running gateway to test. State plainly:
504+
If candidate-owned readiness is **blocked**, this is a terminal
505+
upgrade-validation result: mark the optional diagnostics, worksheet, and
506+
surface-testing checklist items as skipped. Do not create, open, mention, or
507+
ask the tester to use a worksheet; there is no running gateway to test. State
508+
plainly:
451509

452510
```text
453511
Upgrade blocked — the selected test gateway never became ready, so manual surface testing cannot begin.
@@ -456,6 +514,10 @@ Reply exactly `finish validation` to prepare a reviewable report of this upgrade
456514

457515
Then wait for final feedback or `finish validation`.
458516

517+
If tooling blocked preparation before candidate-owned readiness could be
518+
evaluated, follow the tooling-feedback procedure instead. Do not use the
519+
Upgrade finding prompt above or prepare candidate feedback.
520+
459521
## 4. Optional local diagnostics capture
460522

461523
Offer this step only after an isolated OCM target is ready. For either in-place
@@ -736,10 +798,41 @@ diagnostics-otel --force`. If the fixture is destroyed, remove only its
736798
rollback or offline state restoration. Remove the run-owned isolated main
737799
checkout after no build command is using it. Never remove a shared or
738800
in-use runtime. Remove the run-owned collector in all cases.
739-
6. Complete or refresh every finding draft using the final sanitized evidence.
801+
6. When a tooling packet exists or cleanup fails, read and apply
802+
[the tooling-feedback packet procedure](references/tooling-feedback.md),
803+
including its closeout rules. If no tooling failure occurred, do not create
804+
a packet.
805+
7. A completed candidate evaluation requires a candidate-owned readiness
806+
failure or at least one tester-authored surface result. Without either, say
807+
`Candidate not evaluated — no tester-authored result`, assign no candidate
808+
terminal result, and stop after cleanup without creating a candidate report,
809+
posting batch, hidden payload, or Discord summary. Otherwise assign exactly
810+
one terminal result using this precedence, and write its
811+
exact label to the worksheet when one exists, the tooling packet when one
812+
exists, the visible campaign-report draft when one is warranted, and the
813+
final Discord summary when one is warranted:
814+
815+
- **Candidate failed** — the candidate had any functional or readiness
816+
failure.
817+
- **Candidate passed, but cleanup failed** — candidate readiness and tested
818+
behavior passed, but fixture destruction, source restoration, runtime or
819+
collector removal, plugin cleanup, or approved rollback did not complete.
820+
Record the failure details only in the tooling packet.
821+
- **Candidate passed with presentation warnings** — candidate behavior and
822+
cleanup passed, but the tester reported at least one non-blocking visual,
823+
wording, output-format, or other presentation/polish warning. Keep those
824+
warnings in candidate feedback.
825+
- **Fully clean completion** — candidate behavior passed, cleanup completed,
826+
and the tester reported no candidate warning or problem finding.
827+
828+
Candidate failure takes precedence over cleanup failure; cleanup failure
829+
takes precedence over presentation warnings. Do not use a fifth terminal
830+
label or collapse these labels into pass/fail.
831+
832+
8. Complete or refresh every finding draft using the final sanitized evidence.
740833
For an eligible upgrade finding, run the same related-issue investigation
741834
now if it was not already done before manual testing.
742-
7. Synthesize one final campaign-report draft from the stable train, current
835+
9. Synthesize one final campaign-report draft from the stable train, current
743836
beta tag and commit, exact tested main SHA, source version/commit, eligible
744837
upgrade findings, tester feedback, promotion vote, and only surfaces with
745838
non-empty Testing notes. Link each planned finding draft by its local action
@@ -751,6 +844,7 @@ diagnostics-otel --force`. If the fixture is destroyed, remove only its
751844
- Release train: <stable train>
752845
- Current beta: <beta tag> (<beta commit>)
753846
- Tested main commit: <full SHA>
847+
- Terminal result: <exact terminal result label>
754848
755849
## Test environment
756850
@@ -763,23 +857,23 @@ diagnostics-otel --force`. If the fixture is destroyed, remove only its
763857
Omit any unavailable value; do not add substitute device facts. The profile
764858
is brief diagnostic context, not an upgrade finding or surface result.
765859

766-
8. Remove local paths, gateway names, secrets, user identifiers, raw logs, OCM
767-
notes, setup details, and cleanup details from the comment. Keep the
768-
allow-listed **Test environment** values from the preceding step.
769-
9. Read and apply the [structured report contract](references/structured-report.md).
770-
Write the proposed root report beside the finding drafts. Open the root
771-
report plus every **Create issue** and **Comment on existing issue** draft
772-
together and say:
773-
774-
```text
775-
I opened every proposed GitHub post for review. Nothing has been sent.
776-
Reply exactly `approve validation posts` to publish this batch, or tell me what to change.
777-
```
860+
10. Remove local paths, gateway names, secrets, user identifiers, raw logs, OCM
861+
notes, setup details, and cleanup details from the comment. Keep the
862+
allow-listed **Test environment** values from the preceding step.
863+
11. Read and apply the [structured report contract](references/structured-report.md).
864+
Write the proposed root report beside the finding drafts. Open the root
865+
report plus every **Create issue** and **Comment on existing issue** draft
866+
together and say:
867+
868+
```text
869+
I opened every proposed GitHub post for review. Nothing has been sent.
870+
Reply exactly `approve validation posts` to publish this batch, or tell me what to change.
871+
```
778872

779-
On edits, revise and reopen the same files. Never write to GitHub from
780-
`finish validation` alone.
873+
On edits, revise and reopen the same files. Never write to GitHub from
874+
`finish validation` alone.
781875

782-
10. On `approve validation posts`, re-read and privacy-check every approved
876+
12. On `approve validation posts`, re-read and privacy-check every approved
783877
file. Publish each **Create issue** draft with
784878
`release-validation-finding`, and each corroboration draft to its selected
785879
open issue. Read every write back. A **Found but fixed** record produces no
@@ -788,20 +882,23 @@ diagnostics-otel --force`. If the fixture is destroyed, remove only its
788882
update this GitHub user's one campaign report comment. This mechanical URL
789883
insertion needs no second approval; do not otherwise rewrite approved prose.
790884
Return the root comment URL and every finding URL.
791-
11. Give the tester this concise copy-ready Discord summary, populated only from
885+
13. Give the tester this concise copy-ready Discord summary, populated only from
792886
the same release-facing worksheet evidence and final comment:
793887

794888
```md
795889
**Release validation — <stable-train> / <current-beta>**
796890
Tested main: <full SHA>
891+
Result: <exact terminal result label>
797892
Tested: <surfaces with non-empty Testing notes, or "No manual surface testing completed">
798893
Key findings: <concise release findings, or "None reported">
799894
Recommendation: <yes / no>
800895
Details: <GitHub comment URL>
801896
```
802897

803-
Keep it to these six lines. Exclude source gateway details, local paths,
804-
OCM/setup information, cleanup, credentials, and untested surface guidance.
898+
Keep it to these seven lines. Exclude source gateway details, local paths,
899+
OCM/setup information, cleanup details, credentials, and untested surface
900+
guidance. The generic terminal result may name cleanup failure, but no
901+
tooling detail may appear.
805902
This is a copy/paste handoff for the tester; do not post it automatically.
806903

807904
The skill collects release feedback; it does not make the go/no-go decision.
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# OpenClaw release-validation tooling feedback
2+
3+
> Private, redacted, optional-report packet. This is not candidate feedback and
4+
> must never be posted automatically or included in the release campaign.
5+
6+
## Run context
7+
8+
- Release train: {{RELEASE_TRAIN}}
9+
- Tested main commit: {{MAIN_COMMIT_OR_NOT_REACHED}}
10+
- Candidate result: {{CANDIDATE_RESULT_OR_NOT_EVALUATED}}
11+
- Platform: {{OS_AND_ARCHITECTURE}}
12+
- Tool versions: {{RELEVANT_TOOL_VERSIONS}}
13+
14+
## Tooling findings
15+
16+
Repeat the following block for each distinct tooling failure.
17+
18+
### {{SHORT_FAILURE_TITLE}}
19+
20+
- Tooling project: {{LIKELY_REPORT_TARGET}}
21+
- Stage: {{FAILURE_STAGE}}
22+
- Sanitized reproduction: `{{COMMAND_WITH_PLACEHOLDERS}}`
23+
- Expected: {{EXPECTED_BEHAVIOR}}
24+
- Observed: {{SANITIZED_OBSERVED_BEHAVIOR}}
25+
- Impact: {{IMPACT_ON_VALIDATION}}
26+
- Recovery state: {{RECOVERY_STATE}}
27+
28+
## Reporting choice
29+
30+
Nothing in this file has been posted. Review it before optionally reporting the
31+
tooling issue to the project named above.

‎.agents/skills/openclaw-release-validation/assets/validation-worksheet.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
- Source commit: {{SOURCE_COMMIT}}
1313
- Shared issue: {{ISSUE_URL}}
1414
- Upgrade result: pending
15+
- Terminal result: pending
1516

1617
## Upgrade findings
1718

‎.agents/skills/openclaw-release-validation/references/structured-report.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ neutral context is `observation`.
1414
Optional local telemetry may appear only as a short visible evidence note below
1515
the finding it corroborates. It never creates a finding or enters the payload.
1616
The visible **Test environment** profile is also excluded from the payload.
17+
The exact terminal result label is visible report metadata and is also excluded
18+
from the payload; `upgrade.result` continues to describe candidate upgrade
19+
behavior only. A generic **Candidate passed, but cleanup failed** label is
20+
allowed in visible Markdown, but cleanup details remain private tooling data.
1721

1822
Use the live taxonomy URL fragment as a surface `id`; use `unmapped` only when
1923
no scorecard surface fits. Include only surfaces with non-empty **Testing
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# Tooling-feedback packet
2+
3+
Apply this procedure on the first OCM, copying, backup, local-checkout, build,
4+
diagnostics-setup, or cleanup failure. Copy
5+
[the tooling feedback asset](../assets/tooling-feedback.md) to
6+
`.artifacts/openclaw-release-validation/<stable-train>-<timestamp>-tooling-feedback.md`.
7+
Use the run's existing artifact timestamp when one exists. Update the same file
8+
for later tooling failures; a run without a tooling failure has no packet.
9+
10+
Before every write, reduce the evidence to the minimum reproducible facts. Keep
11+
only the release train, tested main SHA when known, operating system and
12+
architecture, relevant tool names and versions, failure stage, sanitized
13+
command shape with placeholders, expected behavior, concise observed behavior
14+
or error category, impact, recovery state, and likely report target. Omit any
15+
field whose safe redaction is uncertain.
16+
17+
Exclude credentials, tokens, usernames, hostnames, device identifiers, network
18+
addresses, absolute paths, gateway or environment names, raw config, raw logs,
19+
prompts, responses, tool payloads, and candidate feedback. Replace sensitive
20+
command arguments with descriptive placeholders.
21+
22+
At closeout, refresh every failure's recovery state and set **Candidate result**
23+
to the assigned terminal label. When no candidate evaluation occurred, set it
24+
to the applicable `Candidate not evaluated — ...` status instead. Replace every
25+
remaining template placeholder, open the packet, and say:
26+
27+
```text
28+
Optional tooling feedback: <absolute path>. Nothing was posted. You can review
29+
this redacted packet and optionally report it to the named tooling project.
30+
```
31+
32+
The packet is private optional-report material. Keep it out of the worksheet,
33+
candidate finding drafts, campaign report, hidden payload, Discord summary, and
34+
validation posting batch. Never post it without a separate user request.
35+
36+
If tooling prevents candidate preparation and the tester ends validation, say
37+
`Candidate not evaluated — tooling blocked preparation`, show the packet, and
38+
stop. This is not a candidate terminal result. Produce no candidate report,
39+
posting batch, hidden payload, or Discord summary.

0 commit comments

Comments
 (0)