feat(sync): .bdriveignore always syncs, regardless of scope or rules (#54)

The ignore file is exempt from filtering in Filter.Skip: it syncs even on
--shared mounts (where it sat outside the include list and was local-only)
and even when one of its own patterns matches it. One guard covers both
scan and materialize since they share the filter. Docs updated on all
three surfaces (SKILL.md, install.md, web/docs).


Claude-Session: https://claude.ai/code/session_01G3AdFdps7seYbW6FhyK58t

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Snow W. Lee (Sungwon)
2026-07-27 17:31:53 +09:00
committed by GitHub
co-authored by Claude Fable 5
parent 0236e1b272
commit 2c85747464
6 changed files with 24 additions and 9 deletions
+3 -2
View File
@@ -71,8 +71,9 @@ build/
Supported: `#` comments, `*`, `**`, `?`, a trailing `/` for directories, a
leading (or any) `/` for root-anchoring, and `!` to re-include.
It syncs like a normal file, so every device shares the same rules — one person
excluding `*.tmp` fixes it for the whole team.
It always syncs — even on an include-list mount where it sits outside the
scope, and even if a pattern matches it — so every device shares the same
rules: one person excluding `*.tmp` fixes it for the whole team.
`bdrive init` seeds a starter one covering `node_modules`, build directories,
caches, and `.env*`.
@@ -123,9 +123,8 @@ and it is also the thing to be deliberate about.
[Turn a personal brain into a company brain](/use-cases/company-brain/) for
how that model works.
- **Opt things out** with `.bdriveignore` — see
[Scoping the folder](/guides/scoping/). On a `--shared` mount the seeded root
`.bdriveignore` sits outside the include list and stays local, so put shared
rules inside `context/` instead.
[Scoping the folder](/guides/scoping/). It always syncs, even on a
`--shared` mount, so one person's rules apply for the whole team.
- **Watch what actually gets read.** [Read heat](/guides/what-agents-read/)
shows which context pages agents consume. Pages nothing has read in a month
are candidates for deletion, and deleting them makes the rest work better.