@animalabs/context-manager 0.5.4 → 0.5.9

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.
Files changed (128) hide show
  1. package/dist/src/adaptive/kv-control.d.ts +84 -33
  2. package/dist/src/adaptive/kv-control.d.ts.map +1 -1
  3. package/dist/src/adaptive/kv-control.js +510 -145
  4. package/dist/src/adaptive/kv-control.js.map +1 -1
  5. package/dist/src/adaptive/picker.d.ts +21 -0
  6. package/dist/src/adaptive/picker.d.ts.map +1 -1
  7. package/dist/src/adaptive/picker.js.map +1 -1
  8. package/dist/src/adaptive/strategies/kv-stable.d.ts +12 -4
  9. package/dist/src/adaptive/strategies/kv-stable.d.ts.map +1 -1
  10. package/dist/src/adaptive/strategies/kv-stable.js +67 -7
  11. package/dist/src/adaptive/strategies/kv-stable.js.map +1 -1
  12. package/dist/src/context-log.d.ts.map +1 -1
  13. package/dist/src/context-log.js +11 -0
  14. package/dist/src/context-log.js.map +1 -1
  15. package/dist/src/context-manager.d.ts +38 -6
  16. package/dist/src/context-manager.d.ts.map +1 -1
  17. package/dist/src/context-manager.js +51 -0
  18. package/dist/src/context-manager.js.map +1 -1
  19. package/dist/src/index.d.ts +4 -2
  20. package/dist/src/index.d.ts.map +1 -1
  21. package/dist/src/index.js +3 -0
  22. package/dist/src/index.js.map +1 -1
  23. package/dist/src/message-store.d.ts +60 -0
  24. package/dist/src/message-store.d.ts.map +1 -1
  25. package/dist/src/message-store.js +165 -10
  26. package/dist/src/message-store.js.map +1 -1
  27. package/dist/src/phase-channel.d.ts +13 -0
  28. package/dist/src/phase-channel.d.ts.map +1 -0
  29. package/dist/src/phase-channel.js +55 -0
  30. package/dist/src/phase-channel.js.map +1 -0
  31. package/dist/src/strategies/autobiographical.d.ts +247 -8
  32. package/dist/src/strategies/autobiographical.d.ts.map +1 -1
  33. package/dist/src/strategies/autobiographical.js +1419 -141
  34. package/dist/src/strategies/autobiographical.js.map +1 -1
  35. package/dist/src/strategies/index.d.ts +1 -1
  36. package/dist/src/strategies/index.d.ts.map +1 -1
  37. package/dist/src/strategies/index.js.map +1 -1
  38. package/dist/src/strategies/knowledge.d.ts +8 -0
  39. package/dist/src/strategies/knowledge.d.ts.map +1 -1
  40. package/dist/src/strategies/knowledge.js +23 -1
  41. package/dist/src/strategies/knowledge.js.map +1 -1
  42. package/dist/src/types/index.d.ts +1 -1
  43. package/dist/src/types/index.d.ts.map +1 -1
  44. package/dist/src/types/index.js.map +1 -1
  45. package/dist/src/types/strategy.d.ts +112 -11
  46. package/dist/src/types/strategy.d.ts.map +1 -1
  47. package/dist/src/types/strategy.js.map +1 -1
  48. package/dist/test/adaptive/doc-plus-chat.test.js +7 -3
  49. package/dist/test/adaptive/doc-plus-chat.test.js.map +1 -1
  50. package/dist/test/adaptive/hard-fail.test.js +22 -0
  51. package/dist/test/adaptive/hard-fail.test.js.map +1 -1
  52. package/dist/test/adaptive/ingestion.test.js +3 -1
  53. package/dist/test/adaptive/ingestion.test.js.map +1 -1
  54. package/dist/test/adaptive/kv-control.test.js +17 -11
  55. package/dist/test/adaptive/kv-control.test.js.map +1 -1
  56. package/dist/test/adaptive/pin-at-level.test.d.ts +16 -0
  57. package/dist/test/adaptive/pin-at-level.test.d.ts.map +1 -0
  58. package/dist/test/adaptive/pin-at-level.test.js +133 -0
  59. package/dist/test/adaptive/pin-at-level.test.js.map +1 -0
  60. package/dist/test/adaptive/single-path-solve.test.d.ts +16 -0
  61. package/dist/test/adaptive/single-path-solve.test.d.ts.map +1 -0
  62. package/dist/test/adaptive/single-path-solve.test.js +204 -0
  63. package/dist/test/adaptive/single-path-solve.test.js.map +1 -0
  64. package/dist/test/anti-redundancy-budget.test.d.ts +17 -0
  65. package/dist/test/anti-redundancy-budget.test.d.ts.map +1 -0
  66. package/dist/test/anti-redundancy-budget.test.js +197 -0
  67. package/dist/test/anti-redundancy-budget.test.js.map +1 -0
  68. package/dist/test/chunk-persistence.test.d.ts +29 -0
  69. package/dist/test/chunk-persistence.test.d.ts.map +1 -0
  70. package/dist/test/chunk-persistence.test.js +290 -0
  71. package/dist/test/chunk-persistence.test.js.map +1 -0
  72. package/dist/test/compression-dedup.test.d.ts +20 -0
  73. package/dist/test/compression-dedup.test.d.ts.map +1 -0
  74. package/dist/test/compression-dedup.test.js +92 -0
  75. package/dist/test/compression-dedup.test.js.map +1 -0
  76. package/dist/test/compression-shape-invariants.test.js +40 -3
  77. package/dist/test/compression-shape-invariants.test.js.map +1 -1
  78. package/dist/test/head-window-order.test.d.ts +19 -0
  79. package/dist/test/head-window-order.test.d.ts.map +1 -0
  80. package/dist/test/head-window-order.test.js +159 -0
  81. package/dist/test/head-window-order.test.js.map +1 -0
  82. package/dist/test/image-strip-render-stats.test.js +25 -3
  83. package/dist/test/image-strip-render-stats.test.js.map +1 -1
  84. package/dist/test/knowledge-tool-boundary.test.d.ts +14 -0
  85. package/dist/test/knowledge-tool-boundary.test.d.ts.map +1 -0
  86. package/dist/test/knowledge-tool-boundary.test.js +93 -0
  87. package/dist/test/knowledge-tool-boundary.test.js.map +1 -0
  88. package/dist/test/l1-holdback.test.d.ts +15 -0
  89. package/dist/test/l1-holdback.test.d.ts.map +1 -0
  90. package/dist/test/l1-holdback.test.js +119 -0
  91. package/dist/test/l1-holdback.test.js.map +1 -0
  92. package/dist/test/merge-contiguity.test.d.ts +11 -0
  93. package/dist/test/merge-contiguity.test.d.ts.map +1 -0
  94. package/dist/test/merge-contiguity.test.js +74 -0
  95. package/dist/test/merge-contiguity.test.js.map +1 -0
  96. package/dist/test/message-store-window.test.d.ts +13 -0
  97. package/dist/test/message-store-window.test.d.ts.map +1 -0
  98. package/dist/test/message-store-window.test.js +177 -0
  99. package/dist/test/message-store-window.test.js.map +1 -0
  100. package/dist/test/pins.test.js +40 -0
  101. package/dist/test/pins.test.js.map +1 -1
  102. package/dist/test/speculation-cap.test.d.ts +9 -3
  103. package/dist/test/speculation-cap.test.d.ts.map +1 -1
  104. package/dist/test/speculation-cap.test.js +179 -3
  105. package/dist/test/speculation-cap.test.js.map +1 -1
  106. package/dist/test/summary-log-consistency.test.d.ts +18 -0
  107. package/dist/test/summary-log-consistency.test.d.ts.map +1 -0
  108. package/dist/test/summary-log-consistency.test.js +97 -0
  109. package/dist/test/summary-log-consistency.test.js.map +1 -0
  110. package/dist/test/tool-pairing-invariant.test.d.ts +15 -0
  111. package/dist/test/tool-pairing-invariant.test.d.ts.map +1 -0
  112. package/dist/test/tool-pairing-invariant.test.js +225 -0
  113. package/dist/test/tool-pairing-invariant.test.js.map +1 -0
  114. package/dist/tsconfig.tsbuildinfo +1 -1
  115. package/package.json +11 -3
  116. package/src/adaptive/kv-control.ts +554 -152
  117. package/src/adaptive/picker.ts +21 -0
  118. package/src/adaptive/strategies/kv-stable.ts +62 -12
  119. package/src/context-log.ts +11 -0
  120. package/src/context-manager.ts +61 -4
  121. package/src/index.ts +6 -2
  122. package/src/message-store.ts +202 -9
  123. package/src/phase-channel.ts +57 -0
  124. package/src/strategies/autobiographical.ts +1482 -167
  125. package/src/strategies/index.ts +1 -1
  126. package/src/strategies/knowledge.ts +25 -1
  127. package/src/types/index.ts +1 -0
  128. package/src/types/strategy.ts +120 -7
@@ -1,7 +1,7 @@
1
1
  import type { JsStore } from '@animalabs/chronicle';
2
2
  import type { ContentBlock } from '@animalabs/membrane';
3
3
  import { NativeFormatter } from '@animalabs/membrane';
4
- import type { ResettableStrategy, StrategyContext, ReadinessState, MessageStoreView, ContextLogView, TokenBudget, ContextEntry, StoredMessage, AutobiographicalConfig, SummaryLevel, SummaryEntry, ProtectedRange, SearchQuery, SearchResult, RenderStats } from '../types/index.js';
4
+ import type { ResettableStrategy, StrategyContext, ReadinessState, MessageStoreView, ContextLogView, TokenBudget, ContextEntry, StoredMessage, AutobiographicalConfig, SummaryLevel, SummaryEntry, ProtectedRange, PinLevelOptions, SearchQuery, SearchResult, RenderStats } from '../types/index.js';
5
5
  import { Picker, type PickerInputs } from '../adaptive/picker.js';
6
6
  import type { FoldOp } from '../adaptive/folding-strategy.js';
7
7
  import type { MessageId } from '../types/message.js';
@@ -28,6 +28,35 @@ export interface Chunk {
28
28
  summaryId?: string;
29
29
  /** Phase type tag (set by KnowledgeStrategy for semantic chunking) */
30
30
  phaseType?: string;
31
+ /** ID of the persisted ChunkRecord backing this chunk (chunk persistence). */
32
+ recordId?: string;
33
+ }
34
+ /**
35
+ * Persisted chunk boundary, one per CLOSED chunk, stored in the
36
+ * `autobio:chunks` chronicle state slot (append_log, branch-aware).
37
+ *
38
+ * Records OWN the past: once a chunk closes, its membership is a persisted
39
+ * fact — rebuilds and restarts materialize chunks from records instead of
40
+ * recomputing boundaries from the running token sum. This is the fix for the
41
+ * 2026-07 re-consolidation storms: boundary inputs (config knobs, head
42
+ * window, token estimates, message mutations) could shift across restarts,
43
+ * the old exact-sourceIds-match recovery then failed, and whole stretches of
44
+ * already-summarized history were re-compressed into duplicate L1s.
45
+ *
46
+ * Membership is by message ID (never index), so edits/redactions degrade a
47
+ * record gracefully instead of re-keying its neighbors.
48
+ */
49
+ export interface ChunkRecord {
50
+ /** Stable record id ("c-<n>"). */
51
+ id: string;
52
+ /** Exact message IDs of the closed chunk, in order. */
53
+ sourceIds: string[];
54
+ /** Whether the chunk's L1 summary has been produced. */
55
+ compressed: boolean;
56
+ /** ID of the L1 SummaryEntry, once compressed. */
57
+ summaryId?: string;
58
+ /** Phase type tag (KnowledgeStrategy semantic chunking). */
59
+ phaseType?: string;
31
60
  }
32
61
  /**
33
62
  * Point-in-time snapshot of compression progress, returned from
@@ -70,6 +99,38 @@ export declare class AutobiographicalStrategy implements ResettableStrategy {
70
99
  protected pendingCompression: Promise<void> | null;
71
100
  protected compressionQueue: number[];
72
101
  protected _compressionCount: number;
102
+ /**
103
+ * Monotonic counter of tick() operations that actually processed a queue item
104
+ * (compressed a chunk or executed a merge). `driveSpeculativeDrain` recurses
105
+ * while this advances — a length-delta check would falsely read "no progress"
106
+ * when a productive tick also enqueues a follow-on item (net queue length
107
+ * unchanged), halting the drain with work still queued.
108
+ */
109
+ protected _drainProgress: number;
110
+ /**
111
+ * Chunks (keyed by their LAST message id — chunk membership is immutable
112
+ * once closed) whose L1 was explicitly demanded by a picker `produce` op.
113
+ * Demanded chunks bypass the `l1HoldbackChunks` window in `rebuildChunks`:
114
+ * speculation waits, demand doesn't. Entries become inert once the chunk
115
+ * compresses (compressed chunks are never re-queued), so no cleanup needed.
116
+ */
117
+ protected _demandedL1Chunks: Set<string>;
118
+ /**
119
+ * In-memory mirror of the persisted chunk records (autobio:chunks slot).
120
+ * Loaded in `loadPersistedState`, appended to when a chunk closes,
121
+ * updated by ID when its L1 lands.
122
+ */
123
+ protected chunkRecords: ChunkRecord[];
124
+ protected chunkIdCounter: number;
125
+ /**
126
+ * Fail-closed latch: set when most persisted records resolve to zero live
127
+ * messages (the messages-chain-break signature). While set, NO compression
128
+ * runs — duplicate memories are strictly worse than delayed compression.
129
+ */
130
+ protected chunkRecordsOrphaned: boolean;
131
+ private _orphanWarned;
132
+ /** Record ids whose compression was refused by the L1 overlap guard. */
133
+ private _overlapBlocked;
73
134
  protected summaries: SummaryEntry[];
74
135
  protected summaryIdCounter: number;
75
136
  protected mergeQueue: Array<{
@@ -86,11 +147,13 @@ export declare class AutobiographicalStrategy implements ResettableStrategy {
86
147
  /** Namespace for state-id scoping. Set in `initialize()`. */
87
148
  protected ns: string;
88
149
  protected get summariesStateId(): string;
150
+ protected get chunksStateId(): string;
89
151
  protected get counterStateId(): string;
90
152
  protected get mergeQueueStateId(): string;
91
153
  protected get pinsStateId(): string;
92
154
  protected get resolutionsStateId(): string;
93
155
  protected get locksStateId(): string;
156
+ protected get calibrationStateId(): string;
94
157
  /** Protected ranges (pins + documents). Loaded from chronicle in initialize. */
95
158
  protected pins: ProtectedRange[];
96
159
  /** Monotonically increasing counter for pin ids. Persisted as part of the pins snapshot. */
@@ -144,6 +207,32 @@ export declare class AutobiographicalStrategy implements ResettableStrategy {
144
207
  */
145
208
  chunkIngressMessage(participant: string, content: ContentBlock[]): IngressChunkResult | null;
146
209
  initialize(ctx: StrategyContext): Promise<void>;
210
+ /**
211
+ * Whether chunk boundaries are persisted to the `autobio:chunks` slot and
212
+ * own the past. Subclasses with their own chunking (KnowledgeStrategy's
213
+ * semantic phases) opt out and keep the legacy recompute-every-rebuild
214
+ * behavior.
215
+ */
216
+ protected get chunkPersistenceEnabled(): boolean;
217
+ /**
218
+ * One-time lazy migration: a store with L1 summaries but an empty chunks
219
+ * slot predates chunk persistence. Each L1's sourceIds ARE the historical
220
+ * chunk boundary — synthesize a compressed record per L1, in message
221
+ * order. Stale generations from the old partial-tail compression bug
222
+ * (an L1 whose messages are ALL already covered by records synthesized so
223
+ * far — prefix families, same-range duplicates) get NO record; coverage is
224
+ * what blocks re-compression, and the repair tooling prunes their content
225
+ * separately.
226
+ */
227
+ protected migrateChunkRecords(store: MessageStoreView): void;
228
+ /** Append a record to the chunks slot + in-memory mirror. */
229
+ protected appendChunkRecord(record: ChunkRecord): void;
230
+ /**
231
+ * Mark a chunk's record compressed, linking its L1. Resolves the log slot
232
+ * by ID against the persisted array — never by in-memory index (see
233
+ * setMergedInto for the clobber this avoids).
234
+ */
235
+ protected markChunkRecordCompressed(recordId: string | undefined, summaryId: string): void;
147
236
  /**
148
237
  * Register the three Chronicle state slots this strategy uses.
149
238
  * Idempotent — chronicle throws if a state is already registered, which we
@@ -167,15 +256,20 @@ export declare class AutobiographicalStrategy implements ResettableStrategy {
167
256
  * Pin a range of messages so they aren't compressed and render raw at
168
257
  * their original position. Returns the pin id.
169
258
  */
170
- pinRange(firstMessageId: string, lastMessageId: string, opts?: {
171
- name?: string;
172
- }): string;
259
+ pinRange(firstMessageId: string, lastMessageId: string, opts?: PinLevelOptions): string;
173
260
  /**
174
261
  * Mark a single message as a "document" — semantically a body of
175
262
  * information the agent wants to retain in full. Functionally a
176
263
  * single-message pin with `kind: 'document'`.
177
264
  */
178
- markDocument(messageId: string, opts?: {
265
+ markDocument(messageId: string, opts?: PinLevelOptions): string;
266
+ /**
267
+ * V2 dynamic pin-at-level-k convenience: fix a range to render at EXACTLY
268
+ * fold level `level` (0 = raw). Honored only by `foldingStrategy: 'kv-stable'`;
269
+ * other strategies fall back to treating the range as raw. Equivalent to
270
+ * `pinRange(first, last, { level })`.
271
+ */
272
+ pinAtLevel(firstMessageId: string, lastMessageId: string, level: number, opts?: {
179
273
  name?: string;
180
274
  }): string;
181
275
  /** Remove a pin or document mark by id. Returns true if removed. */
@@ -209,6 +303,18 @@ export declare class AutobiographicalStrategy implements ResettableStrategy {
209
303
  * messages) are silently skipped.
210
304
  */
211
305
  protected pinnedPositions(messages: StoredMessage[]): Set<number>;
306
+ /**
307
+ * Resolve the V2 dynamic-pin fold-depth bounds (`ProtectedRange.level` /
308
+ * `maxLevel`) to message positions. Only pins that carry a bound appear; a
309
+ * classic raw pin (no bound) is absent here and handled by `pinnedPositions`.
310
+ * When ranges overlap, the FINEST requirement wins (lowest effective level):
311
+ * a fixed `level` clamps both ends; a `maxLevel` only caps depth. Honored
312
+ * solely by the KV-stable controller — see `ProtectedRange`.
313
+ */
314
+ protected pinLevelBounds(messages: StoredMessage[]): Map<number, {
315
+ level?: number;
316
+ maxLevel?: number;
317
+ }>;
212
318
  /**
213
319
  * Append a summary to the in-memory list and to the chronicle AppendLog.
214
320
  * Single point so subclasses inherit persistence.
@@ -307,8 +413,17 @@ export declare class AutobiographicalStrategy implements ResettableStrategy {
307
413
  */
308
414
  protected driveSpeculativeDrain(ctx: StrategyContext): void;
309
415
  /**
310
- * Whether the strategy's pending+queued L1 budget has reached the cap
416
+ * Whether the count of *produced, unmerged* L1 summaries has reached the cap
311
417
  * configured by `maxSpeculativeL1s`. If no cap is set, always false.
418
+ *
419
+ * The cap bounds how many L1 summaries may sit un-consolidated before the
420
+ * strategy must merge them into L_{k+1} (bounding prefix churn / merge debt).
421
+ * It deliberately does NOT count the pending `compressionQueue`: that queue is
422
+ * the backlog of work to be *drained*, not produced summaries. Counting it
423
+ * here would let a large backlog permanently trip the cap and block the very
424
+ * compression that would clear it — a deadlock (merges relieve the cap, but
425
+ * compression of the backlog never resumes). The throttle is on produced L1s;
426
+ * the queue drains freely, with merges keeping the unmerged count under the cap.
312
427
  */
313
428
  protected isAtSpeculativeCap(): boolean;
314
429
  /**
@@ -382,7 +497,7 @@ export declare class AutobiographicalStrategy implements ResettableStrategy {
382
497
  * chronological order, dropping a leading orphan tool_result if its tool_use
383
498
  * fell into the evicted older portion.
384
499
  */
385
- protected emitRecentNewestFirst(entries: ContextEntry[], store: MessageStoreView, messages: StoredMessage[], recentStart: number, msgCap: number, maxTokens: number, totalTokensBefore: number): {
500
+ protected emitRecentNewestFirst(entries: ContextEntry[], store: MessageStoreView, messages: StoredMessage[], recentStart: number, msgCap: number, maxTokens: number, totalTokensBefore: number, pse?: number[]): {
386
501
  messages: number;
387
502
  tokens: number;
388
503
  };
@@ -411,6 +526,24 @@ export declare class AutobiographicalStrategy implements ResettableStrategy {
411
526
  * already-eligible siblings, producing N near-identical higher-level
412
527
  * summaries when the queue eventually drains.
413
528
  */
529
+ /**
530
+ * Pick merge sources as the oldest CONTIGUOUS run (2026-07-12 fix).
531
+ *
532
+ * The old rule merged "whatever N are unmerged" in creation order. On a
533
+ * store whose frontier held both June L2s and a July L2, that minted an
534
+ * L3 spanning months of already-merged history (mythos L3-415, 0-3853 of
535
+ * 3995 messages) — a group whose range straddles the recent window can
536
+ * never fold (group-atomicity vs the raw zone), so the whole deep lineage
537
+ * above it went unusable and the fold floor stopped fitting the budget.
538
+ *
539
+ * Rules: order candidates by live source position; break runs where the
540
+ * positional gap exceeds `mergeContiguityGapLimit` (holes from wiped/
541
+ * pruned nodes are fine, cross-era bridges are not); exclude candidates
542
+ * whose OWN span exceeds `mergeMaxSourceSpanMessages` (replay-era wide-
543
+ * span summaries would bridge anything they join); merge the oldest run
544
+ * that still has `threshold` members.
545
+ */
546
+ protected contiguousMergeCandidates(unmerged: SummaryEntry[], threshold: number): SummaryEntry[] | null;
414
547
  protected checkMergeThreshold(): void;
415
548
  /**
416
549
  * Bottom-up speculative pre-producer (design doc §3.5 / §7.2).
@@ -443,6 +576,23 @@ export declare class AutobiographicalStrategy implements ResettableStrategy {
443
576
  * See `docs/adaptive-resolution-design.md` §3, §5.
444
577
  */
445
578
  protected selectAdaptive(store: MessageStoreView, budget: TokenBudget): ContextEntry[];
579
+ private _lastCompileEstimate;
580
+ private _storeView;
581
+ /**
582
+ * Closed-loop estimator calibration (2026-07-12). Feed the REAL input total
583
+ * for a request built from the latest compile (fresh + cache_read +
584
+ * cache_creation, minus non-window overhead the caller knows about, e.g.
585
+ * tool schemas). Maintains an EMA of real/estimated and applies it as the
586
+ * store's global multiplier, persisted across restarts. The per-class rates
587
+ * carry the shape; this carries the residual level.
588
+ */
589
+ reportRealInputTokens(realTotal: number): void;
590
+ private _calibrationArmed;
591
+ private _calibration;
592
+ private _calibrationLoaded;
593
+ protected applyCalibration(): void;
594
+ /** Load the persisted multiplier once and push it into the store view. */
595
+ protected loadCalibration(store: MessageStoreView): void;
446
596
  /**
447
597
  * Place up to four `cache_control` breakpoints across the final ordered
448
598
  * entries: the head/system boundary, the end of the folded history (the
@@ -470,6 +620,18 @@ export declare class AutobiographicalStrategy implements ResettableStrategy {
470
620
  * here; stateless ones (flat-profile / oldest-first) reuse the memoized picker.
471
621
  */
472
622
  protected buildPicker(inputs: PickerInputs): Picker;
623
+ /** The kv-stable strategy instance behind the most recent compile — kept for
624
+ * `[kv-escalation]` observability (design §13.4: every override is loud). */
625
+ private _lastKvStable;
626
+ /**
627
+ * Static salience prior (design §13.3) — "is the window the only copy?".
628
+ * Content whose payload is externalized folds cheap: tool blocks
629
+ * (re-derivable), fenced code (usually written to disk), images (the file/
630
+ * CDN keeps them), bare link drops. Conversation exists nowhere but the
631
+ * chronicle, so it stays at 1. Returns a value in [0.2, 1]; cheap,
632
+ * deterministic, computed per message at picker-input construction.
633
+ */
634
+ protected static staticSalience(msg: StoredMessage): number;
473
635
  /**
474
636
  * Walk the summary tree to find the L_k ancestor of a message.
475
637
  * Returns null if no ancestor exists at that level (e.g., L_k not yet produced).
@@ -616,7 +778,12 @@ export declare class AutobiographicalStrategy implements ResettableStrategy {
616
778
  */
617
779
  protected getCompressibleMessages(store: MessageStoreView): StoredMessage[];
618
780
  /**
619
- * Rebuild chunk boundaries based on current messages.
781
+ * Rebuild the chunk list: persisted records own the past; the running-sum
782
+ * chunker only extends at the frontier, and a chunk is only ever created
783
+ * once it CLOSES (reaches targetChunkTokens). The trailing partial chunk
784
+ * is never created and never compressed — eager partial-tail compression
785
+ * minted a new near-duplicate L1 per rebuild while the tail grew (the
786
+ * prefix-generation families found fleet-wide in the 2026-07 audit).
620
787
  */
621
788
  protected rebuildChunks(store: MessageStoreView): void;
622
789
  /**
@@ -653,6 +820,23 @@ export declare class AutobiographicalStrategy implements ResettableStrategy {
653
820
  * the in-progress render stats by the reclaimed tokens, keeping
654
821
  * `RenderStats.total` equal to the real rendered size. */
655
822
  protected applyImageStripping(entries: ContextEntry[], store: MessageStoreView): void;
823
+ /**
824
+ * Post-strip token estimate per message index (2026-07-12 tail-starvation
825
+ * fix). Mirrors `applyImageStripping`: an image beyond the `maxLiveImages`
826
+ * newest (counted newest-first) or deeper than `imageStripDepthTokens` of
827
+ * raw estimate from the live end renders as a placeholder — so every place
828
+ * that BUDGETS messages (recent-window walk-back, head/tail sums, middle
829
+ * chunk sizes) must cost it as one. Pricing stripped images at their full
830
+ * estimate collapsed an image-dense tail to a fraction of its configured
831
+ * size (42k rendered of a 120k window), and pricing them post-strip in the
832
+ * walk-back alone made the picker's raw-priced tail overflow the budget
833
+ * (318k) — the estimate must be consistent EVERYWHERE.
834
+ */
835
+ protected postStripEstimates(store: MessageStoreView): number[];
836
+ /** Byte wall default: 20MB of base64 (API total-request cap is 32MB). */
837
+ protected static readonly DEFAULT_MAX_LIVE_IMAGE_BYTES: number;
838
+ /** Base64 payload size of an image block (0 for non-base64 sources). */
839
+ protected static imageBlockBytes(b: unknown): number;
656
840
  protected getRecentWindowStart(store: MessageStoreView): number;
657
841
  /**
658
842
  * Index of the first message in the head window.
@@ -673,6 +857,61 @@ export declare class AutobiographicalStrategy implements ResettableStrategy {
673
857
  * a tool_use message and its tool_result response.
674
858
  */
675
859
  private trimOrphanedToolUse;
860
+ /** Placeholder body for a stub tool_result inserted by enforceToolPairing. */
861
+ private static readonly STUB_TOOL_RESULT_TEXT;
862
+ /**
863
+ * Final post-selection tool-pairing validator (bug 6.7).
864
+ *
865
+ * The Anthropic API requires every `tool_use` block to be answered by a
866
+ * matching `tool_result` in the immediately-following message, and every
867
+ * `tool_result` to answer a `tool_use` in the immediately-preceding
868
+ * message. Selection can violate this mid-list in ways the trailing
869
+ * (`trimOrphanedToolUse`) and leading orphan trims don't catch:
870
+ *
871
+ * - a budget `break` cutting between a raw pin pair's two messages;
872
+ * - the uncompressed-chunk fallback emitting a raw tool_result whose
873
+ * tool_use chunk already compressed (or vice versa);
874
+ * - a recall pair or pin interleaving between a tool_use and its result.
875
+ *
876
+ * Repair policy prefers preserving content over dropping:
877
+ *
878
+ * - a tool_use whose result is missing from the next entry first triggers
879
+ * a short look-ahead: if the genuine (displaced) result is a few entries
880
+ * down it is MOVED up into position (see
881
+ * {@link relocateOrDropMissingResults}); only when no real result exists
882
+ * is a STUB tool_result emitted. Either way the result block is merged
883
+ * into the next entry when that entry already carries results for this
884
+ * cycle, or inserted as a new user entry;
885
+ * - a tool_result whose tool_use is not in the immediately-preceding
886
+ * entry (and was not relocated) is dropped — there is no safe way to
887
+ * stub a tool_use, so the result's information content survives only if
888
+ * its use is adjacent; an entry left empty is replaced with a
889
+ * placeholder text block.
890
+ *
891
+ * Runs as a structural pass over the rendered context in BOTH render
892
+ * paths — `selectHierarchical` (downstream of `selectL1Summaries`, so
893
+ * subclass overrides like KnowledgeStrategy are covered) and
894
+ * `selectAdaptive` (the path FKM defaults onto). It's a no-op on
895
+ * already-valid output.
896
+ */
897
+ protected enforceToolPairing(entries: ContextEntry[]): void;
898
+ /**
899
+ * For each `missing` tool_use id (a use in the preceding entry with no
900
+ * adjacent result), return the result block to place next to it:
901
+ *
902
+ * - if the genuine result exists within a short look-ahead window after
903
+ * `afterIndex`, MOVE it up into position (removing it from its source
904
+ * entry — replacing a now-empty entry with a placeholder) so the real
905
+ * tool output survives the repair;
906
+ * - otherwise emit a stub.
907
+ *
908
+ * tool_use ids are unique, so the single result carrying a given id is
909
+ * unambiguously the answer to that use — relocating it cannot break any
910
+ * other pairing. Results for `missing` ids never sit at or before
911
+ * `afterIndex` (that entry's results are already matched), so the search
912
+ * starts at `afterIndex + 1`.
913
+ */
914
+ private relocateOrDropMissingResults;
676
915
  /**
677
916
  * Prune tool_use / tool_result blocks in-place:
678
917
  * 1. Truncate `tool_use.input` blocks whose serialized JSON exceeds
@@ -1 +1 @@
1
- {"version":3,"file":"autobiographical.d.ts","sourceRoot":"","sources":["../../../src/strategies/autobiographical.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,KAAK,EAA+B,YAAY,EAAmB,MAAM,qBAAqB,CAAC;AACtG,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,KAAK,EAEV,kBAAkB,EAClB,eAAe,EACf,cAAc,EACd,gBAAgB,EAChB,cAAc,EACd,WAAW,EACX,YAAY,EACZ,aAAa,EACb,sBAAsB,EACtB,YAAY,EACZ,YAAY,EACZ,cAAc,EACd,WAAW,EACX,YAAY,EACZ,WAAW,EACZ,MAAM,mBAAmB,CAAC;AAM3B,OAAO,EAAE,MAAM,EAAqC,KAAK,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAIrG,OAAO,KAAK,EAGV,MAAM,EAGP,MAAM,iCAAiC,CAAC;AAEzC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AA0K/D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