genesis-compiler 1.2.5 → 1.2.7

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/README.md +45 -19
  2. package/docs/prompt-integration.md +1 -1
  3. package/docs/stack-components.md +19 -4
  4. package/package.json +2 -4
  5. package/plugins/genesis/.codex-plugin/plugin.json +1 -1
  6. package/prompts/adopt.txt +6 -0
  7. package/src/cli.js +38 -10
  8. package/src/index/agent-skills.js +11 -3
  9. package/src/index/check.js +30 -2
  10. package/src/index/code-index.js +7 -2
  11. package/src/index/context.js +2 -2
  12. package/src/index/contracts.js +7 -0
  13. package/src/index/deployment.js +4 -2
  14. package/src/index/environment-files.js +8 -2
  15. package/src/index/init.js +2 -2
  16. package/src/index/launch.js +4 -1
  17. package/src/index/process.js +119 -5
  18. package/src/index/prompt.js +24 -16
  19. package/src/index/stack-catalog.js +111 -26
  20. package/src/index/stack.js +60 -8
  21. package/src/index/verification.js +15 -1
  22. package/src/index/workspace-setup.js +12 -2
  23. package/src/index.js +29 -17
  24. package/stacks/pieces/cpp.md +0 -34
  25. package/stacks/pieces/csharp.md +0 -22
  26. package/stacks/pieces/go.md +0 -22
  27. package/stacks/pieces/java.md +0 -22
  28. package/stacks/pieces/jskit-mysql.md +0 -56
  29. package/stacks/pieces/jskit-postgresql.md +0 -56
  30. package/stacks/pieces/jskit.md +0 -114
  31. package/stacks/pieces/kotlin.md +0 -22
  32. package/stacks/pieces/mysql.md +0 -29
  33. package/stacks/pieces/nodejs.md +0 -36
  34. package/stacks/pieces/php.md +0 -23
  35. package/stacks/pieces/postgresql.md +0 -30
  36. package/stacks/pieces/python.md +0 -23
  37. package/stacks/pieces/ruby.md +0 -22
  38. package/stacks/pieces/rust.md +0 -22
  39. package/stacks/pieces/shell.md +0 -23
  40. package/stacks/pieces/vue.md +0 -28
@@ -1,30 +0,0 @@
1
- # Stack piece: postgresql
2
-
3
- ## Description
4
-
5
- PostgreSQL persistence and migration conventions.
6
-
7
- ## Requires
8
-
9
- - Nothing.
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
-
23
- ## Deslop
24
-
25
- - Keep connection configuration, transaction ownership, and database error
26
- translation at one persistence boundary.
27
- - Use the selected integration's client and migration lifecycle instead of
28
- adding parallel connection factories or schema-management code.
29
- - Preserve migration history and data semantics. Deslop is not permission for
30
- destructive schema changes.
@@ -1,23 +0,0 @@
1
- # Stack piece: python
2
-
3
- ## Description
4
-
5
- Python package, module, callable, dependency, and test conventions.
6
-
7
- ## Requires
8
-
9
- - Nothing.
10
-
11
- ## Indexers
12
-
13
- - `python`
14
-
15
- ## Deslop
16
-
17
- - Preserve established package boundaries, public imports, typing style,
18
- dependency injection, and synchronous or asynchronous execution conventions.
19
- - Keep single-consumer helpers private and close to their caller. Consolidate
20
- repeated validation, serialization, resource lifetime, and error translation
21
- only at one clear existing seam.
22
- - Remove pass-through modules, speculative base classes, and utility wrappers
23
- that merely rename standard Python or framework operations.
@@ -1,22 +0,0 @@
1
- # Stack piece: ruby
2
-
3
- ## Description
4
-
5
- Ruby module, class, callable, dependency, lifecycle, and test conventions.
6
-
7
- ## Requires
8
-
9
- - Nothing.
10
-
11
- ## Indexers
12
-
13
- - `ruby`
14
-
15
- ## Deslop
16
-
17
- - Preserve established modules, public entry points, dependency boundaries,
18
- lifecycle callbacks, and Bundler and test conventions.
19
- - Keep private methods with their owning class or module. Consolidate repeated
20
- coercion, validation, persistence, and error handling at an existing seam.
21
- - Remove forwarding objects, metaprogramming, concerns, and service layers that
22
- obscure a direct operation without protecting a real shared boundary.
@@ -1,22 +0,0 @@
1
- # Stack piece: rust
2
-
3
- ## Description
4
-
5
- Rust module, public item, ownership, error, async, Cargo, and test conventions.
6
-
7
- ## Requires
8
-
9
- - Nothing.
10
-
11
- ## Indexers
12
-
13
- - `rust`
14
-
15
- ## Deslop
16
-
17
- - Preserve module visibility, ownership and borrowing, error types, feature
18
- gates, async runtime boundaries, and Cargo workspace conventions.
19
- - Keep private functions near their callers. Consolidate repeated conversion,
20
- validation, and resource cleanup only when one ownership model remains clear.
21
- - Remove needless traits, boxes, clones, wrapper types, and generic layers that
22
- do not protect a real semantic or compatibility boundary.
@@ -1,23 +0,0 @@
1
- # Stack piece: shell
2
-
3
- ## Description
4
-
5
- Shell script function, process, environment, portability, and test conventions.
6
-
7
- ## Requires
8
-
9
- - Nothing.
10
-
11
- ## Indexers
12
-
13
- - `shell`
14
-
15
- ## Deslop
16
-
17
- - Preserve the script's supported shell, command-line contract, environment
18
- semantics, quoting rules, exit statuses, and process ownership.
19
- - Keep private functions close to their callers. Consolidate repeated argument
20
- parsing, validation, cleanup, and command execution only at a clear script or
21
- sourced-library boundary.
22
- - Remove needless command wrappers, subshells, pipelines, aliases, and dynamic
23
- evaluation that obscure a direct, safely quoted operation.
@@ -1,28 +0,0 @@
1
- # Stack piece: vue
2
-
3
- ## Description
4
-
5
- Vue component, reactive state, resource hydration, routing, and screen-state conventions.
6
-
7
- ## Requires
8
-
9
- - `nodejs`
10
-
11
- ## Guidance
12
-
13
- ### Reactive state hydration
14
-
15
- - Cached query/resource data and route state may already exist when a component is created. Never rely on a default lazy `watch()` to initialize writable UI state.
16
- - Prefer a computed source of truth. When local writable state is necessary, initialize it synchronously and use `{ immediate: true }` for watchers that hydrate or validate from resource data, query results, props, or `route.query`.
17
- - Keep genuinely change-only watchers non-immediate.
18
- - Persist user-selected filters and screen context in the URL when they must survive navigation.
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.