Skip to content

[M6] Memory rollback recovery + MemoryGuard detect/diagnose - #50

Merged
askmy-stack merged 2 commits into
mainfrom
feat/parallax-35-memory-rollback
Jul 27, 2026
Merged

[M6] Memory rollback recovery + MemoryGuard detect/diagnose#50
askmy-stack merged 2 commits into
mainfrom
feat/parallax-35-memory-rollback

Conversation

@askmy-stack

Copy link
Copy Markdown
Owner

Summary

  • Adds MemoryStaleDetector to the baseline detector suite.
  • Extends rule diagnosis to return stale_memory when memory conflicts with the live task target.
  • Implements apply_memory_rollback recovery (checkpoint restore → clear belief override → replay).
  • Generalizes the episode runner to dispatch tool-drift vs memory-guard cases (injector + primary detector + recovery).

Test plan

  • make ci (35 tests)
  • Integration: clean run / detect / diagnose / recover for stale-memory-001
  • Existing tool-semantic-drift episodes still pass

Fixes #35
Related to #15 #45

Stacked on: #49 (feat/parallax-15-stale-memory-injector)

Made with Cursor

Wire MemoryGuard episodes through the runner: detect memory-vs-live conflicts, diagnose stale_memory, and recover via checkpoint rollback + replan.

Co-authored-by: Cursor <cursoragent@cursor.com>
@askmy-stack
askmy-stack changed the base branch from feat/parallax-15-stale-memory-injector to main July 27, 2026 13:35
Co-authored-by: Cursor <cursoragent@cursor.com>
@askmy-stack
askmy-stack merged commit 390afa0 into main Jul 27, 2026
@askmy-stack
askmy-stack deleted the feat/parallax-35-memory-rollback branch July 27, 2026 13:40
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.

[M6] Implement memory rollback recovery action

1 participant