gm-skill 2.0.1487 → 2.0.1489
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/AGENTS.md +2 -2
- package/bin/plugkit.version +1 -1
- package/bin/plugkit.wasm.sha256 +1 -1
- package/gm-plugkit/package.json +1 -1
- package/gm-plugkit/supervisor.js +10 -2
- package/gm.json +2 -2
- package/package.json +1 -1
package/AGENTS.md
CHANGED
|
@@ -38,9 +38,9 @@ Agents dispatch verbs by writing to `.gm/exec-spool/in/<verb>/<N>.txt` (request
|
|
|
38
38
|
|
|
39
39
|
**memorize-prune verb**: deletes bad/superseded memories, pruning bad memory matters more than preserving good memory, since a wrong recall hit is worse than a miss. Two modes: explicit `{key}`/`{keys:[...]}` deletes exactly those mem keys (text + `-vec` embedding sibling) via the `host_kv_delete` host import; `{query}` returns review-only candidates (vector_top_k hits with keys) for the agent to judge, then re-dispatch with the stale `{keys:[...]}`. Query mode never auto-deletes by similarity, a blind similarity-delete is itself a bad-memory generator; the destructive step stays under agent judgment. Emits `memory.pruned` per deletion.
|
|
40
40
|
|
|
41
|
-
**git verbs**: git is a first-class spool surface, never a shell command
|
|
41
|
+
**git verbs**: git is a first-class spool surface, never a shell command; `git_finalize {message}` is the bundled COMPLETE-phase push surface and `git_push` is the only admissible raw push (porcelain-gated, rebase-retry). A git-dominant `bash`/`powershell` body is gated (`deviation.bash-git-bypass`). Full per-verb shapes, host_git `.exe` resolution, and the gate detail live in rs-learn (`recall: git verbs rs-plugkit spool surface`).
|
|
42
42
|
|
|
43
|
-
**filter verb**: pure stdout → compact-stdout transformation
|
|
43
|
+
**filter verb**: pure stdout → compact-stdout transformation, in-wasm, no subprocess; pipe raw command output through it before it enters context. Full per-kind spec in rs-learn (`recall: filter verb rs-plugkit spool spec`).
|
|
44
44
|
|
|
45
45
|
## Documentation Policy
|
|
46
46
|
|
package/bin/plugkit.version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.611
|
package/bin/plugkit.wasm.sha256
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
164d6df0e502c6c0796b87a5500a793a60cbc18bf332045f5cc9f254c27c6930 plugkit.wasm
|
package/gm-plugkit/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gm-plugkit",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1489",
|
|
4
4
|
"description": "Bootstrap and daemon-spawn tool for gm plugkit binary. Downloads the correct platform binary, verifies SHA256, and starts the spool watcher daemon. Includes plugkit-wasm-wrapper for WASM-based spool watching.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
package/gm-plugkit/supervisor.js
CHANGED
|
@@ -144,13 +144,16 @@ function spawnWatcher(bootReason) {
|
|
|
144
144
|
const shutdownReason = readShutdownReason();
|
|
145
145
|
const reason = shutdownReason && shutdownReason.reason;
|
|
146
146
|
const idleClean = reason === 'idle';
|
|
147
|
+
const lockRejected = code === 75;
|
|
147
148
|
const plannedReasons = new Set(['idle', 'sigterm', 'version-change', 'wrapper-change', 'peer-stale-takeover', 'external-planned']);
|
|
148
|
-
const isPlanned = plannedReasons.has(reason);
|
|
149
|
+
const isPlanned = plannedReasons.has(reason) || lockRejected;
|
|
149
150
|
const eventName = idleClean
|
|
150
151
|
? 'supervisor.watcher-exited-idle'
|
|
151
152
|
: reason === 'version-change'
|
|
152
153
|
? 'supervisor.watcher-exited-for-update'
|
|
153
|
-
:
|
|
154
|
+
: lockRejected
|
|
155
|
+
? 'supervisor.watcher-exited-lock-rejected'
|
|
156
|
+
: 'supervisor.watcher-exited-unexpectedly';
|
|
154
157
|
logEvent(eventName, {
|
|
155
158
|
watcher_pid: currentChildPid,
|
|
156
159
|
exit_code: code,
|
|
@@ -166,6 +169,11 @@ function spawnWatcher(bootReason) {
|
|
|
166
169
|
try { fs.unlinkSync(SUPERVISOR_PATH); } catch (_) {}
|
|
167
170
|
process.exit(0);
|
|
168
171
|
}
|
|
172
|
+
if (lockRejected) {
|
|
173
|
+
writeSupervisorStatus('exited-lock-rejected', { watcher_pid: currentChildPid });
|
|
174
|
+
try { fs.unlinkSync(SUPERVISOR_PATH); } catch (_) {}
|
|
175
|
+
process.exit(0);
|
|
176
|
+
}
|
|
169
177
|
const respawnReason = reason === 'version-change' ? 'planned-restart-version-change' : 'unplanned-restart-after-exit';
|
|
170
178
|
writeSupervisorStatus('restarting', {
|
|
171
179
|
prior_watcher_pid: currentChildPid,
|
package/gm.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gm",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1489",
|
|
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.
|
|
20
|
+
"plugkitVersion": "0.1.611"
|
|
21
21
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gm-skill",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1489",
|
|
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",
|