@plasius/mcp-admin-contracts 0.6.2 → 0.6.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
|
@@ -9,13 +9,31 @@
|
|
|
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.3] - 2026-09-07
|
|
18
|
+
|
|
19
|
+
- **Added**
|
|
20
|
+
- (placeholder)
|
|
21
|
+
|
|
22
|
+
- **Changed**
|
|
23
|
+
- Refreshed the governed asset contract dependencies to the latest published
|
|
24
|
+
`@plasius/asset-contracts` `0.4.1` and `@plasius/asset-mcp` `0.1.8` releases.
|
|
25
|
+
|
|
26
|
+
- **Fixed**
|
|
27
|
+
- Disabled package-manager cache finalization and bounded validation runtime.
|
|
28
|
+
- Required confirmed release metadata PR merge state before continuing,
|
|
29
|
+
including successful-but-queued merge commands and bounded failure handling.
|
|
30
|
+
- (placeholder)
|
|
31
|
+
|
|
32
|
+
- **Security**
|
|
33
|
+
- Restricted all CI jobs to trusted repository pushes on explicit self-hosted
|
|
34
|
+
Linux/X64 capacity, with no hosted fallback or PR-head execution.
|
|
35
|
+
- Restricted scheduled dependency validation to main on the same capacity.
|
|
36
|
+
|
|
19
37
|
## [0.6.2] - 2026-08-31
|
|
20
38
|
|
|
21
39
|
- **Added**
|
|
@@ -310,3 +328,4 @@
|
|
|
310
328
|
[0.6.0]: https://github.com/Plasius-LTD/mcp-admin-contracts/releases/tag/v0.6.0
|
|
311
329
|
[0.6.1]: https://github.com/Plasius-LTD/mcp-admin-contracts/releases/tag/v0.6.1
|
|
312
330
|
[0.6.2]: https://github.com/Plasius-LTD/mcp-admin-contracts/releases/tag/v0.6.2
|
|
331
|
+
[0.6.3]: https://github.com/Plasius-LTD/mcp-admin-contracts/releases/tag/v0.6.3
|
package/README.md
CHANGED
|
@@ -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 -->
|
|
@@ -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.3",
|
|
4
4
|
"description": "Public-safe MCP admin discovery contract descriptors and response builders.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -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.
|
|
110
|
+
"@plasius/asset-contracts": "0.4.1",
|
|
111
|
+
"@plasius/asset-mcp": "0.1.8",
|
|
112
112
|
"@plasius/schema": "^1.4.3"
|
|
113
113
|
}
|
|
114
114
|
}
|