@caupulican/pi-adaptative 0.80.72 → 0.80.73

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,3 +1,19 @@
1
+ ## [0.80.73] - 2026-06-28
2
+
3
+ ### Fixed
4
+
5
+ - Cross-session recall hardening: recalled past-session pages are now injected as a GC-managed
6
+ `<memory_context>` block (instead of a plain user message), so stale recall pages pack down over long
7
+ sessions instead of accumulating verbatim; oversize transcript logs are skipped before parsing; and
8
+ recall is scoped to the current working directory so transcripts from other projects can't leak in.
9
+ - Memory injection cost guard: the persistent-memory block (`MEMORY.md`/`USER.md`) injected into the
10
+ system prompt is now capped at read time as well as on write, so a memory file bloated by an external
11
+ edit can no longer inflate every turn's context. The file on disk is untouched and truncation is noted.
12
+ - Background reflection debounce (cost guard): native end-of-turn reflection no longer launches
13
+ overlapping or back-to-back passes during a rapid multi-turn correction session; a minimum interval and
14
+ an in-flight guard prevent redundant background model calls. Skipped corrections are still reflected on
15
+ the next eligible pass over the accumulated turn text.
16
+
1
17
  ## [0.80.72] - 2026-06-28
2
18
 
3
19
  ### Fixed
@@ -21,7 +21,7 @@ import { type ContextUsage, type ExtensionCommandContextActions, type ExtensionC
21
21
  import { type ChannelProvider, GatewayRegistry, type JobSchedulerProvider } from "./gateways/channel-provider.ts";
22
22
  import { type DemandSignals, type ReflectionResult } from "./learning/reflection-engine.ts";
23
23
  import type { MemoryProvider } from "./memory/memory-provider.ts";
24
- import type { CustomMessage } from "./messages.ts";
24
+ import { type CustomMessage } from "./messages.ts";
25
25
  import type { ModelRegistry } from "./model-registry.ts";
26
26
  import { type PromptTemplate } from "./prompt-templates.ts";
27
27
  import type { ResourceLoader } from "./resource-loader.ts";