Skip to content

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

Address Copilot review: agent frontmatter, strict mode, MEMORY.md exception, review-brief arg

Brenno Ferrarie825e06aa8bc
diff --git a/.claude/agents/review-fact-checker.md b/.claude/agents/review-fact-checker.md
index f2e26d2..9dd7367 100644
--- a/.claude/agents/review-fact-checker.md
+++ b/.claude/agents/review-fact-checker.md
@@ -1,6 +1,12 @@
---
+name: review-fact-checker
description: "Verify every factual claim in a review draft against vault sources. Returns verified/unverified/flagged claims."
-tools: ["Read", "Grep", "Glob", "Bash"]
+tools: Read, Grep, Glob, Bash
+model: sonnet
+maxTurns: 30
+skills:
+ - obsidian-markdown
+ - qmd
---
# Review Fact-Checker
diff --git a/.claude/scripts/charcount.sh b/.claude/scripts/charcount.sh
index 551b5c4..fdedfa2 100755
--- a/.claude/scripts/charcount.sh
+++ b/.claude/scripts/charcount.sh
@@ -1,4 +1,5 @@
#!/bin/bash
+set -euo pipefail
# Count characters in a markdown section (useful for review tools with character limits)
# Usage: charcount.sh <file> <section> [subsection]
# Examples:
diff --git a/CLAUDE.md b/CLAUDE.md
index 54b7033..999b634 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -248,7 +248,7 @@ Beyond tags, use these frontmatter properties to enable search and Bases views:
## Memory System
-**All project memories live in the vault.** The `~/.claude/` MEMORY.md is an auto-loaded index that points to vault locations. Never create new memory files in `~/.claude/` for this project.
+**All project memories live in the vault.** The `~/.claude/` MEMORY.md is an auto-loaded index that points to vault locations. The `~/.claude/` MEMORY.md is the only file that should exist there -- it is an auto-loaded index. Never create additional memory files in that directory.
| System | Location | Purpose |
|--------|----------|---------|
@@ -259,7 +259,7 @@ When asked to "remember" something:
1. Find or create the appropriate `brain/` topic note (Gotchas, Patterns, Key Decisions, etc.)
2. Add the knowledge there with a wikilink to context
3. Update `brain/Memories.md` index if a new topic note was created
-4. Do NOT create files in `~/.claude/projects/.../memory/` -- they are not version-controlled
+4. Do NOT create additional files in `~/.claude/projects/.../memory/` beyond MEMORY.md -- they are not version-controlled
## Agent Guidelines
diff --git a/README.md b/README.md
index 5691a8e..05382d9 100644
--- a/README.md
+++ b/README.md
@@ -111,7 +111,7 @@ Five lifecycle hooks handle routing automatically:
**Weekly**: Run `/vault-audit` to catch orphan notes, broken links, and stale content.
-**Review season**: Run `/review-brief` and get a structured review prep document with all the evidence already linked.
+**Review season**: Run `/review-brief manager` and get a structured review prep document with all the evidence already linked.
---