genesis-stack 1.4.4 → 1.4.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "genesis-stack",
3
- "version": "1.4.4",
3
+ "version": "1.4.5",
4
4
  "description": "The optional curated technology Stack catalog for Genesis projects.",
5
5
  "type": "module",
6
6
  "repository": {
@@ -43,7 +43,8 @@ https://mobily-enterprises.github.io/jskit-ai/
43
43
  surfaces are public or login-required and expose
44
44
  `AUTH_LOCAL_SESSION_SECRET` as a required environment name in the project's
45
45
  established environment contract and committed environment example. Never
46
- commit or invent its value.
46
+ commit or invent its value; the proposed Deployment lists it as a generated
47
+ secret, so the deployment consumer supplies its production value.
47
48
  - An application with accounts always has the host's browser-preview login,
48
49
  without waiting to be asked: when adding authentication, add the
49
50
  `auth/auth-surface` pattern's executable `tools/preview-identity` and copy its
@@ -81,7 +82,12 @@ https://mobily-enterprises.github.io/jskit-ai/
81
82
  Routine browser-test startup reuses the isolated test schema, applies only
82
83
  pending migrations and resets fixtures deterministically; it does not drop or
83
84
  rebuild the database or run a production frontend build per check. Keep
84
- fresh-schema migration checks separate.
85
+ fresh-schema migration checks separate. Integration tests restore
86
+ `TEST_DB_NAME` from a stored schema snapshot keyed by a digest of the
87
+ migration sources, as
88
+ `https://mobily-enterprises.github.io/jskit-ai/guide/app-setup/database-layer#integration-test-databases`
89
+ describes; list, batch and write paths keep the query budgets of
90
+ `https://mobily-enterprises.github.io/jskit-ai/guide/framework/typed-features#budgets-at-realistic-counts`.
85
91
 
86
92
  - When application integrations are requested or `integrations.json` exists,
87
93
  treat that file as the application-owned configuration used by both editor
@@ -144,9 +150,13 @@ https://mobily-enterprises.github.io/jskit-ai/
144
150
  application has been running in development mode. Add it only when the
145
151
  production environment already holds every value the application's source
146
152
  requires in production mode (for example real email, payment or storage
147
- providers instead of simulated ones, and `AUTH_LOCAL_SESSION_SECRET`); the
148
- next deployment then starts in production mode, and a missing value stops
149
- it from starting.
153
+ providers instead of simulated ones, and `AUTH_LOCAL_SESSION_SECRET` unless
154
+ the Deployment generates it); the next deployment then starts in production
155
+ mode, and a missing value stops it from starting.
156
+ - When an established Deployment lacks the proposal's
157
+ ``- Generated secrets: `AUTH_LOCAL_SESSION_SECRET` `` entry, add it (keeping
158
+ any names it already lists), so the deployment consumer supplies the
159
+ production session secret the application never commits.
150
160
  - Inspect existing setup and database preparation for both migration discovery
151
161
  and an app-owned idempotent seed. Never infer `db:prepare` from the selected
152
162
  component when the script or preparation file does not exist.
@@ -253,6 +263,7 @@ https://mobily-enterprises.github.io/jskit-ai/
253
263
 
254
264
  - Runtimes: `nodejs`
255
265
  - Recreate on restore: `node_modules`
266
+ - Generated secrets: `AUTH_LOCAL_SESSION_SECRET`
256
267
  - Ready when: `GET` `/api/health` returns `200`
257
268
  - Prepare `Install dependencies`: `npm` `ci`
258
269
  - Build `Build`: `npm` `run` `build`
@@ -289,6 +300,22 @@ https://mobily-enterprises.github.io/jskit-ai/
289
300
  - Remove pass-through wrappers and abandoned scaffold code only when doing so
290
301
  preserves routes, placements, baseline tests, and observable behavior.
291
302
 
303
+ ## UI pass
304
+
305
+ - Read JSKIT's Material 3 rules at
306
+ `https://mobily-enterprises.github.io/jskit-ai/guide/framework/material-3`
307
+ and its UI pass method at
308
+ `https://mobily-enterprises.github.io/jskit-ai/guide/framework/ui-pass`
309
+ completely, then follow the method for the resolved scope: the changes, a
310
+ section, or the whole app.
311
+ - Navigation and Up are must-fix at every scope (#241): plain
312
+ `npx jskit check`, which `npm run verify` runs, fails on every `nav/*` rule.
313
+ - Run `npx jskit check m3` on the scope (the changed UI files, the section's
314
+ directory, or no paths for the whole app) until it reports nothing, and
315
+ `npx jskit check` until it passes.
316
+ - The checks cannot see layout, spacing or contrast; look at every screenshot
317
+ for those.
318
+
292
319
  ## Verification
293
320
 
294
321
  - Verify `application`: `npm` `run` `verify`
@@ -44,6 +44,20 @@ conventions. Authoritative framework documentation: https://vuejs.org/
44
44
  - Persist user-selected filters and screen context in the URL when they must survive navigation.
45
45
  - Test stateful screens by navigating away and back with a warm query cache, including browser back/forward navigation.
46
46
 
47
+ ## UI pass
48
+
49
+ - In a JSKIT application the `jskit` component's UI pass guidance governs.
50
+ - For a Vue application on Vuetify, follow JSKIT's Material 3 rules at
51
+ `https://mobily-enterprises.github.io/jskit-ai/guide/framework/material-3`
52
+ and the scopes of its UI pass method at
53
+ `https://mobily-enterprises.github.io/jskit-ai/guide/framework/ui-pass`, as far
54
+ as they apply outside JSKIT: the Material 3 foundation, exact sizes, colour,
55
+ lists, records and forms, adaptive layout, and one Up arrow without
56
+ history-based back links. JSKIT's shell, navigation and `jskit check` apply
57
+ only to JSKIT applications.
58
+ - With another component library, keep that library and the project's design
59
+ system, and apply the same scopes and evidence.
60
+
47
61
  ## Adoption
48
62
 
49
63
  - Identify the real client entrypoint, router, build tool, development command,