Skip to content

Solution for long term memory for agent coding CLIs and to facilitate handoff between different agent vendors

Rust

Merge PR #667: preserve typed relations in multi-page consolidation batches (#667)

AkitaOnRailsd76979722516
diff --cc CHANGELOG.md
index 85a9186b,50f29bff..64b05305
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@@ -8,15 -8,10 +8,19 @@@ and this project adheres to [Semantic V
## [Unreleased]
### Fixed
+- Wiki auto-commits no longer re-hash the whole tree. Since the #594 guard,
+ every commit cleared the git index and re-read every page, so a session
+ end cost the size of the wiki and grew with it; the LongMemEval harness
+ saw its ingest rate fall from 141 to 50 session ends a minute as the tree
+ grew. Staging now goes through libgit2's stat cache and re-hashes the tree
+ only when the tree write fails, which is the #594 case and is now covered
+ by a test that removes a blob from the object store. Commits on one wiki
+ are also serialized: two session ends at once used to collide on the index
+ lock, and the losing snapshot was dropped with a warning. (#665)
+ - Preserved typed relation edges in multi-page consolidation. Batch updates
+ now include the same closed `causes` / `fixes` / `contradicts` schema as
+ single-page consolidation and carry non-empty relations into wiki
- frontmatter and the link index, instead of silently discarding them. (#630)
++ frontmatter and the link index, instead of silently discarding them. (#667)
- OKF-conformed event ledgers are skipped by the indexer again, so a migrated
store stops growing without bound. The reserved-file check treated any
`log.md` / `log-YYYY-MM.md` carrying YAML frontmatter as an ordinary page,