vault-sync: 2026-09-13 12:19 (jimmy)

This commit is contained in:
jimmy
2026-09-13 12:19:08 -07:00
parent 342c7d11d0
commit f1d89085d5
2 changed files with 75 additions and 9 deletions
@@ -1,17 +1,21 @@
# jimmy — agent workspace # jimmy — agent workspace
Owner: jimmy (Hermes profile `jimmy`, Windows desktop `desktop-81cbtv2`) Owner: **jimmy** — that's me. Hermes profile `jimmy`, Windows desktop `desktop-81cbtv2`.
Scope: this directory is jimmy's exclusive write area in the shared AgentOS vault. This is my exclusive write area in the vault. Other agents read it; nobody else writes here.
Other agents read it; nobody else writes here.
## Shared vault protocol ## Vault protocol
- Vault root: `C:/Users/fight/AgentOS/memory-systems/agent-os` (git repo root: `C:/Users/fight/AgentOS`) - Canonical vault: `C:/Users/fight/Documents/Obsidian Vault` — also my recall vault
- Memory provider: `zvec-memory`, vault pinned to the path above in the profile config. (`plugins.zvec-memory.vault`); the zvec index lives in `.zvec-grep/` there (gitignored).
- Sync: cron job `vault-sync` (every 6h) — pull --rebase, commit local changes, push to Gitea. - Publish mirror (generated, never hand-edited): `C:/Users/fight/AgentOS/memory-systems/agent-os`
- Change log: cron job `vault-change-log` (daily 06:00) — writes `03_shared/vault-updates-log.md`. → Gitea `Tony_tech/personal-agent-os`.
- Publish: cron `5607c915ae16`, every 6h, script `vault-sync.sh` — vault → mirror → commit → push.
- Change log: cron `59d058c423f7`, daily 06:00 → `03_shared/vault-updates-log.md`.
- Write isolation: jimmy → `02_agents/jimmy/`, leonard → `02_agents/leonard/`. - Write isolation: jimmy → `02_agents/jimmy/`, leonard → `02_agents/leonard/`.
## Verify ## Verify
Manual sync: `bash "$HERMES_HOME/scripts/vault-sync.sh"` ```bash
bash "$HERMES_HOME/scripts/vault-sync.sh"
cd "C:/Users/fight/AgentOS" && git log -1 --format='%an <%ae> | %s'
```
@@ -1069,3 +1069,65 @@ The 51 shared paths were already identical, so only the unique content moved:
**assistant:** That notification is the sync run I already reported — it's stale on one point: it observed `.merge.7624.tmp` still present. I removed it afterwards (after unsetting the leaked `TMP`) and confirmed with a full push cycle that it no longer regenerates. Current state stands: tree clean, local == remote at `e918f23`, `sessions/` holds only the six date files. **assistant:** That notification is the sync run I already reported — it's stale on one point: it observed `.merge.7624.tmp` still present. I removed it afterwards (after unsetting the leaked `TMP`) and confirmed with a full push cycle that it no longer regenerates. Current state stands: tree clean, local == remote at `e918f23`, `sessions/` holds only the six date files.
## 20260913-190854 session 20260913_114932_ab065dd5
**user:** [System note: The previous turn was interrupted by a gateway interruption; the gateway is now back online. Any restart/shutdown command in the history has already run — do NOT re-execute or verify it. Report to the user that the session was restored successfully and ask what they would like to do next. Do NOT re-execute old tool calls — skip any unfinished work from the conversation history.]
**assistant:** Done — `Documents\Obsidian Vault` is now the single vault, and the gateway is running on it (new PID 32536, restart `exit=0`).
## 1. Canonical vault
- Jimmy's zvec recall re-pointed to `C:/Users/fight/Documents/Obsidian Vault`; index built in place (86 files, 752 entities), `.zvec-grep/` added to the vault's `.gitignore` so it can never be committed.
- Verified live *through the running provider*: `memory_search` now returns hits from A — including `04_projects/phoenix-salon/*`, which only ever existed in A.
## 2. Folded B into A
The 51 shared paths were already identical, so only the unique content moved:
- `01_Wiki/ai-bottleneck-thesis-tony-simons.md`, `hermes-masterclass-tonbi.md`, `inference-benchmarks-local.md`, `Welcome.md`
- `02_agents/jimmy/README.md`, `03_shared/vault-updates-log.md`, `facts/` (4), `sessions/` (6)
- **Skipped as non-unique:** `10_Projects/Oracle/*` (byte-identical to A's `04_projects/athena-oracle/*` apart from CRLF) and `20_Areas/VeriPath/VeriPath.md` (A's copy is a superset — it already had the 8/15 call link).
- A went 68 → 84 notes, 366 → 382 files.
## 3. AgentOS retired as a vault → generated mirror
`vault-sync.sh` rebuilt: vault → mirror via tar (excludes `.git`, `.obsidian`, `.zvec-grep`, `.trash`) → scoped commit → `pull --rebase --autostash` → push. Mirror verified **byte-identical** to the vault (`diff -r` clean). Never edit the mirror; it's regenerated every run.
## 4. Cron re-pointed (as you chose)
- `41f434196ae0` (17:00) → script ch
## 20260913-191052 session 20260913_114932_ab065dd5
**user:** ok write the obsidian to the gitea and fix all
**assistant:** The Obsidian vault is on Gitea, and the loose ends are closed.
## Obsidian vault → Gitea
`Tony_tech/personal-agent-os` @ `342c7d1` (verified against the remote, not just locally). **96 files** under the vault subtree, including content that had never left this machine: `04_projects/phoenix-salon/`, `04_projects/ashbot/status.md`, `04_Daily/2026-09-12.md`, `02_agents/jimmy/`, `facts/` + `sessions/`, and the archived legacy notes. Mirror verified **byte-identical** to the canonical vault (`diff -r` clean), both repos clean.
## Fixed
1. **Dead remote removed** — `Documents\Obsidian Vault` has no `origin` any more (that repo's Gitea project is gone). It keeps local history; the mirror is what publishes.
2. **Redundant cron job retired** — removed `41f434196ae0` ("Vault Gitea sync (signal only)"). Its role was fully covered by the other publisher, and its "signal only" allow-list was already dead. Remaining vault jobs:
- `5607c915ae16` — renamed **"Obsidian vault -> Gitea (publish)"**, every 6h.
- `59d058c423f7` — `vault-change-log`, daily 06:00.
- (If you'd rather have the daily 17:00 cadence back instead of 6-hourly, say so — one command either way.)
3. **OneDrive legacy vault rescued, not lost** — its 9 notes were the only content on this box not in the canonical vault. Archived to `10_archive/onedrive-second-brain-vault-2026-07/` (Meta/, Projects/, Resources/, README), byte-verified identical to the source, and now on Gitea.
4. **`src/obsidian-vault` proven redundan
## 20260913-191320 session 20260913_114932_ab065dd5
**user:** fix all
**assistant:** Both deleted and verified gone. That closes the vault consolidation.
## Deleted
- `C:\Users\fight\src\obsidian-vault` (658K) — git-verified ancestor of the canonical vault, 7 commits behind, remote already dead.
- `C:\Users\fight\OneDrive\Desktop\obsidian-second-brain-vault` (103K) — its 9 notes were archived into the vault first and pushed to Gitea (`10_archive/onedrive-second-brain-vault-2026-07/`, byte-verified identical, 10 files confirmed on the remote).
Backups existed before deletion: content was on disk in the vault **and** confirmed on Gitea.
## Also fixed in this pass
- **Old skill removed.** `agentos-vault-sync` described the architecture you just replaced (it claimed the AgentOS path *was* the vault). Replaced with `obsidian-vault-publish`, which documents the real topology, the mirror rationale, and the six traps that bit us today.
- **Memory corrected.** Two entries were stale — one said the recall vault was AgentOS, one said "do not write to src\obsidian-vault" (now deleted). Merged into one accurate entry; memory down from 98% → 93%.
## Two "vault" folders I deliberately did NOT touch
Neither is a vault, so deleting them would have been a mistake: