From 6de1f2bd992538ac5df8ef476b948b5b71fa5e37 Mon Sep 17 00:00:00 2001 From: Alexey Martemyanov Date: Mon, 27 Apr 2026 21:19:11 +0600 Subject: [PATCH] Initial vault structure --- .gitignore | 3 +++ _index.md | 3 +++ family/_index.md | 3 +++ personal/_index.md | 3 +++ wiki/personal-os-architecture.md | 44 ++++++++++++++++++++++++++++++++ work/_index.md | 3 +++ 6 files changed, 59 insertions(+) create mode 100644 .gitignore create mode 100644 _index.md create mode 100644 family/_index.md create mode 100644 personal/_index.md create mode 100644 wiki/personal-os-architecture.md create mode 100644 work/_index.md diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..8390cb0b --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +.obsidian/workspace.json +.obsidian/workspace-mobile.json +.trash/ diff --git a/_index.md b/_index.md new file mode 100644 index 00000000..a7565486 --- /dev/null +++ b/_index.md @@ -0,0 +1,3 @@ +# Index + +[[work/_index]] | [[personal/_index]] | [[family/_index]] diff --git a/family/_index.md b/family/_index.md new file mode 100644 index 00000000..4122b14f --- /dev/null +++ b/family/_index.md @@ -0,0 +1,3 @@ +# Family + +[[how-to/]] | [[documents/]] | [[contacts/]] | [[schedule/]] diff --git a/personal/_index.md b/personal/_index.md new file mode 100644 index 00000000..4a9f17cb --- /dev/null +++ b/personal/_index.md @@ -0,0 +1,3 @@ +# Personal + +[[documents/]] | [[instructions/]] | [[projects/]] diff --git a/wiki/personal-os-architecture.md b/wiki/personal-os-architecture.md new file mode 100644 index 00000000..a3dc7238 --- /dev/null +++ b/wiki/personal-os-architecture.md @@ -0,0 +1,44 @@ +--- +namespace: work +tags: [system, architecture] +last_synced: 2026-04-27 +confidence: 1.0 +--- + +# Personal OS Architecture + +## Стратег (Claude Code, локально) +- `~/scripts/run-pipeline.sh` → sync.js + generate-status.js каждые 30 мин (workdays) +- `~/Developer/personal-os/asana_context.md` — сырые данные Asana +- `~/Developer/personal-os/status.md` — живой срез задач для Орла +- `~/scripts/run-wiki-ingest.sh` → обновляет ~/obsidian/wiki/ (22:00, launchd) + +## Орёл (Hermes v0.11.x, Discord бот) +- Читает только `~/Developer/personal-os/status.md` — никогда не идёт в БД напрямую +- Discord каналы: #daily-brief #inbox #focus #executor #projects #journal +- Ищет знания через obsidian MCP по vault +- Логирует корректировки в `~/Developer/personal-os/logs/corrections_log.md` +- Cron jobs: morning-brief (08:30), eod-summary (18:00), inbox-check (30 мин), weekly-plan (Пн 08:00), weekly-review (Пт 17:00) + +## Vault (~/obsidian/) +- `wiki/` — LLM-синтез, генерируется wiki-ingest, не редактировать руками +- `raw/` — symlinks на внешние файлы проекта +- `work/`, `personal/`, `family/` — заметки, редактировать свободно +- Git репозиторий, автокоммит в 23:00 с агентным summary + +## База данных (Postgres, только Asana + activity) +- tasks, stories, task_edges, sync_state +- signal_queue, activity_daily +- Нет wiki данных — всё в vault файлах + +## Почему wiki-ingest через launchd, не Hermes +Claude через API не имеет доступа к файловой системе Mac. +wiki-ingest пишет файлы в ~/obsidian/wiki/ — это требует +`claude -p` запущенного локально, не API вызова. + +## Файлы конфигурации +- `~/.hermes/config.yaml` — Hermes config, модель, Discord, cron +- `~/.hermes/SOUL.md` — характер и правила Орла +- `~/.hermes/auth.json` — Claude Code OAuth (credential_pool) +- `~/Developer/personal-os/config.json` — Asana workspace/user GIDs +- `~/.config/personal-os/env` — env vars (ASANA_API_KEY, POSTGRES_URL) diff --git a/work/_index.md b/work/_index.md new file mode 100644 index 00000000..5e948ec9 --- /dev/null +++ b/work/_index.md @@ -0,0 +1,3 @@ +# Work + +[[projects/ios-duck-ai-toggle]] | [[projects/ios-demo-tracker]]