@plasius/mcp-admin-contracts 0.4.0 → 0.5.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,46 @@
14
14
  - **Security**
15
15
  - (placeholder)
16
16
 
17
+ ## [0.5.0] - 2026-08-13
18
+
19
+ - **Added**
20
+ - Added a privacy-safe, read-only `feedback` domain for bounded bug health,
21
+ satisfaction, deterministic alerts, processor freshness, and
22
+ reporter-identifier-free structured feedback entries.
23
+ - Added stable `feedback.mcp.enabled` rollout and `admin.feedback.read`
24
+ capability metadata, complete action-level `mcp:access` plus
25
+ `admin.feedback.read` OAuth scope metadata, unified fail-closed access
26
+ requirements, en-GB descriptions, and machine-readable privacy exclusions
27
+ and bounds.
28
+ - Added canonical packet, aggregate, advisory, diagnostics, and
29
+ processor-checkpoint projections with direct package-schema parity
30
+ coverage.
31
+
32
+ - **Changed**
33
+ - Advanced the additive MCP Admin registry contract to `2026-08-11.v6`
34
+ while preserving all v0.4.0 Token reporting and adjustment domains.
35
+ - Modelled structured-entry filters as exact `packetType` variants so bug
36
+ and review filters cannot be combined.
37
+ - Replaced the staged source projection with direct registry consumption of
38
+ published `@plasius/schema ^1.4.0` canonical schema identities and closed
39
+ vocabularies.
40
+
41
+ - **Fixed**
42
+ - (placeholder)
43
+
44
+ - **Security**
45
+ - Closed every feedback-specific input and output object projection with
46
+ `additionalProperties: false` so undeclared fields cannot cross the
47
+ Admin/MCP contract boundary.
48
+ - Made account, network, session, user-agent, locale, client-time, referrer,
49
+ credential, financial, government, filename, dimension, warning,
50
+ coordinate, adapter-identity, and model-artifact exclusions
51
+ machine-readable.
52
+ - Kept narrative, reporter correlation, binary images, storage references,
53
+ raw URLs, unrestricted scans, and mutations outside the public contract.
54
+ - Raised transitive `brace-expansion`, `nanoid`, and `postcss` override
55
+ floors to remediate the current high-severity development-tool advisories.
56
+
17
57
  ## [0.4.0] - 2026-08-08
18
58
 
19
59
  - **Added**
@@ -175,3 +215,4 @@
175
215
  [0.3.0]: https://github.com/Plasius-LTD/mcp-admin-contracts/releases/tag/v0.3.0
176
216
  [0.3.1]: https://github.com/Plasius-LTD/mcp-admin-contracts/releases/tag/v0.3.1
177
217
  [0.4.0]: https://github.com/Plasius-LTD/mcp-admin-contracts/releases/tag/v0.4.0
218
+ [0.5.0]: https://github.com/Plasius-LTD/mcp-admin-contracts/releases/tag/v0.5.0
package/README.md CHANGED
@@ -55,6 +55,9 @@ The exported registry currently covers:
55
55
  - capability-rule and effective-capability descriptors keyed by canonical tuple identities
56
56
  - bounded analytics queries and curated analytics presets
57
57
  - bounded grouped user-aggregation summaries without raw per-user export
58
+ - privacy-safe feedback intelligence for immutable bug-health and satisfaction
59
+ reports, deterministic alerts, processor freshness, and
60
+ reporter-identifier-free structured entries
58
61
  - read-only global Token overview, pseudonymous wallet/activity, and bounded
59
62
  spend-trend descriptors
60
63
  - governed asset catalog, source-intake, pipeline, and review descriptors for
@@ -101,6 +104,68 @@ JSON-RPC tools and passes scope/capability/flag, bounded-output, privacy, and
101
104
  audit integration tests. Installing or publishing this package does not create
102
105
  runtime routes.
103
106
 
107
+ ### Feedback intelligence
108
+
109
+ The read-only `feedback` domain publishes these near-future hosted action
110
+ contracts:
111
+
112
+ - `getFeedbackBugHealth`
113
+ - `getFeedbackSatisfaction`
114
+ - `listFeedbackAlerts`
115
+ - `getFeedbackFreshness`
116
+ - `listFeedbackStructuredEntries`
117
+
118
+ Every feedback descriptor carries the canonical default-off rollout flag
119
+ `feedback.mcp.enabled`, required capability `admin.feedback.read`, complete
120
+ action-level OAuth scopes `mcp:access` plus `admin.feedback.read`, and a
121
+ machine-readable privacy boundary. The same controls are repeated in the
122
+ descriptor's unified read-only `access` metadata so a consumer cannot silently
123
+ drop one requirement when building hosted tools. The consuming admin/MCP
124
+ runtime owns evaluation of those controls and must fail closed. When the flag,
125
+ scope, or capability is unavailable, the consumer-visible fallback is that the
126
+ feedback actions are omitted or rejected; this package does not evaluate
127
+ access.
128
+
129
+ The global AI-plugin manifest deliberately retains its existing
130
+ `openid email profile mcp:access` base scopes. The feedback scopes remain
131
+ action metadata until the site OAuth issuer, protected-resource metadata, and
132
+ staged rollout are coordinated.
133
+
134
+ Feedback reads use closed server-owned windows, opaque continuation cursors of
135
+ at most 512 characters, and pages of at most 100 records. They address
136
+ immutable materialised reports and schema-validated structured projections,
137
+ never unrestricted storage scans. Every feedback-specific object projection
138
+ also declares `additionalProperties: false`, keeping undeclared fields outside
139
+ the Admin/MCP serialization boundary.
140
+
141
+ The structured-entry action accepts one required `filters` object. It is an
142
+ exact `packetType`-discriminated union: the bug variant alone permits
143
+ `surfaceId`, `buildId`, and `severity`, while the review variant alone permits
144
+ `satisfaction`. Both variants contain the bounded window, limit, and cursor.
145
+ Consumers must reject unknown or cross-packet fields before flattening the
146
+ selected variant into route query parameters.
147
+
148
+ This package directly consumes the published `@plasius/schema ^1.4.0`
149
+ dependency. Packet and report descriptors bind their schema sources to its
150
+ feedback contract version `1.0.0`, and their vocabularies and schema identity
151
+ metadata are imported from that package at runtime. Entries are discriminated
152
+ by the canonical
153
+ `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.
158
+
159
+ The contracts explicitly exclude account, reporter, network, session,
160
+ user-agent, locale, client-time, referrer, coordinate, dimension, and adapter
161
+ 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.
164
+ Narrative-derived data is limited to closed classifications; it cannot include
165
+ summaries, quotations, embeddings, hashes, matched values, or model traces.
166
+ Renderer diagnostics are bounded structured facts only and never
167
+ user-captured pixels.
168
+
104
169
  Action descriptors keep their existing `description` field and also expose
105
170
  `descriptionKey` and `descriptionDefault` so clients can resolve display text
106
171
  through `@plasius/translations`: