gm-skill 2.0.1484 → 2.0.1485

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm-plugkit",
3
- "version": "2.0.1484",
3
+ "version": "2.0.1485",
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": {
@@ -2757,6 +2757,16 @@ async function runSpoolWatcher(instance, spoolDir) {
2757
2757
  const relPath = path.relative(inDir, filePath);
2758
2758
  const dir = path.dirname(relPath);
2759
2759
  const verb = dir === '.' ? path.basename(filePath, path.extname(filePath)) : dir;
2760
+ // Defense-in-depth beyond walkDir's dot-dir skip: a real verb is a single clean
2761
+ // segment (e.g. instruction, prd-resolve). A derived verb containing a path
2762
+ // separator or a dot-segment means the file lives under a stray nested spool
2763
+ // (in/prd-resolve/.gm/exec-spool/…); dispatching it builds a bogus verb+outName
2764
+ // and ENOENT-storms every tick. Skip + unmark so it never re-enters the loop.
2765
+ if (/[\\/]/.test(verb) || verb.split(/[\\/]/).some(seg => seg.startsWith('.'))) {
2766
+ try { logEvent('plugkit', 'spool.skip-nested-verb', { rel: relPath, derived_verb: verb }); } catch (_) {}
2767
+ unmarkProcessed(key);
2768
+ return;
2769
+ }
2760
2770
  let body = content.trim() || '{}';
2761
2771
  const taskBase = path.basename(filePath, path.extname(filePath));
2762
2772
 
package/gm.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm",
3
- "version": "2.0.1484",
3
+ "version": "2.0.1485",
4
4
  "description": "Spool-dispatch orchestration engine with unified state machine, skills, and automated git enforcement",
5
5
  "author": "AnEntrypoint",
6
6
  "license": "MIT",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm-skill",
3
- "version": "2.0.1484",
3
+ "version": "2.0.1485",
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",