Skip to content

fix(release): unblock skill and Telegram package validation - #148729

Merged
vincentkoc merged 1 commit into
mainfrom
fix/frv-tooling-hardening
Sep 15, 2026
Merged

vincentkoc merged 1 commit into
mainfrom
fix/frv-tooling-hardening

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Sep 15, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Fixes: full release package validation can stop before trying an available safe ClawHub result, and the npm Telegram lane cannot load the private QA protocol from its trusted harness.

User Impact

User impact: no product behavior changes; release validation can complete without weakening ClawHub security checks or widening public package exports.

Why This Change Was Made

The skill-install proof searched eight results but retained only three, so three install-time security rejections hid a later usable result. The Telegram harness added its private QA facades but omitted the private protocol imported by qa-lab.

The release tooling owns both failures. This removes the redundant three-result slice while keeping the existing eight-result search bound, preserves explicit risk rejection, and emits plus exports qa-channel-protocol only for the trusted private QA harness. Public package exports remain unchanged.

Production runtime LOC: 0. Release tooling/config: +10/-4 (+6 net). Tests: +47.

Evidence

The shared local dependency install lacks typescript-native, so the aggregate check:changed wrapper could not complete locally. Both clean remote proofs used a frozen dependency install.

Maintained live-fixture qualification remains separate in #148727; this repair does not claim to replace it.

@clawsweeper

clawsweeper Bot commented Sep 15, 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.

@vincentkoc vincentkoc self-assigned this Sep 15, 2026
@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts size: XS maintainer Maintainer-authored PR labels Sep 15, 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 15, 2026
@clawsweeper

clawsweeper Bot commented Sep 15, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed September 15, 2026, 12:01 AM ET / 04:01 UTC (Revision 3).

ClawSweeper review

What this changes

The PR lets release validation try all eligible skill search results and supplies the private protocol module needed by the Telegram package test harness.

Merge readiness

⛔ Blocked before merge - 1 item remains

This remains a useful, bounded repair absent from the inspected main revision. The earlier missing-build finding is resolved, and the updated evidence addresses the previous proof request. No blocking patch defects were found.

Priority: P2
Reviewed head: e36c266081a9f191be29c22e624b0ee586e51117

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused repair with relevant regression coverage and reported real package proof; no actionable correctness defects remain.
Proof confidence 🐚 platinum hermit (4/6) Sufficient (terminal): The captured body reports clean private-harness build/import success and a real packaged Docker skill install reaching the helper's final assertions, addressing the previous proof request. These are reported terminal observations; linked raw logs were inaccessible to this reviewer.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (terminal): The captured body reports clean private-harness build/import success and a real packaged Docker skill install reaching the helper's final assertions, addressing the previous proof request. These are reported terminal observations; linked raw logs were inaccessible to this reviewer.
Evidence reviewed 7 items Introduced patch and current-main necessity: The pinned introduced patch changes only release tooling, build configuration, and associated tests. Comparing the three implementation owners with fetched main shows that main still retains the three-candidate slice and lacks the private protocol build/export additions.
Bounded fallback preserves installer decisions: The helper retains the search limit of eight, filters explicit suspicious results, and skips installation failures only for recognized security refusals. Removing the additional slice lets later eligible results reach the same installer and post-install assertions; it introduces no risk acknowledgement.
Private harness boundary: The workflow sets OPENCLAW_BUILD_PRIVATE_QA=1; the new build entry is conditional on that existing switch. The Docker caller copies the repository manifest into a temporary harness directory before preparing exports. Public package metadata and the public SDK inventory are unchanged. QA Lab imports the existing OpenClaw-owned protocol; the changed behavior does not depend on the Codex implementation.
Findings None None.
Security None None.

How this fits together

Release validation tests candidate OpenClaw packages using live skill installation and a separately prepared Telegram test harness. These changes affect candidate selection and harness preparation before validation can complete.

flowchart TD
  A[Release validation] --> B[Search up to eight skills]
  B --> C[Filter and enforce security checks]
  C --> D[Install and verify skill]
  A --> E[Build private test harness]
  E --> F[Prepare private protocol export]
  F --> G[Telegram package validation]
Loading

Before merge

  • Resolve merge risk (P1) - Raw Testbox logs could not be inspected through the allowed network path; remote workload results and exact-head execution are supported by the captured PR report rather than independently verified logs.
Agent review details

Security

None.

PR surface

Tests +47, Config +1, Other +5. Total +53 across 8 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 4 47 0 +47
Docs 0 0 0 0
Config 1 1 0 +1
Generated 0 0 0 0
Other 3 9 4 +5
Total 8 57 4 +53

Review metrics

Metric Value Why it matters
Package surface 1 private harness export added; 0 public exports changed The missing protocol becomes available to validation without expanding the published plugin API.

Merge-risk options

Maintainer options:

  1. Decide the mitigation before merge
    Keep release validation on its existing bounded selection and private harness paths, while qualifying a maintained live fixture separately.
  2. Pause or close
    Do not merge this PR until maintainers decide whether the risk is worth taking.

Technical review

Best possible solution:

Keep release validation on its existing bounded selection and private harness paths, while qualifying a maintained live fixture separately.

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

Yes, from source: main discards eligible results after the third candidate, and its private harness omits an imported protocol entry. No failing run was executed during this review.

Is this the best way to solve the issue?

Yes. The patch repairs the existing selection and build owners, preserves installer security decisions, and keeps private harness exports separate from the candidate package.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 238c33347fe0.

Labels

Label justifications:

  • P2: This repairs bounded release-validation failures without changing user-facing runtime behavior.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (terminal): The captured body reports clean private-harness build/import success and a real packaged Docker skill install reaching the helper's final assertions, addressing the previous proof request. These are reported terminal observations; linked raw logs were inaccessible to this reviewer.
  • proof: sufficient: Contributor real behavior proof is sufficient. The captured body reports clean private-harness build/import success and a real packaged Docker skill install reaching the helper's final assertions, addressing the previous proof request. These are reported terminal observations; linked raw logs were inaccessible to this reviewer.

Evidence

What I checked:

  • Introduced patch and current-main necessity: The pinned introduced patch changes only release tooling, build configuration, and associated tests. Comparing the three implementation owners with fetched main shows that main still retains the three-candidate slice and lacks the private protocol build/export additions. (tsdown.config.ts:681, 238c33347fe0)
  • Bounded fallback preserves installer decisions: The helper retains the search limit of eight, filters explicit suspicious results, and skips installation failures only for recognized security refusals. Removing the additional slice lets later eligible results reach the same installer and post-install assertions; it introduces no risk acknowledgement. (scripts/e2e/lib/skills/clawhub-install-proof.sh:97, e36c266081a9)
  • Private harness boundary: The workflow sets OPENCLAW_BUILD_PRIVATE_QA=1; the new build entry is conditional on that existing switch. The Docker caller copies the repository manifest into a temporary harness directory before preparing exports. Public package metadata and the public SDK inventory are unchanged. QA Lab imports the existing OpenClaw-owned protocol; the changed behavior does not depend on the Codex implementation. (scripts/e2e/lib/npm-telegram-live/prepare-package.mts:27, e36c266081a9)
  • Re-review and supplied behavior proof: The captured body, sourceRevision b7757871b5bb83152df144c0ba92bb99e99475ed0baa665a87a80d44277b6cd1, reports exact-head clean private builds and HARNESS_IMPORT_OK at https://github.com/openclaw/openclaw/actions/runs/34926185174, plus packaged live Docker installation with E2E_OK installed=homeassistant-skill version=2.1.0 uploadArchives=false at https://github.com/openclaw/openclaw/actions/runs/34926354038. These directly address the previous request for harness resolution and skill-install evidence. GitHub metadata identifies workflow-dispatch Testbox runs; their check wrappers ultimately report cancellation, which does not independently establish the remote workload outcome. Raw log inspection was blocked by the network allowlist. (e36c266081a9)
  • Distinct fixture follow-up: The supplied discussion for Qualify a maintained live fixture for ClawHub skill-install E2E #148727 seeks a maintained fixture with an evidenced version and clean scanner verdict. This PR explicitly leaves that qualification open; removing an artificial candidate limit does not establish a maintained fixture.
  • Area history and routing: Main history shows Dallin Romney's recent security-refusal and fallback work, including b598fae and 49286e6. GitHub commit metadata verifies the former author as RomneyDa. Earlier merged history also includes Vincent Koc's escaped-path and temporary-home repairs. These are routing signals, not introduction attribution. (scripts/e2e/lib/skills/clawhub-install-proof.sh, b598faef1ee7)

Likely related people:

  • RomneyDa: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • vincentkoc: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; 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 (2 earlier review cycles)
  • reviewed 2026-09-15T03:31:17.737Z sha 4687006c6877ed5a4475c9222fee3fc130002a48 :: blocked before merge. :: [P2] Emit the protocol module before exporting it from the harness
  • reviewed 2026-09-15T03:42:59.472Z sha e36c266 :: blocked before merge. :: none

@vincentkoc
vincentkoc force-pushed the fix/frv-tooling-hardening branch from 4687006 to e36c266 Compare September 15, 2026 03:36
@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 15, 2026
@vincentkoc
vincentkoc marked this pull request as ready for review September 15, 2026 03:55
@clawsweeper clawsweeper Bot added the proof: sufficient ClawSweeper judged the real behavior proof convincing. label Sep 15, 2026
@vincentkoc

Copy link
Copy Markdown
Member Author

Maintainer merge decision: proceeding past the remaining ClawSweeper transport-risk note.

The reviewed exact head has no actionable patch findings and carries proof: sufficient. I directly verified both exact-head Testbox runs and their terminal assertions:

Required exact-head PR CI also passed on attempt 2: https://github.com/openclaw/openclaw/actions/runs/34926808641. The first attempt's sole failure was an unrelated memory-wiki state-admission race; the unchanged failed shard passed on retry.

The review worker's inability to fetch raw Testbox logs is not a patch defect or missing operator proof, so no code change is warranted.

@vincentkoc
vincentkoc merged commit c20eea0 into main Sep 15, 2026
377 of 382 checks passed
@vincentkoc
vincentkoc deleted the fix/frv-tooling-hardening branch September 15, 2026 07:20
vincentkoc added a commit that referenced this pull request Sep 15, 2026
* commit '0945dabbe487213e95e84a72ad1aae3659e0e000': (115 commits)
  fix: omit automation service aliases from squash coauthors (#148883)
  test: restore services typecheck shard headroom (#148885)
  perf(trajectory): avoid native probes for truncation records (#148870)
  improve(gateway): load cron only when reload requests it (#143500)
  fix: resolve issue #146088 — [Bug]: The most recent Linux AppImage does not ship with the correct versions of libs needed to run (#148174)
  refactor(theme): share nonvirtual ANSI color lookup (#148717)
  perf(gateway): scope exact session row topology reads (#148836)
  improve(memory): reduce vector replacement overhead (#148201)
  fix(i18n): keep HTTP headers out of native translations (#147119)
  refactor(plugins): share source-root display formatting (#148646)
  fix(cron): reject blank script paths before mutations (#148787)
  refactor(config): share audit positional scanning (#148643)
  fix(test): restore infrastructure typecheck shard headroom (#148861)
  fix(release): harden package validation fallbacks (#148729)
  refactor(config): share leaf and descendant unset pruning (#148216)
  test: reuse prepared runtime for pristine preflight (#148858)
  fix(ui): settle global model drafts across agent switches (#148843)
  fix(queue): avoid repeated scans when cancelling backlogs (#148754)
  fix(logging): orphaned \\\\?\\ path markers corrupt redacted Windows diagnostics (#147542)
  refactor(hooks): share optional reply metadata projection (#148641)
  ...
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via squash.

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. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. scripts Repository scripts size: S 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