genesis-compiler 1.3.0 → 1.3.2

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-compiler",
3
- "version": "1.3.0",
3
+ "version": "1.3.2",
4
4
  "type": "module",
5
5
  "description": "An agent-independent prompt, multi-language code-index, cleanup, and verification companion with project agent guidance.",
6
6
  "repository": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "genesis",
3
- "version": "1.3.0",
3
+ "version": "1.3.2",
4
4
  "description": "Makes Codex aware of optional Genesis adoption for existing projects.",
5
5
  "author": {
6
6
  "name": "Mobily Enterprises"
@@ -8,12 +8,29 @@ description: Deslop committed work through an explicit behavior-preserving clean
8
8
  Review and simplify committed work without changing product behavior. Deslop is
9
9
  explicit: never run it merely because implementation finished.
10
10
 
11
- When this repository is Genesis itself or has `genesis-compiler` installed
12
- locally, invoke every Genesis CLI operation through the project-pinned package:
13
- `npm exec --no -- genesis <arguments>`. This runs without fetching another
14
- package. Otherwise use `genesis <arguments>` only when that executable is
15
- already available on `PATH`. Never install or update Genesis merely to satisfy
16
- a workflow instruction.
11
+ Resolve the invocation before running the first Genesis operation. Do not use a
12
+ Genesis operation or `genesis --version` as an availability probe.
13
+
14
+ 1. Read the repository-root `package.json`. Treat Genesis as project-pinned only
15
+ when that manifest's `name` is `genesis-compiler`, or its `dependencies`,
16
+ `devDependencies`, or `optionalDependencies` contain the exact
17
+ `genesis-compiler` key.
18
+ 2. For a project-pinned repository, invoke every Genesis CLI operation with
19
+ `npm exec --no -- genesis <arguments>`. This runs without fetching another
20
+ package. If the declared package is not installed, report that the project's
21
+ dependencies are not prepared; do not fall back to another Genesis version.
22
+ 3. Otherwise, do not try `npm exec`. Run `command -v genesis` (or the current
23
+ shell's equivalent `PATH` lookup). When it resolves an executable, invoke
24
+ `genesis <arguments>` directly.
25
+ 4. When neither source is available, stop and report that Genesis is
26
+ unavailable. Never install or update Genesis merely to satisfy a workflow
27
+ instruction.
28
+
29
+ Successful invocation resolution is routine. Do not narrate whether Genesis is
30
+ project-pinned or on `PATH`, and never describe direct `PATH` use as a fallback.
31
+ Mention how the invocation was selected only when resolution fails or the user
32
+ explicitly asks. This does not suppress an otherwise-required work update about
33
+ using Genesis; keep that update about the project work, not executable selection.
17
34
 
18
35
  ## Load the effective project instructions once
19
36
 
@@ -25,12 +25,29 @@ one exact investigation.
25
25
 
26
26
  ## Run Genesis commands
27
27
 
28
- When this repository is Genesis itself or has `genesis-compiler` installed
29
- locally, invoke every Genesis CLI operation through the project-pinned package:
30
- `npm exec --no -- genesis <arguments>`. This runs without fetching another
31
- package. Otherwise use `genesis <arguments>` only when that executable is
32
- already available on `PATH`. Never install or update Genesis merely to satisfy
33
- a workflow instruction.
28
+ Resolve the invocation before running the first Genesis operation. Do not use a
29
+ Genesis operation or `genesis --version` as an availability probe.
30
+
31
+ 1. Read the repository-root `package.json`. Treat Genesis as project-pinned only
32
+ when that manifest's `name` is `genesis-compiler`, or its `dependencies`,
33
+ `devDependencies`, or `optionalDependencies` contain the exact
34
+ `genesis-compiler` key.
35
+ 2. For a project-pinned repository, invoke every Genesis CLI operation with
36
+ `npm exec --no -- genesis <arguments>`. This runs without fetching another
37
+ package. If the declared package is not installed, report that the project's
38
+ dependencies are not prepared; do not fall back to another Genesis version.
39
+ 3. Otherwise, do not try `npm exec`. Run `command -v genesis` (or the current
40
+ shell's equivalent `PATH` lookup). When it resolves an executable, invoke
41
+ `genesis <arguments>` directly.
42
+ 4. When neither source is available, stop and report that Genesis is
43
+ unavailable. Never install or update Genesis merely to satisfy a workflow
44
+ instruction.
45
+
46
+ Successful invocation resolution is routine. Do not narrate whether Genesis is
47
+ project-pinned or on `PATH`, and never describe direct `PATH` use as a fallback.
48
+ Mention how the invocation was selected only when resolution fails or the user
49
+ explicitly asks. This does not suppress an otherwise-required work update about
50
+ using Genesis; keep that update about the project work, not executable selection.
34
51
 
35
52
  ## Resolve explicit technology choices
36
53