release: 0.1.0-alpha.2 - #45
Merged
Merged
Conversation
Bumps spec/VERSION, which is the single source both package versions derive from, so the wire spec_version and the golden digests move with it. The two goldens were regenerated from the code, not hand-edited. Contents of this release, all already merged to main: - #41 the wire spec_version now matches spec/VERSION - #42 the schema $id moved off agentrust.io, a domain we do not own - #43 the npm dist-tag is derived from spec/VERSION Why a new version rather than releasing v0.1.0-alpha.1: npm already holds 0.1.0-alpha.1 from the bootstrap publish RELEASING.md sanctions, and the release workflow publishes both registries from one event with release-assets gated on both. Cutting the existing version would fail publish-npm on the duplicate and skip attestation entirely. A fresh version lets one build feed both registries with provenance intact, which is what the pipeline is for. Fixes a dead test case found while bumping. tests/test_repository_gates.py had "0.1.0-alpha.1" as a dict key twice, so Python discarded the first entry and the dev phase was never exercised. That entry's npm spelling was also wrong, "0.1.0-alpha.1.0", which ecosystem_versions never produces. Restored as a real 0.1.0-dev case and both alpha spellings are now asserted. Gates: all four checks, release-tag gate against v0.1.0-alpha.2, dist-tag resolves to alpha, 13/13 conformance fixtures, 111 Python tests, 41 TypeScript tests. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Xyu1wLe68MPCKaqUXeEpXn
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release preparation for
0.1.0-alpha.2, following step 1 and 2 ofRELEASING.md.What is in this release
All three already merged to
main:spec_versionnow matchesspec/VERSION$idmoved offagentrust.io, a domain we do not ownspec/VERSIONWhy a new version instead of releasing v0.1.0-alpha.1
npm already holds
0.1.0-alpha.1from the bootstrap publish thatRELEASING.mdexplicitly sanctions:release.ymlpublishes both registries from one release event, andrelease-assetshasneeds: [publish-pypi, publish-npm]. Cuttingv0.1.0-alpha.1would publish PyPI, failpublish-npmon the duplicate version, and skip attestation entirely. A fresh version lets one build feed both registries with provenance intact, which is what the pipeline exists to do.PyPI has never been published, so
0.1.0-alpha.2will be its first version.On the moved digests
spec/VERSIONis the contract version and the source both package versions derive from, so bumping it changes the wirespec_version, which sits inside the RFC 8785 bytes that get hashed. Both goldens were regenerated from the code rather than hand-edited, and Python and TypeScript independently agree on the new tool-transcript hash.A dead test case, found while bumping
tests/test_repository_gates.pyhad"0.1.0-alpha.1"as a dict key twice:Python keeps the last, so the first entry was silently discarded and the
devphase has never been tested. Its npm spelling was wrong as well:0.1.0-alpha.1.0is not somethingecosystem_versionscan produce for any input. Restored as a real0.1.0-devcase, with both alpha spellings now asserted.Verification
check_versionscontract=0.1.0-alpha.2 python=0.1.0a2 npm=0.1.0-alpha.2check_release_tag v0.1.0-alpha.2npm_dist_tagalphacheck_schemas/check_typescript_schemas/check_otel_compatibilityAfter this merges
@agentrust-io/telemetry, now possible because the package exists.v0.1.0-alpha.2targetingmain.pypiandnpmdeployment jobs.🤖 Generated with Claude Code
https://claude.ai/code/session_01Xyu1wLe68MPCKaqUXeEpXn