Skip to content

Harden standalone memory erasure - #857

Open
Ayo-faks wants to merge 1 commit into
yc-software:mainfrom
Ayo-faks:feat/memory-service-hardening
Open

Harden standalone memory erasure#857
Ayo-faks wants to merge 1 commit into
yc-software:mainfrom
Ayo-faks:feat/memory-service-hardening

Conversation

@Ayo-faks

@Ayo-faks Ayo-faks commented Aug 30, 2026

Copy link
Copy Markdown

Summary

  • add an authenticated standalone HTTP memory service backed by the existing PostgreSQL memory store
  • add keyed, non-identifying scope/operation/audit tokens with durable erasure receipts, hard deletion, and anti-resurrection tombstones
  • propagate MEMORY_TOMBSTONE_SECRET through runtime validation, deployment schemas, CLI surfaces, and examples
  • make capture strategies honor erased scopes and preserve idempotent operation semantics while retaining current compare-and-set consolidation behavior

Test plan

  • npm run typecheck
  • npm run typecheck:contract
  • scoped ESLint, oxlint, and Prettier checks over all 26 changed files
  • 143 affected memory, config, HTTP service, secret-schema, async-capture, Docker, doctor, and Fly tests
  • 111 AWS deployment tests
  • 15 real-PostgreSQL memory tests, including hard erasure, capture-vs-erase races, anti-resurrection, key rotation fail-closed behavior, and integration-global operation tombstones
  • independent fresh-context review of the staged diff
  • rebased onto current main; conflict resolution retains upstream CAS-safe scratch promotion and MCP wiring

View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

@Ayo-faks
Ayo-faks force-pushed the feat/memory-service-hardening branch from 48aff94 to 8324667 Compare August 30, 2026 16:08
@Ayo-faks
Ayo-faks force-pushed the feat/memory-service-hardening branch from 8324667 to 757f9b4 Compare August 31, 2026 01:45
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