Skip to content

chore(sdk): prepare v0.0.1 GitHub Packages release (#1258) - #1259

Merged
samuv merged 1 commit into
mainfrom
sdk/52-publish-v0.0.1
Sep 9, 2026
Merged

samuv merged 1 commit into
mainfrom
sdk/52-publish-v0.0.1

Conversation

@samuv

@samuv samuv commented Sep 8, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Prepare the exact @stacklok/[email protected] artifact for the first GitHub Packages release without creating a tag.
  • Apply the authorized Apache-2.0 relicense to the three public SDK proto sources and regenerate their Go and TypeScript outputs.
  • Make the packed-license provenance guard require a clean result and align the local MCP host's reported version with the package.

Development stage

  • Plan / Interface — behavioral and exact-interface contract; no implementation
  • Implementation — based on an approved, merged Plan / Interface PR
  • Combined — compact one-task exception
  • Trivial / mechanical — acceptance-plan spine exempt

Contract linkage

Interface conformance

Matches the approved Scenario 12 and ADR 0313 contract. This PR changes no gRPC shape, SDK API surface, registry target, authentication mechanism, or release trigger.

Issue relationship

Closes #1258

Related: #821

Type of change

  • Behavioral/interface plan
  • Bug fix
  • New feature
  • Refactoring (no behavior change)
  • Dependency update
  • Documentation/process
  • Other: release preparation and authorized licence-metadata change

Test plan

Baseline checks

  • Acceptance-plan checker — no acceptance-plan Markdown changed; task docs reaches the existing macOS/BSD sed -i incompatibility in its checker fixture.
  • Linting (task lint)
  • Offline test suite (task test)
  • Offline demo — no daemon/runtime behavior changed
  • Markdown changed: docs generation/link checks (task docs) — no tracked Markdown changed
  • User docs/user-facing behavior changed: site build (task site:build) — not applicable
  • Guarded engine API affected: compatibility check (task api:check) — not affected
  • Intentional engine API change: task api:update + engine/CHANGELOG.md — not applicable
  • Landed plan: strict acceptance trace (task ac-trace-strict) — the plan exits after the verified tag run
  • Final implementation review: /panel-review

Additional completed release gates:

  • task generate
  • task sdk:lint
  • task sdk:typecheck
  • task sdk:test — 42 files / 210 tests
  • task sdk:declarations — TypeScript 5.7 and 6
  • task sdk:build
  • task sdk:examples:typecheck
  • task sdk:api:check
  • task sdk:audit — no known vulnerabilities
  • exact stacklok-mecatl-sdk-0.0.1.tgz pack/inventory/consumer check — 3 tests passed
  • workflow_dispatch dry run — full Node/Bun release suite, exact pack/inventory, manifest, licence provenance, and artifact upload passed; publish job skipped
  • Local task sdk:e2e requires Bun, which is not installed on this workstation; the successful pinned dry run covers that Node/Bun release path.

Changes

File / area Change
sdk/typescript/package.json and package tests Bump 0.0.0 to 0.0.1 while retaining the GitHub Packages registry and exact package oracle
contracts/proto/mecatl/v1/*.proto Apply the authorized Apache-2.0 SPDX identifier to the public SDK contract sources
Generated Go and TypeScript contracts Regenerate from the relicensed canonical protos
Scenario 11 provenance guard Require no non-Apache source in the packed artifact's provenance roots
Local MCP tool host Report the released SDK version 0.0.1

User-facing change

The reviewed commit will be ready for the human-gated sdk/typescript/v0.0.1 GitHub Packages tag after the operational prerequisites below are confirmed.

Human release checklist — do not execute in this PR

  • Name the maintainer responsible for creating and observing the tag.
  • Confirm no NPM_TOKEN-shaped secret exists at repository, github-packages-publish environment, or organization scope.
  • Record the authorized scoped Apache-2.0 relicense required by AC11.8.
  • Confirm organization/repository package settings permit this repository's ephemeral GITHUB_TOKEN to publish.
  • Confirm the github-packages-publish environment has the intended reviewers and tag policy.
  • Merge this PR and identify its exact commit on main before creating sdk/typescript/v0.0.1; never create root tag v0.0.1.
  • Watch the SDK release workflow verify, attest, and publish the exact tarball; confirm the root image release did not run.
  • Verify the downloaded artifact with gh attestation verify <tgz> --repo stacklok/mecatl.
  • Read registry integrity with npm view @stacklok/[email protected] --registry=https://npm.pkg.github.com --json dist.integrity and compare it with the workflow summary and exact inventory.
  • Close out ADR 0313 as Accepted, mark the acceptance plan landed, and update Prototype @stacklok/mecatl-sdk TypeScript SDK #821 without closing it; npmjs v0.1.0 remains a follow-up.

Special notes for reviewers

  • This PR deliberately creates no tag and performs no publication.
  • Brian is working on securing the @stacklok scope on npmjs for the later v0.1.0 cutover; it is not a blocker for this GitHub Packages release.
  • Prototype @stacklok/mecatl-sdk TypeScript SDK #821 remains open for the npmjs cutover checklist and must not be closed by this PR.

Apply the authorized Apache-2.0 relicense to the public SDK contract sources and regenerated outputs, bump the package version, and close the packed-license provenance gate.

Co-Authored-By: OpenAI Codex <[email protected]>

Signed-off-by: Samuele Verzi <[email protected]>
@samuv samuv changed the title chore(sdk): prepare v0.0.1 GitHub Packages release chore(sdk): prepare v0.0.1 GitHub Packages release (#1258) Sep 8, 2026
@samuv samuv self-assigned this Sep 8, 2026
@samuv
samuv merged commit 32f6449 into main Sep 9, 2026
58 of 59 checks passed
@samuv
samuv deleted the sdk/52-publish-v0.0.1 branch September 9, 2026 07:45
@samuv samuv mentioned this pull request Sep 9, 2026
6 of 13 tasks
JAORMX pushed a commit that referenced this pull request Sep 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

sdk/52: Human-gated v0.0.1 GitHub Packages publication

1 participant