From b8c4e24a3147cb32aa9a6dc58170adef3e85fce3 Mon Sep 17 00:00:00 2001 From: Brendan Chen Date: Wed, 24 Jun 2026 12:20:22 -0400 Subject: [PATCH] Promote daily-notes.json to global config daily-notes.json is now shared across vaults; vault-specific set is just bookmarks.json. Co-Authored-By: Claude Opus 4.8 (1M context) Claude-Session: https://claude.ai/code/session_01ASYabtTgxSxJPjxPmBK9PJ --- README.md | 6 +++--- daily-notes.json | 5 +++++ 2 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 daily-notes.json diff --git a/README.md b/README.md index cbe75fa..7e86d35 100644 --- a/README.md +++ b/README.md @@ -22,8 +22,8 @@ vault/.obsidian ──submodule──► obsidian-config (per-vault, downstream) | Tier | Examples | Lives in | |---|---|---| -| **Global** (shared everywhere) | `app.json`, `appearance.json`, `hotkeys.json`, `templates.json`, `core-plugins.json`, `community-plugins.json`, `types.json`, `themes/**`, plugin code, most plugin `data.json` | global upstream → flows to every vault | -| **Vault-specific** (synced, never published) | `bookmarks.json`, `daily-notes.json` | per-vault repo only — never pushed upstream | +| **Global** (shared everywhere) | `app.json`, `appearance.json`, `hotkeys.json`, `templates.json`, `daily-notes.json`, `core-plugins.json`, `community-plugins.json`, `types.json`, `themes/**`, plugin code, most plugin `data.json` | global upstream → flows to every vault | +| **Vault-specific** (synced, never published) | `bookmarks.json` | per-vault repo only — never pushed upstream | | **Machine-local** (not synced) | `workspace.json`, `workspaces.json`, `workspace-mobile.json`, `.DS_Store` | gitignored everywhere | ## Daily workflow @@ -64,7 +64,7 @@ git -C /path/to/obsidian-global-config push ## Which files are vault-specific -The current list is `bookmarks.json` and `daily-notes.json`. To make a plugin's settings +The current list is just `bookmarks.json`. To make a plugin's settings vault-specific, add `plugins//data.json` to the denylist and remove it from the global repo. The denylist is enforced by a `pre-receive` hook on the global repo, which rejects any push that touches a vault-specific path (so a stray cherry-pick can't publish diff --git a/daily-notes.json b/daily-notes.json new file mode 100644 index 0000000..999e8dd --- /dev/null +++ b/daily-notes.json @@ -0,0 +1,5 @@ +{ + "format": "YYYY.MM.DD", + "folder": "02 Areas/Daily", + "template": "Templates/Daily note template" +} \ No newline at end of file