@jskit-ai/agent-docs 0.1.368 → 0.1.370

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 (51) hide show
  1. package/guide/agent/app-extras/assistant-conversation.md +12 -2
  2. package/guide/agent/app-extras/assistant-voice.md +2 -1
  3. package/guide/agent/framework/client-features.md +40 -0
  4. package/guide/agent/framework/crud-form-actions.md +14 -0
  5. package/guide/agent/framework/data-access.md +4 -2
  6. package/guide/agent/framework/material-3.md +6 -7
  7. package/guide/agent/framework/security-pass.md +4 -2
  8. package/guide/agent/framework/typed-features.md +41 -2
  9. package/package.json +1 -1
  10. package/patterns/feature-package/example/booking-engine/package.json +1 -1
  11. package/patterns/minimal-foundation/example/AGENTS.md +9 -7
  12. package/patterns/minimal-foundation/example/package.json +5 -5
  13. package/patterns/shell-foundation/example/AGENTS.md +9 -7
  14. package/patterns/shell-foundation/example/package.json +6 -6
  15. package/patterns/shell-foundation/example/packages/main/package.json +1 -1
  16. package/reference/autogen/PATTERN_INDEX.md +40 -40
  17. package/reference/autogen/packages/assistant-runtime.md +1 -0
  18. package/reference/autogen/packages/http-web.md +22 -1
  19. package/reference/autogen/packages/kernel.md +4 -0
  20. package/reference/autogen/packages/resource-runtime.md +1 -0
  21. package/reference/autogen/packages/shell-web.md +3 -2
  22. package/reference/autogen/tooling/config-eslint.md +7 -0
  23. package/reference/autogen/tooling/jskit-catalog.md +13 -7
  24. package/skills/jskit/references/client-features.md +40 -0
  25. package/skills/jskit/references/crud-form-actions.md +14 -0
  26. package/skills/jskit/references/data-access.md +4 -2
  27. package/skills/jskit/references/material-3.md +6 -7
  28. package/skills/jskit/references/pattern-index.md +40 -40
  29. package/skills/jskit/references/patterns/app/minimal-foundation/example/AGENTS.md +9 -7
  30. package/skills/jskit/references/patterns/app/minimal-foundation/example/package.json +5 -5
  31. package/skills/jskit/references/patterns/app/shell-foundation/example/AGENTS.md +9 -7
  32. package/skills/jskit/references/patterns/app/shell-foundation/example/package.json +6 -6
  33. package/skills/jskit/references/patterns/app/shell-foundation/example/packages/main/package.json +1 -1
  34. package/skills/jskit/references/patterns/auth/accounts-hub/example/package.json +3 -3
  35. package/skills/jskit/references/patterns/auth/oidc-sign-in/example/package.json +2 -2
  36. package/skills/jskit/references/patterns/auth/supabase-auth/example/package.json +1 -1
  37. package/skills/jskit/references/patterns/connectors/calendar-cli/example/package.json +5 -5
  38. package/skills/jskit/references/patterns/crud/crud-feature-package/example/packages/books/package.json +3 -3
  39. package/skills/jskit/references/patterns/crud/crud-screen-set/PATTERN.md +7 -0
  40. package/skills/jskit/references/patterns/database/mysql-application/example/package.json +2 -2
  41. package/skills/jskit/references/patterns/database/postgres-application/example/package.json +2 -2
  42. package/skills/jskit/references/patterns/realtime/realtime-application/example/package.json +2 -2
  43. package/skills/jskit/references/patterns/server/feature-package/example/booking-engine/package.json +1 -1
  44. package/skills/jskit/references/patterns/users/account-settings/PATTERN.md +12 -1
  45. package/skills/jskit/references/patterns/users/account-settings/example/src/components/account/settings/AccountSettingsNotificationsSection.vue +16 -2
  46. package/skills/jskit/references/patterns/users/account-settings/example/src/components/account/settings/AccountSettingsPreferencesSection.vue +33 -7
  47. package/skills/jskit/references/patterns/users/account-settings/example/src/components/account/settings/AccountSettingsProfileSection.vue +11 -1
  48. package/skills/jskit/references/patterns/users/user-administration-server/example/packages/users/package.json +3 -3
  49. package/skills/jskit/references/patterns/users/user-administration-server/example/packages/users-workspace/package.json +6 -6
  50. package/skills/jskit/references/security-pass.md +4 -2
  51. package/skills/jskit/references/typed-features.md +41 -2
@@ -3,7 +3,7 @@ id: users/account-settings
3
3
  title: Account settings surface
4
4
  summary: Compose an account settings route and profile, preference, notification, and sign-in method sections from JSKIT user web components.
5
5
  keywords: account, notifications, preferences, profile, settings, sign-in methods, oauth, link provider, user, vue
6
- requires: @jskit-ai/users-core, @jskit-ai/users-web, @jskit-ai/shell-web
6
+ requires: @jskit-ai/users-core, @jskit-ai/users-web, @jskit-ai/shell-web, @jskit-ai/http-web
7
7
  ---
8
8
 
9
9
  # Account settings surface
@@ -38,6 +38,17 @@ app's language; the app does, for example
38
38
  `watch(useAccountLocale(), (code) => { if (code) i18n.global.locale.value = code; }, { immediate: true })`.
39
39
  Section titles may be plain text, a message key or `{ key, fallback }`.
40
40
 
41
+ The settings are read again on `account.settings.changed`, when the window
42
+ regains focus and on Retry, and each form's save answers with them all. Each
43
+ section keeps what the person changed and has not saved, and takes every other
44
+ field; its fields stay editable while the read runs. A section's `conflicts`
45
+ (a ref) lists the fields whose server value changed under the person's change,
46
+ as `{ key, value }` with the server's value; `acceptServerValue(key)` takes it
47
+ and `keepOwnValue(key)` keeps theirs. The example sections show them after
48
+ their Save button with `EditConflictNotice` from
49
+ `@jskit-ai/http-web/client/components/EditConflictNotice`, which takes
50
+ `{ key, label, value }` items, `value` the server's value as the field shows it.
51
+
41
52
  Sections are pages of the account surface, in Material 3's list-detail layout
42
53
  (shell-web's `ShellListDetail`): `/account` is the section list
43
54
  (`src/pages/account/index.vue`) and `/account/<section>` one section
@@ -1,4 +1,6 @@
1
1
  <script setup>
2
+ import { computed } from "vue";
3
+ import EditConflictNotice from "@jskit-ai/http-web/client/components/EditConflictNotice";
2
4
  import { vPending } from "@jskit-ai/shell-web/client/directives/vPending";
3
5
 
4
6
  const props = defineProps({
@@ -9,6 +11,13 @@ const props = defineProps({
9
11
  });
10
12
 
11
13
  const notifications = props.runtime.notifications;
14
+
15
+ // The settings read again (another session saved them) keep what the person switched; the notice names each switch
16
+ // whose server value changed meanwhile.
17
+ const FIELD_LABELS = Object.freeze({ productUpdates: "Product updates", accountActivity: "Account activity alerts" });
18
+ const conflictItems = computed(() =>
19
+ notifications.conflicts.value.map(({ key, value }) => ({ key, label: FIELD_LABELS[key] || key, value: value ? "On" : "Off" }))
20
+ );
12
21
  </script>
13
22
 
14
23
  <template>
@@ -20,7 +29,7 @@ const notifications = props.runtime.notifications;
20
29
  label="Product updates"
21
30
  color="primary"
22
31
  hide-details
23
- :disabled="notifications.isSaving.value || notifications.isRefreshing.value"
32
+ :disabled="notifications.isSaving.value"
24
33
  class="mb-2"
25
34
  />
26
35
  <v-switch
@@ -28,7 +37,7 @@ const notifications = props.runtime.notifications;
28
37
  label="Account activity alerts"
29
38
  color="primary"
30
39
  hide-details
31
- :disabled="notifications.isSaving.value || notifications.isRefreshing.value"
40
+ :disabled="notifications.isSaving.value"
32
41
  class="mb-2"
33
42
  />
34
43
  <v-switch
@@ -47,6 +56,11 @@ const notifications = props.runtime.notifications;
47
56
  >
48
57
  Save notification settings
49
58
  </v-btn>
59
+ <EditConflictNotice
60
+ :items="conflictItems"
61
+ @accept="notifications.acceptServerValue"
62
+ @keep="notifications.keepOwnValue"
63
+ />
50
64
  </v-form>
51
65
  </div>
52
66
  </div>
@@ -1,4 +1,6 @@
1
1
  <script setup>
2
+ import { computed } from "vue";
3
+ import EditConflictNotice from "@jskit-ai/http-web/client/components/EditConflictNotice";
2
4
  import { vPending } from "@jskit-ai/shell-web/client/directives/vPending";
3
5
 
4
6
  const props = defineProps({
@@ -9,6 +11,25 @@ const props = defineProps({
9
11
  });
10
12
 
11
13
  const preferences = props.runtime.preferences;
14
+
15
+ // The settings read again (another session saved them) keep what the person chose; the notice names each field whose
16
+ // server value changed meanwhile, with that value as its list shows it.
17
+ const FIELDS = Object.freeze({
18
+ theme: { label: "Theme", options: "theme" },
19
+ locale: { label: "Language / locale", options: "locale" },
20
+ timeZone: { label: "Time zone", options: "timeZone" },
21
+ dateFormat: { label: "Date format", options: "dateFormat" },
22
+ numberFormat: { label: "Number format", options: "numberFormat" },
23
+ currencyCode: { label: "Currency", options: "currency" },
24
+ avatarSize: { label: "Avatar size", options: "avatarSize" }
25
+ });
26
+ const conflictItems = computed(() =>
27
+ preferences.conflicts.value.map(({ key, value }) => {
28
+ const field = FIELDS[key] || { label: key, options: "" };
29
+ const option = (preferences.options[field.options] || []).find((entry) => entry?.value === value);
30
+ return { key, label: field.label, value: String(option?.title ?? value ?? "") };
31
+ })
32
+ );
12
33
  </script>
13
34
 
14
35
  <template>
@@ -26,7 +47,7 @@ const preferences = props.runtime.preferences;
26
47
  item-value="value"
27
48
  variant="outlined"
28
49
  density="comfortable"
29
- :disabled="preferences.isSaving.value || preferences.isRefreshing.value"
50
+ :disabled="preferences.isSaving.value"
30
51
  :error-messages="preferences.fieldErrors.theme"
31
52
  />
32
53
  </v-col>
@@ -41,7 +62,7 @@ const preferences = props.runtime.preferences;
41
62
  item-value="value"
42
63
  variant="outlined"
43
64
  density="comfortable"
44
- :disabled="preferences.isSaving.value || preferences.isRefreshing.value"
65
+ :disabled="preferences.isSaving.value"
45
66
  :error-messages="preferences.fieldErrors.locale"
46
67
  />
47
68
  </v-col>
@@ -54,7 +75,7 @@ const preferences = props.runtime.preferences;
54
75
  :items="preferences.options.timeZone"
55
76
  variant="outlined"
56
77
  density="comfortable"
57
- :disabled="preferences.isSaving.value || preferences.isRefreshing.value"
78
+ :disabled="preferences.isSaving.value"
58
79
  :error-messages="preferences.fieldErrors.timeZone"
59
80
  />
60
81
  </v-col>
@@ -69,7 +90,7 @@ const preferences = props.runtime.preferences;
69
90
  item-value="value"
70
91
  variant="outlined"
71
92
  density="comfortable"
72
- :disabled="preferences.isSaving.value || preferences.isRefreshing.value"
93
+ :disabled="preferences.isSaving.value"
73
94
  :error-messages="preferences.fieldErrors.dateFormat"
74
95
  />
75
96
  </v-col>
@@ -84,7 +105,7 @@ const preferences = props.runtime.preferences;
84
105
  item-value="value"
85
106
  variant="outlined"
86
107
  density="comfortable"
87
- :disabled="preferences.isSaving.value || preferences.isRefreshing.value"
108
+ :disabled="preferences.isSaving.value"
88
109
  :error-messages="preferences.fieldErrors.numberFormat"
89
110
  />
90
111
  </v-col>
@@ -97,7 +118,7 @@ const preferences = props.runtime.preferences;
97
118
  :items="preferences.options.currency"
98
119
  variant="outlined"
99
120
  density="comfortable"
100
- :disabled="preferences.isSaving.value || preferences.isRefreshing.value"
121
+ :disabled="preferences.isSaving.value"
101
122
  :error-messages="preferences.fieldErrors.currencyCode"
102
123
  />
103
124
  </v-col>
@@ -110,7 +131,7 @@ const preferences = props.runtime.preferences;
110
131
  :items="preferences.options.avatarSize"
111
132
  variant="outlined"
112
133
  density="comfortable"
113
- :disabled="preferences.isSaving.value || preferences.isRefreshing.value"
134
+ :disabled="preferences.isSaving.value"
114
135
  :error-messages="preferences.fieldErrors.avatarSize"
115
136
  />
116
137
  </v-col>
@@ -125,6 +146,11 @@ const preferences = props.runtime.preferences;
125
146
  >
126
147
  Save preferences
127
148
  </v-btn>
149
+ <EditConflictNotice
150
+ :items="conflictItems"
151
+ @accept="preferences.acceptServerValue"
152
+ @keep="preferences.keepOwnValue"
153
+ />
128
154
  </v-form>
129
155
  </div>
130
156
  </div>
@@ -1,4 +1,6 @@
1
1
  <script setup>
2
+ import { computed } from "vue";
3
+ import EditConflictNotice from "@jskit-ai/http-web/client/components/EditConflictNotice";
2
4
  import { vPending } from "@jskit-ai/shell-web/client/directives/vPending";
3
5
 
4
6
  const props = defineProps({
@@ -9,6 +11,13 @@ const props = defineProps({
9
11
  });
10
12
 
11
13
  const profile = props.runtime.profile;
14
+
15
+ // The settings read again (another session saved them) keep what the person typed; the notice names each field whose
16
+ // server value changed meanwhile.
17
+ const FIELD_LABELS = Object.freeze({ displayName: "Display name", email: "Email" });
18
+ const conflictItems = computed(() =>
19
+ profile.conflicts.value.map(({ key, value }) => ({ key, label: FIELD_LABELS[key] || key, value: String(value ?? "") }))
20
+ );
12
21
  </script>
13
22
 
14
23
  <template>
@@ -60,7 +69,7 @@ const profile = props.runtime.profile;
60
69
  variant="outlined"
61
70
  density="comfortable"
62
71
  autocomplete="nickname"
63
- :readonly="profile.isSaving.value || profile.isRefreshing.value"
72
+ :readonly="profile.isSaving.value"
64
73
  :error-messages="profile.fieldErrors.displayName"
65
74
  />
66
75
  </v-col>
@@ -88,6 +97,7 @@ const profile = props.runtime.profile;
88
97
  >
89
98
  Save profile
90
99
  </v-btn>
100
+ <EditConflictNotice :items="conflictItems" @accept="profile.acceptServerValue" @keep="profile.keepOwnValue" />
91
101
  </v-form>
92
102
  </div>
93
103
  </div>
@@ -10,9 +10,9 @@
10
10
  "./shared": "./src/shared/index.js"
11
11
  },
12
12
  "dependencies": {
13
- "@jskit-ai/crud-core": "0.2.61",
14
- "@jskit-ai/resource-crud-core": "0.1.228",
15
- "@jskit-ai/users-core": "0.2.72"
13
+ "@jskit-ai/crud-core": "0.2.62",
14
+ "@jskit-ai/resource-crud-core": "0.1.229",
15
+ "@jskit-ai/users-core": "0.2.73"
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.61",
14
- "@jskit-ai/resource-crud-core": "0.1.228",
15
- "@jskit-ai/users-core": "0.2.72",
16
- "@jskit-ai/workspaces-core": "0.2.72"
13
+ "@jskit-ai/crud-core": "0.2.62",
14
+ "@jskit-ai/resource-crud-core": "0.1.229",
15
+ "@jskit-ai/users-core": "0.2.73",
16
+ "@jskit-ai/workspaces-core": "0.2.73"
17
17
  },
18
18
  "peerDependencies": {
19
- "@jskit-ai/kernel": "0.2.35",
20
- "@jskit-ai/resource-runtime": "0.2.57"
19
+ "@jskit-ai/kernel": "0.2.36",
20
+ "@jskit-ai/resource-runtime": "0.2.58"
21
21
  },
22
22
  "jskit": {
23
23
  "kind": "runtime",
@@ -129,8 +129,10 @@ a JSKIT app. The rules it applies are already in [Typed features](typed-features
129
129
  workspace has), another workspace's record id
130
130
  and `workspaceId` in the body (refused, or answered in the caller's own
131
131
  workspace), a write without `csrf-token`, and one request past each
132
- `rateLimit` (429). A body that does not validate, sent without a session,
133
- must get the refusal, not field errors.
132
+ `rateLimit` (429). A query, path or body that does not validate, sent
133
+ without a session or by a member without the permission of the route's
134
+ action, must get the refusal, not field errors
135
+ ([Routes](typed-features.md#routes)).
134
136
  - Staging and production settings: start the server with `APP_ENV=staging`, `NODE_ENV=production` and the
135
137
  test database, and check that it stops without `AUTH_LOCAL_SESSION_SECRET`,
136
138
  that registering asks for the setup code, and the response headers.
@@ -858,6 +858,28 @@ for anything that reads or writes the domain.**
858
858
  exporting `register<Concern>Routes` when there are several.
859
859
  - One handler shape: a named async function that sends what
860
860
  `request.executeAction({ actionId: ACTION_X, input })` returns.
861
+ - A route that runs one action names it in `actionId`, as an `actionRoute`
862
+ always does. On a route the auth policy signs in (`auth: "required"` or `"own"`), the kernel then checks that
863
+ action's channel, surface and permission before anything the request sends
864
+ is validated or read, so a caller the action refuses gets its 401 or 403,
865
+ never the field errors of the query, path or body: it checks them in the
866
+ context the route's `executeAction()` gives the action, with the route's
867
+ params as the input the context contributors read (a workspace route's
868
+ `workspaceSlug`). Never repeat the action's `permission` on the route to get
869
+ that order. A route whose handler gives its action a surface, channel or
870
+ context of its own (`executeAction({ surface })`, `{ context }`) names no
871
+ `actionId`, since the check before validation would not have them, nor does
872
+ one whose action finds its scope in the query or body, excused with
873
+ `readable-check: allow route-action-id - action scope: <where>`. A public
874
+ route's action is checked where its handler runs it. `jskit/route-action-id`
875
+ reports a route that runs one action and names none.
876
+ - The auth policy signs the caller in before validation: a signed-out caller
877
+ of a route with `auth: "required"` or `"own"` gets 401
878
+ `auth.session.required`, whatever its query, path or body. A policy context
879
+ resolver and an `ownerResolver` read `request.params` as the request sent
880
+ them, before validation. An application hook that signs the caller in runs
881
+ before the policy: an `onRequest` hook, or a `preValidation` hook registered
882
+ before the policy's plugin loads; a `preHandler` hook runs after it.
861
883
  - A route that bypasses actions (a provider's callback) gets its own named
862
884
  registrar and reads with `await request.callOptions()`
863
885
  ([data access](data-access.md#layer-1-the-table-resource)).
@@ -881,13 +903,16 @@ events are declared.
881
903
 
882
904
  ```js
883
905
  // good
884
- router.register("POST", "/api/invoices/:invoiceId/send", { auth: "required", meta: { summary: "Sends an invoice." } },
906
+ router.register("POST", "/api/invoices/:invoiceId/send", { auth: "required", actionId: ACTION_SEND_INVOICE, meta: { summary: "Sends an invoice." } },
885
907
  async function sendInvoice(request, reply) {
886
908
  reply.code(200).send(await request.executeAction({ actionId: ACTION_SEND_INVOICE, input: request.input.params }));
887
909
  });
888
910
 
889
911
  // bad: the route reads storage itself
890
912
  router.register("GET", "/api/invoices", {}, async (request, reply) => reply.send(await invoices.queryAll({}, { context: request })));
913
+
914
+ // bad: the action's permission repeated on the route, which still answers a caller without it with field errors
915
+ router.register("POST", "/api/invoices/:invoiceId/notes", { auth: "required", permission: "invoices.write", body: noteBody }, addNote);
891
916
  ```
892
917
 
893
918
  ## Errors
@@ -1385,6 +1410,7 @@ Every finding ends with a link to the section of this page that explains it.
1385
1410
  | `jskit/named-repeated-type` | a `ReturnType<…>` or `X["y"]` JSDoc type written in two or more files of a package | [Capability types](#capability-types) |
1386
1411
  | `jskit/action-creator` | an action definition outside a `create<Name>Actions` creator, or a creator that takes its capabilities positionally | [Action creators](#action-creators) |
1387
1412
  | `jskit/action-execute-shape` | an `execute` that is not one arrow making one call: a body, `execute: helper(…)`, a built result | [One-line execute](#one-line-execute) |
1413
+ | `jskit/route-action-id` | a `router.register()` whose handler runs one action (`executeAction({ actionId })` without its own `surface`, `channel` or `context`) and whose options name no `actionId` | [Routes](#routes) |
1388
1414
  | `jskit/one-line-action` | `input = {}`, `input \|\| {}` or `input?.` in an action, an `async` `execute`, an unfrozen definition or list | [One-line execute](#one-line-execute) |
1389
1415
  | `jskit/no-idempotency` | an `idempotency` field on an action definition or its shared-field constant | [No idempotency](#no-idempotency) |
1390
1416
  | `jskit/no-optional-after-default` | `options?.` or a second `options \|\| {}` on a parameter that has a default | [Options and defaults](#options-and-defaults) |
@@ -1430,6 +1456,16 @@ modules and names are checked by reading.
1430
1456
  scripts, its Playwright and Vitest configs, its CI workflows and its root
1431
1457
  Vite config, and reports what makes a test run slow, fragile or unsafe.
1432
1458
 
1459
+ Like the [data-access rules](data-access.md#exceptions), it
1460
+ reads none of what the app's ESLint config ignores outside server code, such
1461
+ as a vendored copy of old code kept beside the app (`ignores: ["V1/**"]`), and
1462
+ lists each directory and file it skipped (`Skipped, as the app's ESLint config
1463
+ ignores them and they hold no server code`). Server code, which it reads even
1464
+ when the config ignores it, is the app's or a package's root files, `src/`,
1465
+ `server/`, `scripts/`, `bin/` and `config/`. A file type the config has no
1466
+ config for but does not ignore, such as a `.ts` spec in an app that lints only
1467
+ JavaScript, is read.
1468
+
1433
1469
  | Rule | Reports | Fix |
1434
1470
  | --- | --- | --- |
1435
1471
  | `test/fixed-sleep` | in a test file, `page.waitForTimeout(…)`, a `new Promise` that resolves on `setTimeout(…, <ms>)`, or an awaited `setTimeout`, `sleep`, `delay`, `pause` (its own or an object's, such as `timers.setTimeout(…)`) or `wait` (its own or node's `scheduler.wait(…)`) of a number of milliseconds | wait for the condition: a web-first assertion (`await expect(locator).toBeVisible()`), `expect.poll()`, the event itself, or a fake clock (`mock.timers`, `vi.useFakeTimers()`, `page.clock`) |
@@ -1492,7 +1528,9 @@ It replaces what lies between them and leaves the text outside as it is; in a
1492
1528
  file without them it puts the block at the top, and it makes the file when
1493
1529
  there is none. `npm run jskit:update` writes it after updating the packages, so
1494
1530
  commit `AGENTS.md` with the manifests. Write the app's own rules outside the
1495
- block.
1531
+ block. Where they say who moves the app's JSKIT versions, or how its tests run
1532
+ and when the whole suite does, the block tells agents to follow them over its
1533
+ defaults (`npm run jskit:update`, and `npm test` running every Node test file).
1496
1534
 
1497
1535
  | Rule | Reports | Section |
1498
1536
  | --- | --- | --- |
@@ -1523,6 +1561,7 @@ if (typeof buildSerializer !== "function") {
1523
1561
  | `cross-repository slot <token>` | keeps a probe for a token another repository supplies |
1524
1562
  | `shared resource:` | keeps client module state that every instance on the page shares on purpose ([client features](client-features.md#module-state)) |
1525
1563
  | `every row: <why>` | code needs every row a read answers and narrows them for its own use, such as a read the data itself keeps small (a conversation's few summaries) whose oldest ones it deletes (`jskit/narrow-in-query`) |
1564
+ | `action scope: <where>` | a route whose action finds its scope in the query or body, not the path, names no `actionId` (`jskit/route-action-id`) |
1526
1565
  | `infrastructure: <what the module is>` | excuses a whole file whose job is data access itself from `jskit/no-direct-knex` or `jskit/no-transaction-reader`, one line per rule before its first line of code ([data access](data-access.md#exceptions)) |
1527
1566
 
1528
1567
  One kind of probe gets one prefix and one wording everywhere, and a bare