Privacy and security
Private tags and project exclusions
Keep a passage, or a whole project, out of your saved memory. Private tags work on text. Exclusions work on folders.
Private tags
Private tags filter text from saved memory notes. They are not a general boundary for protecting secrets. Local pending files and the agent's own history may still hold the activity.
Wrap the text in a complete pair of tags:
<private>
A temporary detail to leave out of saved notes.
</private>
MemIndex removes these blocks when it prepares captured text for memory. The tags do not hide text from the agent's current conversation or erase the agent's own saved conversation files. Always close the tag.
Treat the MemIndex data folder as sensitive, even when you use private tags.
A prompt that is empty once its private text is removed counts as fully private. MemIndex then writes no notes and no summary for it. Several other internal tags, such as <system-reminder>, are removed the same way. An unclosed tag is left in place, so explain how <private> works stays as written.
Leave out a project
The local capture settings support project exclusions. Add MEMINDEX_EXCLUDED_PROJECTS to the existing ~/.memindex/settings.json object. Its value is a comma-separated list of folder patterns. For example:
{
"MEMINDEX_EXCLUDED_PROJECTS": "confidential-project"
}
This example matches a project folder by name. Add the entry to your settings; do not replace the whole file with the example. Exclusions stop new capture in supported paths. They do not erase earlier memory. Check your integration's behavior before working with sensitive material.