Skip to content

feat(memory): add per-session disable policy - #159

Open
BrendanChou wants to merge 2 commits into
clabby:memory-capacityfrom
BrendanChou:feat/session-no-memory
Open

feat(memory): add per-session disable policy#159
BrendanChou wants to merge 2 commits into
clabby:memory-capacityfrom
BrendanChou:feat/session-no-memory

Conversation

@BrendanChou

@BrendanChou BrendanChou commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add a sticky per-session memory policy with configured and disabled states
  • add --no-memory / TACT_NO_MEMORY plus a discoverable alternate New session action
  • preserve the restriction across resume, forks, handoffs, model changes, and child agents
  • keep the global memory browser and ordinary session persistence independent

Disabled sessions do not construct a memory backend, expose the memory tool, include memory instructions, or receive memory-review checkpoints. This is intentionally not an incognito mode: transcripts, checkpoints, history tools, provider requests, and filesystem effects remain.

Testing

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

Stack

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

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.

2 participants