Skip to content

feat(memory): add explicit corpus inspection - #160

Open
BrendanChou wants to merge 1 commit into
clabby:prefer-our-memoryfrom
BrendanChou:feat/reflection-memory-audit
Open

feat(memory): add explicit corpus inspection#160
BrendanChou wants to merge 1 commit into
clabby:prefer-our-memoryfrom
BrendanChou:feat/reflection-memory-audit

Conversation

@BrendanChou

@BrendanChou BrendanChou commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add a fixed-size, telemetry-neutral inspect operation for explicit memory-corpus audits
  • return compact attributed records with exact keys and best-effort cursor pagination
  • keep full content behind targeted reads and keep inspection separate from the scan-before-put gate
  • teach built-in Reflection to enumerate memory only when the user explicitly requests an audit, cleanup, or inspection
  • report backend scope, coverage, truncation, and uncertainty without mutating memory

Remote inspection preserves own-versus-other attribution from the selected backend and advances safely across pages emptied by secret suppression. Ordinary reflection and relevance-gated scan/read behavior remain unchanged.

Testing

  • just check-fmt
  • cargo check --all-features
  • cargo test -p tact-memory (89 tests)
  • cargo test -p tact (762 unit tests, 15 release-pipeline tests)

Stack

Depends on #156. Retarget to main after #156 merges.

@BrendanChou
BrendanChou force-pushed the feat/reflection-memory-audit branch from 15fd8a9 to bc04951 Compare August 18, 2026 00:04
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