genesis-compiler 1.3.0 → 1.3.1

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.1",
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.1",
4
4
  "description": "Makes Codex aware of optional Genesis adoption for existing projects.",
5
5
  "author": {
6
6
  "name": "Mobily Enterprises"
@@ -8,12 +8,23 @@ 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.
17
28
 
18
29
  ## Load the effective project instructions once
19
30
 
@@ -25,12 +25,23 @@ 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.
34
45
 
35
46
  ## Resolve explicit technology choices
36
47