@plasius/mcp-admin-contracts 0.7.1 → 0.7.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/CHANGELOG.md CHANGED
@@ -2,6 +2,24 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ - **Added**
6
+ - (placeholder)
7
+
8
+ - **Changed**
9
+ - (placeholder)
10
+
11
+ - **Fixed**
12
+ - (placeholder)
13
+
14
+ - **Security**
15
+ - (placeholder)
16
+
17
+ ## [0.7.2] - 2026-12-02
18
+
19
+ - Patch the compatible development process-launcher lock entry and retain installed argument-parser/child-process regressions (#95).
20
+
21
+ - Align the tokenless publication client, final main check and isolated npm configuration with the Schema release contract (#95).
22
+
5
23
  - **Added**
6
24
  - (placeholder)
7
25
 
@@ -430,3 +448,4 @@
430
448
  [0.6.7]: https://github.com/Plasius-LTD/mcp-admin-contracts/releases/tag/v0.6.7
431
449
  [0.7.0]: https://github.com/Plasius-LTD/mcp-admin-contracts/releases/tag/v0.7.0
432
450
  [0.7.1]: https://github.com/Plasius-LTD/mcp-admin-contracts/releases/tag/v0.7.1
451
+ [0.7.2]: https://github.com/Plasius-LTD/mcp-admin-contracts/releases/tag/v0.7.2
package/README.md CHANGED
@@ -366,3 +366,10 @@ controls restoration, while mandatory integrity checks cannot be bypassed.
366
366
  Rollback disables `cd.yml` without restoring administrative files or npm tokens.
367
367
  See [ADR 0008](docs/adrs/adr-0008-trusted-ci-and-confirmed-release-merges.md).
368
368
  <!-- END PLASIUS RELEASE INTEGRITY -->
369
+
370
+ ## Tokenless release guards
371
+
372
+ Publication uses the owning repository main `cd.yml` and protected production
373
+ environment with GitHub OIDC. The pinned client, final main check and isolated npm
374
+ configuration are covered by executable release-boundary tests. See
375
+ [the release design](docs/design/tokenless-release-guards.md) (Task #95).
@@ -0,0 +1,23 @@
1
+ # Tokenless publication runtime
2
+
3
+ Status: Accepted, 1 December 2026. Task: #95; parent site Story #2571,
4
+ Feature #1597 and Epic #1596. The inherited flag is
5
+ `platform.public-artifact-integrity.enabled`; release safety is unconditional.
6
+
7
+ The owner requires every package to remain publishable without stored npm
8
+ credentials. Adopt the verified Schema publication client's explicit npm 11.6.2
9
+ pin, installed without lifecycle scripts, and recheck the exact qualified main
10
+ commit immediately before mutation. Require hosted GitHub OIDC and separate
11
+ empty temporary user/global npm configuration files, removed on success or
12
+ failure. This supersedes any older template decision that omitted the explicit
13
+ client installation or immediate final main check.
14
+
15
+ Retain the repository's build, package inventory, APIs, dependencies, CI runners,
16
+ quality thresholds, sealed tarball, source CI binding and protected production
17
+ release route. No new runtime flag evaluator is introduced. Tests execute the
18
+ actual workflow shell for success, moved main, failed fetch, missing identity,
19
+ isolated configuration and publication failure. See the linked
20
+ [design](../design/tokenless-release-guards.md) for validation and rollback.
21
+
22
+ Rollback stops publication while the reviewed pipeline is repaired. It must
23
+ never restore a publishing credential or introduce a local publisher.
@@ -0,0 +1,32 @@
1
+ # Tokenless publication guards
2
+
3
+ Task #95 belongs to site Story #2571, Feature #1597 and Epic #1596. It inherits
4
+ `platform.public-artifact-integrity.enabled`; authentication and integrity remain
5
+ mandatory and cannot be disabled by that rollout control.
6
+
7
+ Reuse Schema's approved main `cd.yml` / production publication boundary. Pin the
8
+ reviewed npm client with installation scripts disabled in both release jobs, and
9
+ recheck current main immediately before npm publication. Retain the earlier
10
+ exact-source CI, archive, provenance, release and package-build checks.
11
+
12
+ The hosted publisher must require GitHub OIDC and use separate empty temporary
13
+ user/global npm configuration files. Existing ambient configuration cannot provide
14
+ a stored credential. Cleanup runs on success and failure, and npm errors propagate.
15
+ No dependency code or package lifecycle executes in the privileged publication step.
16
+
17
+ Tests execute the actual workflow shell with controlled command doubles: matching
18
+ and moved main, failed fetch, missing OIDC, isolated configuration, npm failure and
19
+ cleanup. Validate the client pin and retain all existing package coverage, build,
20
+ types, lint and audit gates. Verify protected source/main CI, ordinary production
21
+ CD, registry provenance and consumers before completion. Hold any independently
22
+ owned source or security blocker; do not merge unrelated work to release this task.
23
+
24
+ Rollback holds publication and repairs the approved pipeline. It never restores
25
+ an npm publishing credential or creates a local/alternate publisher.
26
+
27
+ The full audit also requires the compatible process-launcher lock repair for
28
+ GHSA-ghv9-86vm-4v8m. Only the existing development cross-spawn entry changes to
29
+ 7.1.2; manifest ranges and every other resolved entry are unchanged. Installed
30
+ parser regressions fail before the patch and validate quoted paths, argument
31
+ expansion and line breaks after it, alongside a real ordinary child process.
32
+ Native Windows execution is unavailable and is not claimed.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plasius/mcp-admin-contracts",
3
- "version": "0.7.1",
3
+ "version": "0.7.2",
4
4
  "description": "Public-safe MCP admin discovery contract descriptors and response builders.",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -40,7 +40,10 @@
40
40
  "lint": "eslint . --max-warnings=0",
41
41
  "pack:check": "node scripts/verify-public-package.cjs",
42
42
  "prepare": "npm run build",
43
- "prepublishOnly": "npm run build && npm run pack:check"
43
+ "prepublishOnly": "npm run build && npm run pack:check",
44
+ "test:release-policy": "node --test tests/tokenless-release-guards.tests.cjs tests/process-launcher.tests.cjs",
45
+ "posttest": "npm run test:release-policy",
46
+ "posttest:coverage": "npm run test:release-policy"
44
47
  },
45
48
  "keywords": [
46
49
  "mcp",