@jskit-ai/agent-docs 0.1.333 → 0.1.335

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.
Files changed (28) hide show
  1. package/guide/agent/framework/crud-operations.md +5 -0
  2. package/guide/agent/framework/data-access.md +112 -9
  3. package/guide/agent/framework/material-3.md +2 -1
  4. package/guide/agent/framework/security-pass.md +3 -1
  5. package/package.json +1 -1
  6. package/patterns/minimal-foundation/example/package.json +1 -1
  7. package/patterns/shell-foundation/example/package.json +2 -2
  8. package/reference/autogen/PATTERN_INDEX.md +32 -32
  9. package/reference/autogen/packages/resource-runtime.md +1 -0
  10. package/reference/autogen/packages/shell-web.md +15 -0
  11. package/reference/autogen/packages/users-core.md +1 -0
  12. package/reference/autogen/packages/workspaces-core.md +6 -0
  13. package/reference/autogen/tooling/testUtils.md +1 -0
  14. package/skills/jskit/references/crud-operations.md +5 -0
  15. package/skills/jskit/references/data-access.md +112 -9
  16. package/skills/jskit/references/heuristics/INDEX.md +1 -1
  17. package/skills/jskit/references/heuristics/data-access.md +4 -2
  18. package/skills/jskit/references/material-3.md +2 -1
  19. package/skills/jskit/references/pattern-index.md +32 -32
  20. package/skills/jskit/references/patterns/app/minimal-foundation/example/package.json +1 -1
  21. package/skills/jskit/references/patterns/app/shell-foundation/example/package.json +2 -2
  22. package/skills/jskit/references/patterns/auth/oidc-sign-in/example/package.json +2 -2
  23. package/skills/jskit/references/patterns/connectors/calendar-cli/example/package.json +2 -2
  24. package/skills/jskit/references/patterns/crud/crud-feature-package/example/packages/books/package.json +1 -1
  25. package/skills/jskit/references/patterns/realtime/realtime-application/example/package.json +2 -2
  26. package/skills/jskit/references/patterns/users/user-administration-server/example/packages/users/package.json +2 -2
  27. package/skills/jskit/references/patterns/users/user-administration-server/example/packages/users-workspace/package.json +4 -4
  28. package/skills/jskit/references/security-pass.md +3 -1
@@ -32,7 +32,7 @@ through its handle's calls, and every call takes the call's `options` last:
32
32
  | `queryAll({ filters, sort, include, take }, options)` | every matching row, or the first `take`, for jobs, id lists and one parent's rows |
33
33
  | `queryPages({ filters, sort, include }, options)` | every matching row, a page at a time, for work over many rows |
34
34
  | `get(id, params, options)` | one record |
35
- | `aggregate({ measures, groupBy, filters, sort, page }, options)` | totals, grouped by fields or date buckets |
35
+ | `aggregate({ measures, groupBy, filters, sort, page }, options)` | totals, grouped by fields or date buckets; with `lockMode` in a transaction, one row of totals whose rows stay locked ([Layer 4](#layer-4-locks)) |
36
36
  | `create(data, options)`, `findOrCreate({ id, ...data }, options)` | one record; a keyed one, created once |
37
37
  | `patch(id, changes, options)`, `delete(id, options)` | one record |
38
38
  | `createMany(rows, options)` | many records, or an upsert with `onConflict` |
@@ -105,6 +105,16 @@ migration, a seed) sets its own. Pass the call's `options` (its context and
105
105
  transaction) to every handle call; a call without a context throws instead of
106
106
  guessing.
107
107
 
108
+ The owner a call reaches comes from its context, never from its input. A
109
+ request's context names the workspace its route resolved and the signed-in
110
+ user, on every route: a `workspace` route reaches the signed-in member's own
111
+ rows of a `user` or `workspace_user` table, as a `workspace_user` route does,
112
+ and stamps that member on the rows it creates. An owner value in the input that
113
+ differs is refused, a signed-out request reaches none of those rows (a
114
+ `MissingScopeError`), and a job context names the user `forUser` or
115
+ `forWorkspaceUser` gave it. So application code never sets `scopeValues.userId`
116
+ (lint `jskit/no-hand-context` refuses it).
117
+
108
118
  ```js
109
119
  // shared/receivalResource.js: the table's facts, shared with the client
110
120
  const receivalResource = defineTableResource({
@@ -800,9 +810,33 @@ const recordPayment = (input, options) => retryLostInsertRace(options, () => pay
800
810
 
801
811
  ## Layer 4: locks
802
812
 
803
- When two requests could change the same rows at once (allocating stock,
804
- numbering documents, moving items into a batch), lock the rows first, inside
805
- the transaction: `lock(id, txOptions)`, `lockMany(ids, txOptions)` or
813
+ Most writes take no lock. Choose the lightest tool that keeps the stored data
814
+ right:
815
+
816
+ | The write | The tool |
817
+ | --- | --- |
818
+ | An ordinary edit: a form saving a record, a name, a description, settings | a plain `patch`; the last save wins |
819
+ | A change only while a row still holds a value (open to booked, once) | a compare-and-set: `patch` with `onlyIf`, or `patchWhere` with the value in its filters ([Layer 3](#layer-3-many-rows-at-once)) |
820
+ | A value that must be unique | a unique index, and `retryLostInsertRace` around a transaction whose insert can lose that race ([Layer 3](#layer-3-many-rows-at-once)) |
821
+ | Stock or quantities, money or balances, sequential document numbers, a capacity limit (double booking), a check-then-act on a shared resource | a lock (`lock`, `lockMany`, `lockWhere`, `lockPages`) before the transaction's first plain read, as below |
822
+
823
+ When two people save the same record at once, a plain `patch` lets the later
824
+ change replace the earlier one. For an ordinary edit that is usually
825
+ acceptable, and it needs no lock and no concurrency test; where people would
826
+ care, the record carries a version and a stale save is refused, "changed,
827
+ reload" (`lockVersionField`, at the end of this layer). A compare-and-set
828
+ gives the row to one of two writers and tells the other it wrote nothing
829
+ (`onlyIf` answers `null`, `returning: "ids"` leaves the row out), which the
830
+ code turns into a clear refusal, with no lock. A lock is for a race that would
831
+ silently leave wrong data that matters: two orders taking the last item, two
832
+ payments spending one balance, two invoices given one number, two bookings of
833
+ the last place. It makes other writers wait, needs one order on every path and
834
+ a test with two writers, so it usually pays only there. Whatever the tool, the
835
+ writer that loses gets an answer it can act on, never a 500
836
+ ([Transactions](#transactions)).
837
+
838
+ The rest of this layer applies once a lock is warranted. Lock the rows first,
839
+ inside the transaction: `lock(id, txOptions)`, `lockMany(ids, txOptions)` or
806
840
  `lockWhere(filters, txOptions)`. The handle locks only rows the caller may
807
841
  see, in id order, so nobody locks another workspace's rows: a missing or
808
842
  hidden id throws not-found, as for `get`, or with `missing: "skip"` is left
@@ -886,7 +920,13 @@ locking reads, which see the latest rows whatever the snapshot:
886
920
  up to 1,000 (`pageSize`) at a time, in id order, each page one locking read
887
921
  after the last id of the page before. It still locks the governing row first,
888
922
  since PostgreSQL keeps no new row out of a page already locked. In a request it
889
- throws past the request row limit, as `queryPages` does. Isolation is not the
923
+ throws past the request row limit, as `queryPages` does. `take` in its options,
924
+ a whole number from 1 as `queryAll` takes it, is the call's own bound instead,
925
+ in a request or a job: `lockPages(filters, { ...txOptions, take: 20000 })`
926
+ locks up to 20,000 rows, past the request row limit too, and throws
927
+ `RESOURCE_ROW_LIMIT` naming the take before it hands over the page that passes
928
+ it. Unlike `queryAll`'s, it never stops quietly at part of the set, so name the
929
+ most rows the work can hold, never a number from the request. Isolation is not the
890
930
  tool: MySQL and MariaDB fix it when a transaction starts, and READ COMMITTED
891
931
  alone reads each page at a different moment. `patchWhere` and `deleteWhere`
892
932
  select their rows with a locking read on MySQL and MariaDB, so they too see
@@ -994,6 +1034,56 @@ const file = (input, options) => documents.withTransaction(options, async (txOpt
994
1034
  await memberships.patch(input.membershipId, { lastFiledAt: new Date() }, txOptions);
995
1035
  ```
996
1036
 
1037
+ A save that decides on a count or a sum of many rows (an account's open
1038
+ invoices stay within its credit limit, a member holds at most five leases)
1039
+ takes a locking aggregate: `aggregate({ measures, filters }, { ...txOptions,
1040
+ lockMode: "share" })` answers one row of totals from one statement, with the
1041
+ lock on the rows they read held until the transaction ends, however many rows
1042
+ match, none of them read into the application. Never `lockWhere` and a count:
1043
+ it reads every id into the application and refuses past 1,000. `"share"` lets
1044
+ other such checks read the rows at once; `"update"` or `"noKeyUpdate"` hold
1045
+ them exclusively. An update or a delete of a counted row waits until the
1046
+ transaction ends. A new matching row differs by database: on MySQL and MariaDB
1047
+ its insert waits too, since InnoDB locks the index range the read walked
1048
+ (under REPEATABLE READ, their default; READ COMMITTED locks no range), while
1049
+ PostgreSQL's `FOR SHARE` holds only rows that exist, so an insert goes on and
1050
+ the transaction's next statement counts it (json-rest-api reads PostgreSQL's
1051
+ totals again until no row joined them while it waited). Two saves that each
1052
+ total and then insert would both pass a limit there. So a limit that must keep
1053
+ new rows out on every database also locks the one row that governs the set
1054
+ (the account, the member's record) with `lock` and the default `"update"`, as
1055
+ every writer of the set does first: the saves take turns, and the aggregate
1056
+ holds the rows already there against a write that skips that row (a patch of
1057
+ an amount).
1058
+
1059
+ On MySQL and MariaDB a locking aggregate reads through the index `lockWhere`
1060
+ needs and locks the entries it reads there: a count of rows reads that index
1061
+ alone, so a write of a column it leaves out goes on, while a sum, a distinct
1062
+ count or a measure's `where` over another column locks each row it reads. With
1063
+ `lockMode`, `groupBy` or `page` is a `TypeError` (total each group as a
1064
+ measure with a `where`, `{ open: { count: "*", where: { status: "open" } } }`),
1065
+ a call outside a transaction throws `RestApiLockOutsideTransactionError`, and
1066
+ a filter on another table's field, or a row policy that joins another table,
1067
+ is refused as in `lockWhere`: test the other table in a subquery.
1068
+
1069
+ ```js
1070
+ // good: the account locked first, as every writer of its invoices does; one statement totals what it owes
1071
+ const issue = (input, options) => invoices.withTransaction(options, async (txOptions) => {
1072
+ const account = await accounts.lock(input.accountId, { ...txOptions, fields: ["creditLimit"] });
1073
+ const [{ owed }] = await invoices.aggregate(
1074
+ { measures: { owed: { sum: "amount" } }, filters: { accountId: input.accountId, status: "open" } },
1075
+ { ...txOptions, lockMode: "share" }
1076
+ );
1077
+ if ((owed ?? 0) + input.amount > account.creditLimit) {
1078
+ throw new ConflictError("invoices.overCreditLimit");
1079
+ }
1080
+ return invoices.create(input, txOptions);
1081
+ });
1082
+
1083
+ // bad: every open invoice's id read into the application to be counted, refused past 1,000
1084
+ const open = await invoices.lockWhere({ accountId, status: "open" }, { ...txOptions, lockMode: "share", fields: ["amount"] });
1085
+ ```
1086
+
997
1087
  Locks stay on the owner's handle and its owner API. A `scopedQuery()` or
998
1088
  `joinSource()` builder takes no lock, not even a shared one: PostgreSQL's `FOR
999
1089
  SHARE OF` an alias would lock only that source's rows, but MariaDB has no `FOR
@@ -1038,9 +1128,11 @@ rows with its own `lock`, `lockMany` or `lockWhere`, the owners in one fixed
1038
1128
  order on every path (a parent's owner before its children's), so two
1039
1129
  transactions never take them in opposite orders.
1040
1130
 
1041
- A record that a person edits from a form it read earlier carries a version
1042
- number: the table resource names it with `lockVersionField`, an integer field
1043
- over a non-null integer column with `defaultTo: 0`.
1131
+ Where people would mind that a later save replaced theirs without a word, a
1132
+ record edited from a form it read earlier can carry a version number (an
1133
+ ordinary edit, where the last save winning is acceptable, needs none): the
1134
+ table resource names it with `lockVersionField`, an integer field over a
1135
+ non-null integer column with `defaultTo: 0`.
1044
1136
  `patch(id, changes, { ...options, lockVersion })` then locks the row, applies
1045
1137
  `changes` only while it still holds that version, and advances it. A record
1046
1138
  whose version moved on rejects with a 409 coded
@@ -1486,7 +1578,18 @@ const SettlementFeature = defineFeature({
1486
1578
  `users.profile.notFound`. It reads the user, the workspace and its settings,
1487
1579
  and writes nothing. Work done as a real member takes `memberContext`, which
1488
1580
  refuses anyone who is not one; `roleContext` is for installer and seed work
1489
- only, where the person is not given that role in the workspace.
1581
+ only, where the person is not given that role in the workspace. Code outside
1582
+ a server (a migration or seed script that owns its tables through
1583
+ `createStandaloneResources`) takes the same function from
1584
+ `createStandaloneRoleContext({ resources, config })`
1585
+ (`@jskit-ai/workspaces-core/server/standaloneRoleContext`), built the same
1586
+ way from the application's runtime config on its runtime's handles: the same
1587
+ arguments, context and refusals, with the script's own system context. Its
1588
+ runtime owns `ROLE_CONTEXT_TABLES`, the workspaces and users tables, beside
1589
+ its own (`owns: [...ROLE_CONTEXT_TABLES, ...seedTables]`, with a
1590
+ `systemScope`); on a server's Knex client `createStandaloneResources`
1591
+ refuses them, since the server owns them: code there takes
1592
+ `workspaces.core`'s.
1490
1593
  - A job finds its units with an `aggregate` grouped by the ownership field,
1491
1594
  which a system context may group by (and count distinct) even when the table
1492
1595
  hides it, then runs each unit scoped to it. It reads the units in pages, all
@@ -42,7 +42,7 @@ How to use it:
42
42
  - [server-search.md](./server-search.md)
43
43
  - `actualField`, `storage.column`, `storage.writeSerializer`, `storage.virtual`, `queryFields`, computed field, virtual field, projection, `defaultTo`, datetime write serialization, temporalPrecision, json-rest-schema dates
44
44
  - [table-resource-fields.md](./table-resource-fields.md)
45
- - data access, database table, knex, raw, SQL, repository, bulk, batch, many rows, set write, upsert, lock, claim, totals, report, aggregate, newest per group, transaction, `trx`, background job, system scope, `systemContext`, every workspace, `listForSystem`, work done as a member, member context, `memberContext`, owner, owns, owner API, another feature's table, scope test, `expectFlatQueries`, `requireTestDatabase`, `jskit/no-direct-knex`, `jskit/no-transaction-reader`, `jskit/no-hand-scope`, `jskit/sql-literal`, `jskit/knex-reason`, `infrastructure:`
45
+ - data access, database table, knex, raw, SQL, repository, bulk, batch, many rows, set write, upsert, lock, concurrent saves, race, last save wins, compare-and-set, `onlyIf`, claim, totals, report, aggregate, newest per group, transaction, `trx`, background job, system scope, `systemContext`, every workspace, `listForSystem`, work done as a member, member context, `memberContext`, owner, owns, owner API, another feature's table, scope test, `expectFlatQueries`, `requireTestDatabase`, `jskit/no-direct-knex`, `jskit/no-transaction-reader`, `jskit/no-hand-scope`, `jskit/sql-literal`, `jskit/knex-reason`, `infrastructure:`
46
46
  - [data-access.md](./data-access.md)
47
47
  - row policy, permission filtering, visibility before pagination, recursive CTE, descendants, package cycle, capability cycle a row policy closes, `late`, `RowPolicyPlugin`, row policy cost, slow writes through a policy, access check per history item
48
48
  - [row-policies.md](./row-policies.md)
@@ -10,11 +10,13 @@ Pick the layer ([Data access](../data-access.md)):
10
10
  - One record, or one page of records: the owner's handle (`get`, `query`, `create`, `patch`, `delete`).
11
11
  - Screens over HTTP: a CRUD contract on the same table resource.
12
12
  - Many rows from one action: `createMany`, `patchMany`, `patchWhere`, `deleteWhere`; never a loop of single writes.
13
- - Two requests could change the same rows: `lockMany` inside `withTransaction`, rows in id order.
13
+ - Two people could save the same record (a form, a name, settings): usually a plain `patch`, and the last save wins, with no lock and no concurrency test, since one edit replacing another is acceptable there. Where people would mind, `lockVersionField` and `patch` with `lockVersion` refuse a stale save ("changed, reload").
14
+ - A change only while a row still holds a value (open to booked, once): `patch` with `onlyIf`, or `patchWhere` with that value in its filters (a compare-and-set on every database, with no lock: of two concurrent writers one wins); a filter on a related table is refused on MySQL and MariaDB (`selection_cross_table`), so filter on the row's own columns, after locking the related rows with `lockMany`, or use `claim`.
15
+ - A value that must be unique: a unique index, and `retryLostInsertRace` around a transaction whose insert can lose that race.
16
+ - A race that would silently leave wrong data that matters (stock or quantities, money or balances, sequential document numbers, a capacity limit, a check-then-act on a shared resource): `lock`, `lockMany`, `lockWhere` or `lockPages` inside `withTransaction`, before its first plain read, in one order on every path (parents before children). A lock makes other writers wait and can deadlock, so it usually pays only here.
14
17
  - A whole set the work decides on (a register's entries): the row that governs it locked first by every writer, and by the work before its first plain read; inside a transaction it joined, which may have read plainly already (MySQL and MariaDB then keep that snapshot), `lockPages` after that lock, never a plain `queryAll`.
15
18
  - A table counted but never read back (anonymous participation): a `crypto.randomUUID()` id, a unique index on the identifying columns, and an owner API of insert (`createMany` with `onConflict` ignore) and count only.
16
19
  - Work inside `withTransaction`: `txOptions` is only `{ context, trx }`, so a key the work needs, the app's own included, comes from the method's `options`, and a write on the method's own table gets `{ ...options, ...txOptions }` so the caller's `returning`, `missing` or `format` reaches it.
17
- - A change only while a row still holds a value (open to booked, once): `patch` with `onlyIf`, or `patchWhere` with that value in its filters (a compare-and-set on every database, so of two concurrent writers one wins); a filter on a related table is refused on MySQL and MariaDB (`selection_cross_table`), so filter on the row's own columns, after locking the related rows with `lockMany`, or use `claim`.
18
20
  - Only some of the rows, one row, whether one exists: in the read (a searchSchema filter, `take: 1` or a page of size 1), never `.filter()`, `.find()`, `.some()`, `.slice()` or `.length` over the rows it answered ([Narrow in the query](../data-access.md#narrow-in-the-query)).
19
21
  - Counts, sums, buckets: `aggregate`; newest per group: a window include; anything else: one `scopedQuery()` method under `// Knex: <kind> - <reason>`.
20
22
  - Every workspace or user at once: a job with `systemScope`, finding its units with an `aggregate` grouped by the ownership field and looping over them, never rows; every workspace itself, a page at a time: `workspaces.listForSystem({ afterId, limit }, { context: systemContext(reason) })`, never the workspaces table.
@@ -342,7 +342,8 @@ dialog, chip or FAB.
342
342
  - **Dialogs:** plain `v-dialog` and `v-bottom-sheet`; JSKIT gives them their
343
343
  Material 3 shapes. A full-screen dialog (compact and medium) puts close, title
344
344
  and its confirm action in a top bar, never at the bottom where a snackbar
345
- covers them.
345
+ covers them. While one is open, `ShellLayout` makes the page behind it
346
+ inert: run axe on the whole page.
346
347
  - **Menus and badges:** a menu's list has `role="menu"` and its items
347
348
  `role="menuitem"`, with `aria-disabled` on unavailable ones; a badge has a
348
349
  `label` such as "3 batches". JSKIT draws a menu's list and a dialog's card;
@@ -15,7 +15,7 @@ A concrete Fastify, Vue, and JSKIT application foundation for products that do n
15
15
 
16
16
  - Id: `app/minimal-foundation`
17
17
  - Keywords: `app`, `fastify`, `foundation`, `minimal`, `server`, `vite`, `vue`
18
- - Owner: `@jskit-ai/agent-docs@0.1.333`
18
+ - Owner: `@jskit-ai/agent-docs@0.1.335`
19
19
  - Read: [PATTERN.md](patterns/app/minimal-foundation/PATTERN.md)
20
20
  - Examples: [example/](patterns/app/minimal-foundation/example/)
21
21
  - Requires: `@jskit-ai/http-runtime`, `@jskit-ai/kernel`
@@ -26,7 +26,7 @@ A concrete JSKIT web application foundation with responsive shell navigation, se
26
26
 
27
27
  - Id: `app/shell-foundation`
28
28
  - Keywords: `app`, `foundation`, `material`, `navigation`, `placements`, `shell`, `vite`, `vue`
29
- - Owner: `@jskit-ai/agent-docs@0.1.333`
29
+ - Owner: `@jskit-ai/agent-docs@0.1.335`
30
30
  - Read: [PATTERN.md](patterns/app/shell-foundation/PATTERN.md)
31
31
  - Examples: [example/](patterns/app/shell-foundation/example/)
32
32
  - Requires: `@jskit-ai/http-runtime`, `@jskit-ai/kernel`, `@jskit-ai/shell-web`
@@ -37,7 +37,7 @@ Configure an assistant runtime for one application surface and expose its chat a
37
37
 
38
38
  - Id: `assistant/assistant-surface`
39
39
  - Keywords: `ai`, `assistant`, `chat`, `config`, `environment`, `page`, `placement`, `settings`, `surface`
40
- - Owner: `@jskit-ai/assistant-runtime@0.2.71`
40
+ - Owner: `@jskit-ai/assistant-runtime@0.2.73`
41
41
  - Read: [PATTERN.md](patterns/assistant/assistant-surface/PATTERN.md)
42
42
  - Examples: [example/](patterns/assistant/assistant-surface/example/)
43
43
  - Requires: `@jskit-ai/assistant-runtime`, `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`, `@jskit-ai/shell-web`
@@ -59,7 +59,7 @@ Compose JSKIT authentication routes, views, profile controls, and public surface
59
59
 
60
60
  - Id: `auth/auth-surface`
61
61
  - Keywords: `account`, `auth`, `login`, `logout`, `password`, `placement`, `profile`, `reset`, `surface`
62
- - Owner: `@jskit-ai/auth-web@0.2.45`
62
+ - Owner: `@jskit-ai/auth-web@0.2.47`
63
63
  - Read: [PATTERN.md](patterns/auth/auth-surface/PATTERN.md)
64
64
  - Examples: [example/](patterns/auth/auth-surface/example/)
65
65
  - Requires: `@jskit-ai/auth-core`, `@jskit-ai/auth-web`, `@jskit-ai/shell-web`
@@ -70,7 +70,7 @@ Let people sign in with the accounts they already have in an accounts hub or ano
70
70
 
71
71
  - Id: `auth/oidc-sign-in`
72
72
  - Keywords: `accounts hub`, `auth`, `authentication`, `back-channel logout`, `dynamic client registration`, `issuer`, `master login`, `oidc`, `openid connect`, `single sign-on`, `sso`
73
- - Owner: `@jskit-ai/auth-provider-oidc-core@0.2.49`
73
+ - Owner: `@jskit-ai/auth-provider-oidc-core@0.2.51`
74
74
  - Read: [PATTERN.md](patterns/auth/oidc-sign-in/PATTERN.md)
75
75
  - Examples: [example/](patterns/auth/oidc-sign-in/example/)
76
76
  - Requires: `@jskit-ai/auth-provider-oidc-core`, `@jskit-ai/auth-web`
@@ -92,7 +92,7 @@ Resolve an administrator environment key or an individual user's grant, then use
92
92
 
93
93
  - Id: `connectors/ai-connections`
94
94
  - Keywords: `ai`, `api-key`, `cli`, `environment`, `free`, `models`, `ownership`, `zai`, `zen`
95
- - Owner: `@jskit-ai/connectors-catalog@0.2.41`
95
+ - Owner: `@jskit-ai/connectors-catalog@0.2.43`
96
96
  - Read: [PATTERN.md](patterns/connectors/ai-connections/PATTERN.md)
97
97
  - Examples: [example/](patterns/connectors/ai-connections/example/)
98
98
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -103,7 +103,7 @@ Compose provider operations, authorization and encrypted file storage from a CLI
103
103
 
104
104
  - Id: `connectors/api-key-connection`
105
105
  - Keywords: `api-key`, `clay`, `cli`, `clickhouse`, `connectors`, `dbt`, `files`, `firecrawl`, `granola`, `integrations`, `metrics`, `prestashop`, `resend`, `semantic-layer`, `semrush`, `x-twitter`
106
- - Owner: `@jskit-ai/connectors-catalog@0.2.41`
106
+ - Owner: `@jskit-ai/connectors-catalog@0.2.43`
107
107
  - Read: [PATTERN.md](patterns/connectors/api-key-connection/PATTERN.md)
108
108
  - Examples: [example/](patterns/connectors/api-key-connection/example/)
109
109
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -114,7 +114,7 @@ Compose token-based MCP discovery and explicitly authorized tool calls using the
114
114
 
115
115
  - Id: `connectors/assistant-mcp`
116
116
  - Keywords: `assistant`, `cli`, `connectors`, `files`, `integrations`, `mcp`, `n8n`, `sanity`
117
- - Owner: `@jskit-ai/connectors-catalog@0.2.41`
117
+ - Owner: `@jskit-ai/connectors-catalog@0.2.43`
118
118
  - Read: [PATTERN.md](patterns/connectors/assistant-mcp/PATTERN.md)
119
119
  - Examples: [example/](patterns/connectors/assistant-mcp/example/)
120
120
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -125,7 +125,7 @@ Configure assistant OAuth clients, then compose existing state, encrypted file g
125
125
 
126
126
  - Id: `connectors/assistant-mcp-oauth`
127
127
  - Keywords: `amplitude`, `assistant`, `atlassian`, `canva`, `cli`, `client metadata`, `confidence`, `connectors`, `figma`, `files`, `granola`, `hex`, `mcp`, `miro`, `oauth`
128
- - Owner: `@jskit-ai/connectors-catalog@0.2.41`
128
+ - Owner: `@jskit-ai/connectors-catalog@0.2.43`
129
129
  - Read: [PATTERN.md](patterns/connectors/assistant-mcp-oauth/PATTERN.md)
130
130
  - Examples: [example/](patterns/connectors/assistant-mcp-oauth/example/)
131
131
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -136,7 +136,7 @@ Compose signed AWS operations, file configuration and application authorization
136
136
 
137
137
  - Id: `connectors/aws-storage-queries`
138
138
  - Keywords: `athena`, `aws`, `cli`, `connectors`, `files`, `iam`, `queries`, `s3`, `storage`, `sts`
139
- - Owner: `@jskit-ai/connectors-catalog@0.2.41`
139
+ - Owner: `@jskit-ai/connectors-catalog@0.2.43`
140
140
  - Read: [PATTERN.md](patterns/connectors/aws-storage-queries/PATTERN.md)
141
141
  - Examples: [example/](patterns/connectors/aws-storage-queries/example/)
142
142
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -147,7 +147,7 @@ Compose reusable connection libraries with portable configuration, application o
147
147
 
148
148
  - Id: `connectors/calendar-cli`
149
149
  - Keywords: `calendar`, `cli`, `connectors`, `google`, `integrations`, `oauth`, `permissions`
150
- - Owner: `@jskit-ai/connector-google-calendar@0.2.40`
150
+ - Owner: `@jskit-ai/connector-google-calendar@0.2.42`
151
151
  - Read: [PATTERN.md](patterns/connectors/calendar-cli/PATTERN.md)
152
152
  - Examples: [example/](patterns/connectors/calendar-cli/example/)
153
153
  - Requires: `@jskit-ai/connector-google-calendar`, `@jskit-ai/connectors-core`, `@jskit-ai/database-runtime-mysql`
@@ -158,7 +158,7 @@ Compose the shared connector runtime for event delivery while leaving workflow c
158
158
 
159
159
  - Id: `connectors/event-delivery`
160
160
  - Keywords: `cli`, `connectors`, `events`, `files`, `inngest`, `integrations`, `workflows`
161
- - Owner: `@jskit-ai/connectors-catalog@0.2.41`
161
+ - Owner: `@jskit-ai/connectors-catalog@0.2.43`
162
162
  - Read: [PATTERN.md](patterns/connectors/event-delivery/PATTERN.md)
163
163
  - Examples: [example/](patterns/connectors/event-delivery/example/)
164
164
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -169,7 +169,7 @@ Wire service-account grants, file storage, explicit message actions and public b
169
169
 
170
170
  - Id: `connectors/firebase-messaging`
171
171
  - Keywords: `cli`, `connectors`, `fcm`, `files`, `firebase`, `integrations`, `jwt`, `notifications`, `push`, `service-account`, `vapid`
172
- - Owner: `@jskit-ai/connectors-catalog@0.2.41`
172
+ - Owner: `@jskit-ai/connectors-catalog@0.2.43`
173
173
  - Read: [PATTERN.md](patterns/connectors/firebase-messaging/PATTERN.md)
174
174
  - Examples: [example/](patterns/connectors/firebase-messaging/example/)
175
175
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -180,7 +180,7 @@ Compose reviewed Search campaigns with project-owned Google OAuth and portable s
180
180
 
181
181
  - Id: `connectors/google-ads-search`
182
182
  - Keywords: `ads`, `campaigns`, `cli`, `connectors`, `conversion`, `google`, `search`
183
- - Owner: `@jskit-ai/connectors-catalog@0.2.41`
183
+ - Owner: `@jskit-ai/connectors-catalog@0.2.43`
184
184
  - Read: [PATTERN.md](patterns/connectors/google-ads-search/PATTERN.md)
185
185
  - Examples: [example/](patterns/connectors/google-ads-search/example/)
186
186
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -191,7 +191,7 @@ Compose provider consent, verification and encrypted file persistence from an ap
191
191
 
192
192
  - Id: `connectors/oauth-connection`
193
193
  - Keywords: `accounting`, `assistant permissions`, `books`, `cli`, `client credentials`, `connectors`, `consent`, `crm`, `databricks`, `developer token`, `fabric`, `files`, `gaql`, `google ads`, `graphql`, `integrations`, `linkedin`, `microsoft`, `oauth`, `powerpoint`, `salesforce`, `service principal`, `shopify`, `soql`, `staffing`, `tiktok`, `twitch`, `wave`, `word`, `wordpress`, `workday`, `xero`, `zoho`
194
- - Owner: `@jskit-ai/connectors-catalog@0.2.41`
194
+ - Owner: `@jskit-ai/connectors-catalog@0.2.43`
195
195
  - Read: [PATTERN.md](patterns/connectors/oauth-connection/PATTERN.md)
196
196
  - Examples: [example/](patterns/connectors/oauth-connection/example/)
197
197
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -202,7 +202,7 @@ Compose a sequential catalogue batch and preserve partial success for applicatio
202
202
 
203
203
  - Id: `connectors/paddle-catalogue`
204
204
  - Keywords: `batch`, `paddle`, `payments`, `prices`, `products`
205
- - Owner: `@jskit-ai/connectors-catalog@0.2.41`
205
+ - Owner: `@jskit-ai/connectors-catalog@0.2.43`
206
206
  - Read: [PATTERN.md](patterns/connectors/paddle-catalogue/PATTERN.md)
207
207
  - Examples: [example/](patterns/connectors/paddle-catalogue/example/)
208
208
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -213,7 +213,7 @@ Resolve a publishable image key deliberately and use the shared URL library in a
213
213
 
214
214
  - Id: `connectors/public-image`
215
215
  - Keywords: `cli`, `connectors`, `files`, `images`, `integrations`, `logo-dev`, `public-key`
216
- - Owner: `@jskit-ai/connectors-catalog@0.2.41`
216
+ - Owner: `@jskit-ai/connectors-catalog@0.2.43`
217
217
  - Read: [PATTERN.md](patterns/connectors/public-image/PATTERN.md)
218
218
  - Examples: [example/](patterns/connectors/public-image/example/)
219
219
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -224,7 +224,7 @@ Compose file configuration, Redshift Data API operations and application query o
224
224
 
225
225
  - Id: `connectors/redshift-queries`
226
226
  - Keywords: `aws`, `cli`, `connectors`, `files`, `iam`, `provisioned`, `redshift`, `serverless`, `sql`, `warehouse`
227
- - Owner: `@jskit-ai/connectors-catalog@0.2.41`
227
+ - Owner: `@jskit-ai/connectors-catalog@0.2.43`
228
228
  - Read: [PATTERN.md](patterns/connectors/redshift-queries/PATTERN.md)
229
229
  - Examples: [example/](patterns/connectors/redshift-queries/example/)
230
230
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -235,7 +235,7 @@ Use the shared scanner runtime from a CLI or a host worker with portable configu
235
235
 
236
236
  - Id: `connectors/source-scanning`
237
237
  - Keywords: `cancellation`, `cli`, `connectors`, `integrations`, `scanning`, `security`, `source`, `wiz`, `worker`
238
- - Owner: `@jskit-ai/connectors-catalog@0.2.41`
238
+ - Owner: `@jskit-ai/connectors-catalog@0.2.43`
239
239
  - Read: [PATTERN.md](patterns/connectors/source-scanning/PATTERN.md)
240
240
  - Examples: [example/](patterns/connectors/source-scanning/example/)
241
241
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -246,7 +246,7 @@ Add a protected administration surface, settings shell, and semantic navigation
246
246
 
247
247
  - Id: `console/console-surface`
248
248
  - Keywords: `admin`, `console`, `navigation`, `owner`, `placement`, `settings`, `surface`
249
- - Owner: `@jskit-ai/console-web@0.1.280`
249
+ - Owner: `@jskit-ai/console-web@0.1.282`
250
250
  - Read: [PATTERN.md](patterns/console/console-surface/PATTERN.md)
251
251
  - Examples: [example/](patterns/console/console-surface/example/)
252
252
  - Requires: `@jskit-ai/console-core`, `@jskit-ai/console-web`, `@jskit-ai/shell-web`
@@ -268,7 +268,7 @@ Build a complete application-owned CRUD server package from a migration, a table
268
268
 
269
269
  - Id: `crud/crud-feature-package`
270
270
  - Keywords: `actions`, `crud`, `database`, `defineCrudFeature`, `json-api`, `migration`, `owns`, `permissions`, `repository`, `routes`, `service`, `table resource`
271
- - Owner: `@jskit-ai/crud-core@0.2.41`
271
+ - Owner: `@jskit-ai/crud-core@0.2.43`
272
272
  - Read: [PATTERN.md](patterns/crud/crud-feature-package/PATTERN.md)
273
273
  - Examples: [example/](patterns/crud/crud-feature-package/example/)
274
274
  - Requires: `@jskit-ai/crud-core`, `@jskit-ai/resource-core`, `@jskit-ai/resource-crud-core`
@@ -279,7 +279,7 @@ Build a routed CRUD user interface as thin application pages over JSKIT's shared
279
279
 
280
280
  - Id: `crud/crud-screen-set`
281
281
  - Keywords: `actions`, `add`, `crud`, `delete`, `edit`, `filters`, `list`, `material`, `routes`, `view`, `vue`
282
- - Owner: `@jskit-ai/http-web@0.2.46`
282
+ - Owner: `@jskit-ai/http-web@0.2.48`
283
283
  - Read: [PATTERN.md](patterns/crud/crud-screen-set/PATTERN.md)
284
284
  - Examples: [example/](patterns/crud/crud-screen-set/example/)
285
285
  - Requires: `@jskit-ai/http-web`, `@jskit-ai/resource-core`, `@jskit-ai/resource-crud-core`
@@ -323,7 +323,7 @@ Wrap a JSKIT web application in a Capacitor Android shell using native Capacitor
323
323
 
324
324
  - Id: `mobile/android-application`
325
325
  - Keywords: `android`, `capacitor`, `device`, `mobile`, `native`, `shell`, `webview`
326
- - Owner: `@jskit-ai/mobile-capacitor@0.2.39`
326
+ - Owner: `@jskit-ai/mobile-capacitor@0.2.41`
327
327
  - Read: [PATTERN.md](patterns/mobile/android-application/PATTERN.md)
328
328
  - Examples: [example/](patterns/mobile/android-application/example/)
329
329
  - Requires: `@capacitor/android`, `@capacitor/app`, `@capacitor/cli`, `@jskit-ai/mobile-capacitor`
@@ -334,7 +334,7 @@ Add JSKIT realtime events with an optional Redis backplane and an explicit shell
334
334
 
335
335
  - Id: `realtime/realtime-application`
336
336
  - Keywords: `realtime`, `redis`, `socket.io`, `sockets`, `status`, `websocket`
337
- - Owner: `@jskit-ai/realtime@0.2.42`
337
+ - Owner: `@jskit-ai/realtime@0.2.44`
338
338
  - Read: [PATTERN.md](patterns/realtime/realtime-application/PATTERN.md)
339
339
  - Examples: [example/](patterns/realtime/realtime-application/example/)
340
340
  - Requires: `@jskit-ai/realtime`, `@jskit-ai/shell-web`
@@ -345,7 +345,7 @@ Compose application-owned Google Publisher Tag delivery with the generic rewarde
345
345
 
346
346
  - Id: `rewards/google-rewarded`
347
347
  - Keywords: `ads`, `google`, `publisher tag`, `rewarded`, `unlock`
348
- - Owner: `@jskit-ai/rewarded-web@0.2.57`
348
+ - Owner: `@jskit-ai/rewarded-web@0.2.59`
349
349
  - Read: [PATTERN.md](patterns/rewards/google-rewarded/PATTERN.md)
350
350
  - Examples: [example/](patterns/rewards/google-rewarded/example/)
351
351
  - Requires: `@jskit-ai/rewarded-web`
@@ -356,7 +356,7 @@ Define a server feature through explicit capabilities and first-class actions, a
356
356
 
357
357
  - Id: `server/feature-package`
358
358
  - Keywords: `actions`, `aggregate`, `feature`, `handle`, `orchestration`, `owns`, `package`, `provider`, `repository`, `routes`, `server`, `table resource`
359
- - Owner: `@jskit-ai/agent-docs@0.1.333`
359
+ - Owner: `@jskit-ai/agent-docs@0.1.335`
360
360
  - Read: [PATTERN.md](patterns/server/feature-package/PATTERN.md)
361
361
  - Examples: [example/](patterns/server/feature-package/example/)
362
362
  - Requires: `@jskit-ai/kernel`
@@ -367,7 +367,7 @@ Compose the JSKIT responsive shell, semantic placements, settings navigation, an
367
367
 
368
368
  - Id: `shell/application-shell`
369
369
  - Keywords: `adaptive`, `app`, `layout`, `navigation`, `placement`, `responsive`, `settings`, `shell`
370
- - Owner: `@jskit-ai/shell-web@0.2.39`
370
+ - Owner: `@jskit-ai/shell-web@0.2.41`
371
371
  - Read: [PATTERN.md](patterns/shell/application-shell/PATTERN.md)
372
372
  - Examples: [example/](patterns/shell/application-shell/example/)
373
373
  - Requires: `@jskit-ai/kernel`, `@jskit-ai/shell-web`
@@ -378,7 +378,7 @@ Add product routes and shell extensions through file routing, semantic placement
378
378
 
379
379
  - Id: `ui/page-and-placement`
380
380
  - Keywords: `component`, `navigation`, `outlet`, `page`, `placement`, `routes`, `section`, `shell`, `subpages`, `vue`
381
- - Owner: `@jskit-ai/shell-web@0.2.39`
381
+ - Owner: `@jskit-ai/shell-web@0.2.41`
382
382
  - Read: [PATTERN.md](patterns/ui/page-and-placement/PATTERN.md)
383
383
  - Examples: [example/](patterns/ui/page-and-placement/example/)
384
384
  - Requires: `@jskit-ai/kernel`, `@jskit-ai/shell-web`
@@ -389,7 +389,7 @@ Compose an account settings route and profile, preference, notification, and sig
389
389
 
390
390
  - Id: `users/account-settings`
391
391
  - Keywords: `account`, `link provider`, `notifications`, `oauth`, `preferences`, `profile`, `settings`, `sign-in methods`, `user`, `vue`
392
- - Owner: `@jskit-ai/users-web@0.2.63`
392
+ - Owner: `@jskit-ai/users-web@0.2.65`
393
393
  - Read: [PATTERN.md](patterns/users/account-settings/PATTERN.md)
394
394
  - Examples: [example/](patterns/users/account-settings/example/)
395
395
  - Requires: `@jskit-ai/shell-web`, `@jskit-ai/users-core`, `@jskit-ai/users-web`
@@ -400,7 +400,7 @@ Expose user administration and workspace-scoped member operations through app-ow
400
400
 
401
401
  - Id: `users/user-administration-server`
402
402
  - Keywords: `account`, `admin`, `member`, `repository`, `resource`, `routes`, `service`, `user`, `workspace`
403
- - Owner: `@jskit-ai/users-core@0.2.50`
403
+ - Owner: `@jskit-ai/users-core@0.2.52`
404
404
  - Read: [PATTERN.md](patterns/users/user-administration-server/PATTERN.md)
405
405
  - Examples: [example/](patterns/users/user-administration-server/example/)
406
406
  - Requires: `@jskit-ai/crud-core`, `@jskit-ai/users-core`
@@ -411,7 +411,7 @@ Configure roles, workspace access policy, invitations, and app-owned invitation
411
411
 
412
412
  - Id: `workspaces/workspace-server`
413
413
  - Keywords: `access`, `invite`, `membership`, `multitenancy`, `policy`, `role`, `tenancy`, `workspace`
414
- - Owner: `@jskit-ai/workspaces-core@0.2.50`
414
+ - Owner: `@jskit-ai/workspaces-core@0.2.52`
415
415
  - Read: [PATTERN.md](patterns/workspaces/workspace-server/PATTERN.md)
416
416
  - Examples: [example/](patterns/workspaces/workspace-server/example/)
417
417
  - Requires: `@jskit-ai/users-core`, `@jskit-ai/workspaces-core`
@@ -422,7 +422,7 @@ Compose workspace selection, invitation, member administration, settings, and re
422
422
 
423
423
  - Id: `workspaces/workspace-surfaces`
424
424
  - Keywords: `admin`, `invite`, `member`, `navigation`, `settings`, `surface`, `switcher`, `workspace`
425
- - Owner: `@jskit-ai/workspaces-web@0.2.63`
425
+ - Owner: `@jskit-ai/workspaces-web@0.2.65`
426
426
  - Read: [PATTERN.md](patterns/workspaces/workspace-surfaces/PATTERN.md)
427
427
  - Examples: [example/](patterns/workspaces/workspace-surfaces/example/)
428
428
  - Requires: `@jskit-ai/shell-web`, `@jskit-ai/workspaces-core`, `@jskit-ai/workspaces-web`
@@ -50,7 +50,7 @@
50
50
  },
51
51
  "devDependencies": {
52
52
  "@jskit-ai/config-eslint": "0.1.252",
53
- "@jskit-ai/jskit-catalog": "0.2.85",
53
+ "@jskit-ai/jskit-catalog": "0.2.87",
54
54
  "@playwright/test": "1.61.1",
55
55
  "@vitejs/plugin-vue": "^6.0.7",
56
56
  "eslint": "^10.8.0",
@@ -45,13 +45,13 @@
45
45
  "vue-router": "^5.3.1",
46
46
  "vuetify": "^4.3.0",
47
47
  "@jskit-ai/http-runtime": "0.2.27",
48
- "@jskit-ai/shell-web": "0.2.39",
48
+ "@jskit-ai/shell-web": "0.2.41",
49
49
  "@fastify/fast-json-stringify-compiler": "^5.1.0",
50
50
  "@vue/devtools-api": "^8.2.1"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@jskit-ai/config-eslint": "0.1.252",
54
- "@jskit-ai/jskit-catalog": "0.2.85",
54
+ "@jskit-ai/jskit-catalog": "0.2.87",
55
55
  "@playwright/test": "1.61.1",
56
56
  "@vitejs/plugin-vue": "^6.0.7",
57
57
  "eslint": "^10.8.0",
@@ -2,7 +2,7 @@
2
2
  "private": true,
3
3
  "type": "module",
4
4
  "dependencies": {
5
- "@jskit-ai/auth-provider-oidc-core": "0.2.49",
6
- "@jskit-ai/auth-web": "0.2.45"
5
+ "@jskit-ai/auth-provider-oidc-core": "0.2.51",
6
+ "@jskit-ai/auth-web": "0.2.47"
7
7
  }
8
8
  }
@@ -7,8 +7,8 @@
7
7
  "db:migrate:status": "knex --knexfile ./knexfile.js migrate:list"
8
8
  },
9
9
  "dependencies": {
10
- "@jskit-ai/connectors-core": "0.2.40",
11
- "@jskit-ai/connector-google-calendar": "0.2.40",
10
+ "@jskit-ai/connectors-core": "0.2.42",
11
+ "@jskit-ai/connector-google-calendar": "0.2.42",
12
12
  "@jskit-ai/database-runtime": "0.1.276",
13
13
  "@jskit-ai/database-runtime-mysql": "0.1.274",
14
14
  "@jskit-ai/kernel": "0.2.27",
@@ -9,7 +9,7 @@
9
9
  "./shared": "./src/shared/index.js"
10
10
  },
11
11
  "dependencies": {
12
- "@jskit-ai/crud-core": "0.2.41",
12
+ "@jskit-ai/crud-core": "0.2.43",
13
13
  "@jskit-ai/resource-core": "0.1.218",
14
14
  "@jskit-ai/resource-crud-core": "0.1.220"
15
15
  },
@@ -2,7 +2,7 @@
2
2
  "private": true,
3
3
  "type": "module",
4
4
  "dependencies": {
5
- "@jskit-ai/realtime": "0.2.42",
6
- "@jskit-ai/shell-web": "0.2.39"
5
+ "@jskit-ai/realtime": "0.2.44",
6
+ "@jskit-ai/shell-web": "0.2.41"
7
7
  }
8
8
  }
@@ -10,9 +10,9 @@
10
10
  "./shared": "./src/shared/index.js"
11
11
  },
12
12
  "dependencies": {
13
- "@jskit-ai/crud-core": "0.2.41",
13
+ "@jskit-ai/crud-core": "0.2.43",
14
14
  "@jskit-ai/resource-crud-core": "0.1.220",
15
- "@jskit-ai/users-core": "0.2.50"
15
+ "@jskit-ai/users-core": "0.2.52"
16
16
  },
17
17
  "jskit": {
18
18
  "kind": "runtime",
@@ -10,14 +10,14 @@
10
10
  "./shared": "./src/shared/index.js"
11
11
  },
12
12
  "dependencies": {
13
- "@jskit-ai/crud-core": "0.2.41",
13
+ "@jskit-ai/crud-core": "0.2.43",
14
14
  "@jskit-ai/resource-crud-core": "0.1.220",
15
- "@jskit-ai/users-core": "0.2.50",
16
- "@jskit-ai/workspaces-core": "0.2.50"
15
+ "@jskit-ai/users-core": "0.2.52",
16
+ "@jskit-ai/workspaces-core": "0.2.52"
17
17
  },
18
18
  "peerDependencies": {
19
19
  "@jskit-ai/kernel": "0.2.27",
20
- "@jskit-ai/resource-runtime": "0.2.37"
20
+ "@jskit-ai/resource-runtime": "0.2.39"
21
21
  },
22
22
  "jskit": {
23
23
  "kind": "runtime",
@@ -48,7 +48,9 @@ a JSKIT app. The rules it applies are already in [Typed features](typed-features
48
48
  context built by hand skips that scope: search for each. Confirm every
49
49
  `public` table is meant to be read by anyone.
50
50
  - Who acts is `resolveActor(context)`; the workspace comes from the context
51
- only, never from the body or another input
51
+ only, and so does the user whose `user` or `workspace_user` rows a request
52
+ reaches (the signed-in user, on every route), never from the body or another
53
+ input
52
54
  ([Request context](typed-features.md#request-context)). A row
53
55
  policy decides from `caller` and the server-resolved `context.workspace`,
54
56
  `context.membership` and `context.permissions`, never from request input.