gm-skill 2.0.1508 → 2.0.1509

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.1508",
3
+ "version": "2.0.1509",
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": {
@@ -380,14 +380,18 @@ function scanStalledTurns() {
380
380
  const terminal = t.lastPhase === 'COMPLETE' && (t.prdPending === 0 || t.prdPending == null);
381
381
  if (terminal) continue;
382
382
  t.stallEmitted = true;
383
- logEvent('hook', 'deviation.mid-chain-stall', {
384
- sess: key,
383
+ // key is the _turns map key (sess || '(no-session)'). When it is the sentinel, the turn was
384
+ // unattributed, so do not override logEvent's own cwd+sess base fields with '(no-session)' —
385
+ // let the cwd-based attribution stand. Pass an explicit sess only when key is a real session.
386
+ const fields = {
385
387
  turn_idx: t.idx,
386
388
  ended_in_phase: t.lastPhase || null,
387
389
  prd_pending: t.prdPending,
388
390
  idle_ms: now - t.lastTs,
389
391
  dispatches: t.dispatches,
390
- });
392
+ };
393
+ if (key && key !== '(no-session)') fields.sess = key;
394
+ logEvent('hook', 'deviation.mid-chain-stall', fields);
391
395
  }
392
396
  }
393
397
 
package/gm.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm",
3
- "version": "2.0.1508",
3
+ "version": "2.0.1509",
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.1508",
3
+ "version": "2.0.1509",
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",