Skip to content

chore: automated release pipeline + changeset tooling - #22

Closed
agentiknet wants to merge 5 commits into
mainfrom
chore/release-pipeline
Closed

agentiknet wants to merge 5 commits into
mainfrom
chore/release-pipeline

Conversation

@agentiknet

Copy link
Copy Markdown
Contributor

What

Sets up the full automated release pipeline for @agentproto/* packages.

Changes

  • .github/workflows/release.yml — changesets/action two-state flow: pending changesets → opens "Version Packages" PR; no pending → publishes to npm + creates GitHub Releases
  • .github/workflows/ci.yml — frozen-lockfile, pnpm cache, new changeset-check job that validates a .changeset/*.md exists on every PR (except the Version PR itself)
  • .changeset/config.json — ignores @agentproto/tooling (private)
  • .changeset/README.md — full process doc: automated flow, manual publish, token setup
  • scripts/publish-packages.sh — expanded to all 50+ packages in dependency order
  • packages/corpus/src/distill/synthesize.ts — bug fix: dead code removed (body.trim() made startsWith("\n") unreachable)

Changeset included

.changeset/copper-owls-fix.md — @agentproto/corpus patch bump for the synthesize.ts fix.

Test plan

  • CI build-and-test passes
  • CI changeset-check passes (changeset file is present)
  • After merge to main: release.yml opens a "Version Packages" PR

🤖 Generated with Claude Code

agentiknet and others added 5 commits June 20, 2026 03:40
- Add .github/workflows/release.yml (changesets/action two-state flow)
- Update ci.yml: frozen-lockfile, pnpm cache, changeset-check job on PRs
- Add .changeset/config.json + README with full process doc
- Expand scripts/publish-packages.sh to all 50+ packages in dep order
- Fix dead code in corpus/synthesize.ts (trim + startsWith bug)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
`pnpm changeset status --since=origin/main` exits with code 254 on some
CLI versions. Replaced with a plain `git diff --diff-filter=A` check —
no pnpm/node install needed, no fragile exit codes.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- scripts/auto-changeset.mjs — calls claude-haiku-4-5 with the git diff,
  determines affected packages + bump type, writes .changeset/<slug>.md
- .github/workflows/auto-changeset.yml — triggers on PR open/sync,
  skips if changeset already present, commits result back to branch
- pnpm changeset:auto — same script usable locally

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@agentiknet

Copy link
Copy Markdown
Contributor Author

Superseded by #23 (feat/agentproto-self-construction) which includes all commits from this branch plus additional features.

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.

1 participant