defaults.museattributes
sha256:cf6265cea8c21d9228d90dec13ef6ec2dab5103d466db9cc4590681832de4bf8
docs(KD-STAGING): sync governance after KD-6b DONE
Human
13 days ago
| 1 | # .museattributes — Knowtation vault merge-strategy defaults. |
| 2 | # Written by `muse init --domain knowtation`. |
| 3 | # |
| 4 | # These three rules encode the core merge semantics for a Knowtation vault. |
| 5 | # They are pre-populated because they are almost always correct for any vault; |
| 6 | # override by adding higher-priority rules above them. |
| 7 | # |
| 8 | # Documentation: docs/reference/muse-attributes.md |
| 9 | |
| 10 | [meta] |
| 11 | domain = "knowtation" |
| 12 | |
| 13 | # Rule 1 — Frontmatter sets (tags, entities, attachments) are independent. |
| 14 | # Tag and entity additions from both branches should always accumulate; the |
| 15 | # three-way merge engine can never produce a useful diff-of-diffs for set |
| 16 | # dimensions. strategy = "union" accumulates all additions and honours |
| 17 | # deletions only when both branches agree. |
| 18 | [[rules]] |
| 19 | path = "**/*.md" |
| 20 | dimension = "frontmatter" |
| 21 | strategy = "union" |
| 22 | comment = "Tag/entity/attachment sets are independent — accumulate additions from both sides." |
| 23 | priority = 20 |
| 24 | |
| 25 | # Rule 2 — Inbox notes are locally-authoritative. |
| 26 | # Capture plugins write inbox notes from the local message interface; the |
| 27 | # remote branch should never silently overwrite a local capture. |
| 28 | # strategy = "ours" keeps the local (left) version and discards any remote |
| 29 | # edit to an inbox note whose source_id already exists locally. |
| 30 | [[rules]] |
| 31 | path = "inbox/**" |
| 32 | dimension = "*" |
| 33 | strategy = "ours" |
| 34 | comment = "Inbox captures are local-authoritative; remote edits are discarded." |
| 35 | priority = 10 |
| 36 | |
| 37 | # Rule 3 — Archived notes are immutable. |
| 38 | # Once a note moves to archive/ it should not change. Prefer the local |
| 39 | # version; treat any remote edit as an accident rather than an intention. |
| 40 | [[rules]] |
| 41 | path = "archive/**" |
| 42 | dimension = "*" |
| 43 | strategy = "ours" |
| 44 | comment = "Archived notes are immutable; local version is always preferred." |
| 45 | priority = 10 |
File History
1 commit
sha256:cf6265cea8c21d9228d90dec13ef6ec2dab5103d466db9cc4590681832de4bf8
docs(KD-STAGING): sync governance after KD-6b DONE
Human
13 days ago