@plasius/mcp-admin-contracts 0.5.1 → 0.6.1
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 +49 -0
- package/README.md +37 -13
- package/dist/index.cjs +76 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +13 -6
- package/dist/index.d.ts +13 -6
- package/dist/index.js +76 -6
- package/dist/index.js.map +1 -1
- package/docs/adrs/adr-0006-canonical-model-resolution-discovery.md +11 -6
- package/docs/adrs/adr-0007-safe-game-reconstruction-point-read.md +81 -0
- package/docs/adrs/index.md +1 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -14,6 +14,53 @@
|
|
|
14
14
|
- **Security**
|
|
15
15
|
- (placeholder)
|
|
16
16
|
|
|
17
|
+
## [0.6.1] - 2026-08-31
|
|
18
|
+
|
|
19
|
+
- **Added**
|
|
20
|
+
- Exposed the canonical ChatGPT file attachment and paired rights-attestation
|
|
21
|
+
schema for `resolve_model_request`, including PVOX result metadata.
|
|
22
|
+
|
|
23
|
+
- **Changed**
|
|
24
|
+
- Aligned model discovery with `@plasius/asset-mcp 0.1.7` and
|
|
25
|
+
`@plasius/asset-contracts 0.4.0` while preserving all eight tool names and
|
|
26
|
+
compatibility surfaces.
|
|
27
|
+
- Advanced the additive MCP Admin registry contract to `2026-08-31.v9` and
|
|
28
|
+
included the canonical PVOX feature flag in model-resolution context.
|
|
29
|
+
|
|
30
|
+
- **Fixed**
|
|
31
|
+
- Updated the en-GB resolution description so strict canonical translation
|
|
32
|
+
validation remains fail closed without making discovery unusable.
|
|
33
|
+
|
|
34
|
+
- **Security**
|
|
35
|
+
- Kept attachment acquisition, rights, PVOX, OAuth, capability, and rollout
|
|
36
|
+
metadata sourced from the pinned canonical registry without adding runtime
|
|
37
|
+
access to this public-safe package.
|
|
38
|
+
|
|
39
|
+
## [0.6.0] - 2026-08-26
|
|
40
|
+
|
|
41
|
+
- **Added**
|
|
42
|
+
- Added the read-only `getFeedbackGameReconstruction` descriptor for one
|
|
43
|
+
canonical safe in-game reconstruction manifest backed by curated public
|
|
44
|
+
assets and consented coarse renderer diagnostics.
|
|
45
|
+
|
|
46
|
+
- **Changed**
|
|
47
|
+
- Advanced the additive MCP Admin registry contract to `2026-08-26.v8` and
|
|
48
|
+
added the canonical `FeedbackGameReconstructionManifestSchema` source
|
|
49
|
+
identity plus an en-GB action description.
|
|
50
|
+
|
|
51
|
+
- **Fixed**
|
|
52
|
+
- (placeholder)
|
|
53
|
+
|
|
54
|
+
- **Security**
|
|
55
|
+
- Restricted reconstruction reads to exact lowercase UUIDv4 point lookups
|
|
56
|
+
under the existing default-off `feedback.mcp.enabled`, `mcp:access`, and
|
|
57
|
+
`admin.feedback.read` controls, with no list, scan, query, or mutation
|
|
58
|
+
contract.
|
|
59
|
+
- Explicitly excluded client pixels and request telemetry in addition to
|
|
60
|
+
narrative, reporter correlation, binary images, URLs, and direct storage
|
|
61
|
+
references; the route metadata requires a uniform not-found response for
|
|
62
|
+
absent, expired, or unavailable manifests.
|
|
63
|
+
|
|
17
64
|
## [0.5.1] - 2026-08-20
|
|
18
65
|
|
|
19
66
|
- **Added**
|
|
@@ -244,3 +291,5 @@
|
|
|
244
291
|
[0.4.0]: https://github.com/Plasius-LTD/mcp-admin-contracts/releases/tag/v0.4.0
|
|
245
292
|
[0.5.0]: https://github.com/Plasius-LTD/mcp-admin-contracts/releases/tag/v0.5.0
|
|
246
293
|
[0.5.1]: https://github.com/Plasius-LTD/mcp-admin-contracts/releases/tag/v0.5.1
|
|
294
|
+
[0.6.0]: https://github.com/Plasius-LTD/mcp-admin-contracts/releases/tag/v0.6.0
|
|
295
|
+
[0.6.1]: https://github.com/Plasius-LTD/mcp-admin-contracts/releases/tag/v0.6.1
|
package/README.md
CHANGED
|
@@ -57,7 +57,8 @@ 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
|
|
@@ -70,7 +71,7 @@ The exported registry currently covers:
|
|
|
70
71
|
### Canonical model resolution
|
|
71
72
|
|
|
72
73
|
The additive `modelTools` discovery family advertises the eight exact MCP
|
|
73
|
-
tool names owned by `@plasius/asset-mcp 0.1.
|
|
74
|
+
tool names owned by `@plasius/asset-mcp 0.1.7`:
|
|
74
75
|
|
|
75
76
|
- `list_model_search_rankers`
|
|
76
77
|
- `search_model_catalog`
|
|
@@ -87,7 +88,10 @@ all legacy descriptors and exports remain source-compatible. The schema
|
|
|
87
88
|
response references the canonical input/output schema objects, annotations,
|
|
88
89
|
OAuth security schemes, capabilities, review-result metadata, and rollout
|
|
89
90
|
metadata directly from `@plasius/asset-mcp` rather than maintaining local
|
|
90
|
-
copies.
|
|
91
|
+
copies. The `resolve_model_request` schema includes the canonical ChatGPT file
|
|
92
|
+
parameter, paired rights attestation, PVOX result metadata, and fail-closed
|
|
93
|
+
rollout controls from that source package. Each wrapper also carries bounded
|
|
94
|
+
verification notes identifying the
|
|
91
95
|
canonical result or follow-up tool used to confirm an operation.
|
|
92
96
|
|
|
93
97
|
Every model tool requires the parent
|
|
@@ -95,9 +99,10 @@ Every model tool requires the parent
|
|
|
95
99
|
future generator additionally carry the conditional, fail-closed
|
|
96
100
|
`asset.pipeline.external-model-harvest.enabled` and
|
|
97
101
|
`asset.pipeline.ai-model-generation.enabled` flags only on the tools that may
|
|
98
|
-
attempt those fallbacks.
|
|
99
|
-
|
|
100
|
-
|
|
102
|
+
attempt those fallbacks. PVOX-producing paths additionally carry
|
|
103
|
+
`asset.pipeline.pvox-models.enabled`. Installing this package does not evaluate
|
|
104
|
+
any flag or make a hosted tool callable; the consuming runtime owns fail-closed
|
|
105
|
+
rollout, OAuth, capability, ownership, and audit enforcement.
|
|
101
106
|
|
|
102
107
|
Tool scopes and capabilities are preserved exactly, including distinct
|
|
103
108
|
`asset.catalog.request`, `asset.catalog.confirm`, and operator-only
|
|
@@ -121,7 +126,7 @@ silently change later calls in the same process.
|
|
|
121
126
|
|
|
122
127
|
Package-owned en-GB keys provide stable descriptions for every canonical tool.
|
|
123
128
|
When discovery is built, description drift between those translations and the
|
|
124
|
-
pinned canonical registry fails closed. `@plasius/asset-contracts 0.
|
|
129
|
+
pinned canonical registry fails closed. `@plasius/asset-contracts 0.4.0`
|
|
125
130
|
supplies the underlying model-resolution contract version; no model schema is
|
|
126
131
|
redeclared here.
|
|
127
132
|
|
|
@@ -174,6 +179,7 @@ contracts:
|
|
|
174
179
|
- `listFeedbackAlerts`
|
|
175
180
|
- `getFeedbackFreshness`
|
|
176
181
|
- `listFeedbackStructuredEntries`
|
|
182
|
+
- `getFeedbackGameReconstruction`
|
|
177
183
|
|
|
178
184
|
Every feedback descriptor carries the canonical default-off rollout flag
|
|
179
185
|
`feedback.mcp.enabled`, required capability `admin.feedback.read`, complete
|
|
@@ -186,6 +192,10 @@ scope, or capability is unavailable, the consumer-visible fallback is that the
|
|
|
186
192
|
feedback actions are omitted or rejected; this package does not evaluate
|
|
187
193
|
access.
|
|
188
194
|
|
|
195
|
+
`MCP_ADMIN_FEEDBACK_HOST_DEFAULT_ENABLED` is exported as `false` so host
|
|
196
|
+
registries can verify the intended initial state without treating this public
|
|
197
|
+
metadata package as a runtime flag evaluator.
|
|
198
|
+
|
|
189
199
|
The global AI-plugin manifest deliberately retains its existing
|
|
190
200
|
`openid email profile mcp:access` base scopes. The feedback scopes remain
|
|
191
201
|
action metadata until the site OAuth issuer, protected-resource metadata, and
|
|
@@ -205,22 +215,36 @@ exact `packetType`-discriminated union: the bug variant alone permits
|
|
|
205
215
|
Consumers must reject unknown or cross-packet fields before flattening the
|
|
206
216
|
selected variant into route query parameters.
|
|
207
217
|
|
|
218
|
+
The reconstruction action is an exact point read by lowercase UUIDv4 bug
|
|
219
|
+
packet ID. It returns only the canonical
|
|
220
|
+
`FeedbackGameReconstructionManifestSchema`: opaque content IDs, server-owned
|
|
221
|
+
creation and expiry times, an allowlisted curated public asset-set ID, a
|
|
222
|
+
translation notice key, and consented coarse renderer diagnostics. It has no
|
|
223
|
+
list, search, cursor, free-form query, or mutation variant. The manifest is
|
|
224
|
+
clearly labelled as a server-side reconstruction and is not a literal
|
|
225
|
+
screenshot. It contains no captured pixels, binary image, narrative, DOM,
|
|
226
|
+
reporter/control identity, request telemetry, URL, storage locator, arbitrary
|
|
227
|
+
asset, or direct Blob reference. Hosts must return the same not-found response
|
|
228
|
+
for absent, expired, and unavailable manifests to avoid adding a richer
|
|
229
|
+
existence oracle.
|
|
230
|
+
|
|
208
231
|
This package directly consumes the published `@plasius/schema ^1.4.0`
|
|
209
232
|
dependency. Packet and report descriptors bind their schema sources to its
|
|
210
233
|
feedback contract version `1.0.0`, and their vocabularies and schema identity
|
|
211
234
|
metadata are imported from that package at runtime. Entries are discriminated
|
|
212
235
|
by the canonical
|
|
213
236
|
`feedback-bug-packet`/`feedback-review-packet` identities; hourly bug-health,
|
|
214
|
-
daily satisfaction, advisories, diagnostics,
|
|
215
|
-
the same closed kebab-case vocabulary and
|
|
216
|
-
canonical schemas. The registry-generated
|
|
217
|
-
source, file, and Git dependency pins
|
|
237
|
+
daily satisfaction, advisories, diagnostics, processor checkpoints, and safe
|
|
238
|
+
reconstruction manifests use the same closed kebab-case vocabulary and
|
|
239
|
+
lowercase UUIDv4 constraints as the canonical schemas. The registry-generated
|
|
240
|
+
lock resolves the package directly; source, file, and Git dependency pins
|
|
241
|
+
remain prohibited.
|
|
218
242
|
|
|
219
243
|
The contracts explicitly exclude account, reporter, network, session,
|
|
220
244
|
user-agent, locale, client-time, referrer, coordinate, dimension, and adapter
|
|
221
245
|
identifiers; credentials and secrets; financial and government identifiers;
|
|
222
|
-
filenames and raw warnings; narrative, binary images,
|
|
223
|
-
URLs, unrestricted scans, and mutations.
|
|
246
|
+
filenames and raw warnings; narrative, binary images, client pixels, request
|
|
247
|
+
telemetry, Blob references, raw URLs, unrestricted scans, and mutations.
|
|
224
248
|
Narrative-derived data is limited to closed classifications; it cannot include
|
|
225
249
|
summaries, quotations, embeddings, hashes, matched values, or model traces.
|
|
226
250
|
Renderer diagnostics are bounded structured facts only and never
|
package/dist/index.cjs
CHANGED
|
@@ -41,6 +41,7 @@ __export(index_exports, {
|
|
|
41
41
|
MCP_ADMIN_FEEDBACK_BUG_HEALTH_WINDOWS: () => MCP_ADMIN_FEEDBACK_BUG_HEALTH_WINDOWS,
|
|
42
42
|
MCP_ADMIN_FEEDBACK_ENTRY_WINDOWS: () => MCP_ADMIN_FEEDBACK_ENTRY_WINDOWS,
|
|
43
43
|
MCP_ADMIN_FEEDBACK_FLAG_ID: () => MCP_ADMIN_FEEDBACK_FLAG_ID,
|
|
44
|
+
MCP_ADMIN_FEEDBACK_HOST_DEFAULT_ENABLED: () => MCP_ADMIN_FEEDBACK_HOST_DEFAULT_ENABLED,
|
|
44
45
|
MCP_ADMIN_FEEDBACK_MAX_CURSOR_LENGTH: () => MCP_ADMIN_FEEDBACK_MAX_CURSOR_LENGTH,
|
|
45
46
|
MCP_ADMIN_FEEDBACK_MAX_PAGE_SIZE: () => MCP_ADMIN_FEEDBACK_MAX_PAGE_SIZE,
|
|
46
47
|
MCP_ADMIN_FEEDBACK_PACKET_TYPES: () => MCP_ADMIN_FEEDBACK_PACKET_TYPES,
|
|
@@ -84,6 +85,7 @@ __export(index_exports, {
|
|
|
84
85
|
MCP_ASSET_PIPELINE_FLAG_ID: () => MCP_ASSET_PIPELINE_FLAG_ID,
|
|
85
86
|
MCP_ASSET_PIPELINE_MANAGE_CAPABILITY: () => MCP_ASSET_PIPELINE_MANAGE_CAPABILITY,
|
|
86
87
|
MCP_ASSET_PROCESSING_OPERATIONS: () => MCP_ASSET_PROCESSING_OPERATIONS,
|
|
88
|
+
MCP_ASSET_PVOX_FLAG_ID: () => MCP_ASSET_PVOX_FLAG_ID,
|
|
87
89
|
MCP_ASSET_REVIEW_KINDS: () => MCP_ASSET_REVIEW_KINDS,
|
|
88
90
|
MCP_ASSET_SOURCE_ADAPTERS: () => MCP_ASSET_SOURCE_ADAPTERS,
|
|
89
91
|
MCP_ASSET_SOURCE_MANAGE_CAPABILITY: () => MCP_ASSET_SOURCE_MANAGE_CAPABILITY,
|
|
@@ -141,6 +143,7 @@ var mcpAdminContractsEnGbTranslations = {
|
|
|
141
143
|
"mcpAdminContracts.action.listFeedbackAlerts.description": "List bounded deterministic feedback advisories using an opaque cursor.",
|
|
142
144
|
"mcpAdminContracts.action.getFeedbackFreshness.description": "Read safe freshness metadata for the hourly bug and daily satisfaction processors.",
|
|
143
145
|
"mcpAdminContracts.action.listFeedbackStructuredEntries.description": "List bounded reporter-identifier-free structured feedback entries without narrative or storage references.",
|
|
146
|
+
"mcpAdminContracts.action.getFeedbackGameReconstruction.description": "Read one clearly labelled safe in-game reconstruction manifest without captured pixels, narrative, reporter identity, or storage references.",
|
|
144
147
|
"mcpAdminContracts.action.searchAssetCatalog.description": "Search promoted asset catalog records without live third-party lookup.",
|
|
145
148
|
"mcpAdminContracts.action.getAssetManifest.description": "Fetch a promoted player-safe runtime asset manifest reference.",
|
|
146
149
|
"mcpAdminContracts.action.requestAsset.description": "Queue a governed missing-asset request when no promoted catalog match exists.",
|
|
@@ -156,7 +159,7 @@ var mcpAdminContractsEnGbTranslations = {
|
|
|
156
159
|
"mcpAdminContracts.action.getAssetJobStatus.description": "Read governed asset job status, planned processing work, and evidence references.",
|
|
157
160
|
"mcpAdminContracts.action.listModelSearchRankers.description": "List allowlisted, calibrated model-search rankers and their current readiness without selecting a substitute.",
|
|
158
161
|
"mcpAdminContracts.action.searchModelCatalog.description": "Search promoted model catalog versions using hard constraints and one exact calibrated ranker selection.",
|
|
159
|
-
"mcpAdminContracts.action.resolveModelRequest.description": "Search the catalog and idempotently create asynchronous provider
|
|
162
|
+
"mcpAdminContracts.action.resolveModelRequest.description": "Search the catalog and idempotently stage an attached source or create asynchronous provider/generator fallback work.",
|
|
160
163
|
"mcpAdminContracts.action.getModelResolution.description": "Read an owned immutable model-resolution revision, progress, questions, and review evidence.",
|
|
161
164
|
"mcpAdminContracts.action.confirmModelCandidate.description": "Confirm one exact four-view candidate; low assurance additionally requires explicit semantic-risk acceptance.",
|
|
162
165
|
"mcpAdminContracts.action.retryModelResolution.description": "Create the next immutable request revision from bounded refinement answers and candidate exclusions.",
|
|
@@ -211,6 +214,7 @@ var mcpAdminContractDescriptionKeys = {
|
|
|
211
214
|
actionListFeedbackAlerts: "mcpAdminContracts.action.listFeedbackAlerts.description",
|
|
212
215
|
actionGetFeedbackFreshness: "mcpAdminContracts.action.getFeedbackFreshness.description",
|
|
213
216
|
actionListFeedbackStructuredEntries: "mcpAdminContracts.action.listFeedbackStructuredEntries.description",
|
|
217
|
+
actionGetFeedbackGameReconstruction: "mcpAdminContracts.action.getFeedbackGameReconstruction.description",
|
|
214
218
|
actionSearchAssetCatalog: "mcpAdminContracts.action.searchAssetCatalog.description",
|
|
215
219
|
actionGetAssetManifest: "mcpAdminContracts.action.getAssetManifest.description",
|
|
216
220
|
actionRequestAsset: "mcpAdminContracts.action.requestAsset.description",
|
|
@@ -256,7 +260,7 @@ function getMcpAdminContractDefaultTranslation(key) {
|
|
|
256
260
|
}
|
|
257
261
|
|
|
258
262
|
// src/index.ts
|
|
259
|
-
var MCP_ADMIN_CONTRACT_VERSION = "2026-08-
|
|
263
|
+
var MCP_ADMIN_CONTRACT_VERSION = "2026-08-31.v9";
|
|
260
264
|
var MCP_ADMIN_REGISTRY_SOURCE = "@plasius/mcp-admin-contracts";
|
|
261
265
|
var MCP_ADMIN_FOUNDATION_FLAG_ID = "mcp.admin.foundation.enabled";
|
|
262
266
|
var MCP_ACCESS_SCOPE = "mcp:access";
|
|
@@ -272,6 +276,7 @@ var MCP_ADMIN_PRODUCTION_READINESS_FLAG_ID = "mcp.admin.production-readiness.ena
|
|
|
272
276
|
var MCP_ADMIN_PRODUCTION_READINESS_ENV_VAR = "MCP_ADMIN_PRODUCTION_READINESS_ENABLED";
|
|
273
277
|
var MCP_ASSET_PIPELINE_FLAG_ID = "asset.pipeline.unified-ai-assets.enabled";
|
|
274
278
|
var MCP_ASSET_EXTERNAL_HARVEST_FLAG_ID = "asset.pipeline.external-model-harvest.enabled";
|
|
279
|
+
var MCP_ASSET_PVOX_FLAG_ID = import_asset_mcp.MODEL_MCP_PVOX_FEATURE_FLAG_ID;
|
|
275
280
|
var MCP_ASSET_CATALOG_REQUEST_CAPABILITY = import_asset_mcp.MODEL_MCP_CATALOG_REQUEST_CAPABILITY;
|
|
276
281
|
var MCP_ASSET_CATALOG_CONFIRM_CAPABILITY = import_asset_mcp.MODEL_MCP_CATALOG_CONFIRM_CAPABILITY;
|
|
277
282
|
var MCP_ASSET_PIPELINE_MANAGE_CAPABILITY = import_asset_mcp.MODEL_MCP_PIPELINE_MANAGE_CAPABILITY;
|
|
@@ -297,6 +302,7 @@ var MCP_ADMIN_MODEL_OAUTH_SCOPES = Object.freeze([
|
|
|
297
302
|
]);
|
|
298
303
|
var canonicalModelToolDefinitions = (0, import_asset_mcp.listModelMcpToolDefinitions)();
|
|
299
304
|
var MCP_ADMIN_FEEDBACK_FLAG_ID = "feedback.mcp.enabled";
|
|
305
|
+
var MCP_ADMIN_FEEDBACK_HOST_DEFAULT_ENABLED = false;
|
|
300
306
|
var MCP_ADMIN_FEEDBACK_READ_CAPABILITY = "admin.feedback.read";
|
|
301
307
|
var MCP_ADMIN_BASE_OAUTH_SCOPE = MCP_ACCESS_SCOPE;
|
|
302
308
|
var MCP_ADMIN_FEEDBACK_READ_OAUTH_SCOPE = MCP_ADMIN_FEEDBACK_READ_CAPABILITY;
|
|
@@ -346,12 +352,14 @@ var MCP_ADMIN_FEEDBACK_PRIVACY_EXCLUSIONS = [
|
|
|
346
352
|
"matched-values",
|
|
347
353
|
"model-traces",
|
|
348
354
|
"binary-images",
|
|
355
|
+
"client-pixels",
|
|
349
356
|
"filenames",
|
|
350
357
|
"exact-coordinates",
|
|
351
358
|
"exact-dimensions",
|
|
352
359
|
"adapter-fingerprints",
|
|
353
360
|
"raw-warnings",
|
|
354
361
|
"blob-references",
|
|
362
|
+
"request-telemetry",
|
|
355
363
|
"raw-urls",
|
|
356
364
|
"unrestricted-scans",
|
|
357
365
|
"mutations"
|
|
@@ -364,6 +372,7 @@ var MCP_ECONOMY_FINANCE_APPROVE_CAPABILITY = "economy.finance-operations.approve
|
|
|
364
372
|
var canonicalFeedbackSchemas = Object.freeze({
|
|
365
373
|
FeedbackBugPacketSchema: import_schema.FeedbackBugPacketSchema,
|
|
366
374
|
FeedbackReviewPacketSchema: import_schema.FeedbackReviewPacketSchema,
|
|
375
|
+
FeedbackGameReconstructionManifestSchema: import_schema.FeedbackGameReconstructionManifestSchema,
|
|
367
376
|
FeedbackHourlyBugReportSchema: import_schema.FeedbackHourlyBugReportSchema,
|
|
368
377
|
FeedbackDailySatisfactionReportSchema: import_schema.FeedbackDailySatisfactionReportSchema,
|
|
369
378
|
FeedbackProcessorCheckpointSchema: import_schema.FeedbackProcessorCheckpointSchema
|
|
@@ -1196,7 +1205,7 @@ var canonicalGameDiagnosticsVariantField = (surfaceId, provenanceContractId) =>
|
|
|
1196
1205
|
FEEDBACK_SCHEMA_GAME_ERROR_CODES.length
|
|
1197
1206
|
)
|
|
1198
1207
|
});
|
|
1199
|
-
var canonicalGameDiagnosticsField = discriminatedUnionField(
|
|
1208
|
+
var canonicalGameDiagnosticsField = (required) => discriminatedUnionField(
|
|
1200
1209
|
"Canonical `FeedbackGameDiagnostics`; its surface must equal the containing bug packet surface and it cannot express pixels, DOM, text, URLs, filenames, coordinates, or adapter fingerprints.",
|
|
1201
1210
|
"surfaceId",
|
|
1202
1211
|
[
|
|
@@ -1209,7 +1218,7 @@ var canonicalGameDiagnosticsField = discriminatedUnionField(
|
|
|
1209
1218
|
"gpu-demo.renderer-diagnostics.v1"
|
|
1210
1219
|
)
|
|
1211
1220
|
],
|
|
1212
|
-
{ required: false }
|
|
1221
|
+
required ? {} : { required: false }
|
|
1213
1222
|
);
|
|
1214
1223
|
var canonicalBugPacketField = feedbackClosedObjectField(
|
|
1215
1224
|
"Canonical identifier-free immutable `FeedbackBugPacket`.",
|
|
@@ -1230,7 +1239,7 @@ var canonicalBugPacketField = feedbackClosedObjectField(
|
|
|
1230
1239
|
releaseId: canonicalSafeIdField("Server-owned release identifier."),
|
|
1231
1240
|
buildId: canonicalSafeIdField("Server-owned build identifier."),
|
|
1232
1241
|
analysis: canonicalAnalysisProjectionField,
|
|
1233
|
-
gameDiagnostics: canonicalGameDiagnosticsField
|
|
1242
|
+
gameDiagnostics: canonicalGameDiagnosticsField(false)
|
|
1234
1243
|
}
|
|
1235
1244
|
);
|
|
1236
1245
|
var canonicalReviewPacketField = feedbackClosedObjectField(
|
|
@@ -1251,6 +1260,32 @@ var canonicalFeedbackPacketField = discriminatedUnionField(
|
|
|
1251
1260
|
"type",
|
|
1252
1261
|
[canonicalBugPacketField, canonicalReviewPacketField]
|
|
1253
1262
|
);
|
|
1263
|
+
var canonicalGameReconstructionManifestField = feedbackClosedObjectField(
|
|
1264
|
+
"Canonical safe server-side reconstruction manifest. It is a labelled reconstruction from curated public assets and consented coarse diagnostics, not a literal screenshot.",
|
|
1265
|
+
{
|
|
1266
|
+
...canonicalSchemaIdentityFields("feedback-game-reconstruction-manifest"),
|
|
1267
|
+
reconstructionId: canonicalUuidV4Field(
|
|
1268
|
+
"Opaque canonical reconstruction UUIDv4."
|
|
1269
|
+
),
|
|
1270
|
+
bugPacketId: canonicalUuidV4Field(
|
|
1271
|
+
"Opaque canonical source bug-packet UUIDv4; it cannot identify a reporter."
|
|
1272
|
+
),
|
|
1273
|
+
createdAt: canonicalDateTimeField(
|
|
1274
|
+
"Server-owned reconstruction creation time."
|
|
1275
|
+
),
|
|
1276
|
+
expiresAt: canonicalDateTimeField(
|
|
1277
|
+
"Server-owned expiry, strictly after creation and no more than 30 days later."
|
|
1278
|
+
),
|
|
1279
|
+
curatedAssetSetId: canonicalSafeIdField(
|
|
1280
|
+
"Allowlisted curated public asset-set identifier; never a path, URL, or Blob reference."
|
|
1281
|
+
),
|
|
1282
|
+
noticeKey: canonicalSafeIdField(
|
|
1283
|
+
"Stable translation key labelling this as a reconstruction rather than a screenshot.",
|
|
1284
|
+
160
|
|
1285
|
+
),
|
|
1286
|
+
diagnostics: canonicalGameDiagnosticsField(true)
|
|
1287
|
+
}
|
|
1288
|
+
);
|
|
1254
1289
|
var canonicalDistributionField = (description, idField, maximum) => arrayOfField(
|
|
1255
1290
|
`${description} Bucket identifiers are unique as required by the canonical schema.`,
|
|
1256
1291
|
"FeedbackCountBucket",
|
|
@@ -1854,6 +1889,38 @@ var MCP_ADMIN_FEEDBACK_ACTIONS = deepFreeze([
|
|
|
1854
1889
|
{ maxItems: MCP_ADMIN_FEEDBACK_MAX_PAGE_SIZE }
|
|
1855
1890
|
)
|
|
1856
1891
|
}
|
|
1892
|
+
},
|
|
1893
|
+
{
|
|
1894
|
+
name: "getFeedbackGameReconstruction",
|
|
1895
|
+
...translatedDescription(
|
|
1896
|
+
mcpAdminContractDescriptionKeys.actionGetFeedbackGameReconstruction
|
|
1897
|
+
),
|
|
1898
|
+
...feedbackDescriptorMetadata,
|
|
1899
|
+
schemaSource: feedbackSchemaSource(
|
|
1900
|
+
"FeedbackGameReconstructionManifestSchema"
|
|
1901
|
+
),
|
|
1902
|
+
execution: {
|
|
1903
|
+
method: "GET",
|
|
1904
|
+
path: "/api/admin/feedback/reconstructions/{bugPacketId}",
|
|
1905
|
+
source: "near-future-route",
|
|
1906
|
+
notes: [
|
|
1907
|
+
"Reads one schema-validated, clearly labelled server-side reconstruction manifest from consented coarse diagnostics and curated public assets; it is not a literal screenshot.",
|
|
1908
|
+
"Returns no binary image, client pixels, DOM, narrative, reporter or control identity, request telemetry, URL, arbitrary asset, direct Blob reference, or storage locator.",
|
|
1909
|
+
"The runtime must validate the exact lowercase UUIDv4 path value, enforce fail-closed rate limits and dedicated audit, and return one uniform not-found response for absent, expired, or unavailable manifests.",
|
|
1910
|
+
"This point-read contract has no list, scan, cursor, free-form query, or mutation operation."
|
|
1911
|
+
]
|
|
1912
|
+
},
|
|
1913
|
+
input: {
|
|
1914
|
+
bugPacketId: {
|
|
1915
|
+
...canonicalUuidV4Field(
|
|
1916
|
+
"Exact opaque bug-packet UUIDv4 for one approved reconstruction."
|
|
1917
|
+
),
|
|
1918
|
+
required: true
|
|
1919
|
+
}
|
|
1920
|
+
},
|
|
1921
|
+
output: {
|
|
1922
|
+
item: canonicalGameReconstructionManifestField
|
|
1923
|
+
}
|
|
1857
1924
|
}
|
|
1858
1925
|
]);
|
|
1859
1926
|
var MCP_ADMIN_ACTIONS = [
|
|
@@ -3625,6 +3692,7 @@ var buildMcpModelResolutionContext = () => ({
|
|
|
3625
3692
|
rpcMethod: "tools/call",
|
|
3626
3693
|
requiredFeatureFlag: import_asset_mcp.MODEL_MCP_UNIFIED_FEATURE_FLAG_ID,
|
|
3627
3694
|
conditionalFeatureFlags: [
|
|
3695
|
+
import_asset_mcp.MODEL_MCP_PVOX_FEATURE_FLAG_ID,
|
|
3628
3696
|
import_asset_mcp.MODEL_MCP_EXTERNAL_HARVEST_FEATURE_FLAG_ID,
|
|
3629
3697
|
import_asset_mcp.MODEL_MCP_GENERATION_FEATURE_FLAG_ID
|
|
3630
3698
|
],
|
|
@@ -3705,7 +3773,7 @@ var MCP_ADMIN_CONTEXT_SHAPE = deepFreeze({
|
|
|
3705
3773
|
{ constValue: import_asset_mcp.MODEL_MCP_UNIFIED_FEATURE_FLAG_ID }
|
|
3706
3774
|
),
|
|
3707
3775
|
conditionalFeatureFlags: arrayField(
|
|
3708
|
-
"
|
|
3776
|
+
"PVOX, provider, and generator flags evaluated only when their governed path is attempted.",
|
|
3709
3777
|
"string"
|
|
3710
3778
|
),
|
|
3711
3779
|
tools: arrayField("Canonical snake_case model-resolution tool names.", "string"),
|
|
@@ -3942,6 +4010,7 @@ function normalizeOptionalString(value) {
|
|
|
3942
4010
|
MCP_ADMIN_FEEDBACK_BUG_HEALTH_WINDOWS,
|
|
3943
4011
|
MCP_ADMIN_FEEDBACK_ENTRY_WINDOWS,
|
|
3944
4012
|
MCP_ADMIN_FEEDBACK_FLAG_ID,
|
|
4013
|
+
MCP_ADMIN_FEEDBACK_HOST_DEFAULT_ENABLED,
|
|
3945
4014
|
MCP_ADMIN_FEEDBACK_MAX_CURSOR_LENGTH,
|
|
3946
4015
|
MCP_ADMIN_FEEDBACK_MAX_PAGE_SIZE,
|
|
3947
4016
|
MCP_ADMIN_FEEDBACK_PACKET_TYPES,
|
|
@@ -3985,6 +4054,7 @@ function normalizeOptionalString(value) {
|
|
|
3985
4054
|
MCP_ASSET_PIPELINE_FLAG_ID,
|
|
3986
4055
|
MCP_ASSET_PIPELINE_MANAGE_CAPABILITY,
|
|
3987
4056
|
MCP_ASSET_PROCESSING_OPERATIONS,
|
|
4057
|
+
MCP_ASSET_PVOX_FLAG_ID,
|
|
3988
4058
|
MCP_ASSET_REVIEW_KINDS,
|
|
3989
4059
|
MCP_ASSET_SOURCE_ADAPTERS,
|
|
3990
4060
|
MCP_ASSET_SOURCE_MANAGE_CAPABILITY,
|