Skip to content

feat(skills): add in-place release validation mode - #129673

Merged
Patrick-Erichsen merged 1 commit into
mainfrom
pe/release-validation-in-place-mode
Aug 25, 2026
Merged

Patrick-Erichsen merged 1 commit into
mainfrom
pe/release-validation-in-place-mode

Conversation

@Patrick-Erichsen

@Patrick-Erichsen Patrick-Erichsen commented Aug 25, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • ask testers to choose an isolated OCM copy or an explicitly approved in-place update after selecting a gateway
  • keep OCM as the recommended default while failing closed on unresolved external paths from Adopted environment upgrade mutated the source gateway state database ocm#98
  • allow plain gateways to use the pinned dev-channel updater with a verified backup
  • change campaign guidance to compare the current beta commit with an immutable latest-main SHA and use mode-neutral worksheet commands

Validation

  • python3 skills/skill-creator/scripts/quick_validate.py .agents/skills/openclaw-release-validation
  • git diff --check
  • formatted the three changed Markdown files with the repository oxfmt binary

No agent transcript included.

@clawsweeper

clawsweeper Bot commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@openclaw-barnacle openclaw-barnacle Bot added size: M maintainer Maintainer-authored PR labels Aug 25, 2026
@Patrick-Erichsen
Patrick-Erichsen force-pushed the pe/release-validation-in-place-mode branch from 788bb81 to 72e9e9f Compare August 25, 2026 23:33
@clawsweeper clawsweeper Bot added merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Aug 25, 2026
@Patrick-Erichsen
Patrick-Erichsen merged commit 80985b9 into main Aug 25, 2026
66 of 67 checks passed
@Patrick-Erichsen
Patrick-Erichsen deleted the pe/release-validation-in-place-mode branch August 25, 2026 23:41
@clawsweeper

clawsweeper Bot commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Codex review: found issues before merge. Reviewed August 25, 2026, 7:40 PM ET / 23:40 UTC.

ClawSweeper review

What this changes

This PR adds an explicitly approved in-place gateway update lane to the release-validation skill while retaining isolated OCM copies as the recommended lane.

Merge readiness

⚠️ Ready for maintainer review - 4 items remain

Keep open: the new in-place lane can mark a listening but unusable gateway ready, so release testing may proceed against a failed update.

Priority: P2
Reviewed head: 72e9e9fe2d52cd14b74405ca4d15a2de4d237b51
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The operator-focused design is coherent, but the current readiness check has a concrete blocking defect.
Proof confidence 🌊 off-meta tidepool Not applicable: The supplied repository state identifies a member-authored PR, so the external-contributor proof gate does not apply; the P1 readiness defect still needs corrected behavior proof before merge.
Patch quality 🦐 gold shrimp (3/6) 1 actionable review finding remain.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: The supplied repository state identifies a member-authored PR, so the external-contributor proof gate does not apply; the P1 readiness defect still needs corrected behavior proof before merge.
Evidence reviewed 6 items Changed readiness gate: The plain in-place lane uses gateway status without a required RPC probe, then treats that output as part of the readiness decision.
Gateway status contract: Gateway status exits nonzero for an unhealthy RPC only with requireRpc enabled; without it, an unhealthy probe is reported but does not fail the command.
Regression behavior is tested: Current tests explicitly show a failed probe completes successfully when requireRpc is false, including JSON mode.
Findings 1 actionable finding [P1] Require RPC health before declaring the gateway ready
Security None None.

How this fits together

The release-validation skill prepares a selected gateway at an immutable main commit for human release testing. Its readiness gate determines whether testers receive a worksheet and begin reporting release feedback.

flowchart LR
  Campaign[Release campaign] --> Mode[Gateway and test-mode choice]
  Mode --> Isolated[Isolated OCM copy]
  Mode --> InPlace[Approved in-place update]
  Isolated --> Readiness[Readiness verification]
  InPlace --> Readiness
  Readiness --> Worksheet[Private testing worksheet]
  Worksheet --> Feedback[Release feedback]
Loading

Decision needed

Question Recommendation
Should release validation retain an explicitly approved in-place mode after its readiness gate is strengthened, despite its persistent dev-channel and real-gateway effects? Keep the opt-in in-place lane: Fix the required RPC readiness check and retain the explicit approval, backup, and rollback disclosures.

Why: This is a new operator-facing release workflow that intentionally changes a selected live gateway, so code review cannot decide its product scope alone.

Before merge

  • Require RPC health before declaring the gateway ready (P1) - gateway status --json can report a failed probe yet exit successfully unless --require-rpc is present. Since the next lines use this command to admit a real gateway into testing, add --require-rpc (and require its success) so a listening but unusable gateway cannot produce a false-ready validation run.
  • Resolve merge risk (P1) - An approved plain in-place run persists the selected gateway on the dev channel and can modify its plugins and state; maintainers need to accept that operator-facing upgrade path after the readiness gate is corrected.
  • Complete next step (P2) - The P1 command repair is narrow, but the protected maintainer label and new real-gateway workflow require explicit maintainer product judgment.

Findings

  • [P1] Require RPC health before declaring the gateway ready — .agents/skills/openclaw-release-validation/SKILL.md:372-378
Agent review details

Security

None.

PR surface

Docs +103. Total +103 across 3 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 0 0 0 0
Docs 3 220 117 +103
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 3 220 117 +103

Review metrics

Metric Value Why it matters
Operational guidance delta production +0/-0, tests +0/-0, operational skill guidance +220/-117 The patch changes the procedure that can update a tester's real gateway, so its readiness and rollback semantics matter more than ordinary documentation wording.

Stored data model

Persistent data-model change detected: migration/backfill/repair: .agents/skills/openclaw-release-validation/SKILL.md. Confirm migration or upgrade compatibility proof before merge.

Merge-risk options

Maintainer options:

  1. Require a hard RPC readiness gate (recommended)
    Use gateway status with require-rpc and refuse worksheet creation unless the read-scope probe succeeds for the updated gateway.
  2. Keep isolation-only validation
    Pause or close the in-place addition if maintainers do not want release validation to persistently change real gateways.
Copy recommended automerge instruction
@clawsweeper automerge

Special instructions:
Replace the plain in-place readiness command with a required RPC probe and add focused coverage or proof that an unhealthy RPC blocks readiness.

Technical review

Best possible solution:

Keep OCM isolation as the default and require a successful read-scope RPC probe before any in-place gateway is considered ready for release testing.

Do we have a high-confidence way to reproduce the issue?

Yes, from source: a gateway-status invocation with a failed RPC exits successfully unless require-rpc is supplied, while this workflow treats the invocation as readiness proof.

Is this the best way to solve the issue?

No: the approval and backup flow is plausible, but the readiness check must fail on an unusable Gateway before the workflow can safely reveal testing steps.

Full review comments:

  • [P1] Require RPC health before declaring the gateway ready — .agents/skills/openclaw-release-validation/SKILL.md:372-378
    gateway status --json can report a failed probe yet exit successfully unless --require-rpc is present. Since the next lines use this command to admit a real gateway into testing, add --require-rpc (and require its success) so a listening but unusable gateway cannot produce a false-ready validation run.
    Confidence: 0.99

Overall correctness: patch is incorrect
Overall confidence: 0.99

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against b0526f7be7f1.

Labels

Label changes:

  • add P2: The defect affects an opt-in release-validation workflow and can produce invalid testing results, but it is not a confirmed broad runtime outage.
  • add merge-risk: 🚨 compatibility: The new plain in-place path persists a dev update channel on an existing selected gateway.
  • add merge-risk: 🚨 availability: The new path updates and restarts a real gateway, and its current readiness gate can accept a failed RPC.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🌊 off-meta tidepool and patch quality is 🦐 gold shrimp.
  • add status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action. Not applicable: The supplied repository state identifies a member-authored PR, so the external-contributor proof gate does not apply; the P1 readiness defect still needs corrected behavior proof before merge.

Label justifications:

  • P2: The defect affects an opt-in release-validation workflow and can produce invalid testing results, but it is not a confirmed broad runtime outage.
  • merge-risk: 🚨 compatibility: The new plain in-place path persists a dev update channel on an existing selected gateway.
  • merge-risk: 🚨 availability: The new path updates and restarts a real gateway, and its current readiness gate can accept a failed RPC.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🌊 off-meta tidepool and patch quality is 🦐 gold shrimp.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action. Not applicable: The supplied repository state identifies a member-authored PR, so the external-contributor proof gate does not apply; the P1 readiness defect still needs corrected behavior proof before merge.

Evidence

What I checked:

Likely related people:

  • Patrick Erichsen: Authored the initial release-validation skill, several subsequent workflow revisions, and the proposed in-place mode. (role: feature owner and recent area contributor; confidence: high; commits: 3e2a82bc0b8a, 37b7478810c0, 72e9e9fe2d52; files: .agents/skills/openclaw-release-validation/SKILL.md)
  • Vincent Koc: Recent history for the release-maintainer skill includes a frozen-validation change, adjacent to the campaign workflow updated here. (role: recent adjacent release-workflow contributor; confidence: medium; commits: c28c279afa37; files: .agents/skills/release-openclaw-maintainer/SKILL.md)
  • Peter Steinberger: Current history shows related release-validation and release-workflow maintenance alongside the skill's revisions. (role: recent release-workflow contributor; confidence: medium; commits: ce9a4c9a6081, 83319bad608b; files: .agents/skills/openclaw-release-validation/SKILL.md, .agents/skills/release-openclaw-maintainer/SKILL.md)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Require a read-scope RPC probe and demonstrate that an unhealthy gateway blocks worksheet creation.
  • Run the corrected in-place flow on a disposable representative gateway and provide a redacted terminal transcript.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer Maintainer-authored PR merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: M status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant