gm-skill 2.0.1197 → 2.0.1198

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 CHANGED
@@ -35,7 +35,7 @@ An earlier generation fanned out fifteen per-platform downstream repos (gm-cc, g
35
35
 
36
36
  ## Version
37
37
 
38
- `2.0.1197` — auto-bumped from the canonical `gm` repo. Every push to `AnEntrypoint/gm` (or any cascading sibling crate) republishes this package.
38
+ `2.0.1198` — auto-bumped from the canonical `gm` repo. Every push to `AnEntrypoint/gm` (or any cascading sibling crate) republishes this package.
39
39
 
40
40
  ## Source of truth
41
41
 
@@ -1 +1 @@
1
- 0.1.437
1
+ 0.1.438
package/bin/plugkit.wasm CHANGED
Binary file
@@ -1 +1 @@
1
- a869aa0dc16043b1df9eb43aeb8eb5aa458fe68187bedefaf0f96c6c38c6e944 plugkit.wasm
1
+ 993680a7b6d2c7625c0cfc7627e3135cc6673bb9e3ac55fb241270929ba5b60b plugkit.wasm
package/gm.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm",
3
- "version": "2.0.1197",
3
+ "version": "2.0.1198",
4
4
  "description": "Spool-dispatch orchestration engine with unified state machine, skills, and automated git enforcement",
5
5
  "author": "AnEntrypoint",
6
6
  "license": "MIT",
@@ -17,5 +17,5 @@
17
17
  "publishConfig": {
18
18
  "access": "public"
19
19
  },
20
- "plugkitVersion": "0.1.437"
20
+ "plugkitVersion": "0.1.438"
21
21
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm-skill",
3
- "version": "2.0.1197",
3
+ "version": "2.0.1198",
4
4
  "description": "Canonical universal harness — AI-native software engineering via skill-driven orchestration; bootstraps plugkit for task execution and session isolation. Install in any AI coding agent host.",
5
5
  "author": "AnEntrypoint",
6
6
  "license": "MIT",
@@ -39,7 +39,7 @@
39
39
  "gm.json"
40
40
  ],
41
41
  "dependencies": {
42
- "gm-plugkit": "^2.0.1197"
42
+ "gm-plugkit": "^2.0.1198"
43
43
  },
44
44
  "engines": {
45
45
  "node": ">=16.0.0"
@@ -1,25 +1,27 @@
1
1
  ---
2
2
  name: gm-skill
3
- description: AI-native software engineering harness. Every action routes through plugkit via the spool. The agent dispatches verbs; plugkit owns phase, mutables, PRD, recall, instructions, the three-layer filter (cost bounds direction), and every other concern.
3
+ description: AI-native engineering harness. Plugkit-served instruction stream; three-layer admission filter (cost, bounds, direction) gates every mutation; PRD-DAG covers the destructive transform's closure; emit the mature artifact, not the scaffold.
4
4
  allowed-tools: Skill, Read, Write, Bash(node *), Bash(bun *)
5
5
  ---
6
6
 
7
7
  # gm — only plugkit
8
8
 
9
- Plugkit owns the discipline. Every turn, dispatch the `instruction` verb and follow the prose it returns. Every candidate operation runs through the three-layer filter plugkit serves: L1 cost (measure before acting) L2 bounds (keep state finite) → L3 direction (verify toward goal). Any reject defers or discards. Read/Edit/Bash/Grep/Glob before the first `instruction` dispatch is the failure mode this skill prevents every one of those is a step taken outside the loop, and the loop is the work.
9
+ Plugkit owns the discipline. Every turn: dispatch `instruction`, follow the prose. Every candidate operation traverses the three-layer admission filter L1 cost (empirical baseline; recall+codesearch fan-out probes it) → L2 bounds (`|F|=1` single-writer per surface; PRD/mutables/KV are the central stores) L3 direction (Lyapunov criterion; mutations must monotonically decrease distance-to-goal; audit tuple `(id, hash, ts)` per accepted write). Reject defer or discard.
10
10
 
11
- If `.gm/exec-spool/.status.json` is absent or its `ts` is older than 15s, boot the watcher first the one thing this skill does directly, because nothing else can be served until the spool is alive:
11
+ Read/Edit/Bash/Grep/Glob before the first `instruction` dispatch IS the failure this skill preventseach is a step outside the loop, and the loop is the work.
12
+
13
+ If `.gm/exec-spool/.status.json` is absent or stale (>15s), boot the watcher — the one direct action this skill permits:
12
14
 
13
15
  ```
14
16
  bun x gm-plugkit@latest spool > /dev/null 2>&1 &
15
17
  ```
16
18
 
17
- (`npx -y gm-plugkit@latest spool > /dev/null 2>&1 &` if `bun` is missing.) Wait 2s, confirm `.status.json` heartbeat is fresh, then proceed.
19
+ (`npx -y gm-plugkit@latest spool > /dev/null 2>&1 &` if `bun` missing.) Wait 2s, confirm fresh heartbeat, proceed.
18
20
 
19
- Now dispatch `instruction` by writing an empty body to `.gm/exec-spool/in/instruction/<N>.txt` and reading the response from `.gm/exec-spool/out/instruction-<N>.json`. The response carries the active phase prose, the PRD, the open mutables, prior recall, the three-layer framing for the phase, and every signal that should shape the next action. Follow that prose imperatively. When its exit condition is met, dispatch `transition`. The chain runs PLAN → EXECUTE → EMIT → VERIFY → COMPLETE under plugkit's direction; this skill does not duplicate the prose, does not enumerate verbs, does not describe the dispatch format — plugkit serves all of it on demand.
21
+ Now dispatch `instruction` (empty body `in/instruction/<N>.txt`). Response carries the active phase prose, PRD, open mutables, prior recall, the three-layer framing for this phase, and every signal the next action needs. Follow imperatively. Exit condition met `transition`. Chain runs PLAN → EXECUTE → EMIT → VERIFY → COMPLETE under plugkit's direction; this skill does not duplicate prose, enumerate verbs, or describe the dispatch ABI — plugkit serves all of it on demand.
20
22
 
21
- Nothing else lives here. Every concern that feels like it belongs in this file — how to batch, what verbs exist, when to scan for residuals, how the browser surface works, where the watcher logs go, how updates land, when to stop, which closure shapes are forbidden — is served by `instruction` when the moment calls for it. Trying to remember it from this skill instead of asking plugkit is forced closure: the agent acts on a stale snapshot of policy instead of the live one plugkit holds.
23
+ Maturity-first invariant: emit the closure of the destructive transform the request admits, not a scaffold + "Phase 2 next session" IOU. Partial emits are non-monotonic, L3-rejected. If closure exceeds session reach, that's a Maximal Cover decomposition (PRD-DAG enumeration), never a TODO-launder.
22
24
 
23
- Memory writes route through `memorize-fire` only. Questions to the user fire last after the three layers, scope-expansion, and a `WebSearch`/`WebFetch` pack have all closed empty. `AskUserQuestion` mid-iteration to pick between viable approaches IS the L3 violation the filter rejects (low-cost narrative substituting for an audited mutation).
25
+ Memory writes route through `memorize-fire` only — native memory surfaces are invisible to recall and forbidden. Questions to user fire last, after the three layers, scope-expansion, and a `WebSearch`/`WebFetch` pack all close empty. `AskUserQuestion` mid-iteration to pick between viable approaches IS the L3 violation the filter rejects (low-cost narrative substituting for an audited mutation).
24
26
 
25
27
  Only plugkit.