Part of the persona-kit consolidation. Depends on #69 and #70. This is issue 8 of 8 — the publish step.
Goal
Publish the new packages so the relay-side issue can pin against real npm versions instead of workspace:* linking.
Tasks
Pre-publish checks
Publish persona-kit
Publish workload-router (major bump)
Deprecate harness-kit
Tag the release
Post-publish
Constraints
- Don't
npm unpublish @agentworkforce/harness-kit. Deprecate only. Unpublishing breaks lockfiles for any pinned consumer outside this repo.
- Don't publish from a dirty working tree. CI-driven publish via the monorepo's normal release workflow is preferred over a manual
npm publish from a developer laptop.
- Match existing publish conventions in this monorepo (e.g., does it use changesets, lerna publish, manual scripts?). Don't introduce a new release tooling story in the same PR as the migration publish.
Verification
Reference
Plan section 1.9.
Part of the persona-kit consolidation. Depends on #69 and #70. This is issue 8 of 8 — the publish step.
Goal
Publish the new packages so the relay-side issue can pin against real npm versions instead of
workspace:*linking.Tasks
Pre-publish checks
pnpm installfrom a clean clone — verify no workspace surprises.pnpm -r build && pnpm -r test— must pass cleanly.pnpm --filter @agentworkforce/cli test:integration(or whatever the CLI's smoke-test command is) — must pass.agentworkforce <persona-with-full-schema>against claude/codex/opencode harnesses one more time. Same behavior as pre-migration.Publish persona-kit
packages/persona-kit/package.jsonhas:"name": "@agentworkforce/persona-kit""version": "1.0.0""publishConfig": { "access": "public" }"files"array includingdist,README.md,package.json(no source files unless that's the local convention).npm pack --dry-runfrompackages/persona-kit/— verify the tarball contents look right (no source files leaked, no dist artifacts missing).pnpm --filter @agentworkforce/persona-kit publish --tag latest(or the local equivalent — match how other packages publish from this monorepo).npm view @agentworkforce/persona-kitshows version1.0.0and the README renders correctly on npmjs.com.Publish workload-router (major bump)
packages/workload-router/package.jsonreflects the next major version (set in [persona-kit 5/8] Shrink @agentworkforce/workload-router (drop persona types, major bump) #68).pnpm --filter @agentworkforce/workload-router publish --tag latest.npm view @agentworkforce/workload-routershows the new major version and the smaller surface area.Deprecate harness-kit
npm view @agentworkforce/harness-kit deprecated.Tag the release
git tag persona-kit-v1.0.0 && git push origin persona-kit-v1.0.0.Post-publish
@agentworkforce/persona-kit@^1.0.0.Constraints
npm unpublish @agentworkforce/harness-kit. Deprecate only. Unpublishing breaks lockfiles for any pinned consumer outside this repo.npm publishfrom a developer laptop.Verification
npm view @agentworkforce/persona-kit versionreturns1.0.0.npm view @agentworkforce/workload-router versionreturns the bumped major.npm view @agentworkforce/harness-kit deprecatedreturns the deprecation message.npm install @agentworkforce/persona-kitresolves cleanly and exposes the documented top-level API.import { buildPersonaSpawnPlan } from '@agentworkforce/persona-kit'from a fresh project compiles under TypeScript with the types declared.Reference
Plan section 1.9.