Skip to content

fix(changelog): retain explicitly marked breaking changes in release notes - #133104

Merged
steipete merged 1 commit into
mainfrom
codex/changelog-breaking-notes
Aug 30, 2026
Merged

steipete merged 1 commit into
mainfrom
codex/changelog-breaking-notes

Conversation

@steipete

@steipete steipete commented Aug 30, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Resolves a problem where release-note validation rejects a user-facing migration note when its source PR uses an internal conventional type with an explicit breaking-change marker. The 2026.8.1 audit found refactor(plugins)!: remove OpenProse (#128494): the plugin and /prose command exist in v2026.7.1-2, and their removal has a documented upstream-skill migration, but the verifier classified the PR as non-editorial.

Why This Change Was Made

Preserve the original conventional type and recognize the explicit ! marker before applying ordinary internal-work filters. Conventional Commits allows a breaking API change with any type. Ordinary refactors, tests, and other internal work remain excluded; PR provenance, contributor credit, and complete-record validation are unchanged. The skill text now describes the same rule.

The canonical collector also invokes standard gh directly instead of requiring the unavailable private ghx command. Its existing exact-query snapshot and response handling remain unchanged.

User Impact

Operators can see genuine breaking changes and migration instructions in release notes without relabeling merged history or removing source references to satisfy the validator.

Evidence

  • Four breaking-change fixtures fail against the original classifier; three ordinary positive/negative cases already pass.
  • All 61 release-note verification and ledger tests pass after the repair. The table exercises the real ledger producer and validation, preserves the original type and human credit, and covers scoped/unscoped/case-insensitive markers and a non-marker exclamation mark.
  • Targeted type-aware lint, formatting, diff checks, and independent structured review passed.
  • Current source and shipped-tag comparison confirm the OpenProse migration example. A real gh api graphql request successfully returned the unchanged merged PR title.
  • No product runtime or release identity changes. The production classifier/API adapter changes by +2 net lines; tests add 41 lines. Exact-head CI passed, and native OPENCLAW_TESTBOX=1 scripts/pr prepare-run 133104 completed against the unchanged head.

The latest ClawSweeper review found no actionable source issue; its requested exact-head CI is now green. No SQLite or persisted manifest/snapshot schema changed: existing records retain their shape, and only the derived editorial eligibility of an explicitly marked breaking change differs.

@clawsweeper

clawsweeper Bot commented Aug 30, 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: S maintainer Maintainer-authored PR labels Aug 30, 2026
@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. 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. labels Aug 30, 2026
@clawsweeper

clawsweeper Bot commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

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

ClawSweeper review

What this changes

The branch makes explicit Conventional Commit breaking markers eligible for release-note prose, updates the release-note skill guidance, and replaces the unavailable private GitHub CLI wrapper with standard gh.

Regression provenance

Possible regression — probable (reviewed change; known regression link). No predecessor PR is attributed.

Merge readiness

⚠️ Ready for maintainer review - 2 items remain

No blocking correctness or security finding was identified. The PR remains necessary because fetched main still rejects explicitly marked breaking changes from internal Conventional Commit types; keep it open for normal maintainer handling and exact-head CI.

Priority: P3
Reviewed head: 72f68564b6011dc4a24f1c152101a85b9e4ec253

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused owner-boundary repair with behavior-level regression coverage and no identified introduced defect.
Proof confidence 🌊 off-meta tidepool Not applicable: This is maintainer-authored release tooling rather than an external contributor PR; the body supplies terminal validation claims, while the review independently verified the source-to-ledger path.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This is maintainer-authored release tooling rather than an external contributor PR; the body supplies terminal validation claims, while the review independently verified the source-to-ledger path.
Evidence reviewed 5 items Current-main defect remains: Fetched main still parses the Conventional Commit type but rejects refactor and other internal types, so an explicit breaking marker has no effect.
Canonical repair location: The introduced classifier captures the marker before applying ordinary internal-work filters; the same helper feeds ledger records, direct-commit credit, and manifests.
Behavior-level regression coverage: The new table exercises scoped, unscoped, and case-insensitive breaking markers plus ordinary internal and trailing-exclamation negatives through ledger construction and validation.
Findings None None.
Security None None.

How this fits together

The release-note verifier gathers merged pull-request metadata, classifies which records may appear in editorial prose, and validates the contribution ledger before a release is published. This change affects that classifier and its GitHub metadata client, not product runtime behavior.

flowchart LR
A[Merged pull request metadata] --> B[Release-note collector]
B --> C[Editorial classifier]
C --> D[Contribution ledger]
D --> E[Release-note verifier]
E --> F[Published release notes]
Loading

Before merge

  • Resolve merge risk (P1) - Exact-head hosted checks are still in progress, so merge validation is not yet complete.
  • Complete next step (P2) - No discrete repair is needed; await exact-head CI and normal maintainer merge handling.
Agent review details

Security

None.

PR surface

Tests +41, Docs +2, Other +2. Total +45 across 3 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 1 41 0 +41
Docs 1 6 4 +2
Config 0 0 0 0
Generated 0 0 0 0
Other 1 9 7 +2
Total 3 56 11 +45

Review metrics

Metric Value Why it matters
Production versus test delta release tooling +2 net; skill guidance +2 net; tests +41 The only production growth is the two-line invariant explanation accompanying the parser rewrite; regression coverage is isolated to the ledger boundary.

Stored data model

Persistent data-model change detected: serialized state: .agents/skills/openclaw-changelog-update/scripts/verify-release-notes.mjs. Confirm migration or upgrade compatibility proof before merge.

Merge-risk options

Maintainer options:

  1. Decide the mitigation before merge
    Keep the marker-first classifier and its focused ledger test, then merge once exact-head CI confirms the release-note tooling path.
  2. Pause or close
    Do not merge this PR until maintainers decide whether the risk is worth taking.

Technical review

Best possible solution:

Keep the marker-first classifier and its focused ledger test, then merge once exact-head CI confirms the release-note tooling path.

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

Yes, from source: fetched main classifies refactor(plugins)!: as non-editorial, while the changed table drives that title through the actual ledger and validator. This read-only review did not execute the test suite.

Is this the best way to solve the issue?

Yes. Capturing the explicit marker in the shared classifier fixes pull-request records, direct commits, and manifest output without weakening the ordinary internal-work filters.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

  • add P3: This is a small release-tooling correctness repair with no demonstrated runtime, security, or delivery impact.
  • 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 is maintainer-authored release tooling rather than an external contributor PR; the body supplies terminal validation claims, while the review independently verified the source-to-ledger path.

Label justifications:

  • P3: This is a small release-tooling correctness repair with no demonstrated runtime, security, or delivery impact.
  • 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 is maintainer-authored release tooling rather than an external contributor PR; the body supplies terminal validation claims, while the review independently verified the source-to-ledger path.

Evidence

What I checked:

Likely related people:

  • mikasa: 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.

@steipete
steipete merged commit 5a5be16 into main Aug 30, 2026
221 checks passed
@steipete
steipete deleted the codex/changelog-breaking-notes branch August 30, 2026 05:51
@steipete

Copy link
Copy Markdown
Contributor 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 P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. 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