Skip to content

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

Open
askmy-stack wants to merge 1 commit into
feat/parallax-15-stale-memory-injectorfrom
feat/parallax-35-memory-rollback
Open

[M6] Memory rollback recovery + MemoryGuard detect/diagnose#50
askmy-stack wants to merge 1 commit into
feat/parallax-15-stale-memory-injectorfrom
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>
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