pi-goal-list-loop-audit 0.38.66 → 0.38.67

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.38.67 — Stop clobbering other extensions' compactions (2026-09-19)
4
+
5
+ ### session_before_compact returns nothing (issue #56, ezoushen)
6
+
7
+ The `session_before_compact` handler ended with `return {}`, which under
8
+ pi's last-truthy-wins handler semantics silently discarded a
9
+ previously-run extension's `SessionBeforeCompactResult.compaction` — pi
10
+ fell back to default compaction after the other extension had already paid
11
+ for summarization. The handler only prunes the shared preparation by
12
+ reference and arms the in-flight marker, so it now returns nothing, with a
13
+ regression pin asserting no truthy object return.
14
+
3
15
  ## 0.38.66 — Auditor reliability: eviction, mirrors, bounded waits (2026-09-19)
4
16
 
5
17
  ### Dead-auditor eviction and identical-failure parking (audit-stuck batch)
package/docs/INDEX.md CHANGED
@@ -16,7 +16,7 @@ Policy contracts and recent changes live in the `audit/` directory of the
16
16
  failback; v0.35.9 hardened cross-version npm tarball checks; v0.35.10
17
17
  handles multi-entry npm dry-run reports; v0.35.11 accepts both npm report
18
18
  shapes; v0.35.12 supports npm 12's keyed pack reports; v0.35.13 fixes stale-API recovery loops.
19
- v0.35.14–v0.38.66 continue through the supervisor freeze (`/glla pause`),
19
+ v0.35.14–v0.38.67 continue through the supervisor freeze (`/glla pause`),
20
20
  load hold, auditor picker parity, Windows launch fix, zombie-watchdog
21
21
  subagent carve-out, due-wait backstop, the `/glla agents` visibility panel,
22
22
  durable state-root selection, blank-until-resume auditor context, frozen
@@ -2983,6 +2983,10 @@ export function registerGoalRuntime(pi: ExtensionAPI): void {
2983
2983
  } catch {
2984
2984
  // bookkeeping must never break compaction
2985
2985
  }
2986
- return {};
2986
+ // Field #56: return NOTHING here. pi keeps the last truthy
2987
+ // session_before_compact handler result, so an empty object here would
2988
+ // silently discard another extension's SessionBeforeCompactResult.compaction
2989
+ // and fall back to default compaction. This handler prunes by reference and
2990
+ // arms markers only — it supplies no compaction of its own.
2987
2991
  });
2988
2992
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-goal-list-loop-audit",
3
- "version": "0.38.66",
3
+ "version": "0.38.67",
4
4
  "description": "Mission control for autonomous pi: interview-drafted goals, an audited task queue, and forever-loops (metric, spec, project-audit) that run for hours. A detached extension-less auditor process re-verifies every completion with raw evidence without holding the main pi turn; confirmed drafts, decision pauses and consent gates keep you in charge.",
5
5
  "license": "AGPL-3.0-only",
6
6
  "author": "dracon",