@plasius/mcp-admin-contracts 0.6.2 → 0.6.4
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 +39 -2
- package/README.md +18 -5
- package/docs/adrs/adr-0005-privacy-safe-read-only-feedback-contract.md +2 -2
- package/docs/adrs/adr-0007-safe-game-reconstruction-point-read.md +1 -1
- package/docs/adrs/adr-0008-trusted-ci-and-confirmed-release-merges.md +55 -0
- package/docs/adrs/index.md +1 -0
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -9,13 +9,48 @@
|
|
|
9
9
|
- (placeholder)
|
|
10
10
|
|
|
11
11
|
- **Fixed**
|
|
12
|
-
- Preserved hosted pull-request isolation while disabling package-manager
|
|
13
|
-
cache finalization and bounding self-hosted main validation runtime.
|
|
14
12
|
- (placeholder)
|
|
15
13
|
|
|
16
14
|
- **Security**
|
|
17
15
|
- (placeholder)
|
|
18
16
|
|
|
17
|
+
## [0.6.4] - 2026-09-28
|
|
18
|
+
|
|
19
|
+
- Refresh npm dependencies and published Plasius package baselines after upstream releases (2026-09-28).
|
|
20
|
+
- Update the direct schema contract test and documentation to the verified schema 1.4.4 registry artifact.
|
|
21
|
+
|
|
22
|
+
- **Added**
|
|
23
|
+
- (placeholder)
|
|
24
|
+
|
|
25
|
+
- **Changed**
|
|
26
|
+
- (placeholder)
|
|
27
|
+
|
|
28
|
+
- **Fixed**
|
|
29
|
+
- (placeholder)
|
|
30
|
+
|
|
31
|
+
- **Security**
|
|
32
|
+
- (placeholder)
|
|
33
|
+
|
|
34
|
+
## [0.6.3] - 2026-09-07
|
|
35
|
+
|
|
36
|
+
- **Added**
|
|
37
|
+
- (placeholder)
|
|
38
|
+
|
|
39
|
+
- **Changed**
|
|
40
|
+
- Refreshed the governed asset contract dependencies to the latest published
|
|
41
|
+
`@plasius/asset-contracts` `0.4.1` and `@plasius/asset-mcp` `0.1.8` releases.
|
|
42
|
+
|
|
43
|
+
- **Fixed**
|
|
44
|
+
- Disabled package-manager cache finalization and bounded validation runtime.
|
|
45
|
+
- Required confirmed release metadata PR merge state before continuing,
|
|
46
|
+
including successful-but-queued merge commands and bounded failure handling.
|
|
47
|
+
- (placeholder)
|
|
48
|
+
|
|
49
|
+
- **Security**
|
|
50
|
+
- Restricted all CI jobs to trusted repository pushes on explicit self-hosted
|
|
51
|
+
Linux/X64 capacity, with no hosted fallback or PR-head execution.
|
|
52
|
+
- Restricted scheduled dependency validation to main on the same capacity.
|
|
53
|
+
|
|
19
54
|
## [0.6.2] - 2026-08-31
|
|
20
55
|
|
|
21
56
|
- **Added**
|
|
@@ -310,3 +345,5 @@
|
|
|
310
345
|
[0.6.0]: https://github.com/Plasius-LTD/mcp-admin-contracts/releases/tag/v0.6.0
|
|
311
346
|
[0.6.1]: https://github.com/Plasius-LTD/mcp-admin-contracts/releases/tag/v0.6.1
|
|
312
347
|
[0.6.2]: https://github.com/Plasius-LTD/mcp-admin-contracts/releases/tag/v0.6.2
|
|
348
|
+
[0.6.3]: https://github.com/Plasius-LTD/mcp-admin-contracts/releases/tag/v0.6.3
|
|
349
|
+
[0.6.4]: https://github.com/Plasius-LTD/mcp-admin-contracts/releases/tag/v0.6.4
|
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.4.
|
|
239
|
+
This package directly consumes the published `@plasius/schema ^1.4.4`
|
|
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
|
|
@@ -314,13 +314,26 @@ Apache-2.0
|
|
|
314
314
|
## Release integrity
|
|
315
315
|
|
|
316
316
|
CI keeps the administrative contributor registry outside Git and npm package
|
|
317
|
-
artifacts using exact, case-normalised path checks.
|
|
318
|
-
|
|
319
|
-
|
|
317
|
+
artifacts using exact, case-normalised path checks. CI accepts repository-owned
|
|
318
|
+
branch pushes only, using literal `[self-hosted, Linux, X64]` labels for every
|
|
319
|
+
job. External fork and pull-request events never execute on this capacity; a
|
|
320
|
+
maintainer must review and move a contribution to a repository-owned branch.
|
|
321
|
+
Scheduled dependency validation uses the same labels and is restricted to main. Release preparation and
|
|
320
322
|
publication use a two-run exact-main protocol on GitHub-hosted Node.js 24.18.0
|
|
321
323
|
LTS. A read-only job seals the package tarball and SBOM before a dependency-free
|
|
322
324
|
production job publishes that exact artifact through npm OIDC with provenance;
|
|
323
325
|
there is no npm write-token fallback. CD remains disabled until the npm trusted
|
|
324
326
|
publisher binding and protected-branch-only production environment are
|
|
325
|
-
independently verified.
|
|
327
|
+
independently verified. Release preparation continues only after observing the
|
|
328
|
+
metadata PR as `MERGED`; a queued merge request is insufficient. Closed PRs,
|
|
329
|
+
unreadable or unexpected states, and the bounded timeout stop publication.
|
|
330
|
+
|
|
331
|
+
For restricted runner groups, review and lock each implementation or generated
|
|
332
|
+
release branch with administrator enforcement before admitting its exact
|
|
333
|
+
workflow branch ref. Preserve required checks and remove temporary admission
|
|
334
|
+
after merge. Allocate a fresh pipeline-owned version; never reuse removed npm
|
|
335
|
+
versions. The inherited `platform.public-artifact-integrity.enabled` flag
|
|
336
|
+
controls restoration, while mandatory integrity checks cannot be bypassed.
|
|
337
|
+
Rollback disables `cd.yml` without restoring administrative files or npm tokens.
|
|
338
|
+
See [ADR 0008](docs/adrs/adr-0008-trusted-ci-and-confirmed-release-merges.md).
|
|
326
339
|
<!-- END PLASIUS RELEASE INTEGRITY -->
|
|
@@ -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.4.
|
|
81
|
+
published `@plasius/schema ^1.4.4` 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.4.
|
|
97
|
+
`@plasius/schema ^1.4.4` 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.
|
|
@@ -31,7 +31,7 @@ canonical lowercase UUIDv4 bug-packet ID. It has no list, search, cursor,
|
|
|
31
31
|
free-form query, arbitrary date range, or mutation form.
|
|
32
32
|
|
|
33
33
|
The output is one closed projection of the published
|
|
34
|
-
`@plasius/schema ^1.4.
|
|
34
|
+
`@plasius/schema ^1.4.4`
|
|
35
35
|
`FeedbackGameReconstructionManifestSchema`. It contains only:
|
|
36
36
|
|
|
37
37
|
- canonical type and contract version;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# ADR 0008: Trusted CI and confirmed release merges
|
|
2
|
+
|
|
3
|
+
- Status: Accepted
|
|
4
|
+
- Date: 2026-09-07
|
|
5
|
+
- Task: mcp-admin-contracts#43; parent Feature: site#1597
|
|
6
|
+
- Feature flag: `platform.public-artifact-integrity.enabled`
|
|
7
|
+
|
|
8
|
+
## Context
|
|
9
|
+
|
|
10
|
+
The recovery acceptance criteria require explicit self-hosted CI without hosted
|
|
11
|
+
fallbacks or external fork execution. Existing PR validation selected hosted
|
|
12
|
+
runners dynamically, and scheduled audit validation was hosted. Release
|
|
13
|
+
preparation could mistake successful merge-command acceptance for an observed
|
|
14
|
+
merge, then continue before the protected main branch contained the metadata.
|
|
15
|
+
|
|
16
|
+
## Decision
|
|
17
|
+
|
|
18
|
+
CI runs only on repository-owned branch pushes. Every job retains its required
|
|
19
|
+
check name and uses literal `[self-hosted, Linux, X64]`. There are no PR triggers
|
|
20
|
+
or caller-controlled selectors. Scheduled audit runs only on main using those
|
|
21
|
+
labels. Dependency setup disables automatic package-manager caching; jobs are
|
|
22
|
+
bounded. Review branch content and lock branches with administrator enforcement
|
|
23
|
+
before admitting exact workflow branch refs to restricted runner groups. Remove
|
|
24
|
+
temporary admission after merge without weakening main checks or protection.
|
|
25
|
+
|
|
26
|
+
Keep ADR 0003's hosted production OIDC publication and immutable artifact
|
|
27
|
+
protocol. Both initial and retried merge commands require a subsequent observed
|
|
28
|
+
`MERGED` state. One bounded loop handles `OPEN`; `CLOSED`, API errors, unexpected
|
|
29
|
+
states and timeout fail closed. Use a new pipeline-generated version, never a
|
|
30
|
+
removed version. Existing public @plasius contracts and integrity tooling are
|
|
31
|
+
reused without runtime/API or dependency changes.
|
|
32
|
+
|
|
33
|
+
The inherited flag controls restoration outside this contract package. Mandatory
|
|
34
|
+
source/index/package admission and release identity checks do not depend on its
|
|
35
|
+
value. Rollback disables cd.yml, preserves integrity checks, and never restores
|
|
36
|
+
administrative paths or token publication. No capability is required.
|
|
37
|
+
|
|
38
|
+
## Validation and consequences
|
|
39
|
+
|
|
40
|
+
Workflow policy tests check trusted push events, literal runner labels, retained
|
|
41
|
+
check names, cache settings and main-only audit admission. Executable regression
|
|
42
|
+
tests exercise the actual release merge shell with mocked GitHub states,
|
|
43
|
+
including accepted-but-open requests, eventual merge, retry, closure, API error,
|
|
44
|
+
unknown state and timeout. Run clean install, full tests/coverage, lint,
|
|
45
|
+
typecheck, build, package/path checks and actionlint; require exact-SHA CI before
|
|
46
|
+
merge and verify governed release, final tarball and provenance before Done.
|
|
47
|
+
|
|
48
|
+
Fork contributions need maintainer review and a repository-owned branch. Runner
|
|
49
|
+
admission requires bounded operational work for each locked review branch.
|
|
50
|
+
Hosted fallback and treating merge command success as completion were rejected
|
|
51
|
+
because they violate the required execution policy and release identity checks.
|
|
52
|
+
|
|
53
|
+
Security/privacy, reproducibility, reliability and testability are checked by
|
|
54
|
+
these controls. Accessibility, SEO, browser compatibility and runtime performance
|
|
55
|
+
are unchanged because this decision affects workflows only.
|
package/docs/adrs/index.md
CHANGED
|
@@ -7,3 +7,4 @@
|
|
|
7
7
|
- [ADR 0005: Privacy-Safe Read-Only Feedback Contract](./adr-0005-privacy-safe-read-only-feedback-contract.md)
|
|
8
8
|
- [ADR 0006: Canonical Model-Resolution Discovery](./adr-0006-canonical-model-resolution-discovery.md)
|
|
9
9
|
- [ADR 0007: Safe Game Reconstruction Point Read](./adr-0007-safe-game-reconstruction-point-read.md)
|
|
10
|
+
- [ADR 0008: Trusted CI and confirmed release merges](./adr-0008-trusted-ci-and-confirmed-release-merges.md)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plasius/mcp-admin-contracts",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.4",
|
|
4
4
|
"description": "Public-safe MCP admin discovery contract descriptors and response builders.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
},
|
|
62
62
|
"homepage": "https://github.com/Plasius-LTD/mcp-admin-contracts#readme",
|
|
63
63
|
"peerDependencies": {
|
|
64
|
-
"@plasius/translations": "^1.0.
|
|
64
|
+
"@plasius/translations": "^1.0.24"
|
|
65
65
|
},
|
|
66
66
|
"peerDependenciesMeta": {
|
|
67
67
|
"@plasius/translations": {
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
72
|
"@eslint/js": "^10.0.1",
|
|
73
|
-
"@plasius/translations": "^1.0.
|
|
73
|
+
"@plasius/translations": "^1.0.24",
|
|
74
74
|
"@types/node": "^25.9.5",
|
|
75
75
|
"@types/react": "^19.2.18",
|
|
76
76
|
"@typescript-eslint/eslint-plugin": "^8.69.0",
|
|
@@ -107,8 +107,8 @@
|
|
|
107
107
|
"node": ">=24"
|
|
108
108
|
},
|
|
109
109
|
"dependencies": {
|
|
110
|
-
"@plasius/asset-contracts": "0.4.
|
|
111
|
-
"@plasius/asset-mcp": "0.1.
|
|
112
|
-
"@plasius/schema": "^1.4.
|
|
110
|
+
"@plasius/asset-contracts": "0.4.2",
|
|
111
|
+
"@plasius/asset-mcp": "0.1.9",
|
|
112
|
+
"@plasius/schema": "^1.4.4"
|
|
113
113
|
}
|
|
114
114
|
}
|