@abgov/adsp-sdk-mcp-server 1.35.2 → 1.36.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.
@@ -54,6 +54,25 @@ The feedback service processes text content of submitted feedback using the [PII
54
54
 
55
55
  Feedback service does not send or consume domain events. Received feedback is queued, processed, and then written as `feedback` values to the [value service](value-service.md) under the `feedback-service` namespace.
56
56
 
57
+ ## Audit
58
+
59
+ The feedback service records audit events in the `feedback-service` namespace of the [audit service](audit-service.md). Records are written to the tenant of the feedback. All actions are version 1 and use the `feedback` resource type.
60
+
61
+ | Action | Category | Severity | Retention class | Recorded when |
62
+ | :------------------------------ | :---------- | :------- | :-------------- | :----------------------------------------------------------------------------------------------------------------------- |
63
+ | `feedback.submitted` | data-access | info | standard | Feedback is accepted and queued for processing. |
64
+ | `feedback.anonymized` | runtime | info | standard | The comment or technical issue text of feedback is anonymized and the feedback is written to the value service. |
65
+ | `feedback.anonymization-failed` | runtime | warning | security | Anonymization of the text fails on the final attempt, so the feedback is dead lettered and not written (status `error`). |
66
+
67
+ Each submission is given an ID that is used as the resource ID, so the records of the same feedback can be matched. The `correlationId` of the feedback context, when set, is recorded as the correlation ID. The metadata includes the `site`, `view` and `rating`, and `commentProvided` and `technicalIssueProvided` flags. The comment and technical issue are free text that can contain personal information, so they are never recorded; nor are the anonymized text or the PII entities that were found. `feedback.anonymization-failed` also includes the `error` message.
68
+
69
+ - `feedback.submitted` uses the signed in user or service account (actor type `service`) as the actor. Anonymous feedback uses the actor `{ "id": "anonymous", "type": "user", "name": "Anonymous" }`.
70
+ - `feedback.anonymized` and `feedback.anonymization-failed` are recorded by the processing job with the actor `{ "id": "feedback-service-job", "type": "system", "name": "Feedback service job" }`. Feedback without text is not anonymized, so it has no `feedback.anonymized` record. A failed attempt that is retried is not recorded, and a failure to write the value is logged but not recorded as an anonymization failure.
71
+
72
+ Rejected feedback (for example an unknown site, or anonymous feedback to a site that does not allow it) and reading feedback, summaries and sites are not audited. Sites are configured in the configuration service, which records changes to the `platform:feedback-service` configuration, including `allowAnonymous` and `url` changes, as `configuration.updated` with a change set.
73
+
74
+ Audit failures are logged and do not fail the operation; pending events are delivered before the service shuts down. The service account of feedback service needs the `audit-writer` role of `urn:ads:platform:audit-service`. Set `FEEDBACK_AUDIT_ENABLED` to `false` to turn recording off; when unset it follows the SDK `AUDIT_ENABLED` variable (on by default), and `true` forces it on. The action catalog is registered on startup either way.
75
+
57
76
  ## Code examples
58
77
 
59
78
  ### Configure a site
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abgov/adsp-sdk-mcp-server",
3
- "version": "1.35.2",
3
+ "version": "1.36.0",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Government of Alberta - MCP server for ADSP documentation and Node SDK reference lookup.",
6
6
  "repository": "https://github.com/GovAlta/adsp-monorepo",
package/provenance.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "kind": "release",
3
- "builtAt": "2026-11-17T19:55:21.424Z",
4
- "sourceCommit": "a4f8cd4f675199b445c3cedb2dc41dc3d1473bbe",
5
- "latestRelease": "1.35.1",
6
- "docsCommit": "7d598d35f78054bdf81b2ebd03a4abf216c33fea",
3
+ "builtAt": "2026-11-17T20:21:25.820Z",
4
+ "sourceCommit": "aad6d247dbdb180ca42abf340f731fb5375a045a",
5
+ "latestRelease": "1.35.2",
6
+ "docsCommit": "774429754966ff8720546510ae1114dfb0093855",
7
7
  "sdk": {
8
8
  "version": "2.36.1",
9
9
  "commit": "dd58a2b854c4406b42c0604dba3fa4b941038d6c",