Docs / Trust

Protected zones

About 3 minutes

Sometimes you want a note, or a whole folder, that the AI never touches. LocalBrain gives you two ways to draw that line.

Protect a single note

Add one line to the note's frontmatter. Autopilot will skip it entirely:

---
title: Personal journal
ai: off
---

Either ai: off or protected: true works. The note is left exactly as you wrote it.

Protect a folder or pattern

Create a .localbrainignore file at the root of your vault, with one path or glob per line. Anything that matches is left alone:

# .localbrainignore
Journal/
Clients/*/contracts
draft-*.md

What still works

Protection only holds back the automatic writes. You can still read, edit, link, and search protected notes exactly as normal. The AI simply will not modify them on its own.

Open LocalBrain Back to Docs