Skip to content

fix(release): repair beta.2 plugin and package validation - #121867

Merged
steipete merged 5 commits into
release-integration/2026.8.1-beta.2-repair-2from
release/2026.8.1
Aug 11, 2026
Merged

steipete merged 5 commits into
release-integration/2026.8.1-beta.2-repair-2from
release/2026.8.1

Conversation

@steipete

@steipete steipete commented Aug 11, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

The first beta.2 validation (31448848102) had green normal CI and performance checks, but failed plugin prerelease, QA parity/runtime-pair, and package/Docker lanes.

Why This Change Was Made

This applies owner-level repairs for Slack approval custody and durable member-event ingress, sparse compaction history, QA logical-versus-wire tool evidence and stale release-only fixtures, and dependency-free package/Docker harness execution. The upgrade-survivor assertion remains trusted tooling in abb856ece479; the generic iOS scope is fixed on trusted main by #121863 / e4a6ded2d3f5fd9a7db89c23307904f726651d08.

User Impact

Prevents cross-channel approval account selection, silent loss of transient Slack member events, and sparse assistant-history compaction crashes. It also removes false release failures from stale QA and package harness assumptions. There is no version or changelog change.

Evidence

  • Blacksmith Testbox 31457276239: candidate, baseline, and runtime-pair QA passed for compaction-retry-mutating-tool and model-switch-tool-continuity; focused Slack, compaction, QA catalog, browser, iMessage, policy, plugin runtime, and release-only tests passed.
  • Blacksmith Testbox 31458074234: Node 22.23/24.15 native test-state proof, targeted package/Docker lanes, and root Dockerfile smoke passed.
  • CI follow-up after the first exact-head run: 31461085946 passed targeted lint, scripts/test typechecks, Docker-E2E boundaries, and package-plan checks. The follow-up narrows retry codes and denial messages to their supported primitive/string shapes and updates the prerelease assertion to the installed tsx executable.
  • Full release preflight and touched SDK/protocol/architecture/test-type/config/locale checks passed. Coordinator autoreview was clean in one pass.
  • Repair delta: 33 files, +263/-97. Production: +13/-3; the remaining lines are tests, QA scenarios, and release harness updates.

@clawsweeper

clawsweeper Bot commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

@steipete
steipete marked this pull request as ready for review August 11, 2026 05:03
@openclaw-barnacle openclaw-barnacle Bot added channel: imessage Channel integration: imessage channel: slack Channel integration: slack scripts Repository scripts docker Docker and sandbox tooling extensions: qa-lab plugin: zoom Zoom plugin extensions: policy plugin: teams-meetings Teams Meetings plugin extensions: browser size: M maintainer Maintainer-authored PR labels Aug 11, 2026
@clawsweeper clawsweeper Bot added merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. P1 High-priority user-facing bug, regression, or broken workflow. 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 11, 2026
@clawsweeper

clawsweeper Bot commented Aug 11, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 11, 2026, 1:54 AM ET / 05:54 UTC.

ClawSweeper review

What this changes

This branch repairs beta release validation and several related runtime defects in Slack event handling, approval account selection, compaction, QA evidence, and Docker/package harnesses.

Regression provenance

Possible regression — suspected (reviewed change). No predecessor PR is attributed.

Merge readiness

⚠️ Ready for maintainer review - 3 items remain

Keep open. The prior P1 launcher-plan finding is fixed, and source review found no new blocking defect; this maintainer-labelled release repair now needs exact-head validation completion and explicit maintainer handling.

Priority: P1
Reviewed head: ad0530ae4a7da185e6c47f9549425350535b3bcf

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) The patch is focused, resolves the previous review blocker, and has linked targeted validation evidence; exact-head completion remains the merge gate.
Proof confidence 🌊 off-meta tidepool Not applicable: This maintainer-labelled release repair is supported by linked Testbox/package validation evidence; the external-contributor proof gate does not apply.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This maintainer-labelled release repair is supported by linked Testbox/package validation evidence; the external-contributor proof gate does not apply.
Evidence reviewed 6 items Previous blocker resolved: The Docker RPC runner now invokes the installed tsx launcher, and the prerelease-plan test asserts that exact command; this addresses the previous ClawSweeper finding.
Launcher contract: The shared E2E image installs tsx globally, so the revised commands do not depend on a pruned package-local development dependency.
Approval owner repair: A conflicting turn source channel is rejected before sole-account fallback; the new regression test would select the Slack default account on the base revision.
Findings None None.
Security None None.

How this fits together

Release validation runs plugin, runtime, QA, and package/Docker checks against a beta candidate before promotion. These checks consume the built package and runtime behavior and produce the evidence used for the release decision.

flowchart LR
A[Beta candidate] --> B[Runtime and plugin checks]
A --> C[QA scenarios]
A --> D[Package and Docker harnesses]
B --> E[Validation evidence]
C --> E
D --> E
E --> F[Release decision]
Loading

Before merge

  • Resolve merge risk (P1) - The exact-head check set is not yet complete, so the package/Docker release lanes still need their final merge-gate result.
  • Resolve merge risk (P1) - This bug-fix PR is net +8 production lines (+25/-17, including release tooling); the distinct source-channel, sparse-usage, and durable-ingress repairs are owner-boundary changes rather than absorbable duplicate branches.
  • Complete next step (P2) - The maintainer-labelled release PR requires explicit maintainer handling and completion of exact-head release validation, not an automated repair job.
Agent review details

Security

None.

PR surface

Source +8, Tests +133, Other +25. Total +166 across 33 files.

View PR surface stats
Area Files Added Removed Net
Source 4 19 11 +8
Tests 15 195 62 +133
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 14 49 24 +25
Total 33 263 97 +166

Review metrics

Metric Value Why it matters
Production versus test delta production +25/-17; tests and QA/support +238/-80 The production delta is small but spans runtime ownership and release harnesses, while most added coverage validates those contracts.

Stored data model

Persistent data-model change detected: migration/backfill/repair: extensions/policy/src/doctor/register.gateway-data-and-approvals.test-utils.ts, serialized state: extensions/teams-meetings/src/node-host.test.ts, serialized state: src/meeting-bot/configured-node-host.test.ts. Confirm migration or upgrade compatibility proof before merge.

Merge-risk options

Maintainer options:

  1. Complete exact-head release validation (recommended)
    Run or confirm the package/Docker and prerelease lanes for the current head before merging the release repair.

Technical review

Best possible solution:

Retain the three small owner-boundary runtime repairs and the package-backed harness path, then merge only after the exact head demonstrates the targeted release lanes remain green.

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

Yes, by source: the base revision dereferences absent assistant usage during compaction and can select a sole Slack account despite a conflicting source channel. This read-only review did not execute the regression tests.

Is this the best way to solve the issue?

Yes: the branch repairs the compaction, approval-selection, and durable-ingress owners rather than adding downstream fallbacks; the package harness uses the existing global tsx launcher and a narrow read-only source mount.

AGENTS.md: found and applied where relevant.

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

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: This maintainer-labelled release repair is supported by linked Testbox/package validation evidence; the external-contributor proof gate does not apply.
  • remove rating: 🦐 gold shrimp: Current PR rating is rating: 🐚 platinum hermit, so this older rating label is no longer current.
  • remove status: ⏳ waiting on author: Current PR status label is status: 👀 ready for maintainer look.

Label justifications:

  • P1: The branch repairs beta validation and runtime paths for approval routing, durable Slack event ingress, and compaction.
  • merge-risk: 🚨 automation: The PR changes executable selection and mounted source inputs for package/Docker release-validation lanes.
  • 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: This maintainer-labelled release repair is supported by linked Testbox/package validation evidence; the external-contributor proof gate does not apply.

Evidence

What I checked:

Likely related people:

  • steipete: Current repair commits and the immediately preceding feature/refactor history for the runtime and release-harness paths are attributed to this contributor. (role: recent area contributor; confidence: high; commits: f5aba5443734, 19fbdf7f0b48, 4726adbc6339; files: extensions/slack/src/monitor/events/members.ts, src/infra/approval-request-account-binding.ts, packages/agent-core/src/harness/compaction/compaction.ts)

Rank-up moves

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

  • Confirm the incomplete exact-head release checks finish successfully.

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-08-11T05:11:38.468Z sha 1669bb5 :: needs changes before merge. :: [P1] Update the prerelease plan for the new tsx launcher

@steipete

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 11, 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 repository_dispatch).
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. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Aug 11, 2026
@steipete

Copy link
Copy Markdown
Contributor Author

Release-owner verification is complete for ad0530a.

Approved as the next 2026.8.1-beta.2 Code SHA candidate. Ready for signed squash transport and fresh Full Release Validation.

@steipete
steipete merged commit 0a84836 into release-integration/2026.8.1-beta.2-repair-2 Aug 11, 2026
133 checks passed
@steipete
steipete deleted the release/2026.8.1 branch August 11, 2026 05:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

channel: imessage Channel integration: imessage channel: slack Channel integration: slack docker Docker and sandbox tooling extensions: browser extensions: policy extensions: qa-lab maintainer Maintainer-authored PR merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. P1 High-priority user-facing bug, regression, or broken workflow. plugin: teams-meetings Teams Meetings plugin plugin: zoom Zoom plugin rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. scripts Repository scripts size: M 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