mirror of
https://github.com/runbear-io/beardrive.git
synced 2026-08-25 08:08:08 +02:00
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:
co-authored by
Claude Fable 5
parent
0236e1b272
commit
2c85747464
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user