Skip to content

fix(release): acknowledge ClawHub risk on moving installs - #148041

Merged
RomneyDa merged 1 commit into
mainfrom
fix/release-skill-risk-fallback
Sep 14, 2026
Merged

RomneyDa merged 1 commit into
mainfrom
fix/release-skill-risk-fallback

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Sep 14, 2026 •

Copy link
Copy Markdown
Member

Summary

  • recognize both current and frozen ClawHub risk-block wording
  • skip a blocked automatic candidate and continue to the next resolved safe candidate
  • keep explicit requested slugs and unrelated failures fail-closed

Failure evidence

Matched Full Validation resolved a moving ClawHub candidate that was risk-blocked; the trusted fallback recognized only one CLI wording:
https://github.com/openclaw/openclaw/actions/runs/34809399844

Verification

  • direct current and frozen risk-wording fallback proof
  • strict explicit-request and unrelated-error negative cases
  • full test types, shell syntax, formatting, and diff checks

@clawsweeper

clawsweeper Bot commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts size: XS maintainer Maintainer-authored PR labels Sep 14, 2026
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. 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 Sep 14, 2026
@clawsweeper

clawsweeper Bot commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 14, 2026, 4:08 AM ET / 08:08 UTC (Revision 2).

ClawSweeper review

What this changes

The release-validation script recognizes two ClawHub rejection formats when skipping blocked automatic skill candidates, with regression coverage for both.

Merge readiness

✅ Ready for maintainer review

The previous blocking finding and both rank-up requests are addressed. The patch remains useful because current main lacks the alternate rejection matcher; no new blocking defect was found.

Priority: P2
Reviewed head: 75ac5eb6ed5799c13ed8cb0edd4d3070c8b79d4a

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused repair with meaningful boundary coverage and the previous blocker resolved.
Proof confidence 🌊 off-meta tidepool Not applicable: The member-authored PR is exempt from the external-contributor proof gate; its shell-boundary tests cover both rejection outputs, but no after-fix live ClawHub execution was independently verified.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: The member-authored PR is exempt from the external-contributor proof gate; its shell-boundary tests cover both rejection outputs, but no after-fix live ClawHub execution was independently verified.
Evidence reviewed 6 items Introduced change preserves installer enforcement: The pinned merge-base-to-head diff adds an alternative rejection matcher. Both formats remain behind the empty requested-slug guard; each subsequent candidate still runs through the ordinary installer without a risk-acknowledgement flag.
Prior finding and regression coverage: The complete test exercises the shell entrypoint with a fake CLI, checks ordered fallback for both rejection formats, and retains explicit-request and unrelated-error failures. The supplied updated body describes skipping candidates and removes the unsupported acknowledgement claim. Direct comparison with the earlier reviewed SHA was unavailable; resolution was established from the retained finding and current source.
Current main still needs the alternate matcher: Fetched main recognizes only the audit-box heading plus blocked outcome, so the acknowledgement-style rejection still falls through to terminal failure.
Findings None None.
Security None None.

How this fits together

The release-validation harness searches ClawHub and invokes OpenClaw’s skill installer against selected candidates. It verifies successful installation and metadata while leaving security decisions to the installer.

flowchart TD
  A[Live ClawHub search] --> B[Bounded candidate list]
  B --> C[OpenClaw skill installer]
  C --> D{Install result}
  D -->|Success| E[Verify files and metadata]
  D -->|Recognized rejection and automatic selection| B
  D -->|Explicit request or other failure| F[Fail validation]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Tests +20, Other +2. Total +22 across 2 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 1 24 4 +20
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 1 5 3 +2
Total 2 29 7 +22

Review metrics

None.

Technical review

Best possible solution:

Keep the bounded fallback compatible with both installer outputs while preserving explicit selections, terminal unrelated failures, and installer-owned security checks.

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

Yes, at the source level: an automatic candidate returning the acknowledgement-style rejection makes current main exit before trying the next candidate. No live reproduction was executed in this read-only review.

Is this the best way to solve the issue?

Yes. Extending the existing matcher is a narrow repair, and retaining the audit-box alternative resolves the previous regression without weakening installation checks.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 069710f909f0.

Labels

Label changes:

  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: The member-authored PR is exempt from the external-contributor proof gate; its shell-boundary tests cover both rejection outputs, but no after-fix live ClawHub execution was independently verified.
  • remove rating: 🦐 gold shrimp: Current PR rating is rating: 🐚 platinum hermit, so this older rating label is no longer current.
  • remove merge-risk: 🚨 automation: Current PR review selected no merge-risk labels.
  • remove status: ⏳ waiting on author: Current PR status label is status: 👀 ready for maintainer look.

Label justifications:

  • P2: This repairs a bounded release-validation failure without changing user installation policy.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: The member-authored PR is exempt from the external-contributor proof gate; its shell-boundary tests cover both rejection outputs, but no after-fix live ClawHub execution was independently verified.

Evidence

What I checked:

  • Introduced change preserves installer enforcement: The pinned merge-base-to-head diff adds an alternative rejection matcher. Both formats remain behind the empty requested-slug guard; each subsequent candidate still runs through the ordinary installer without a risk-acknowledgement flag. (scripts/e2e/lib/skills/clawhub-install-proof.sh:122, 75ac5eb6ed57)
  • Prior finding and regression coverage: The complete test exercises the shell entrypoint with a fake CLI, checks ordered fallback for both rejection formats, and retains explicit-request and unrelated-error failures. The supplied updated body describes skipping candidates and removes the unsupported acknowledgement claim. Direct comparison with the earlier reviewed SHA was unavailable; resolution was established from the retained finding and current source. (test/scripts/e2e-shell-tempfiles.test.ts:451, 75ac5eb6ed57)
  • Current main still needs the alternate matcher: Fetched main recognizes only the audit-box heading plus blocked outcome, so the acknowledgement-style rejection still falls through to terminal failure. (scripts/e2e/lib/skills/clawhub-install-proof.sh:122, 069710f909f0)
  • Latest release does not contain this harness fix: The v2026.9.4 harness selects one candidate and exits on installation failure; it does not contain the subsequent bounded fallback or this extension. (scripts/e2e/lib/skills/clawhub-install-proof.sh, 3a9d69db306c)
  • Merged fallback history: Feature history identifies the existing bounded fallback in fix(e2e): retry safe ClawHub search candidates #145489. GitHub commit metadata identifies RomneyDa, and the raw recorded parent plus its source distinguish that merged work from this branch’s additional matcher. (scripts/e2e/lib/skills/clawhub-install-proof.sh:128, 49286e654780)
  • Validation scope: The author reports direct shell verification and type checks. Inspected regression coverage uses a fake CLI and is supplemental, not live ClawHub proof. This review ran no tests or target scripts; the read-only diff check passed. (75ac5eb6ed57)

Likely related people:

  • unknown: The claimed source-line change could not be verified from bounded local history. (role: source history unknown; confidence: low)

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.

History

Review history (1 earlier review cycle)
  • reviewed 2026-09-14T07:28:29.561Z sha 7ad6c0f :: blocked before merge. :: [P2] Preserve matching for the current CLI's blocked audit output

@RomneyDa

Copy link
Copy Markdown
Member Author

Addressed the exact-head matcher regression on 75ac5eb6ed5: automatic candidate fallback now recognizes both the current ClawHub audit-box rejection and the frozen acknowledgement wording, while unrelated errors and explicit requests still fail closed. Direct shell proof and full test types pass after rebasing to current main.

@clawsweeper re-review

@RomneyDa
RomneyDa force-pushed the fix/release-skill-risk-fallback branch from 7ad6c0f to 75ac5eb Compare September 14, 2026 07:48
@clawsweeper

clawsweeper Bot commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Sep 14, 2026
@RomneyDa
RomneyDa merged commit b598fae into main Sep 14, 2026
90 of 92 checks passed
@RomneyDa
RomneyDa deleted the fix/release-skill-risk-fallback branch September 14, 2026 08:25
vincentkoc added a commit that referenced this pull request Sep 14, 2026
* commit 'a08cdc50bc049074ed7ad2db9e18e0ed3f5415ec': (81 commits)
  perf: reuse stateless plugin scope defaults (#148080)
  fix(gateway): flush slow-consumer 1008 close frame before terminating socket (#147707)
  fix: keep model catalogs loading during other session updates (#147878)
  fix: show queued external chat messages and their source (#147848)
  refactor(chat): share math label configuration (#148073)
  perf(ui): trim eager debug overlay icon payload (#147954)
  improve(logbook): sample batch frame metadata in SQLite (#147999)
  fix(ui): dismiss suggested task cards without waiting (#148021)
  fix(maturity): cover governance, interoperability, fleet, and state (#143528)
  chore(ui): restore core lint and startup budget checks (#148010)
  fix: chat startup loads unnecessary session setup text (#147973)
  perf: speed up fresh cloud worker activation (#147945)
  fix: recover PR preparation after committed merge conflicts (#148063)
  test(plugins): isolate ClawHub Docker fixture identity (#148074)
  fix(release): acknowledge ClawHub risk on moving installs (#148041)
  fix: restore context reads for installed official Discord and Slack plugins (#143341)
  fix: identify source capsule filesystem failures (#147778)
  fix(linux): keep Quick Chat widgets bound to their Gateway (#146049)
  refactor(infra): consolidate update campaign reset ownership (#146555)
  refactor: simplify Gateway health response parsing (#147834)
  ...
vincentkoc added a commit to nvtoroy/openclaw that referenced this pull request Sep 15, 2026
* commit '7d485aa2e89af7fdbd09e8ed0489b06d250b07e3':
  test(scripts): check the configurable ClawHub sweep spec
  fix: show queued external chat messages and their source (openclaw#147848)
  refactor(chat): share math label configuration (openclaw#148073)
  perf(ui): trim eager debug overlay icon payload (openclaw#147954)
  improve(logbook): sample batch frame metadata in SQLite (openclaw#147999)
  fix(ui): dismiss suggested task cards without waiting (openclaw#148021)
  fix(maturity): cover governance, interoperability, fleet, and state (openclaw#143528)
  chore(ui): restore core lint and startup budget checks (openclaw#148010)
  fix: chat startup loads unnecessary session setup text (openclaw#147973)
  perf: speed up fresh cloud worker activation (openclaw#147945)
  fix: recover PR preparation after committed merge conflicts (openclaw#148063)
  test(plugins): isolate ClawHub Docker fixture identity (openclaw#148074)
  fix(release): acknowledge ClawHub risk on moving installs (openclaw#148041)
  fix: restore context reads for installed official Discord and Slack plugins (openclaw#143341)
  fix: identify source capsule filesystem failures (openclaw#147778)
  fix(linux): keep Quick Chat widgets bound to their Gateway (openclaw#146049)
  refactor(infra): consolidate update campaign reset ownership (openclaw#146555)
  refactor: simplify Gateway health response parsing (openclaw#147834)
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer Maintainer-authored PR P2 Normal backlog priority with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. scripts Repository scripts size: XS status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant