@plasius/economy 0.11.0 → 0.11.2
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.
- package/README.md +19 -6
- package/package.json +4 -1
package/README.md
CHANGED
|
@@ -583,12 +583,12 @@ Coverage must remain at least 80%, and every changed source file must appear in
|
|
|
583
583
|
LCOV. Generated property tests cover exact arithmetic, double-entry balance,
|
|
584
584
|
projection rebuilds, idempotency, reversals, lot isolation, and allocation
|
|
585
585
|
non-negativity. npm publication is performed only by the approved GitHub CD
|
|
586
|
-
workflow
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
586
|
+
workflow from the protected `main` branch. The final publication job runs on a
|
|
587
|
+
GitHub-hosted runner so npm can validate its short-lived OIDC identity and
|
|
588
|
+
record provenance; it has no long-lived npm write-token fallback. Release LCOV
|
|
589
|
+
and the CycloneDX SBOM remain retained even when an external coverage service
|
|
590
|
+
is unavailable. Release tags and GitHub Releases use a current-repository
|
|
591
|
+
GitHub App token with explicit Contents and Workflows write permissions. A requested version
|
|
592
592
|
bump reuses the current version only when neither npm nor GitHub records it as a
|
|
593
593
|
completed release; use `bump=none` for deliberate recovery of prepared metadata.
|
|
594
594
|
Publication checks out the verified current release-branch HEAD so that recovery
|
|
@@ -600,3 +600,16 @@ Do not include raw idempotency keys, provider identifiers, provider callback
|
|
|
600
600
|
bodies or signatures, payment details, personal data, encrypted-handle
|
|
601
601
|
ciphertext, or secrets in contracts, metadata, tests, examples, or logs.
|
|
602
602
|
Report vulnerabilities privately according to [SECURITY.md](./SECURITY.md).
|
|
603
|
+
<!-- BEGIN PLASIUS RELEASE INTEGRITY -->
|
|
604
|
+
## Release integrity
|
|
605
|
+
|
|
606
|
+
Production package publication runs only from `.github/workflows/cd.yml` on
|
|
607
|
+
protected `main`. The job verifies that the prepared commit is still the
|
|
608
|
+
current main commit and has an exact successful `ci.yml` push result before it
|
|
609
|
+
mutates release state. Public package CI runs on GitHub-hosted capacity so it
|
|
610
|
+
cannot execute on company-managed runners. npm publication runs on
|
|
611
|
+
GitHub-hosted Node.js 24 with
|
|
612
|
+
npm 11.5.1 or newer, uses the protected `production` environment and
|
|
613
|
+
short-lived npm OIDC with provenance, and has no long-lived npm write-token
|
|
614
|
+
fallback. Rollback disables CD; it never rewrites published package history.
|
|
615
|
+
<!-- END PLASIUS RELEASE INTEGRITY -->
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plasius/economy",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.2",
|
|
4
4
|
"description": "Provider-neutral Token economy contracts and deterministic ledger invariants for Plasius",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -73,6 +73,9 @@
|
|
|
73
73
|
"publishConfig": {
|
|
74
74
|
"access": "public"
|
|
75
75
|
},
|
|
76
|
+
"overrides": {
|
|
77
|
+
"esbuild": "^0.28.1"
|
|
78
|
+
},
|
|
76
79
|
"engines": {
|
|
77
80
|
"node": ">=24"
|
|
78
81
|
}
|