Skip to content

A self-organizing Obsidian vault that gives AI coding agents persistent memory.

feat: Recently Touched base + Stale Actives dashboard view (#130)

Brenno Ferraribc27144838d1
diff --git a/CLAUDE.md b/CLAUDE.md
index 3724934..e2b1525 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -345,6 +345,8 @@ Five lifecycle hooks in `.claude/settings.json`:
## Rules
+- **For "what's most recent," use `bases/Recently Touched.base` (real modified time), never filename dates** — a creation-date prefix on a continuously-edited note inverts the recency signal.
+
- Never modify `.obsidian/` config files unless explicitly asked.
- Preserve existing frontmatter when editing notes.
- Git sync is handled by the user's preferred method (obsidian-git, manual commits, etc.) -- don't configure git hooks or auto-commit.
diff --git a/Home.md b/Home.md
index cbce391..380cf1f 100644
--- a/Home.md
+++ b/Home.md
@@ -14,6 +14,10 @@ tags:
![[Work Dashboard.base#Active Work]]
+## Recently Touched
+
+![[Recently Touched.base#Last 7 Days]]
+
## Incidents
![[Incidents.base#All Incidents]]
diff --git a/bases/Recently Touched.base b/bases/Recently Touched.base
new file mode 100644
index 0000000..037c1df
--- /dev/null
+++ b/bases/Recently Touched.base
@@ -0,0 +1,61 @@
+filters:
+ and:
+ - file.ext == "md"
+ - '!file.inFolder("templates")'
+ - '!file.inFolder("thinking")'
+formulas:
+ touched: file.mtime.format("YYYY-MM-DD HH:mm")
+ days_ago: (now() - file.mtime).days.round(0)
+ where: file.folder
+properties:
+ file.name:
+ displayName: Note
+ formula.touched:
+ displayName: Last Touched
+ formula.days_ago:
+ displayName: Days Ago
+ formula.where:
+ displayName: Folder
+ description:
+ displayName: Summary
+views:
+ - type: table
+ name: Last 7 Days
+ filters:
+ and:
+ - file.mtime > now() - "7 days"
+ order:
+ - file.name
+ - formula.touched
+ - formula.where
+ - description
+ sort:
+ - property: file.mtime
+ direction: DESC
+ limit: 50
+ - type: table
+ name: Recent 30
+ order:
+ - file.name
+ - formula.touched
+ - formula.days_ago
+ - formula.where
+ - description
+ sort:
+ - property: file.mtime
+ direction: DESC
+ limit: 30
+ - type: table
+ name: Work Only
+ filters:
+ and:
+ - file.inFolder("work")
+ order:
+ - file.name
+ - formula.touched
+ - formula.days_ago
+ - description
+ sort:
+ - property: file.mtime
+ direction: DESC
+ limit: 40
diff --git a/bases/Work Dashboard.base b/bases/Work Dashboard.base
index 020c5f4..3d6d0c2 100644
--- a/bases/Work Dashboard.base
+++ b/bases/Work Dashboard.base
@@ -6,6 +6,7 @@ filters:
formulas:
quarter: if(date, "Q" + ((date(date).month - 1) / 3 + 1).floor().toString() + " " + date(date).year.toString(), "")
age_days: if(date, (today() - date(date)).days, "")
+ stale_days: (now() - file.mtime).days.round(0)
properties:
file.name:
displayName: Note
@@ -15,6 +16,8 @@ properties:
displayName: Project
formula.quarter:
displayName: Quarter
+ formula.stale_days:
+ displayName: Days Untouched
date:
displayName: Date
description:
@@ -45,6 +48,21 @@ views:
- status
- project
- description
+ - type: table
+ name: Stale Actives
+ filters:
+ and:
+ - status == "active"
+ - file.mtime < now() - "14 days"
+ order:
+ - file.name
+ - formula.stale_days
+ - date
+ - project
+ - description
+ sort:
+ - property: file.mtime
+ direction: ASC
- type: table
name: Completed
filters: