@jskit-ai/agent-docs 0.1.342 → 0.1.344

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 (40) hide show
  1. package/guide/agent/app-setup/authentication.md +3 -1
  2. package/guide/agent/app-setup/multi-homing.md +18 -9
  3. package/guide/agent/framework/data-access.md +3 -4
  4. package/guide/agent/framework/environments.md +56 -16
  5. package/guide/agent/framework/material-3.md +3 -0
  6. package/guide/agent/framework/security-pass.md +5 -3
  7. package/package.json +1 -1
  8. package/patterns/feature-package/example/booking-engine/package.json +1 -1
  9. package/patterns/minimal-foundation/example/package.json +3 -3
  10. package/patterns/shell-foundation/example/package.json +4 -4
  11. package/patterns/shell-foundation/example/packages/main/package.json +1 -1
  12. package/reference/autogen/KERNEL_MAP.md +5 -1
  13. package/reference/autogen/PATTERN_INDEX.md +38 -38
  14. package/reference/autogen/packages/kernel.md +11 -2
  15. package/reference/autogen/packages/shell-web.md +1 -1
  16. package/reference/autogen/packages/workspaces-core.md +1 -0
  17. package/reference/autogen/packages/workspaces-web.md +12 -0
  18. package/reference/autogen/tooling/jskit-catalog.md +1 -0
  19. package/skills/jskit/references/data-access.md +3 -4
  20. package/skills/jskit/references/environments.md +56 -16
  21. package/skills/jskit/references/material-3.md +3 -0
  22. package/skills/jskit/references/multi-homing.md +18 -9
  23. package/skills/jskit/references/pattern-index.md +38 -38
  24. package/skills/jskit/references/patterns/app/minimal-foundation/example/package.json +3 -3
  25. package/skills/jskit/references/patterns/app/shell-foundation/example/package.json +4 -4
  26. package/skills/jskit/references/patterns/app/shell-foundation/example/packages/main/package.json +1 -1
  27. package/skills/jskit/references/patterns/auth/accounts-hub/example/package.json +3 -3
  28. package/skills/jskit/references/patterns/auth/oidc-sign-in/example/package.json +2 -2
  29. package/skills/jskit/references/patterns/auth/supabase-auth/example/package.json +1 -1
  30. package/skills/jskit/references/patterns/connectors/calendar-cli/example/package.json +5 -5
  31. package/skills/jskit/references/patterns/crud/crud-feature-package/example/packages/books/package.json +3 -3
  32. package/skills/jskit/references/patterns/database/mysql-application/example/package.json +2 -2
  33. package/skills/jskit/references/patterns/database/postgres-application/example/package.json +2 -2
  34. package/skills/jskit/references/patterns/realtime/realtime-application/example/package.json +2 -2
  35. package/skills/jskit/references/patterns/server/feature-package/example/booking-engine/package.json +1 -1
  36. package/skills/jskit/references/patterns/users/user-administration-server/example/packages/users/package.json +3 -3
  37. package/skills/jskit/references/patterns/users/user-administration-server/example/packages/users-workspace/package.json +6 -6
  38. package/skills/jskit/references/patterns/workspaces/workspace-surfaces/PATTERN.md +16 -5
  39. package/skills/jskit/references/patterns/workspaces/workspace-surfaces/example/src/composables/useWorkspaceNotFoundState.js +3 -2
  40. package/skills/jskit/references/security-pass.md +5 -3
@@ -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.342`
18
+ - Owner: `@jskit-ai/agent-docs@0.1.344`
19
19
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/app/minimal-foundation/PATTERN.md)
20
20
  - Examples: [example/](../../skills/jskit/references/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.342`
29
+ - Owner: `@jskit-ai/agent-docs@0.1.344`
30
30
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/app/shell-foundation/PATTERN.md)
31
31
  - Examples: [example/](../../skills/jskit/references/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.79`
40
+ - Owner: `@jskit-ai/assistant-runtime@0.2.81`
41
41
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/assistant/assistant-surface/PATTERN.md)
42
42
  - Examples: [example/](../../skills/jskit/references/patterns/assistant/assistant-surface/example/)
43
43
  - Requires: `@jskit-ai/assistant-runtime`, `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`, `@jskit-ai/shell-web`
@@ -48,7 +48,7 @@ Run one OpenID Connect sign-in for all of an owner's apps as its own JSKIT proje
48
48
 
49
49
  - Id: `auth/accounts-hub`
50
50
  - Keywords: `accounts hub`, `auth`, `authentication`, `issuer`, `master login`, `oidc`, `openid connect`, `single sign-on`, `sso`
51
- - Owner: `@jskit-ai/oidc-issuer-core@0.1.46`
51
+ - Owner: `@jskit-ai/oidc-issuer-core@0.1.48`
52
52
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/auth/accounts-hub/PATTERN.md)
53
53
  - Examples: [example/](../../skills/jskit/references/patterns/auth/accounts-hub/example/)
54
54
  - Requires: `@jskit-ai/oidc-issuer-core`
@@ -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.51`
62
+ - Owner: `@jskit-ai/auth-web@0.2.53`
63
63
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/auth/auth-surface/PATTERN.md)
64
64
  - Examples: [example/](../../skills/jskit/references/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.56`
73
+ - Owner: `@jskit-ai/auth-provider-oidc-core@0.2.58`
74
74
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/auth/oidc-sign-in/PATTERN.md)
75
75
  - Examples: [example/](../../skills/jskit/references/patterns/auth/oidc-sign-in/example/)
76
76
  - Requires: `@jskit-ai/auth-provider-oidc-core`, `@jskit-ai/auth-web`
@@ -81,7 +81,7 @@ Add Supabase authentication through normal npm composition, explicit environment
81
81
 
82
82
  - Id: `auth/supabase-auth`
83
83
  - Keywords: `auth`, `authentication`, `oauth`, `sessions`, `supabase`
84
- - Owner: `@jskit-ai/auth-provider-supabase-core@0.2.35`
84
+ - Owner: `@jskit-ai/auth-provider-supabase-core@0.2.37`
85
85
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/auth/supabase-auth/PATTERN.md)
86
86
  - Examples: [example/](../../skills/jskit/references/patterns/auth/supabase-auth/example/)
87
87
  - Requires: `@jskit-ai/auth-provider-supabase-core`
@@ -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.47`
95
+ - Owner: `@jskit-ai/connectors-catalog@0.2.49`
96
96
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/ai-connections/PATTERN.md)
97
97
  - Examples: [example/](../../skills/jskit/references/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.47`
106
+ - Owner: `@jskit-ai/connectors-catalog@0.2.49`
107
107
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/api-key-connection/PATTERN.md)
108
108
  - Examples: [example/](../../skills/jskit/references/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.47`
117
+ - Owner: `@jskit-ai/connectors-catalog@0.2.49`
118
118
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/assistant-mcp/PATTERN.md)
119
119
  - Examples: [example/](../../skills/jskit/references/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.47`
128
+ - Owner: `@jskit-ai/connectors-catalog@0.2.49`
129
129
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/assistant-mcp-oauth/PATTERN.md)
130
130
  - Examples: [example/](../../skills/jskit/references/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.47`
139
+ - Owner: `@jskit-ai/connectors-catalog@0.2.49`
140
140
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/aws-storage-queries/PATTERN.md)
141
141
  - Examples: [example/](../../skills/jskit/references/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.45`
150
+ - Owner: `@jskit-ai/connector-google-calendar@0.2.47`
151
151
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/calendar-cli/PATTERN.md)
152
152
  - Examples: [example/](../../skills/jskit/references/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.47`
161
+ - Owner: `@jskit-ai/connectors-catalog@0.2.49`
162
162
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/event-delivery/PATTERN.md)
163
163
  - Examples: [example/](../../skills/jskit/references/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.47`
172
+ - Owner: `@jskit-ai/connectors-catalog@0.2.49`
173
173
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/firebase-messaging/PATTERN.md)
174
174
  - Examples: [example/](../../skills/jskit/references/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.47`
183
+ - Owner: `@jskit-ai/connectors-catalog@0.2.49`
184
184
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/google-ads-search/PATTERN.md)
185
185
  - Examples: [example/](../../skills/jskit/references/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.47`
194
+ - Owner: `@jskit-ai/connectors-catalog@0.2.49`
195
195
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/oauth-connection/PATTERN.md)
196
196
  - Examples: [example/](../../skills/jskit/references/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.47`
205
+ - Owner: `@jskit-ai/connectors-catalog@0.2.49`
206
206
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/paddle-catalogue/PATTERN.md)
207
207
  - Examples: [example/](../../skills/jskit/references/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.47`
216
+ - Owner: `@jskit-ai/connectors-catalog@0.2.49`
217
217
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/public-image/PATTERN.md)
218
218
  - Examples: [example/](../../skills/jskit/references/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.47`
227
+ - Owner: `@jskit-ai/connectors-catalog@0.2.49`
228
228
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/redshift-queries/PATTERN.md)
229
229
  - Examples: [example/](../../skills/jskit/references/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.47`
238
+ - Owner: `@jskit-ai/connectors-catalog@0.2.49`
239
239
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/source-scanning/PATTERN.md)
240
240
  - Examples: [example/](../../skills/jskit/references/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.288`
249
+ - Owner: `@jskit-ai/console-web@0.1.290`
250
250
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/console/console-surface/PATTERN.md)
251
251
  - Examples: [example/](../../skills/jskit/references/patterns/console/console-surface/example/)
252
252
  - Requires: `@jskit-ai/console-core`, `@jskit-ai/console-web`, `@jskit-ai/shell-web`
@@ -257,7 +257,7 @@ Define an application table resource whose records belong to the current user, a
257
257
 
258
258
  - Id: `crud/crud-contract`
259
259
  - Keywords: `authenticated`, `crud`, `database`, `owner-scoped`, `resource`, `table`, `user`
260
- - Owner: `@jskit-ai/resource-crud-core@0.1.221`
260
+ - Owner: `@jskit-ai/resource-crud-core@0.1.223`
261
261
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/crud/crud-contract/PATTERN.md)
262
262
  - Examples: [example/](../../skills/jskit/references/patterns/crud/crud-contract/example/)
263
263
  - Requires: `@jskit-ai/resource-core`, `@jskit-ai/resource-crud-core`
@@ -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.46`
271
+ - Owner: `@jskit-ai/crud-core@0.2.48`
272
272
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/crud/crud-feature-package/PATTERN.md)
273
273
  - Examples: [example/](../../skills/jskit/references/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.53`
282
+ - Owner: `@jskit-ai/http-web@0.2.55`
283
283
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/crud/crud-screen-set/PATTERN.md)
284
284
  - Examples: [example/](../../skills/jskit/references/patterns/crud/crud-screen-set/example/)
285
285
  - Requires: `@jskit-ai/http-web`, `@jskit-ai/resource-core`, `@jskit-ai/resource-crud-core`
@@ -290,7 +290,7 @@ Configure a JSKIT application for MySQL with a fixed driver, ordinary environmen
290
290
 
291
291
  - Id: `database/mysql-application`
292
292
  - Keywords: `database`, `knex`, `mariadb`, `migrations`, `mysql`, `mysql2`
293
- - Owner: `@jskit-ai/database-runtime-mysql@0.1.276`
293
+ - Owner: `@jskit-ai/database-runtime-mysql@0.1.278`
294
294
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/database/mysql-application/PATTERN.md)
295
295
  - Examples: [example/](../../skills/jskit/references/patterns/database/mysql-application/example/)
296
296
  - Requires: `@jskit-ai/database-runtime-mysql`
@@ -301,7 +301,7 @@ Configure a JSKIT application for PostgreSQL with a fixed driver, ordinary envir
301
301
 
302
302
  - Id: `database/postgres-application`
303
303
  - Keywords: `database`, `knex`, `migrations`, `pg`, `postgres`, `postgresql`
304
- - Owner: `@jskit-ai/database-runtime-postgres@0.1.275`
304
+ - Owner: `@jskit-ai/database-runtime-postgres@0.1.277`
305
305
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/database/postgres-application/PATTERN.md)
306
306
  - Examples: [example/](../../skills/jskit/references/patterns/database/postgres-application/example/)
307
307
  - Requires: `@jskit-ai/database-runtime-postgres`
@@ -312,7 +312,7 @@ Describe one database table once (its fields, columns, ownership, search and sor
312
312
 
313
313
  - Id: `database/table-resource`
314
314
  - Keywords: `database`, `defaultTo`, `defineTableResource`, `lockVersionField`, `lookup`, `ownership`, `owns`, `resource`, `system`, `table`, `workspace_or_shared`
315
- - Owner: `@jskit-ai/resource-core@0.1.219`
315
+ - Owner: `@jskit-ai/resource-core@0.1.221`
316
316
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/database/table-resource/PATTERN.md)
317
317
  - Examples: [example/](../../skills/jskit/references/patterns/database/table-resource/example/)
318
318
  - Requires: `@jskit-ai/resource-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.44`
326
+ - Owner: `@jskit-ai/mobile-capacitor@0.2.46`
327
327
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/mobile/android-application/PATTERN.md)
328
328
  - Examples: [example/](../../skills/jskit/references/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.47`
337
+ - Owner: `@jskit-ai/realtime@0.2.49`
338
338
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/realtime/realtime-application/PATTERN.md)
339
339
  - Examples: [example/](../../skills/jskit/references/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.64`
348
+ - Owner: `@jskit-ai/rewarded-web@0.2.66`
349
349
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/rewards/google-rewarded/PATTERN.md)
350
350
  - Examples: [example/](../../skills/jskit/references/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.342`
359
+ - Owner: `@jskit-ai/agent-docs@0.1.344`
360
360
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/server/feature-package/PATTERN.md)
361
361
  - Examples: [example/](../../skills/jskit/references/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.44`
370
+ - Owner: `@jskit-ai/shell-web@0.2.46`
371
371
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/shell/application-shell/PATTERN.md)
372
372
  - Examples: [example/](../../skills/jskit/references/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.44`
381
+ - Owner: `@jskit-ai/shell-web@0.2.46`
382
382
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/ui/page-and-placement/PATTERN.md)
383
383
  - Examples: [example/](../../skills/jskit/references/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.72`
392
+ - Owner: `@jskit-ai/users-web@0.2.74`
393
393
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/users/account-settings/PATTERN.md)
394
394
  - Examples: [example/](../../skills/jskit/references/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.56`
403
+ - Owner: `@jskit-ai/users-core@0.2.58`
404
404
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/users/user-administration-server/PATTERN.md)
405
405
  - Examples: [example/](../../skills/jskit/references/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.56`
414
+ - Owner: `@jskit-ai/workspaces-core@0.2.58`
415
415
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/workspaces/workspace-server/PATTERN.md)
416
416
  - Examples: [example/](../../skills/jskit/references/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.72`
425
+ - Owner: `@jskit-ai/workspaces-web@0.2.74`
426
426
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/workspaces/workspace-surfaces/PATTERN.md)
427
427
  - Examples: [example/](../../skills/jskit/references/patterns/workspaces/workspace-surfaces/example/)
428
428
  - Requires: `@jskit-ai/shell-web`, `@jskit-ai/workspaces-core`, `@jskit-ai/workspaces-web`
@@ -69,10 +69,14 @@ Exports
69
69
  - `APP_ENV_KEY`
70
70
  - `APP_ENVIRONMENTS`
71
71
  - `APP_ENVIRONMENT_META_NAME`
72
+ - `STAGING_REACHES_REAL_PEOPLE_KEY`
73
+ - `STAGING_REAL_PEOPLE_META_NAME`
72
74
  - `appEnvironment(env)`
73
75
  - `isStagingOrProduction(env)`
74
76
  - `pageAppEnvironment(documentObject = globalThis.document)`
75
- - `withAppEnvironmentMeta(html, environment)`
77
+ - `pageStagingReachesRealPeople(documentObject = globalThis.document)`
78
+ - `stagingReachesRealPeople(env)`
79
+ - `withAppEnvironmentMeta(html, environment, { reachesRealPeople = false } = {})`
76
80
 
77
81
  ### `shared/support/clientBuild.js`
78
82
  Exports
@@ -500,6 +504,7 @@ Exports
500
504
  - `staysOnSamePage`
501
505
  - `bootstrapClientShellApp`
502
506
  - `DEFAULT_GUARD_EVALUATOR_KEY`
507
+ - `isNotFoundRoute`
503
508
  - `createComponentInteractionEmitter`
504
509
 
505
510
  ### `client/logging.js`
@@ -567,9 +572,13 @@ Exports
567
572
  - `WEB_ROOT_ALLOW_NO`
568
573
  - `DEFAULT_GUARD_EVALUATOR_KEY`
569
574
  - `createFallbackNotFoundRoute(component)`
575
+ - `markNotFoundRoute(route)`
576
+ - `isNotFoundRoute(route)`
570
577
  - `buildSurfaceAwareRoutes({ routes, surfaceRuntime, surfaceMode, fallbackRoute })`
571
- - `createShellBeforeEachGuard({ surfaceRuntime, webRootAllowed = WEB_ROOT_ALLOW_YES, guardEvaluatorKey = DEFAULT_GUARD_EVALUATOR_KEY, authenticatedPolicy = AUTH_POLICY_AUTHENTICATED, publicPolicy = AUTH_POLICY_PUBLIC })`
578
+ - `createShellBeforeEachGuard({ surfaceRuntime, fallbackRoute = null, webRootAllowed = WEB_ROOT_ALLOW_YES, guardEvaluatorKey = DEFAULT_GUARD_EVALUATOR_KEY, authenticatedPolicy = AUTH_POLICY_AUTHENTICATED, publicPolicy = AUTH_POLICY_PUBLIC })`
572
579
  Local functions
580
+ - `decodePathSegment(segment)`
581
+ - `notFoundLocation(fallbackRoute, to)`
573
582
  - `normalizeGuardPolicy(value)`
574
583
  - `resolveRouteGuardFromMeta(meta)`
575
584
  - `resolveRouteGuard(to)`
@@ -26,7 +26,7 @@ Exports
26
26
  Exports
27
27
  - `APP_ENVIRONMENT_BANNER_ID`
28
28
  - `createAppEnvironmentBannerRuntime(options)`
29
- - `installAppEnvironmentBanner({ documentObject = pageDocument(), environment = pageAppEnvironment(documentObject) } = {})`
29
+ - `installAppEnvironmentBanner({ documentObject = pageDocument(), environment = pageAppEnvironment(documentObject), reachesRealPeople = pageStagingReachesRealPeople(documentObject) } = {})`
30
30
  Local functions
31
31
  - `removeNothing()`
32
32
 
@@ -68,6 +68,7 @@ Exports
68
68
  Local functions
69
69
  - `toSlugPart(value)`
70
70
  - `buildWorkspaceBaseSlug(user)`
71
+ - `workspaceNotFound()`
71
72
 
72
73
  ### `src/server/common/services/workspaceMemberContext.js`
73
74
  Exports
@@ -290,6 +290,8 @@ Exports
290
290
  - `resolveRequestedWorkspaceBootstrapStatus(payload, workspaceSlug = "")`
291
291
  - `resolveRouteState(placementRuntime, router)`
292
292
  - `resolveSearchFromFullPath(fullPath = "")`
293
+ Local functions
294
+ - `resolveRoutePath(router)`
293
295
 
294
296
  ### `src/client/support/realtimeWorkspace.js`
295
297
  Exports
@@ -356,6 +358,16 @@ Exports
356
358
  Exports
357
359
  - None
358
360
 
361
+ ### `fixtures/workspace-not-found/main.js`
362
+ Exports
363
+ - None
364
+ Local functions
365
+ - `workspaceScreen(name)`
366
+
367
+ ### `fixtures/workspace-not-found/vite.config.mjs`
368
+ Exports
369
+ - None
370
+
359
371
  ### `fixtures/workspaces-components/main.js`
360
372
  Exports
361
373
  - None
@@ -275,6 +275,7 @@ Local functions
275
275
  - `computedPlacementPart(placement)`
276
276
  - `normalisePath(value)`
277
277
  - `patternServes(pattern, literal)`
278
+ - `outranks(a, b)`
278
279
  - `routeOf(file)`
279
280
  - `routePattern(route)`
280
281
  - `readSurfaces(configSource, pageRoutes)`
@@ -1549,10 +1549,9 @@ const SettlementFeature = defineFeature({
1549
1549
  `memberContext` resolves the member as their request on a `workspace_user`
1550
1550
  route does, by the same reads: the workspace, their active membership (the
1551
1551
  owner's ensured), their role's permissions and the settings. It refuses as
1552
- that request does: a missing or deleted workspace is 404
1553
- `workspaces.workspace.notFound`, and a user who is no active member of it
1554
- (removed, inactive, never one, or no user) 403
1555
- `workspaces.workspace.accessDenied`. The context signs the member in, unlike
1552
+ that request does: a missing or deleted workspace, and a user who is no
1553
+ active member of it (removed, inactive, never one, or no user), are 404
1554
+ `workspaces.workspace.notFound`. The context signs the member in, unlike
1556
1555
  `{ actorId }`: `resolveActorId` answers them, an action checks their
1557
1556
  permissions, a row policy is told `caller.kind` "user", request row limits
1558
1557
  apply and other owners' hidden fields stay hidden. Its scope is the workspace
@@ -12,7 +12,7 @@ builds, and staging and production set it to `production`.
12
12
  | --- | --- | --- | --- | --- | --- | --- |
13
13
  | `development` | a developer's machine, a session, a preview | logged | logged | sandbox only | allowed | "Development" |
14
14
  | `test` | automated test runs | logged | logged | sandbox only | allowed | "Test" |
15
- | `staging` | a copy on a server for checking the application before production | only to `STAGING_EMAIL_TO` and `STAGING_SMS_TO`; logged when unset | logged | sandbox only | refused | "Staging" |
15
+ | `staging` | a copy on a server for checking the application before production | only to `STAGING_EMAIL_TO` and `STAGING_SMS_TO`; logged when unset; sent when real people use it (`STAGING_REACHES_REAL_PEOPLE=true`) | logged | sandbox only | refused | "Staging" ("Staging · real people" when real people use it) |
16
16
  | `production` | the application serving real people | sent | sent | live | refused | none |
17
17
 
18
18
  The development shortcuts are dev sign-in (`AUTH_DEV_BYPASS_ENABLED`), cookies
@@ -28,14 +28,15 @@ for the emails it sends.
28
28
  The host sets `APP_ENV`; a request never chooses it. JSKIT's own commands set
29
29
  it where they own the run.
30
30
 
31
- | Who | `APP_ENV` | `NODE_ENV` | `STAGING_EMAIL_TO`, `STAGING_SMS_TO` |
32
- | --- | --- | --- | --- |
33
- | `npm run develop`, `npm run dev` on a developer's machine | `development`, set by the scripts | unset | unset |
34
- | A session or preview in an editor | `development` | unset | unset |
35
- | `jskit test` and the browser test servers | `test`, set by JSKIT | anything | unset |
36
- | A build-check machine that starts the packaged build to see it start and answer health | `staging` | `production` | unset, so everything is logged |
37
- | A staging server | `staging` | `production` | the testers' inbox and phone |
38
- | A production server | `production` | `production` | ignored |
31
+ | Who | `APP_ENV` | `NODE_ENV` | `STAGING_EMAIL_TO`, `STAGING_SMS_TO` | `STAGING_REACHES_REAL_PEOPLE` |
32
+ | --- | --- | --- | --- | --- |
33
+ | `npm run develop`, `npm run dev` on a developer's machine | `development`, set by the scripts | unset | unset | unset |
34
+ | A session or preview in an editor | `development` | unset | unset | unset |
35
+ | `jskit test` and the browser test servers | `test`, set by JSKIT | anything | unset | unset |
36
+ | A build-check machine that starts the packaged build to see it start and answer health | `staging` | `production` | unset, so everything is logged | unset |
37
+ | A staging server | `staging` | `production` | the testers' inbox and phone | unset |
38
+ | A staging server that real people use, while there is no production | `staging` | `production` | not used | `true`, set by the host |
39
+ | A production server | `production` | `production` | ignored | unset |
39
40
 
40
41
  A server started with `npm start` reads `APP_ENV` from its environment, or from
41
42
  `.env` (`APP_ENV=development` on a developer's machine; the foundations'
@@ -80,6 +81,12 @@ A server stops at startup, saying what to do, when:
80
81
  - A development-only setting is set in staging or production, for example
81
82
  `AUTH_LOCAL_RECOVERY_DEV_OUTPUT is for development only and APP_ENV is
82
83
  staging. Remove it from the staging environment.`
84
+ - `STAGING_REACHES_REAL_PEOPLE` is set outside staging: `STAGING_REACHES_REAL_PEOPLE
85
+ is set and APP_ENV is production. It says real people use a staging server,
86
+ so only APP_ENV=staging takes it: remove STAGING_REACHES_REAL_PEOPLE from the
87
+ production environment.` Any value but `true` is refused too:
88
+ `STAGING_REACHES_REAL_PEOPLE is "yes". Set it to true when real people use
89
+ this staging server, or leave it unset.`
83
90
 
84
91
  It then logs one line saying where it runs and what that means, such as
85
92
  `APP_ENV is staging: email goes only to qa@example.com (STAGING_EMAIL_TO), SMS
@@ -100,12 +107,39 @@ logs it, with what a tester needs, such as its link. Push notifications,
100
107
  webhooks and connector writes are always logged in staging, and live payments
101
108
  are refused there, as everywhere but production.
102
109
 
110
+ ## A staging server that real people use
111
+
112
+ Sometimes real people already use a staging server, because the application
113
+ has no production yet. Its host then sets `STAGING_REACHES_REAL_PEOPLE=true`
114
+ beside `APP_ENV=staging`, and email and SMS go to the people they are for:
115
+ `deliverMessage` sends each one to its recipient, unmarked (`originalTo` is
116
+ empty, so `markStagingEmail` leaves it as it is), and logs `Staging: the
117
+ password reset email to ada@example.com was sent to ada@example.com, since
118
+ real people use this staging (STAGING_REACHES_REAL_PEOPLE).` Everything else
119
+ stays as staging has it: `APP_ENV` is still `staging`, with its own settings
120
+ and databases; `STAGING_EMAIL_TO` and `STAGING_SMS_TO` are not used (the
121
+ startup line says so when they are set); push notifications, webhooks and
122
+ connector writes are logged; payments use the sandbox; development shortcuts
123
+ are refused. Every page names it in a second meta tag,
124
+ `jskit-staging-reaches-real-people`, and the banner reads "Staging · real
125
+ people" ("Staging that real people use: email and text messages reach the
126
+ people they are for, …").
127
+
128
+ The setting is the host's word, never the application's: only `true` means
129
+ anything, only `APP_ENV=staging` takes it, and a server refuses to start with
130
+ it in any other environment. An application decides nothing from it but who
131
+ receives its email and SMS, and reads it through
132
+ `stagingReachesRealPeople(env)` from
133
+ `@jskit-ai/kernel/shared/support/appEnvironment` when it sends some other way.
134
+
103
135
  ## What JSKIT does
104
136
 
105
137
  - Every HTML page the server sends, and every page the Vite development server
106
- sends, names its environment in a `jskit-app-environment` meta tag. The
107
- shell (`@jskit-ai/shell-web`) shows a small "Development", "Test" or
108
- "Staging" banner from it, with no application code, and none in production.
138
+ sends, names its environment in a `jskit-app-environment` meta tag (and,
139
+ on a staging server that real people use, `jskit-staging-reaches-real-people`
140
+ after it). The shell (`@jskit-ai/shell-web`) shows a small "Development",
141
+ "Test", "Staging" or "Staging · real people" banner from them, with no
142
+ application code, and none in production.
109
143
  The banner never takes a click or a tap. Screen readers read it as a note,
110
144
  with a sentence such as "Development: emails and messages are logged, not
111
145
  sent; payments use the sandbox." as its description. It has no label, so a
@@ -113,7 +147,9 @@ are refused there, as everywhere but production.
113
147
  - Local-password emails (confirmation and password reset) with an installed
114
148
  sender go out as the table says. In staging the sender gets
115
149
  `STAGING_EMAIL_TO` as `email` and the person's address as `originalEmail`,
116
- which its email should show (`markStagingEmail` does). An application that
150
+ which its email should show (`markStagingEmail` does); on a staging server
151
+ that real people use it gets the person's address and an empty
152
+ `originalEmail`, as in production. An application that
117
153
  confirms new accounts at once while its email isn't set up uses
118
154
  `auth.local.confirmation-mode`, which applies everywhere (see
119
155
  [Authentication](/guide/app-setup/authentication)).
@@ -140,7 +176,8 @@ project.
140
176
 
141
177
  Code the application writes that reaches the world follows the same rule. Send
142
178
  email and SMS through `deliverMessage`, which sends, redirects or logs each as
143
- `APP_ENV` says; log anything else outside production with `logSideEffect`.
179
+ `APP_ENV` (and, in staging, `STAGING_REACHES_REAL_PEOPLE`) says; log anything
180
+ else outside production with `logSideEffect`.
144
181
 
145
182
  ```js
146
183
  import { deliverMessage, logSideEffect, markStagingEmail } from "@jskit-ai/kernel/server/runtime/appEnvironment";
@@ -174,8 +211,11 @@ async function notifyDevice({ env, logger, push }, notification) {
174
211
 
175
212
  - Read `env` from the `runtime.env` capability, never a request.
176
213
  - A configured driver or key (`EMAIL_DRIVER=ses`, a live payment key) does not
177
- make anything real; only `APP_ENV=production` does.
214
+ make anything real; only `APP_ENV=production` does, and, for email and SMS
215
+ alone, `STAGING_REACHES_REAL_PEOPLE=true` on staging.
178
216
  - Test each environment the code treats differently. A test that proves a real
179
217
  sender against a fake transport passes `APP_ENV: "production"` (and
180
218
  `NODE_ENV: "production"` when it starts a whole server), and a staging test
181
- sets `STAGING_EMAIL_TO` and checks that only that address received it.
219
+ sets `STAGING_EMAIL_TO` and checks that only that address received it; one
220
+ for a staging server that real people use adds
221
+ `STAGING_REACHES_REAL_PEOPLE: "true"` and checks that the recipient did.
@@ -99,6 +99,9 @@ Exactly this, and nothing more:
99
99
  no parent. A literal destination is served by a page whose route matches it
100
100
  segment by segment, each `:param` standing for exactly one segment; the
101
101
  page's deeper pages (`modules/[moduleKey]/settings.vue`) are inner pages.
102
+ As the router does, a static page comes first: a link to `/jobs/new` leads
103
+ to `jobs/new.vue` when it exists, so `jobs/[jobId]/index.vue` stays an inner
104
+ page with its parent.
102
105
  3. **Every in-app link and navigation goes through JSKIT navigation:**
103
106
  `:to="paths.page('/suppliers')"` and `router.push(paths.page(...))` with
104
107
  `usePaths()`, the CRUD runtime's `resolveViewUrl()`, `resolveEditUrl()` and
@@ -167,11 +167,14 @@ router.register(
167
167
 
168
168
  Before the handler runs, the auth plugin resolves the slug for the signed-in
169
169
  user and sets `request.workspace`, `request.membership` (including `roleSid`
170
- and `status`) and `request.permissions`. An unknown slug returns 404 and a
171
- non-member receives 403, unless the route's `surface` uses an access policy with
172
- `requireWorkspaceMembership: false`. A route with `permission` returns 403 when
173
- the membership lacks it. Scope queries with `request.workspace.id`; never take a
174
- workspace id from request input.
170
+ and `status`) and `request.permissions`. An unknown slug and a workspace the
171
+ caller is not an active member of both return 404
172
+ `workspaces.workspace.notFound` ("Workspace not found."), so someone outside a
173
+ workspace can't tell it exists, unless the route's `surface` uses an access
174
+ policy with `requireWorkspaceMembership: false`. The bootstrap answers both the
175
+ same way: `requestedWorkspace` is `{ slug, status: "not_found" }`. A route with
176
+ `permission` returns 403 when the membership lacks it. Scope queries with
177
+ `request.workspace.id`; never take a workspace id from request input.
175
178
 
176
179
  ### Workspace services from another feature
177
180
 
@@ -632,13 +635,19 @@ the application's identity, training, permission, privacy and browser tests.
632
635
  ## Browser composition
633
636
 
634
637
  Use `workspaces/workspace-surfaces` for workspace selection, invitation landing,
635
- member administration, settings, not-found states, and semantic shell
638
+ member administration, settings, the unavailable state, and semantic shell
636
639
  placements.
637
640
 
638
641
  The route slug, selected workspace, query keys, and server scope stay aligned.
639
- Invalid workspace URLs show a deliberate not-found/forbidden state instead of
640
- silently selecting another workspace. The browser waits for the server's answer
641
- about an unknown slug before deciding, so the surface can show that state.
642
+ A workspace URL the server answers `not_found` (a slug no workspace has, or a
643
+ workspace the person is not in) opens the application's Not found page, the
644
+ `notFoundComponent` given to `createShellRouter`, at that same address, with
645
+ none of the workspace's layout or screens and none of their requests: the
646
+ shell's first bootstrap names the workspace the tab opened on, and the shell
647
+ guard opens the Not found page before any of its pages. A move to a workspace
648
+ the person is not listed in, from a link inside the application, opens its page
649
+ while the bootstrap for it is on its way, then the Not found page once the
650
+ server answers.
642
651
  The bootstrap answer, which carries the workspace and the person's permissions
643
652
  in it, belongs to the workspace, not to a page: it still applies when the
644
653
  person has moved to another page of the same workspace before it arrives, and a