@plasius/mcp-admin-contracts 0.5.0 → 0.6.0

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
@@ -14,6 +14,58 @@
14
14
  - **Security**
15
15
  - (placeholder)
16
16
 
17
+ ## [0.6.0] - 2026-08-26
18
+
19
+ - **Added**
20
+ - Added the read-only `getFeedbackGameReconstruction` descriptor for one
21
+ canonical safe in-game reconstruction manifest backed by curated public
22
+ assets and consented coarse renderer diagnostics.
23
+
24
+ - **Changed**
25
+ - Advanced the additive MCP Admin registry contract to `2026-08-26.v8` and
26
+ added the canonical `FeedbackGameReconstructionManifestSchema` source
27
+ identity plus an en-GB action description.
28
+
29
+ - **Fixed**
30
+ - (placeholder)
31
+
32
+ - **Security**
33
+ - Restricted reconstruction reads to exact lowercase UUIDv4 point lookups
34
+ under the existing default-off `feedback.mcp.enabled`, `mcp:access`, and
35
+ `admin.feedback.read` controls, with no list, scan, query, or mutation
36
+ contract.
37
+ - Explicitly excluded client pixels and request telemetry in addition to
38
+ narrative, reporter correlation, binary images, URLs, and direct storage
39
+ references; the route metadata requires a uniform not-found response for
40
+ absent, expired, or unavailable manifests.
41
+
42
+ ## [0.5.1] - 2026-08-20
43
+
44
+ - **Added**
45
+ - Added public-safe discovery and schema metadata for all eight canonical
46
+ snake_case model-resolution tools, their authenticated `mcp://models/...`
47
+ resources, JSON-RPC `tools/call` execution, en-GB descriptions, and model
48
+ contract context with bounded verification notes.
49
+
50
+ - **Changed**
51
+ - Advanced the additive MCP Admin registry contract to `2026-08-20.v7` and
52
+ pinned `@plasius/asset-mcp 0.1.6` plus `@plasius/asset-contracts 0.3.1` as
53
+ the canonical model tool and schema sources.
54
+
55
+ - **Fixed**
56
+ - Completed the model-family OAuth discovery registry with the retained
57
+ review and source-management scopes and added the canonical top-level
58
+ catalog-confirm capability export.
59
+ - Deep-froze shared model verification notes and the context schema so one
60
+ consumer cannot mutate later discovery responses.
61
+
62
+ - **Security**
63
+ - Preserved exact canonical OAuth scopes, capabilities, annotations, parent
64
+ and conditional rollout flags without adding runtime access or flag
65
+ evaluation to the public contract package.
66
+ - Kept per-tool authorization metadata unchanged while ensuring issuer and
67
+ protected-resource consumers can advertise every model capability scope.
68
+
17
69
  ## [0.5.0] - 2026-08-13
18
70
 
19
71
  - **Added**
@@ -216,3 +268,5 @@
216
268
  [0.3.1]: https://github.com/Plasius-LTD/mcp-admin-contracts/releases/tag/v0.3.1
217
269
  [0.4.0]: https://github.com/Plasius-LTD/mcp-admin-contracts/releases/tag/v0.4.0
218
270
  [0.5.0]: https://github.com/Plasius-LTD/mcp-admin-contracts/releases/tag/v0.5.0
271
+ [0.5.1]: https://github.com/Plasius-LTD/mcp-admin-contracts/releases/tag/v0.5.1
272
+ [0.6.0]: https://github.com/Plasius-LTD/mcp-admin-contracts/releases/tag/v0.6.0
package/README.md CHANGED
@@ -57,14 +57,75 @@ The exported registry currently covers:
57
57
  - bounded grouped user-aggregation summaries without raw per-user export
58
58
  - privacy-safe feedback intelligence for immutable bug-health and satisfaction
59
59
  reports, deterministic alerts, processor freshness, and
60
- reporter-identifier-free structured entries
60
+ reporter-identifier-free structured entries and safe in-game reconstruction
61
+ manifests
61
62
  - read-only global Token overview, pseudonymous wallet/activity, and bounded
62
63
  spend-trend descriptors
63
64
  - governed asset catalog, source-intake, pipeline, and review descriptors for
64
65
  the hosted `plasius-ltd-site` MCP backend
66
+ - canonical model-resolution discovery sourced from `@plasius/asset-mcp`,
67
+ including its authenticated `mcp://models/...` resource templates
65
68
  - owner-only Token finance descriptors for bounded wallet/activity reads and
66
69
  dual-approved credit or compensating-reversal workflows
67
70
 
71
+ ### Canonical model resolution
72
+
73
+ The additive `modelTools` discovery family advertises the eight exact MCP
74
+ tool names owned by `@plasius/asset-mcp 0.1.6`:
75
+
76
+ - `list_model_search_rankers`
77
+ - `search_model_catalog`
78
+ - `resolve_model_request`
79
+ - `get_model_resolution`
80
+ - `confirm_model_candidate`
81
+ - `retry_model_resolution`
82
+ - `cancel_model_resolution`
83
+ - `rebuild_model_catalog_index`
84
+
85
+ These are JSON-RPC 2.0 tools executed with `tools/call` over `POST /api/mcp`.
86
+ They are deliberately separate from the existing REST-backed `actions` array;
87
+ all legacy descriptors and exports remain source-compatible. The schema
88
+ response references the canonical input/output schema objects, annotations,
89
+ OAuth security schemes, capabilities, review-result metadata, and rollout
90
+ metadata directly from `@plasius/asset-mcp` rather than maintaining local
91
+ copies. Each wrapper also carries bounded verification notes identifying the
92
+ canonical result or follow-up tool used to confirm an operation.
93
+
94
+ Every model tool requires the parent
95
+ `asset.pipeline.unified-ai-assets.enabled` flag. Provider acquisition and the
96
+ future generator additionally carry the conditional, fail-closed
97
+ `asset.pipeline.external-model-harvest.enabled` and
98
+ `asset.pipeline.ai-model-generation.enabled` flags only on the tools that may
99
+ attempt those fallbacks. Installing this package does not evaluate any flag or
100
+ make a hosted tool callable; the consuming runtime owns fail-closed rollout,
101
+ OAuth, capability, ownership, and audit enforcement.
102
+
103
+ Tool scopes and capabilities are preserved exactly, including distinct
104
+ `asset.catalog.request`, `asset.catalog.confirm`, and operator-only
105
+ `asset.pipeline.mcp.manage` requirements. The wider model capability registry
106
+ also carries `asset.catalog.review` and `asset.source.manage` for coordinated
107
+ host discovery. `MCP_ADMIN_MODEL_OAUTH_SCOPES` is the complete issuer and
108
+ protected-resource scope registry (`mcp:access` plus all five asset capability
109
+ scopes); it does not broaden any individual tool descriptor. Named
110
+ `MCP_ASSET_*_CAPABILITY` exports, including
111
+ `MCP_ASSET_CATALOG_CONFIRM_CAPABILITY`, use the canonical package constants so
112
+ hosts do not need to hardcode those identifiers. Authenticated
113
+ model-resolution records, processing manifests,
114
+ 1024-pixel originals, and promoted manifests are advertised through the five
115
+ canonical `mcp://models/...` resource templates. Inline 512-pixel four-view
116
+ image results remain part of the canonical tool result contract, not this
117
+ admin wrapper.
118
+
119
+ Shared verification-note arrays and the exported context schema are deeply
120
+ frozen. A consumer therefore cannot mutate one discovery or schema result and
121
+ silently change later calls in the same process.
122
+
123
+ Package-owned en-GB keys provide stable descriptions for every canonical tool.
124
+ When discovery is built, description drift between those translations and the
125
+ pinned canonical registry fails closed. `@plasius/asset-contracts 0.3.1`
126
+ supplies the underlying model-resolution contract version; no model schema is
127
+ redeclared here.
128
+
68
129
  Token finance descriptors require the host to enforce the parent
69
130
  `economy.tokens.enabled` flag and the package-published
70
131
  `mcp.admin-economy-adjustments.enabled` flag. They declare the relevant
@@ -114,6 +175,7 @@ contracts:
114
175
  - `listFeedbackAlerts`
115
176
  - `getFeedbackFreshness`
116
177
  - `listFeedbackStructuredEntries`
178
+ - `getFeedbackGameReconstruction`
117
179
 
118
180
  Every feedback descriptor carries the canonical default-off rollout flag
119
181
  `feedback.mcp.enabled`, required capability `admin.feedback.read`, complete
@@ -126,6 +188,10 @@ scope, or capability is unavailable, the consumer-visible fallback is that the
126
188
  feedback actions are omitted or rejected; this package does not evaluate
127
189
  access.
128
190
 
191
+ `MCP_ADMIN_FEEDBACK_HOST_DEFAULT_ENABLED` is exported as `false` so host
192
+ registries can verify the intended initial state without treating this public
193
+ metadata package as a runtime flag evaluator.
194
+
129
195
  The global AI-plugin manifest deliberately retains its existing
130
196
  `openid email profile mcp:access` base scopes. The feedback scopes remain
131
197
  action metadata until the site OAuth issuer, protected-resource metadata, and
@@ -145,22 +211,36 @@ exact `packetType`-discriminated union: the bug variant alone permits
145
211
  Consumers must reject unknown or cross-packet fields before flattening the
146
212
  selected variant into route query parameters.
147
213
 
214
+ The reconstruction action is an exact point read by lowercase UUIDv4 bug
215
+ packet ID. It returns only the canonical
216
+ `FeedbackGameReconstructionManifestSchema`: opaque content IDs, server-owned
217
+ creation and expiry times, an allowlisted curated public asset-set ID, a
218
+ translation notice key, and consented coarse renderer diagnostics. It has no
219
+ list, search, cursor, free-form query, or mutation variant. The manifest is
220
+ clearly labelled as a server-side reconstruction and is not a literal
221
+ screenshot. It contains no captured pixels, binary image, narrative, DOM,
222
+ reporter/control identity, request telemetry, URL, storage locator, arbitrary
223
+ asset, or direct Blob reference. Hosts must return the same not-found response
224
+ for absent, expired, and unavailable manifests to avoid adding a richer
225
+ existence oracle.
226
+
148
227
  This package directly consumes the published `@plasius/schema ^1.4.0`
149
228
  dependency. Packet and report descriptors bind their schema sources to its
150
229
  feedback contract version `1.0.0`, and their vocabularies and schema identity
151
230
  metadata are imported from that package at runtime. Entries are discriminated
152
231
  by the canonical
153
232
  `feedback-bug-packet`/`feedback-review-packet` identities; hourly bug-health,
154
- daily satisfaction, advisories, diagnostics, and processor checkpoints use
155
- the same closed kebab-case vocabulary and lowercase UUIDv4 constraints as the
156
- canonical schemas. The registry-generated lock resolves the package directly;
157
- source, file, and Git dependency pins remain prohibited.
233
+ daily satisfaction, advisories, diagnostics, processor checkpoints, and safe
234
+ reconstruction manifests use the same closed kebab-case vocabulary and
235
+ lowercase UUIDv4 constraints as the canonical schemas. The registry-generated
236
+ lock resolves the package directly; source, file, and Git dependency pins
237
+ remain prohibited.
158
238
 
159
239
  The contracts explicitly exclude account, reporter, network, session,
160
240
  user-agent, locale, client-time, referrer, coordinate, dimension, and adapter
161
241
  identifiers; credentials and secrets; financial and government identifiers;
162
- filenames and raw warnings; narrative, binary images, Blob references, raw
163
- URLs, unrestricted scans, and mutations.
242
+ filenames and raw warnings; narrative, binary images, client pixels, request
243
+ telemetry, Blob references, raw URLs, unrestricted scans, and mutations.
164
244
  Narrative-derived data is limited to closed classifications; it cannot include
165
245
  summaries, quotations, embeddings, hashes, matched values, or model traces.
166
246
  Renderer diagnostics are bounded structured facts only and never