@caupulican/pi-adaptative 0.80.91 → 0.80.93

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,20 @@
1
+ ## [0.80.93] - 2026-07-02
2
+
3
+ ## [0.80.92] - 2026-07-02
4
+
5
+ ### Added
6
+
7
+ - Added the brain-curation compaction pre-digest (design surface 3, runtime-gated): when curation
8
+ is enabled AND the curator model has proven itself in-session (>=5 jobs, <=5% parse failures on
9
+ top of the digest fitness gate), old conversation chunks are digested locally before the frontier
10
+ summarization call — digests plus the verbatim recent tail replace the full transcript. Any chunk
11
+ whose digest fails passes through verbatim (partial assist, never partial loss), and each
12
+ pre-digest persists an auditable session record with chars-before/after.
13
+ - Surfaced three silent profile situations in the /context dashboard: an extension loaded but fully
14
+ inert (profile denies all its tools and commands), an explicit tool grant that binds to no
15
+ registered tool (typo or ungranted owning extension), and profile grants overridden by the user's
16
+ own disable list — with the precedence now documented: a user disable ALWAYS beats a profile grant.
17
+
1
18
  ## [0.80.91] - 2026-07-02
2
19
 
3
20
  ## [0.80.90] - 2026-07-02
@@ -339,6 +339,9 @@ export declare class AgentSession {
339
339
  * contextPolicy.curation setting is enabled AND the model passes the digest fitness gate. */
340
340
  private readonly _brainCurator;
341
341
  private _lastCurationSkipReason;
342
+ private _inertExtensionWarnings;
343
+ private _lastPreDigestSkipReason;
344
+ private _unboundToolGrantWarnings;
342
345
  private _toolArtifactStore;
343
346
  private _latestContextAuditReport;
344
347
  private _latestPromptPolicyReport;
@@ -568,7 +571,21 @@ export declare class AgentSession {
568
571
  * fitness probe on THIS host (design: unfit or unprobed models are refused with a visible
569
572
  * reason, never silently degraded). Fire-and-forget; never throws into a turn.
570
573
  */
574
+ /**
575
+ * Resolve the curation model IFF every gate passes: setting enabled, model configured,
576
+ * resolvable+authed, and digest-fitness-proven on THIS host (canonical "provider/id" ref —
577
+ * runModelFitness stores reports under it, while settings.model may be a bare id or pattern).
578
+ * Sets _lastCurationSkipReason on refusal; never throws.
579
+ */
580
+ private _resolveCurationModelIfFit;
571
581
  private _maybeDrainBrainCuration;
582
+ /**
583
+ * Compaction pre-digest gate (design surface 3): everything the drain gate requires PLUS a
584
+ * RUNTIME reliability proof — the curator must have run >=5 jobs on this session with a parse
585
+ * failure rate <=5% before it is trusted to pre-digest compaction input. Returns undefined
586
+ * (verbatim compaction, byte-for-byte today's behavior) whenever any gate refuses.
587
+ */
588
+ private _buildCompactionPreDigest;
572
589
  private _drainBrainCuration;
573
590
  /**
574
591
  * Context composition dashboard data: decomposes the per-request payload (system prompt, tool
@@ -585,6 +602,7 @@ export declare class AgentSession {
585
602
  model?: string;
586
603
  telemetry: CurationTelemetrySnapshot;
587
604
  lastSkipReason?: string;
605
+ lastPreDigestSkipReason?: string;
588
606
  };
589
607
  /** Read-only inspection of the latest prompt-enforcement report, for tests/debugging. */
590
608
  getPromptEnforcementReport(): PromptEnforcementReport;