fix: use ~/m3ta-brain instead of hardcoded server path
Vault location is now portable: ~/m3ta-brain resolves per-machine. On m3-hermes: /var/lib/hermes/m3ta-brain On desktop: /home/m3tam3re/m3ta-brain On work laptop: /home/sascha.koenig/m3ta-brain Updated in SKILL.md (5 occurrences) and references/vault-map.md (1).
This commit is contained in:
@@ -10,14 +10,14 @@ Shared Obsidian vault — the persistent, compounding working memory between Sas
|
|||||||
|
|
||||||
## Prerequisites
|
## Prerequisites
|
||||||
|
|
||||||
- Vault cloned at `/var/lib/hermes/workspace/m3ta-brain` (server) or local machine
|
- Vault cloned at `~/m3ta-brain` (resolves per-machine: `/var/lib/hermes/m3ta-brain` on m3-hermes, `/home/m3tam3re/m3ta-brain` on desktop, etc.)
|
||||||
- Git configured with push access to `ssh://gitea@code.m3ta.dev/m3tam3re/m3ta-brain.git`
|
- Git configured with push access to `ssh://gitea@code.m3ta.dev/m3tam3re/m3ta-brain.git`
|
||||||
- Obsidian settings (auto-configured via `.obsidian/app.json`): Wikilinks OFF, relative paths ON
|
- Obsidian settings (auto-configured via `.obsidian/app.json`): Wikilinks OFF, relative paths ON
|
||||||
|
|
||||||
Always pull before reading or writing:
|
Always pull before reading or writing:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd /var/lib/hermes/workspace/m3ta-brain && git pull --rebase
|
cd ~/m3ta-brain && git pull --rebase
|
||||||
```
|
```
|
||||||
|
|
||||||
## Vault Structure (Quick Reference)
|
## Vault Structure (Quick Reference)
|
||||||
@@ -45,7 +45,7 @@ See `references/vault-map.md` for full layout. Key directories:
|
|||||||
### Step 1: Pull latest
|
### Step 1: Pull latest
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd /var/lib/hermes/workspace/m3ta-brain && git pull --rebase
|
cd ~/m3ta-brain && git pull --rebase
|
||||||
```
|
```
|
||||||
|
|
||||||
### Step 2: Read core context
|
### Step 2: Read core context
|
||||||
@@ -77,7 +77,7 @@ qmd query "{topic}" -c brain --md -n 5
|
|||||||
If qmd is NOT installed, use `search_files` on the vault directory:
|
If qmd is NOT installed, use `search_files` on the vault directory:
|
||||||
|
|
||||||
```
|
```
|
||||||
search_files(pattern="{topic}", path="/var/lib/hermes/workspace/m3ta-brain", target="content")
|
search_files(pattern="{topic}", path="~/m3ta-brain", target="content")
|
||||||
```
|
```
|
||||||
|
|
||||||
### Step 5: Recall relevant decisions
|
### Step 5: Recall relevant decisions
|
||||||
@@ -132,7 +132,7 @@ If something new was learned about the user, a person, or a pattern — write to
|
|||||||
### Step 5: Commit and push
|
### Step 5: Commit and push
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd /var/lib/hermes/workspace/m3ta-brain
|
cd ~/m3ta-brain
|
||||||
git add -A
|
git add -A
|
||||||
git commit -m "session: {brief description}
|
git commit -m "session: {brief description}
|
||||||
|
|
||||||
@@ -215,7 +215,7 @@ The vault accumulates drafts, candidates, and potentially stale information. The
|
|||||||
### Step 1: Pull and scan
|
### Step 1: Pull and scan
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd /var/lib/hermes/workspace/m3ta-brain && git pull --rebase
|
cd ~/m3ta-brain && git pull --rebase
|
||||||
```
|
```
|
||||||
|
|
||||||
### Step 2: Process inbox
|
### Step 2: Process inbox
|
||||||
|
|||||||
@@ -107,7 +107,7 @@ python3 -c "
|
|||||||
import os, re
|
import os, re
|
||||||
from collections import defaultdict
|
from collections import defaultdict
|
||||||
|
|
||||||
VAULT = '/var/lib/hermes/workspace/m3ta-brain'
|
VAULT = os.path.expanduser('~/m3ta-brain')
|
||||||
md_files = []
|
md_files = []
|
||||||
for root, dirs, files in os.walk(VAULT):
|
for root, dirs, files in os.walk(VAULT):
|
||||||
if '.git' in root or '.obsidian' in root: continue
|
if '.git' in root or '.obsidian' in root: continue
|
||||||
|
|||||||
Reference in New Issue
Block a user