typesafe-gates 0.2.0 → 0.2.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 +18 -9
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -195,15 +195,24 @@ latency.
195
195
  1. Bump `version` in `package.json` and add a `CHANGELOG.md` entry.
196
196
  2. Commit, then publish a GitHub release whose tag is `vX.Y.Z` (a bare
197
197
  `X.Y.Z` also works) targeting `main`. The release workflow checks the tag
198
- against the version, re-runs lint, typecheck, tests and the build, and
199
- publishes to npm with provenance through trusted publishing (no token
200
- stored anywhere). A release saved as a draft creates no tag and runs
201
- nothing.
202
-
203
- The first version of a package cannot be published by trusted publishing,
204
- so 0.1.0 was published by hand with `npm publish --access public` and the
205
- trusted publisher (owner `mpointer`, repository `typesafe-gates`, workflow
206
- `release.yml`) was configured on npmjs.com afterwards.
198
+ against the version and re-runs lint, typecheck, tests and the build. A
199
+ release saved as a draft creates no tag and runs nothing.
200
+ 3. Publish to npm by hand from a clean checkout of the tagged commit, in a
201
+ real terminal:
202
+
203
+ ```sh
204
+ npm publish --access public
205
+ ```
206
+
207
+ npm asks for an MFA step with a passkey; approve it in the browser while
208
+ the command waits. The registry can take a few minutes to show the new
209
+ version.
210
+
211
+ The workflow's own publish step (trusted publishing, owner `mpointer`,
212
+ repository `typesafe-gates`, workflow `release.yml`) fails with
213
+ `403 OIDC permission denied`, because the package requires that passkey
214
+ step and CI cannot complete it. Releases published by hand carry no
215
+ provenance attestation.
207
216
 
208
217
  ## License
209
218
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "typesafe-gates",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Probabilistic decision gates for LLM pipelines on TypeSafe AI's System One (Jev): typed Score, Choice and yes/no judgments with explicit thresholds, a stated fail-open or fail-closed policy per gate, all-or-nothing batches, time budgets, and usage accounting. Ships six reference gates from production.",
5
5
  "license": "MIT",
6
6
  "author": "Mike Pointer <mpointer@gmail.com>",