Skip to content

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

Rust

fix(wikisync): normalize scope warning spacing

AkitaOnRails8249ce401abf
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 067b2682..430a8559 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -13,6 +13,8 @@ version in [`docs/changelog/`](docs/changelog/):
### Fixed
+- Fixed `ai-memory-wikisync` scope-adoption warnings containing long runs of
+ spaces where source formatting had leaked into the displayed sentence.
- Fixed opt-in cold-page compaction replacing a newer user edit with the stale
episodic body and metadata it had selected earlier. The sweep now writes the
whole compaction batch only when every selected page version is still latest;
diff --git a/companions/ai-memory-wikisync/src/sync.rs b/companions/ai-memory-wikisync/src/sync.rs
index 2b121384..0ac19411 100644
--- a/companions/ai-memory-wikisync/src/sync.rs
+++ b/companions/ai-memory-wikisync/src/sync.rs
@@ -159,7 +159,9 @@ pub fn baseline_for(
state::ScopeCheck::Adopted => {
if !state.pages.is_empty() {
eprintln!(
- "ai-memory-wikisync: this destination's baseline predates origin tracking; adopting it for {}/{}. A baseline from another project cannot be detected, so check the plan before --apply.",
+ "ai-memory-wikisync: this destination's baseline predates origin tracking; \
+ adopting it for {}/{}. A baseline from another project cannot be detected, \
+ so check the plan before --apply.",
scope.workspace, scope.project
);
}
@@ -179,7 +181,8 @@ pub fn baseline_for(
);
}
eprintln!(
- "ai-memory-wikisync: discarding the baseline recorded for {}/{}, adopting this destination for {}/{}",
+ "ai-memory-wikisync: discarding the baseline recorded for {}/{}, adopting this \
+ destination for {}/{}",
recorded.workspace, recorded.project, scope.workspace, scope.project
);
state = state::SyncState {