@plasius/mcp-admin-contracts 0.7.1 → 0.7.3
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,40 @@
|
|
|
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.3] - 2026-12-06
|
|
18
|
+
|
|
19
|
+
- Refresh published Plasius dependency baselines and supported npm resolutions; qualify Schema 1.5.7 with the exact registry-integrity regression and current dependency documentation.
|
|
20
|
+
|
|
21
|
+
- **Added**
|
|
22
|
+
- (placeholder)
|
|
23
|
+
|
|
24
|
+
- **Changed**
|
|
25
|
+
- (placeholder)
|
|
26
|
+
|
|
27
|
+
- **Fixed**
|
|
28
|
+
- (placeholder)
|
|
29
|
+
|
|
30
|
+
- **Security**
|
|
31
|
+
- (placeholder)
|
|
32
|
+
|
|
33
|
+
## [0.7.2] - 2026-12-02
|
|
34
|
+
|
|
35
|
+
- Patch the compatible development process-launcher lock entry and retain installed argument-parser/child-process regressions (#95).
|
|
36
|
+
|
|
37
|
+
- Align the tokenless publication client, final main check and isolated npm configuration with the Schema release contract (#95).
|
|
38
|
+
|
|
5
39
|
- **Added**
|
|
6
40
|
- (placeholder)
|
|
7
41
|
|
|
@@ -430,3 +464,5 @@
|
|
|
430
464
|
[0.6.7]: https://github.com/Plasius-LTD/mcp-admin-contracts/releases/tag/v0.6.7
|
|
431
465
|
[0.7.0]: https://github.com/Plasius-LTD/mcp-admin-contracts/releases/tag/v0.7.0
|
|
432
466
|
[0.7.1]: https://github.com/Plasius-LTD/mcp-admin-contracts/releases/tag/v0.7.1
|
|
467
|
+
[0.7.2]: https://github.com/Plasius-LTD/mcp-admin-contracts/releases/tag/v0.7.2
|
|
468
|
+
[0.7.3]: https://github.com/Plasius-LTD/mcp-admin-contracts/releases/tag/v0.7.3
|
package/README.md
CHANGED
|
@@ -236,7 +236,7 @@ asset, or direct Blob reference. Hosts must return the same not-found response
|
|
|
236
236
|
for absent, expired, and unavailable manifests to avoid adding a richer
|
|
237
237
|
existence oracle.
|
|
238
238
|
|
|
239
|
-
This package directly consumes the published `@plasius/schema ^1.5.
|
|
239
|
+
This package directly consumes the published `@plasius/schema ^1.5.7`
|
|
240
240
|
dependency. Packet and report descriptors bind their schema sources to its
|
|
241
241
|
feedback contract version `1.0.0`, and their vocabularies and schema identity
|
|
242
242
|
metadata are imported from that package at runtime. Entries are discriminated
|
|
@@ -298,7 +298,7 @@ rights. Disable processing to omit and reject writes while preserving reads,
|
|
|
298
298
|
or disable the workflow flag to omit and reject all five tools.
|
|
299
299
|
|
|
300
300
|
The registry references the independently versioned workflow schemas in
|
|
301
|
-
`@plasius/schema` 1.5.
|
|
301
|
+
`@plasius/schema` 1.5.7. Hosts must close the input and output objects, validate
|
|
302
302
|
the effective query and actor-free responses against those schemas, and
|
|
303
303
|
bind opaque cursors to their packet or filters. Commands carry an expected
|
|
304
304
|
revision and a random UUIDv4 key; the named tool supplies the action literal.
|
|
@@ -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).
|
|
@@ -78,7 +78,7 @@ authentication for unrelated tools while the feedback flag is off.
|
|
|
78
78
|
Persisted entry projections are discriminated by the exact
|
|
79
79
|
`feedback-bug-packet` and `feedback-review-packet` identities. Reports,
|
|
80
80
|
advisories, game diagnostics, and processor checkpoints directly consume the
|
|
81
|
-
published `@plasius/schema ^1.5.
|
|
81
|
+
published `@plasius/schema ^1.5.7` dependency and its feedback contract
|
|
82
82
|
`1.0.0`. Descriptor vocabularies and source identities are imported from the
|
|
83
83
|
canonical package, while direct package-schema parity tests prevent this
|
|
84
84
|
package from establishing a second feedback dialect. The npm-registry lock is
|
|
@@ -94,7 +94,7 @@ authoritative; source, file, and Git dependency pins are prohibited.
|
|
|
94
94
|
configure both `mcp:access` and `admin.feedback.read` before enabling the
|
|
95
95
|
feedback family.
|
|
96
96
|
- The feedback family must continue to consume the released
|
|
97
|
-
`@plasius/schema ^1.5.
|
|
97
|
+
`@plasius/schema ^1.5.7` contract directly and fail validation when its
|
|
98
98
|
canonical schema identities or closed vocabularies diverge.
|
|
99
99
|
- Runtime ingestion, storage, authorisation, reporting, audit, and mutation
|
|
100
100
|
workflows remain outside this package.
|
|
@@ -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.
|
|
3
|
+
"version": "0.7.3",
|
|
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",
|
|
@@ -61,7 +64,7 @@
|
|
|
61
64
|
},
|
|
62
65
|
"homepage": "https://github.com/Plasius-LTD/mcp-admin-contracts#readme",
|
|
63
66
|
"peerDependencies": {
|
|
64
|
-
"@plasius/translations": "^1.0.
|
|
67
|
+
"@plasius/translations": "^1.0.31"
|
|
65
68
|
},
|
|
66
69
|
"peerDependenciesMeta": {
|
|
67
70
|
"@plasius/translations": {
|
|
@@ -70,7 +73,7 @@
|
|
|
70
73
|
},
|
|
71
74
|
"devDependencies": {
|
|
72
75
|
"@eslint/js": "^10.0.1",
|
|
73
|
-
"@plasius/translations": "^1.0.
|
|
76
|
+
"@plasius/translations": "^1.0.31",
|
|
74
77
|
"@types/node": "^25.9.5",
|
|
75
78
|
"@types/react": "^19.3.0",
|
|
76
79
|
"@typescript-eslint/eslint-plugin": "^8.73.0",
|
|
@@ -108,8 +111,8 @@
|
|
|
108
111
|
"node": ">=24"
|
|
109
112
|
},
|
|
110
113
|
"dependencies": {
|
|
111
|
-
"@plasius/asset-contracts": "0.8.
|
|
112
|
-
"@plasius/asset-mcp": "0.1.
|
|
113
|
-
"@plasius/schema": "^1.5.
|
|
114
|
+
"@plasius/asset-contracts": "0.8.5",
|
|
115
|
+
"@plasius/asset-mcp": "0.1.14",
|
|
116
|
+
"@plasius/schema": "^1.5.7"
|
|
114
117
|
}
|
|
115
118
|
}
|