@owlmeans/server-planning 0.1.18-rc.15 → 0.1.18-rc.16

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/README.md CHANGED
@@ -10,7 +10,7 @@ the `@owlmeans/server-planning/store` subpath.
10
10
  ## Installation
11
11
 
12
12
  ```sh
13
- bun add @owlmeans/server-planning@^0.1.18-rc.15 @owlmeans/planning@^0.1.18-rc.13 ajv
13
+ bun add @owlmeans/server-planning@^0.1.18-rc.16 @owlmeans/planning@^0.1.18-rc.14 ajv
14
14
  ```
15
15
 
16
16
  ## Concepts
@@ -169,7 +169,7 @@ This package ships embedded agent skills under `agent-meta/`. After installing y
169
169
  your project's skill store (`.agents/skills/`):
170
170
 
171
171
  ```sh
172
- npx @owlmeans/agent-skills@^0.1.18-rc.44
172
+ npx @owlmeans/agent-skills@^0.1.18-rc.45
173
173
  ```
174
174
 
175
175
  The embedded files are version-matched to this package release. Do not edit them
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 2,
3
3
  "package": "@owlmeans/server-planning",
4
- "version": "0.1.18-rc.15",
5
- "generatedAt": "2026-09-30T09:41:02.821Z",
4
+ "version": "0.1.18-rc.16",
5
+ "generatedAt": "2026-10-01T23:27:48.721Z",
6
6
  "canonicalRepo": "https://github.com/owlmeans/common",
7
7
  "entries": [
8
8
  {
@@ -8,7 +8,7 @@ user-invocable: false
8
8
  # @owlmeans/server-planning
9
9
 
10
10
  **Layer:** Server
11
- **Install:** `"@owlmeans/server-planning": "^0.1.18-rc.15"` in `dependencies` (`ajv` is a peer)
11
+ **Install:** `"@owlmeans/server-planning": "^0.1.18-rc.16"` in `dependencies` (`ajv` is a peer)
12
12
 
13
13
  The general implementation of `@owlmeans/planning`: the planning service (a plugin host), the
14
14
  scoped facade, the executor every write goes through, the in-memory reference store, the commit
@@ -291,6 +291,12 @@ mapping external records (`mappers`) belongs to that plugin's own store adapter.
291
291
  from the request, never the body (`wireExecution` drops a draft's claim; the executor's
292
292
  `withCreator` stamps the subject, and `assertCreatorFixed` refuses a body whose `changes` or
293
293
  `unset` names `createdBy` — an update can never re-own a card).
294
+ - The organization of a scope is the one the request ACTS IN. Behind the integrated IAM
295
+ (`@owlmeans/server-iam`) that is the session's acting organization, attached to the request by the
296
+ OIDC guard, so `requireEntityKey(req)` is the right tenant key for a product whose people belong
297
+ to several organizations — and, for a product with one shared organization (every person acts in
298
+ the application's own), the same key for everybody. Take it from the request in the handler and
299
+ pass it down; never read it from the context or from a body.
294
300
  - Another entity's card, specification or transition answers `WorkcardNotFound` — the same as an
295
301
  absent id — on reads and writes alike (`concealed`).
296
302
  - Queries arrive in their wire form and are decoded with `decode*Query` before `criteriaOf`, which
@@ -309,6 +315,10 @@ decision per request; a throw is the request's answer (an `AuthForbidden` answer
309
315
  lists, counts and summaries are AND'd with `projectCriteriaOf`, links and transitions are
310
316
  filtered by `project` (and post-filtered, for a store that ignores the field), commit
311
317
  subscriptions drop events outside the set and a status or wait refuses them.
318
+ - A person who may see only SOME projects of their organization (a lending library's member given
319
+ one branch) is expressed here: the resolver answers the project ids the person's grants list as
320
+ `projects`, and omits the key when a grant covers every project — never a hand-written filter in
321
+ each handler.
312
322
  - `grants` gates the stock handlers' writes: `createProjects` (a project create — `true` for the
313
323
  root, a list names the parent projects), `deleteProjects` (the delete of a project card — a list
314
324
  names the projects), `defineSchemas` (`schema.define` — `true` for the organization's layer, a
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@owlmeans/server-planning",
3
- "version": "0.1.18-rc.15",
3
+ "version": "0.1.18-rc.16",
4
4
  "license": "MIT",
5
5
  "description": "The general planning implementation — the planning service and its plugin/middleware registry, the transition executor, the in-memory store, the protocol handlers and the commit feed.",
6
6
  "type": "module",
@@ -44,21 +44,21 @@
44
44
  }
45
45
  },
46
46
  "dependencies": {
47
- "@owlmeans/auth": "^0.1.18-rc.36",
48
- "@owlmeans/auth-common": "^0.1.18-rc.42",
47
+ "@owlmeans/auth": "^0.1.18-rc.37",
48
+ "@owlmeans/auth-common": "^0.1.18-rc.43",
49
49
  "@owlmeans/basic-ids": "^0.1.18-rc.34",
50
50
  "@owlmeans/context": "^0.1.18-rc.32",
51
- "@owlmeans/entrypoint": "^0.1.18-rc.37",
51
+ "@owlmeans/entrypoint": "^0.1.18-rc.38",
52
52
  "@owlmeans/error": "^0.1.18-rc.36",
53
- "@owlmeans/planning": "^0.1.18-rc.13",
54
- "@owlmeans/queue": "^0.1.18-rc.36",
53
+ "@owlmeans/planning": "^0.1.18-rc.14",
54
+ "@owlmeans/queue": "^0.1.18-rc.37",
55
55
  "@owlmeans/resource": "^0.1.18-rc.37",
56
56
  "@owlmeans/route": "^0.1.18-rc.33",
57
- "@owlmeans/server-api": "^0.1.18-rc.46",
58
- "@owlmeans/server-context": "^0.1.18-rc.38",
59
- "@owlmeans/server-entrypoint": "^0.1.18-rc.36",
60
- "@owlmeans/server-socket": "^0.1.18-rc.49",
61
- "@owlmeans/socket": "^0.1.18-rc.35"
57
+ "@owlmeans/server-api": "^0.1.18-rc.47",
58
+ "@owlmeans/server-context": "^0.1.18-rc.39",
59
+ "@owlmeans/server-entrypoint": "^0.1.18-rc.37",
60
+ "@owlmeans/server-socket": "^0.1.18-rc.50",
61
+ "@owlmeans/socket": "^0.1.18-rc.36"
62
62
  },
63
63
  "peerDependencies": {
64
64
  "ajv": "*",