Skip to content

[M2] Stale memory failure injector (MemoryGuard) - #49

Merged
askmy-stack merged 2 commits into
mainfrom
feat/parallax-15-stale-memory-injector
Jul 27, 2026
Merged

[M2] Stale memory failure injector (MemoryGuard)#49
askmy-stack merged 2 commits into
mainfrom
feat/parallax-15-stale-memory-injector

Conversation

@askmy-stack

Copy link
Copy Markdown
Owner

Summary

  • Adds AgentMemory with checkpoint/rollback for scripted agents.
  • Implements StaleMemoryInjector (shared FailureInjector protocol) that poisons target_plan_id at the trigger step without exceptions.
  • Adds stale-memory-001 case YAML with root cause stale_memory.
  • Extends ScriptedApiAgent to read the upgrade target from memory.
  • Adds memory_live_conflict feature (memory plan vs live task target) as the minimal detector signal.

Test plan

  • make ci (32 tests)
  • Injector protocol + trigger overwrite unit tests
  • End-to-end scripted episode fails validation after stale inject
  • Case registry loads stale-memory-001

Fixes #15
Related to #45

Made with Cursor

Introduce AgentMemory with checkpoints, StaleMemoryInjector at trigger step, stale-memory-001 case, and a memory-vs-live-target feature for early detection without exceptions.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@askmy-stack
askmy-stack merged commit 01e106b into main Jul 27, 2026
2 checks passed
@askmy-stack
askmy-stack deleted the feat/parallax-15-stale-memory-injector branch July 27, 2026 13:36
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.

[M2] Implement stale memory failure injector

1 participant