Compaction Runner: wire post-compaction memory sync#25561
Draft
rodrigouroz wants to merge 10 commits intoopenclaw:mainfrom
Draft
Compaction Runner: wire post-compaction memory sync#25561rodrigouroz wants to merge 10 commits intoopenclaw:mainfrom
rodrigouroz wants to merge 10 commits intoopenclaw:mainfrom
Conversation
This was referenced Feb 24, 2026
f51c756 to
f8a98ca
Compare
18 tasks
f8a98ca to
396579d
Compare
5902cd5 to
94a957d
Compare
94a957d to
1ca6893
Compare
|
This pull request has been automatically marked as stale due to inactivity. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Describe the problem and fix in 2–5 bullets:
off|async|await), session-agent resolution, memory config checks, and warning-only fallbacks.Change Type (select all)
Scope (select all touched areas)
Linked Issue/PR
User-visible / Behavior Changes
agents.defaults.compaction.postIndexSyncandagents.defaults.memorySearch.sync.sessions.postCompactionForce.Security Impact (required)
No)No)No)No)No)Yes, explain risk + mitigation:Repro + Verification
Environment
Steps
pnpm vitest run src/agents/pi-embedded-runner/run.overflow-compaction.test.ts src/auto-reply/reply/post-compaction-context.test.ts src/agents/memory-search.test.tspnpm vitest run src/agents/compaction.retry.test.ts src/agents/compaction.identifier-preservation.test.ts src/memory/index.test.ts src/memory/manager.atomic-reindex.test.ts src/memory/manager.async-search.test.ts src/memory/manager.watcher-config.test.ts src/auto-reply/reply/followup-runner.test.ts src/auto-reply/reply/agent-runner.runreplyagent.test.ts src/auto-reply/reply/commands.test.ts src/auto-reply/reply/agent-runner.misc.runreplyagent.test.tspnpm tsgoExpected
Actual
pnpm tsgopassed.Evidence
Attach at least one:
Human Verification (required)
What you personally verified (not just CI), and how:
offmode bypass, missing manager/sync method, async-mode warning handling.pnpm testmatrix and long-lived production deployments.Compatibility / Migration
Yes)No)No)Failure Recovery (if this breaks)
agents.defaults.compaction.postIndexSync: "off"src/agents/pi-embedded-runner/compact.tsawaitmode.Risks and Mitigations
List only real risks for this PR. Add/remove entries as needed. If none, write
None.awaitmode can add latency immediately after compaction.async;offandasyncremain available.Stack: 9/9, depends on #25560.