DEC-AIC-0054: Separate plans into their own category in the vault graph
Accepted
Status: accepted · 2026-11-21
Context
DEC-KI-0062 places yearly, quarterly, monthly, weekly and daily plans and their templates under Plans/ at the vault root, outside the five PARA folders. Because classify() returns bucket: null for any note outside the five PARA folders, the vault graph view (libs/vault/adapter-view/assets/vault-view.js) lumped every note under Plans/ into the Out of place (none) category (observed: live vault graph at http://127.0.0.1:4747/graph.json @ 2026-11-21 showed 27 nodes under Out of place, of which 24 were under Plans/ and only 3 were unfiled root notes).
Decision
- Detect planning paths in the vault domain.
isPlanPath(relPath)inlibs/vault/domainreturnstruefor any note underPlans/.ParaBucketandclassify()remain the five top-level PARA folders unchanged. - Expose
plan: booleanon everyVaultViewGraphnode.writeViewGraphinlibs/vault/applicationsetsplan: isPlanPath(n.id)while keepingbucket: null. - Display planning notes in their own
Planscategory in the vault graph view.BUCKETSinvault-view.jsadds['plans', 'Plans']with dedicated--plansCSS colour tokens for dark and light themes invault-view.html.bucketOf(n)maps nodes wheren.planistrueto'plans', leaving only genuinely unfiled notes outside PARA andPlans/in'none'(Out of place).- The note detail panel shows the eyebrow
Planfor planning notes.
Consequences
- Planning notes under
Plans/are visually distinct, clustered together, counted separately in the overview bar, and independently filterable in the vault graph. Out of placereflects only notes that genuinely sit outside PARA andPlans/.ParaBucketsemantics inlibs/vault/domainandgraph.jsonstay backwards-compatible.docs/guide/vault-view.mddocuments thePlansgraph category.
Alternatives Considered
- Add
planstoParaBucketinlibs/vault/domain. Rejected:Plans/is explicitly outside PARA (DEC-KI-0062 Decision 6), and filing andinit_vaulttreatParaBucketas the five PARA folders. - Exclude
Plans/fromOut of placeby matching the path prefix invault-view.js. Rejected:PLANS_ROOTis a domain constant inlibs/vault/domainand should not be duplicated in view assets (DEC-AIC-0052).