vault backup: 2026-08-07 16:30:27

This commit is contained in:
2026-08-07 16:30:27 -04:00
parent d8bc7854a8
commit c4c751704d
3 changed files with 72 additions and 50 deletions
+49 -26
View File
@@ -1,29 +1,51 @@
<%*
const year = tp.date.now("YYYY");
const date = tp.date.now("YYYY-MM-DD");
const baseFolder = "20 Work/Decisions";
const yearFolder = `${baseFolder}/${year}`;
if (!app.vault.getAbstractFileByPath(yearFolder)) {
await app.vault.createFolder(yearFolder);
}
await tp.file.move(`${yearFolder}/${date}`);
<%*
const date = tp.date.now("YYYY-MM-DD");
const year = tp.date.now("YYYY");
const title = await tp.system.prompt("Decision title");
if (!title) {
new Notice("Decision cancelled: no title entered.");
return;
}
const safeTitle = title
.replace(/[\\/:*?"<>|]/g, "-")
.trim();
const baseFolder = "20 Work/Decisions";
const yearFolder = `${baseFolder}/${year}`;
if (!app.vault.getAbstractFileByPath(yearFolder)) {
await app.vault.createFolder(yearFolder);
}
await tp.file.move(
`${yearFolder}/${date} - ${safeTitle}`
);
-%>
# {{title}}
**Date:** <% date %>
**Status:** 🟡 Proposed
**Decision Owner:**
**People Involved:**
---
## Status Legend
- 🟡 **Proposed** — Decision is being considered; not final yet.
- 🟢 **Decided** — Decision has been made and is currently valid.
- 🔴 **Rejected** — Option/proposal was explicitly considered and rejected.
-**Superseded** — Was previously a valid decision, but a newer decision replaced it.
-**Superseded** — Was previously valid, but a newer decision replaced it.
**Date:** {{date}}
**Status:** 🟡 Proposed
**Decision Owner:**
**People Involved:**
---
## Context
What situation led to this decision?
Why is a decision needed?
<% tp.file.cursor() %>
## Problem
@@ -36,24 +58,24 @@ What problem are we trying to solve?
**Description:**
**Pros:**
-
-
**Cons:**
-
-
### Option 2
**Description:**
**Pros:**
-
-
**Cons:**
-
-
## Decision
What did we decide?
What was decided?
## Why
@@ -63,20 +85,21 @@ Why was this option chosen?
What are we accepting by making this decision?
-
## Next Steps
- [ ]
- [ ]
_Actions belong in Twos, Jira, or Monday._
-
## Outcome
_To be completed later._
What actually happened after the decision?
## Lessons Learned
What would I do differently next time?
_To be completed if useful._
## Related