Skip to content

docs: ADR 0313 — interim GitHub Packages distribution and 0.0.x versioning for the SDK (#821) - #1239

Merged
samuv merged 1 commit into
mainfrom
sdk/51-github-packages-adr
Sep 8, 2026
Merged

samuv merged 1 commit into
mainfrom
sdk/51-github-packages-adr

Conversation

@samuv

@samuv samuv commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Record GitHub Packages as the interim registry for @stacklok/mecatl-sdk, with GitHub artifact attestations and an ephemeral job token.
  • Reserve 0.0.x for GitHub Packages previews, beginning at 0.0.1, and reserve 0.1.0 for the later npmjs cutover.
  • Amend the M4 acceptance plan and add ADR 0304's reciprocal partial-supersession pointer.

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; no separate plan PR, and the in-PR plan
    declares **Expected tasks:** 1, a non-placeholder **Combined rationale:**, and no
    runtime/public/operator/persistence/trust-boundary interface change (None — rationale;
    workflow-only meta-changes may review process docs/skills here)
  • Trivial / mechanical — acceptance-plan spine exempt

Contract linkage

  • Acceptance plan: TypeScript SDK public surface and v0.0.1 GitHub Packages release
  • Human decisions resolved and recorded: Yes — registry, authority/provenance, version split, and one-registry cutover are explicit.
  • Plan / Interface PR: This PR.
  • Approved commit baseline: N/A — proposed contract under review.
  • Combined/exemption rationale: N/A — Split Plan / Interface PR.

Interface conformance

  • No gRPC, protobuf, exported Go API, tool-schema, event, or persistence changes.
  • The reviewed interface is the interim registry/authentication contract, the release-job authority split, the 0.0.x/0.1.0 migration boundary, and the authenticated consumer setup.

Issue relationship

Related: #821

Type of change

  • Behavioral/interface plan
  • Bug fix
  • New feature
  • Refactoring (no behavior change)
  • Dependency update
  • Documentation/process
  • Other (describe):

Test plan

Baseline checks

  • Acceptance-plan checker
  • Linting (task lint) — docs-only proposal; deferred to implementation PR
  • Offline test suite (task test) — docs-only proposal; deferred to implementation PR
  • Offline demo (go run ./cmd/mecademo) — no runtime change
  • Markdown changed: docs generation/link checks (task docs)
  • User docs/user-facing behavior changed: site build (task site:build) — implementation PR owns consumer docs
  • 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) — plan is proposed, not landed
  • Final implementation review: /panel-review

Additional check: task ac-trace passed in report-only mode, as required for a proposed plan.

Changes

File Change
docs/adr/0313-interim-github-packages-typescript-sdk.md Interim registry, authority, provenance, versions, cutover, and consumer contract
docs/adr/0304-typescript-sdk-public-surface-and-release.md Reciprocal partial-supersession pointer only
docs/acceptance/sdk-typescript-release.md Scenario 11/12 and npmjs cutover contract
docs/acceptance/README.md Updated plan index entry

User-facing change

The first SDK preview will be @stacklok/[email protected] on GitHub Packages and will require a read:packages PAT to install while the repository is internal.

Special notes for reviewers

…oning for the SDK (#821)

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

Signed-off-by: Samuele Verzi <[email protected]>
@samuv samuv self-assigned this Sep 8, 2026
@samuv
samuv merged commit d2e2b97 into main Sep 8, 2026
26 checks passed
@samuv
samuv deleted the sdk/51-github-packages-adr branch September 8, 2026 13:26
jhrozek added a commit that referenced this pull request Sep 8, 2026
origin/main's #1239 landed its own ADR 0313 (interim GitHub Packages
distribution for the TypeScript SDK) after this branch's ADR 0313
(Dynamic Client Registration for MCP broker upstreams) was drafted.
Renumber ours, never an already-landed main ADR, and fix every
cross-reference (docs/adr/README.md, IMPLEMENTATION-NOTES.md, the
acceptance plan, and the TestADR_0313_* -> TestADR_0314_* test names).

Co-Authored-By: Claude Sonnet 5 <[email protected]>
jhrozek added a commit that referenced this pull request Sep 8, 2026
origin/main's #1239 landed its own ADR 0313 (interim GitHub Packages
distribution for the TypeScript SDK) after this branch's ADR 0313
(Dynamic Client Registration for MCP broker upstreams) was drafted.
Renumber ours, never an already-landed main ADR, and fix every
cross-reference (docs/adr/README.md, IMPLEMENTATION-NOTES.md, the
acceptance plan, and the TestADR_0313_* -> TestADR_0314_* test names).

Co-Authored-By: Claude Sonnet 5 <[email protected]>
jhrozek added a commit that referenced this pull request Sep 8, 2026
origin/main's #1239 landed ADR 0313 (interim GitHub Packages
distribution), and this session's own #1244 landed ADR 0314, both after
this branch's ADR 0313 (server-owned discovered OIDC scopes) was
drafted. Renumber ours, never an already-landed main ADR, fix every
cross-reference, and record ADR 0305's now-partial supersession by the
renumbered ADR.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
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.

Prototype @stacklok/mecatl-sdk TypeScript SDK

2 participants