@su-sws/synthetic-web-team 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +15 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -294,10 +294,21 @@ Two rules with teeth:
294
294
  | Publish the current version without bumping | Run it by hand with `none` |
295
295
 
296
296
  [`.github/workflows/release.yml`](.github/workflows/release.yml) validates,
297
- versions, tags, publishes and drafts release notes, in that order. It needs one
298
- repository secret, **`NPM_TOKEN`**, an npm automation token with publish rights
299
- on the `@su-sws` scope. Publishing uses `--provenance`, so releases are
300
- attested to this repository and this workflow.
297
+ versions, tags, publishes and drafts release notes, in that order.
298
+
299
+ **There is no npm token in this repository, and nothing to rotate.** Publishing
300
+ uses npm **trusted publishing** over OIDC: npm authenticates the workflow by its
301
+ own short-lived identity, which is why the job asks for `id-token: write`. npm
302
+ caps granular tokens at 90 days and has been retiring the old non-expiring
303
+ automation tokens, so a stored secret would have been a recurring chore and a
304
+ standing liability. This has neither, and provenance comes free.
305
+
306
+ The trust is configured **per package on npmjs.com**, for
307
+ `@su-sws/synthetic-web-team` and `@su-sws/synthetic-web-team-mcp` separately, and
308
+ it names this repository **and this workflow's filename**. Renaming
309
+ `release.yml` or moving the publish steps elsewhere breaks publishing with an
310
+ authentication error that looks nothing like the cause — change the trusted
311
+ publisher settings first.
301
312
 
302
313
  **Both packages move together.** `@su-sws/synthetic-web-team-mcp` depends on the root package, and
303
314
  a caret range survives a patch bump but not a minor one — `^0.1.0` does not
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@su-sws/synthetic-web-team",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Stanford Web Services standards and agent team: policy, patterns, recipes, fragments, prior art, 30 skills, the two-part install wizard, and the advisory compliance CLI.",
5
5
  "license": "GPL-3.0-or-later",
6
6
  "repository": {