Skip to content

chore: back-merge main → dev (v0.7.6 version bumps) - #136

Merged
ApiliumDevTeam merged 4 commits into
devfrom
main
Jul 21, 2026
Merged

chore: back-merge main → dev (v0.7.6 version bumps)#136
ApiliumDevTeam merged 4 commits into
devfrom
main

Conversation

@ApiliumDevTeam

Copy link
Copy Markdown
Contributor

Syncs dev with the 0.7.6 release commits on main (per-crate version bumps + Cargo.lock) so the next dev→main integration doesn't conflict on version lines. No code changes beyond what already exists on both branches.

…131)

Bulk ingest of a large note/file produces one MemoryEntry whose
serialized size alone exceeds the STM memory budget (1MB in the standard
profile). store() tried to prune space for it, but an entry that alone
overflows the budget can never be made to fit, so once the STM emptied
it returned a hard "STM memory capacity exceeded" error and aborted the
whole ingest ("Motor no disponible").

The byte budget is a pruning target, not an admission gate: STM is a
transient buffer that consolidates into LTM (which is bounded by count,
not bytes). store() now prunes only while pruning makes progress and
admits the entry over budget once it cannot free more. This also fixes a
latent infinite loop: when every resident entry was already consolidated
(prune_one leaves those in place) the prune loop spun forever.

prune_one now returns whether it evicted anything so store() can stop.

Covered by test_oversized_entry_is_accepted_not_rejected and
test_store_terminates_when_only_consolidated_entries_remain.
Merge dev → main: cortex aingle_path, STM oversized-entry fix, byte-bounded ingest chunking
Per-crate version bumps for the changes landed since v0.7.5:
- ineru 0.7.4 -> 0.7.5: short-term memory admits an entry larger than its
  byte budget instead of erroring, so bulk ingest never stalls.
- aingle_ingest 0.7.1 -> 0.7.2: byte-bounded chunking; large/minified
  files no longer produce a single oversized chunk.
- aingle_cortex 0.7.5 -> 0.7.6: aingle_path (shortest verified connection
  between two notes) and the ingest improvements above.

Dependents pin these with caret "0.7", so the patch/minor bumps resolve
without changes. Cargo.lock refreshed.
release: aingle 0.7.6 (ineru 0.7.5, aingle_ingest 0.7.2, cortex 0.7.6)
@ApiliumDevTeam
ApiliumDevTeam merged commit 8e71ad1 into dev Jul 21, 2026
42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant