Skip to content

fix(release): show readable SDK acknowledgement diff - #178158

Merged
RomneyDa merged 1 commit into
mainfrom
fix/rri-10-readable-sdk-ack
Oct 20, 2026
Merged

RomneyDa merged 1 commit into
mainfrom
fix/rri-10-readable-sdk-ack

Conversation

@RomneyDa

Copy link
Copy Markdown
Member

Summary

  • Related: RRI-10
  • Persist the existing human-readable Plugin SDK API diff beside its authoritative JSON/evidence artifacts.
  • Show that bounded Markdown report when candidate validation needs an acknowledgement, after verifying it names the exact selected acknowledgement digest.
  • Preserve a concise fallback for historical artifacts that predate the Markdown report.

User impact

Release operators now see the exact changed Plugin SDK entrypoints, exports, signatures, and declarations directly in the candidate-check failure instead of manually decoding a gzip-compressed JSON artifact before they can acknowledge it.

The authoritative JSON/evidence validation remains unchanged. The readable report is size-bounded, strict UTF-8, format-checked, and digest-bound before display. Binding acknowledgement to release-note removal is tracked separately by RRI-11 and is intentionally not claimed here.

Validation

  • pnpm exec vitest run test/scripts/release-candidate-checklist.test.ts -t 'qualifies candidate.*sdkAcknowledgement' — 3 passed
  • pnpm exec vitest run test/scripts/package-acceptance-workflow.test.ts -t 'publishes the canonical npm sdk diff report to the workflow summary' — 1 passed
  • pnpm exec oxlint scripts/release-candidate-checklist.mts test/scripts/release-candidate-checklist.test.ts test/scripts/package-acceptance-workflow.test.ts — clean
  • pnpm exec oxfmt --check .github/workflows/openclaw-npm-preflight.yml scripts/release-candidate-checklist.mts test/scripts/release-candidate-checklist.test.ts test/scripts/package-acceptance-workflow.test.ts — clean

Review

Independent native semantic-diff review found no P0/P1 issues. The canonical Codex Auto Review command could not be run because this environment has no codex executable.

@RomneyDa

Copy link
Copy Markdown
Member Author

@clawsweeper review

@clawsweeper

clawsweeper Bot commented Oct 20, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

@clawsweeper

clawsweeper Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts size: S labels Oct 20, 2026
@clawsweeper clawsweeper Bot added clawsweeper:intake:feature Preliminary submission classification; full source review pending. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:feature Preliminary submission classification; full source review pending. labels Oct 20, 2026
@clawsweeper

clawsweeper Bot commented Oct 20, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR preserves the readable Plugin SDK diff as an artifact and displays it when candidate validation requires acknowledgement.

Example: Candidate validation requires SDK acknowledgement f4b495f3 after adding the send export.

  • Before: The failure prints the digest, a review reminder, and a rerun command.
  • After: The failure also displays the readable export changes when the matching Markdown artifact exists.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) A focused, source-correct diagnostic repair supported by coordinator fixtures and workflow contracts, with limited end-to-end evidence.
Proof confidence 🦐 gold shrimp (3/6) This maintainer-authored PR is outside the ordinary contributor proof gate; supplied tests exercise the candidate coordinator with fixture artifacts and workflow contracts, with no shipped-entry-point capture.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: Release operators must inspect a separate machine-readable artifact to understand the SDK changes they are being asked to acknowledge.
Reason: The maintainer-authored direction restores readable diagnostics at the existing failure point without changing acknowledgement policy.

Merge readiness

✅ Ready for maintainer review

Keep open: this maintainer-authored PR addresses a concrete release-operator diagnostic gap, and the introduced diff has no actionable correctness or security findings.

Priority: P3
Reviewed head: 31a1a715bd54703077f73171bfb9e65b74ed0be8

Before merge

None.

Findings

None.

Tests

  • Missing end-to-end proof: The supplied validation does not show a shipped release:candidate invocation displaying a produced report or a red-on-base run of the new display assertion.
Agent review details

How this fits together

The npm preflight produces SDK comparison evidence, qualification authenticates and packages it, and the candidate checklist validates acknowledgement before continuing release preparation.

flowchart LR
  A[SDK comparison] --> B[JSON evidence and Markdown report]
  B --> C[Npm qualification]
  C --> D[Immutable SDK artifact]
  D --> E[Candidate acknowledgement validator]
  E --> F[Readable failure and rerun command]
Loading

Technical review

Best possible solution:

Carry the existing bounded report through qualification and display it beside the existing acknowledgement command while preserving authoritative JSON validation and historical fallback.

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

Current-main source shows that missing or incorrect acknowledgement prints only a reminder and rerun command, omitting the already-generated readable diff; no target code was executed during this review.

Is this the best way to solve the issue?

The patch is a small complete repair using the existing renderer, artifact inventory, qualification copier, and acknowledgement validator, with no competing owner or unnecessary production machinery.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 37b1bc4a9992.

Provenance checked

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit 9dc08b1 adds scripts/release-candidate-checklist.mts:2327 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 9dc08b1fac6b; files: scripts/release-candidate-checklist.mts)
  • Dallin Romney: Raw commit f144d5d adds .github/workflows/openclaw-npm-preflight.yml:463 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: f144d5d014c6; files: .github/workflows/openclaw-npm-preflight.yml)

PR surface

Tests +45, Config +2, Other +21. Total +68 across 4 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 2 48 3 +45
Docs 0 0 0 0
Config 1 3 1 +2
Generated 0 0 0 0
Other 1 22 1 +21
Total 4 73 5 +68

Labels

Label changes:

  • add P3: This improves diagnostics for an advanced release-operator workflow without changing publication authorization or end-user runtime behavior.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P3: This improves diagnostics for an advanced release-operator workflow without changing publication authorization or end-user runtime behavior.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Rank-up moves

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

  • Capture redacted terminal output from release:candidate showing a produced SDK report and the matching acknowledgement rerun command.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed October 20, 2026, 2:35 AM ET / 06:35 UTC.

@RomneyDa
RomneyDa merged commit f6c0066 into main Oct 20, 2026
113 checks passed
@RomneyDa
RomneyDa deleted the fix/rri-10-readable-sdk-ack branch October 20, 2026 21:20
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 21, 2026
RomneyDa added a commit that referenced this pull request Oct 23, 2026
* fix(release): retain postpublish failure causes (#178147)

Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit f47d5d7)

* fix(release): make FRV no-op commands succeed (#178149)

Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 29587f5)

* fix(release): retry unstarted FRV reruns after 5xx (#178160)

Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit fadee60)

* fix(release): show readable SDK acknowledgement diff (#178158)

Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit f6c0066)

* fix(release): report FRV plan sealing state (#178172)

* fix(release): report FRV plan sealing state

Co-authored-by: RomneyDa <[email protected]>

* fix(release): declare FRV plan lifecycle APIs

Declare the plan lifecycle helpers consumed by the TypeScript tests so NodeNext resolution checks the new exports.

Co-authored-by: RomneyDa <[email protected]>

---------

Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 4b065f5)

* fix(release): gate integrated branch pushes (#178202)

* fix(release): gate integrated branch pushes

Validate a captured release SHA from an immutable detached checkout, then push that exact SHA only after static, type, dead-code, and changed-test gates pass.

Co-authored-by: RomneyDa <[email protected]>

* fix(release): gate stable branch pushes

Co-authored-by: RomneyDa <[email protected]>

* fix(release): accept orchestrated stable push shape

Co-authored-by: RomneyDa <[email protected]>

---------

Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 2afc8db)

* fix(release): audit backport companion closure (#178188)

* fix(release): audit backport companion closure

Add a bounded, evidence-only audit for later same-path commits, PR companions, neighbor tests, reference candidates, and candidate file/content differences.

Co-authored-by: RomneyDa <[email protected]>

* fix(release): satisfy companion scanner lint

Co-authored-by: RomneyDa <[email protected]>

* fix(release): accept backport companion separator

Co-authored-by: RomneyDa <[email protected]>

---------

Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 0f2b5e9)

* ci(release): retain live failure diagnostics (#179097)

* ci(release): retain live failure diagnostics

Co-authored-by: RomneyDa <[email protected]>

* test(release): isolate live cache shell replay

Co-authored-by: RomneyDa <[email protected]>

---------

Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 89ee777)

* feat(release): add fast backport conflict probe (#179104)

* feat(release): add fast backport conflict probe

Co-authored-by: RomneyDa <[email protected]>

* fix(release): parse backport probe separator

Co-authored-by: RomneyDa <[email protected]>

---------

Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 3c1d486)

* fix(release): print release note verifier errors (#179077)

Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 2219999)

* fix(release): verify extended stable notes context (#179083)

Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 7de3a4b)

* feat(release): fetch compatibility inputs from registry (#179093)

* feat(release): fetch compatibility inputs from registry

Co-authored-by: RomneyDa <[email protected]>

* docs(release): clarify offline inventory checks

Co-authored-by: RomneyDa <[email protected]>

---------

Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit a819d2b)

* fix(release): close extended-stable FRV retry helper

Co-authored-by: RomneyDa <[email protected]>

---------

Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. 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.

2 participants