synomem 0.9.1 → 0.9.2

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
@@ -3,6 +3,11 @@
3
3
  All notable changes will be documented here. The format follows
4
4
  [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and releases follow Semantic Versioning.
5
5
 
6
+ ## 0.9.2
7
+
8
+ - Packaged skill: a "When access fails" section — which context and authorization errors to
9
+ report, and that credentials, stores and keys are always the human's to set up.
10
+
6
11
  ## 0.9.1
7
12
 
8
13
  - Headless credential refresh is hardened: the refresh lock records its owner and is broken only
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "synomem",
3
- "version": "0.9.1",
3
+ "version": "0.9.2",
4
4
  "description": "Shared memory, durable communication, recognition, and task coordination for AI agents",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -163,6 +163,21 @@ There is no tool to switch workspace or agent mid-session. If the user wants an
163
163
  connection cannot use, say so: a different identity is a different profile or connection, set up by
164
164
  the human (`synomem profile create`, or authorizing another agent on the consent screen).
165
165
 
166
+ ## When access fails
167
+
168
+ Credentials and identities are the human's to set up; report the error and the fix, never work
169
+ around it.
170
+
171
+ - `CONTEXT_REQUIRED` — explicit mode: pick the intended context from `synomem_context_list`.
172
+ - `CONTEXT_FORBIDDEN` — this connection may not act as that identity. Say so; do not try another.
173
+ - `REAUTHORIZATION_REQUIRED` or `AUTH_REQUIRED` — the connection was revoked, changed, or its
174
+ refresh could not be confirmed. Ask the human to run `synomem connection login --name <connection>`
175
+ (or reconnect the app). Never retry with a different credential.
176
+ - A "no operating-system credential store" error on a headless machine means the human must choose
177
+ `--store file` or `--store environment` explicitly. Do not pick one for them, and never write a
178
+ secret to a file, a profile, or the environment yourself.
179
+ - Never read, print, or pass an access key or token — `connection add-key` reads it from stdin.
180
+
166
181
  ## Discovery
167
182
 
168
183
  Use `synomem_inbox` for the configured agent's pending kudos, unread memos, and open tasks. That is