genesis-compiler 1.2.2 → 1.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +56 -20
- package/docs/assurance-model.md +16 -1
- package/docs/preview-identity-command.md +113 -0
- package/docs/prompt-integration.md +22 -14
- package/docs/stack-components.md +112 -22
- package/package.json +4 -2
- package/plugins/genesis/.codex-plugin/plugin.json +1 -1
- package/prompts/adopt.txt +62 -0
- package/prompts/start.txt +17 -4
- package/prompts/work.txt +1 -1
- package/skills/genesis-project/SKILL.md +9 -1
- package/src/cli.js +76 -3
- package/src/index/agent-skills.js +25 -4
- package/src/index/assets.js +1 -0
- package/src/index/city-presentation.js +83 -0
- package/src/index/code-index.js +24 -3
- package/src/index/codex-hooks.js +3 -2
- package/src/index/init.js +1 -1
- package/src/index/prompt.js +58 -1
- package/src/index/stack-catalog.js +3 -0
- package/src/index/stack-city-presentation.js +178 -0
- package/src/index/stack-environment-defaults.js +2 -0
- package/src/index/stack-launch.js +5 -6
- package/src/index/stack-piece.js +35 -11
- package/src/index/stack.js +47 -2
- package/src/index/utils.js +1 -1
- package/src/index/workspace-setup.js +76 -0
- package/src/index.js +10 -3
- package/stacks/pieces/cpp.md +12 -0
- package/stacks/pieces/jskit-mysql.md +10 -0
- package/stacks/pieces/jskit-postgresql.md +10 -0
- package/stacks/pieces/jskit.md +34 -0
- package/stacks/pieces/mysql.md +11 -0
- package/stacks/pieces/nodejs.md +11 -0
- package/stacks/pieces/postgresql.md +12 -0
- package/stacks/pieces/vue.md +9 -0
|
@@ -35,6 +35,16 @@ JSKIT MySQL runtime, live-schema CRUD generation, and persistence conventions.
|
|
|
35
35
|
}
|
|
36
36
|
```
|
|
37
37
|
|
|
38
|
+
## Adoption
|
|
39
|
+
|
|
40
|
+
- Confirm that the application's effective MySQL environment alternatives and
|
|
41
|
+
driver match this Resource declaration; add a project Resource contract when
|
|
42
|
+
the existing application legitimately differs.
|
|
43
|
+
- Verify from source that the database preparation path discovers every
|
|
44
|
+
package-owned migration, preserves the existing ledger, orders cross-package
|
|
45
|
+
constraints safely, and invokes an app-owned idempotent seed. Do not execute
|
|
46
|
+
it during adoption.
|
|
47
|
+
|
|
38
48
|
## Deslop
|
|
39
49
|
|
|
40
50
|
- Use the installed JSKIT database runtime and generated resource/repository
|
|
@@ -35,6 +35,16 @@ JSKIT PostgreSQL runtime, live-schema CRUD generation, and persistence conventio
|
|
|
35
35
|
}
|
|
36
36
|
```
|
|
37
37
|
|
|
38
|
+
## Adoption
|
|
39
|
+
|
|
40
|
+
- Confirm that the application's effective PostgreSQL environment alternatives
|
|
41
|
+
and driver match this Resource declaration; add a project Resource contract
|
|
42
|
+
when the existing application legitimately differs.
|
|
43
|
+
- Verify from source that the database preparation path discovers every
|
|
44
|
+
package-owned migration, preserves the existing ledger, orders cross-package
|
|
45
|
+
constraints safely, and invokes an app-owned idempotent seed. Do not execute
|
|
46
|
+
it during adoption.
|
|
47
|
+
|
|
38
48
|
## Deslop
|
|
39
49
|
|
|
40
50
|
- Use the installed JSKIT database runtime and generated resource/repository
|
package/stacks/pieces/jskit.md
CHANGED
|
@@ -27,6 +27,29 @@ application-owned composition.
|
|
|
27
27
|
user-command failures through JSKIT's shared non-layout-shifting action
|
|
28
28
|
feedback/snackbar path.
|
|
29
29
|
|
|
30
|
+
## Adoption
|
|
31
|
+
|
|
32
|
+
- Read the installed JSKIT skill's existing-application migration guidance
|
|
33
|
+
completely before editing Stack or assessing readiness.
|
|
34
|
+
- Inventory the coordinated `@jskit-ai/*` package graph, application-owned
|
|
35
|
+
composition, package-owned migrations, explicit repositories/features/named
|
|
36
|
+
actions, and current client resources without running a broad package update.
|
|
37
|
+
- Compare the real package scripts with JSKIT's current Workspace setup,
|
|
38
|
+
Launch, verification, and Deployment declarations. Older source needs complete
|
|
39
|
+
project-owned overrides until a separately approved port supplies the current
|
|
40
|
+
commands.
|
|
41
|
+
- Inspect existing setup and database preparation for both migration discovery
|
|
42
|
+
and an app-owned idempotent seed. Never infer `db:prepare` from the selected
|
|
43
|
+
component when the script or preparation file does not exist.
|
|
44
|
+
- When authenticated Preview exists, preserve the app-owned Preview identity
|
|
45
|
+
command, selectors, protocol, environment names, runtime, and timeout in the
|
|
46
|
+
project's Launch declaration. A host-saved identity name/value is not a
|
|
47
|
+
substitute for this application contract.
|
|
48
|
+
- Treat generator descriptors, receipts, sync commands, legacy service
|
|
49
|
+
locators, and retired tool manifests as migration evidence only. Translate
|
|
50
|
+
live facts into current source/Stack and report remaining port work; do not
|
|
51
|
+
add compatibility readers or claim adoption performed the port.
|
|
52
|
+
|
|
30
53
|
## Workspace setup
|
|
31
54
|
|
|
32
55
|
- Prepare `Install dependencies` with `nodejs` when `package.json` exists: `npm` `install`
|
|
@@ -36,6 +59,17 @@ application-owned composition.
|
|
|
36
59
|
|
|
37
60
|
- Dotenv `.env`
|
|
38
61
|
|
|
62
|
+
## City regions
|
|
63
|
+
|
|
64
|
+
- Ignore `**/test/**`
|
|
65
|
+
- Ignore `**/tests/**`
|
|
66
|
+
- Ignore `**/__tests__/**`
|
|
67
|
+
- Ignore `**/*.test.*`
|
|
68
|
+
- Ignore `**/*.spec.*`
|
|
69
|
+
- Match `packages` as `Packages`: `packages/**`
|
|
70
|
+
- Match `source` as `Source`: `src/**`
|
|
71
|
+
- Fallback `everything-else` as `Everything else`
|
|
72
|
+
|
|
39
73
|
## Launch
|
|
40
74
|
|
|
41
75
|
### Target `app`: Run app
|
package/stacks/pieces/mysql.md
CHANGED
|
@@ -8,6 +8,17 @@ MySQL persistence and migration conventions.
|
|
|
8
8
|
|
|
9
9
|
- Nothing.
|
|
10
10
|
|
|
11
|
+
## Adoption
|
|
12
|
+
|
|
13
|
+
- Identify the application's accepted connection alternatives, client/driver,
|
|
14
|
+
migration directories and ledger, transaction ownership, and the exact
|
|
15
|
+
preparation command without connecting to or mutating a database.
|
|
16
|
+
- Distinguish fresh-schema creation from existing-database upgrade. Record how
|
|
17
|
+
package/application migrations are ordered and how a retained ledger prevents
|
|
18
|
+
historical migrations from rerunning.
|
|
19
|
+
- Identify app-owned seed behavior and whether it is deterministic and
|
|
20
|
+
idempotent. A migration-only command is not a complete seed contract.
|
|
21
|
+
|
|
11
22
|
## Deslop
|
|
12
23
|
|
|
13
24
|
- Keep connection configuration, transaction ownership, and database error
|
package/stacks/pieces/nodejs.md
CHANGED
|
@@ -12,6 +12,17 @@ Node.js package, command, module, dependency, and test conventions.
|
|
|
12
12
|
|
|
13
13
|
- `javascript`
|
|
14
14
|
|
|
15
|
+
## Adoption
|
|
16
|
+
|
|
17
|
+
- Identify the package manager from the lockfile and preserve the existing
|
|
18
|
+
module system, supported Node.js version, package entrypoints, and executable
|
|
19
|
+
commands.
|
|
20
|
+
- Record the source's real dependency installation, build, verification,
|
|
21
|
+
development, and production commands. Do not assume `npm run develop`,
|
|
22
|
+
`npm test`, or `npm start` exists merely because a current foundation uses it.
|
|
23
|
+
- Identify every long-running process, its workdir, host/port handling,
|
|
24
|
+
readiness signal, and shutdown ownership before declaring Launch.
|
|
25
|
+
|
|
15
26
|
## Deslop
|
|
16
27
|
|
|
17
28
|
- Preserve the package's existing module system, package manager, public
|
|
@@ -8,6 +8,18 @@ PostgreSQL persistence and migration conventions.
|
|
|
8
8
|
|
|
9
9
|
- Nothing.
|
|
10
10
|
|
|
11
|
+
## Adoption
|
|
12
|
+
|
|
13
|
+
- Identify the application's accepted connection alternatives, client/driver,
|
|
14
|
+
migration directories and ledger, transaction ownership, search-path/schema
|
|
15
|
+
assumptions, and the exact preparation command without connecting to or
|
|
16
|
+
mutating a database.
|
|
17
|
+
- Distinguish fresh-schema creation from existing-database upgrade. Record how
|
|
18
|
+
package/application migrations are ordered and how a retained ledger prevents
|
|
19
|
+
historical migrations from rerunning.
|
|
20
|
+
- Identify app-owned seed behavior and whether it is deterministic and
|
|
21
|
+
idempotent. A migration-only command is not a complete seed contract.
|
|
22
|
+
|
|
11
23
|
## Deslop
|
|
12
24
|
|
|
13
25
|
- Keep connection configuration, transaction ownership, and database error
|
package/stacks/pieces/vue.md
CHANGED
|
@@ -17,3 +17,12 @@ Vue component, reactive state, resource hydration, routing, and screen-state con
|
|
|
17
17
|
- Keep genuinely change-only watchers non-immediate.
|
|
18
18
|
- Persist user-selected filters and screen context in the URL when they must survive navigation.
|
|
19
19
|
- Test stateful screens by navigating away and back with a warm query cache, including browser back/forward navigation.
|
|
20
|
+
|
|
21
|
+
## Adoption
|
|
22
|
+
|
|
23
|
+
- Identify the real client entrypoint, router, build tool, development command,
|
|
24
|
+
production build output, API proxy/origin contract, and environment-file
|
|
25
|
+
conventions.
|
|
26
|
+
- Record existing unit and browser-test commands plus their base-URL, storage
|
|
27
|
+
state, and managed-browser assumptions. Do not install a browser or replace a
|
|
28
|
+
working host-managed browser contract during adoption.
|