Skip to content

chore(plugin-sdk): refresh QA polling API baseline - #121640

Merged
steipete merged 1 commit into
mainfrom
codex/repair-main-sdk-baseline
Aug 10, 2026
Merged

steipete merged 1 commit into
mainfrom
codex/repair-main-sdk-baseline

Conversation

@steipete

Copy link
Copy Markdown
Contributor

What Problem This Solves

Resolves a problem where current main fails the Plugin SDK API baseline gate after the QA bus polling contract gained an acknowledged cursor. The contract generator correctly detects the transitive public-surface change, but the committed JSONL closure hashes were not regenerated with the source change.

Failing proof: main CI run 31400441722, job check-plugin-sdk-api-baseline.

Why This Change Was Made

Regenerate the canonical Plugin SDK JSONL contract from exact current main (c12d3d7a0503381cb010c181a0104b496644a1c0). This records the intended declaration closures without changing runtime code, declarations, metadata, exported names, or entrypoint inventory.

Root cause: #113899 added acknowledgedCursor to the QA polling SDK contract immediately after #121514 made the baseline closure path-free and surface-reachable. The source change intentionally alters reachable type closure, but its generated contract did not follow it.

This does not duplicate #121588: that PR targets an older, pre-#121514 agent-harness-only drift and is currently conflicting with main.

User Impact

No user-visible runtime change. Maintainers regain a green Plugin SDK contract gate, while the baseline continues to protect the intended QA polling API change.

Evidence

  • Before regeneration: pnpm plugin-sdk:api:check failed with 34 changed JSONL lines.
  • After regeneration: pnpm plugin-sdk:api:check passed.
  • pnpm plugin-sdk:surface:check passed: 151 public entrypoints, 4,847 public exports, and zero forbidden package subpaths.
  • Structural comparison: 4,998 records before and after; no records added or removed; all 17 modified records changed only closureHash.
  • git diff --check passed.
  • Autoreview: clean, with no accepted/actionable findings.

Production LOC: +0/-0. Tests: +0/-0. Generated contract: +17/-17.

No test was added because the failing and passing proof is the canonical generated-contract check itself; the generator and its focused closure tests are unchanged.

@clawsweeper

clawsweeper Bot commented Aug 10, 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 docs Improvements or additions to documentation size: XS maintainer Maintainer-authored PR labels Aug 10, 2026
@steipete
steipete merged commit 5e5cf67 into main Aug 10, 2026
54 checks passed
@steipete
steipete deleted the codex/repair-main-sdk-baseline branch August 10, 2026 15:45
@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

docs Improvements or additions to documentation maintainer Maintainer-authored PR size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant