Skip to content

build: publish under the systemfsoftware scope with a flake and the shared release workflow - #8

Open
systemfsoftware-bot wants to merge 1 commit into
mainfrom
chore-rename-release
Open

systemfsoftware-bot wants to merge 1 commit into
mainfrom
chore-rename-release

Conversation

@systemfsoftware-bot

Copy link
Copy Markdown
Contributor

What

  • Renames the four published packages to the @systemfsoftware scope: agent, agent-platform-node, agent-storage-sql, agent-storage-sqlite. Every import, manifest and script reference moves with them; package changelogs keep their history. Repository metadata points at systemfsoftware/agent.
  • Baselines all four at 0.1.0. peerDependencies on effect stay ^4.1.0; the Effect bump lands with the tool-call validation fix.
  • Adds flake.nix and flake.lock (workspace-tarballs, a consumer-store check and a Node 24 / pnpm 12 dev shell), as timescale-drizzle has them.
  • Adds release.jsonc, .github/workflows/release.yml (the shared release caller, npm-publish: true, no-op off main), release-checks.yml and nix.yml.
  • ci.yml gains the shared change-intent job, gated in the checks / check aggregate. This PR carries a none intent for the four packages so the baseline stays 0.1.0.
  • Replaces the Changesets configuration and the beta-prerelease notes (.changeset/config.json, pre.json, pre/) with pnpm versioning in pnpm-workspace.yaml; the changeset script and its devDependencies are removed.
  • Left for the docs PR: README links to the upstream documentation site and the logo files under .github/assets.

Commands run (exit codes)

All from the worktree, at nice priority, one package's tests at a time.

command exit
pnpm install --frozen-lockfile --ignore-scripts 0
pnpm format:check 0
pnpm lint 0
pnpm typecheck 0
pnpm build 0
pnpm check:exports 0
pnpm check:record-format 0
pnpm check:package-purity 0
pnpm check:pack 0
pnpm --filter ./packages/{storage-sql,platform-node,storage-sqlite,effect-agent} test 0 each
nix flake lock --accept-flake-config (the lock copied from timescale-drizzle failed with a NAR hash mismatch, so it is regenerated) 0
nix eval .#packages.x86_64-linux.workspace-tarballs.members 0: four members, 0.1.0
nix build .#workspace-tarballs 0
nix build --rebuild .#workspace-tarballs 0: bit-for-bit identical
nix build .#checks.x86_64-linux.consumer-store 0
commitlint on the commit message 0

The tarballs hold dist/, src/, package.json and LICENSE (plus README.md for storage-sql). NOTICE arrives with the relicence PR. The release plan and scratch-copy version bump were not run locally: no entry point for them is exposed outside the shared workflow.

Owner steps after merge (cannot be done here)

  1. npm login, then npm-trust for each of @systemfsoftware/agent, @systemfsoftware/agent-platform-node, @systemfsoftware/agent-storage-sql and @systemfsoftware/agent-storage-sqlite. Trusted publishing needs each package to exist on main first.
  2. Re-dispatch release.yml on main. The first run publishes the 0.1.0 baseline and fails at the publish step until step 1 is done; that red run is expected.

Not provable before merge: npm trusted publishing, the cold GitHub Actions Nix build time against the 60-minute publish timeout.

…hared release workflow

Rename the four published packages to @systemfsoftware/*, baseline them at
0.1.0, add the flake that builds the workspace tarballs, the release
configuration and caller, the release checks and nix workflows, and the
change-intent gate. Replace the Changesets configuration and its prerelease
notes with pnpm versioning.
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