Skip to content

feat: add memory validation layer#1036

Merged
wbugitlab1 merged 6 commits into
mainfrom
issue/340-memory-validation-layer
Jun 20, 2026
Merged

feat: add memory validation layer#1036
wbugitlab1 merged 6 commits into
mainfrom
issue/340-memory-validation-layer

Conversation

@wbugitlab1

Copy link
Copy Markdown
Owner

Summary

  • add a dependency-free memory validation layer with shadow, block, and disabled modes
  • validate explicit memory, lesson, and slot writes before persistence or mutation, with standalone MCP fallback coverage
  • document AGENTMEMORY_MEMORY_VALIDATION and refresh the generated config skill reference

Verification

  • corepack pnpm exec vitest run test/memory-validation.test.ts test/remember-project-scope.test.ts test/lessons.test.ts test/slots.test.ts test/mcp-standalone.test.ts
  • corepack pnpm exec vitest run test/cross-project-isolation.test.ts test/worktree-project-scope.test.ts test/plugin-surface-contract.test.ts
  • corepack pnpm run lint
  • corepack pnpm test
  • corepack pnpm run build
  • semgrep scan --config p/default --error --metrics=off .
  • corepack pnpm run skills:check
  • git diff --check
  • gitleaks protect --staged --redact

Closes #340

@wbugitlab1 wbugitlab1 merged commit ea22972 into main Jun 20, 2026
2 checks passed
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.

[Feature] Memory validation layer to detect poisoned/injected memories

1 participant