chore(release): retire local npm publishing

Merged
TH
2mo ago
+100-186

Summary

Retires local publishing now that release.yml (#3380) publishes:

  • Removes the version, postpublish, release:publish, and release:mark-dev scripts, and scripts/release-mark-dev.mjs.
  • release-workspace.mjs keeps only sync and pack.
  • A root npm publish now refuses to run.

Documentation:

  • CONTRIBUTING covers the nightly, stable (publish a GitHub release tagged vX.Y.Z targeting main), and dry-run channels, retries, the -dev invariant, and onboarding a new public package.
  • A new One-time repository setup section covers:
    • the npm-publish and release environments
    • the admin-only v* tag ruleset
    • the Actions settings, and keeping release immutability off
    • the gh api checks that confirm them, and npm trust
  • The installation docs add agent-device@nightly.

6 files.

Validation

At 9d7a69a9f5:

  • pnpm check:affected --run reports all runnable checks passed.