diff --git a/README.md b/README.md index 14a0a0c..b723021 100644 --- a/README.md +++ b/README.md @@ -47,21 +47,11 @@ The payoff is simple: a correct system, stood up from zero in minutes, that keep One command turns an empty Mac into a complete system

-You start with an empty Mac and type one command. Athena does the rest, step by step: +You start with an empty Mac and type one command. Athena does the rest, step by step — every step automatic, ordered, and checked. If anything fails to start, the run stops and tells you; you never end up with a half-built machine that pretends it's fine. -```mermaid -flowchart LR - A["🖥️ Empty Mac"] --> B["one command
./bootstrap.sh"] - B --> C["installs the tools"] - C --> D["lays down the rules
& habits"] - D --> E["clones your projects"] - E --> F["restores your knowledge"] - F --> G["starts background helpers"] - G --> H["✅ checks everything
actually works"] - H --> I["🚀 A working system"] -``` - -Every step is automatic, ordered, and checked. If anything fails to start, the run stops and tells you — you never end up with a half-built machine that pretends it's fine. +

+ Step-by-step: empty Mac to working system +

--- @@ -73,20 +63,9 @@ Every step is automatic, ordered, and checked. If anything fails to start, the r Everything you own lives in exactly one of three "planes." Keeping them apart is what stops the mess: temporary clutter never pollutes your rules, secrets never touch your code, and notes never get lost inside project folders. -```mermaid -flowchart TB - subgraph P1["🧠 Consciousness — how your assistant thinks"] - C["rules · habits · helpers · a map of every tool it can use"] - end - subgraph P2["📚 Knowledge — what you know"] - K["a personal library of distilled notes (the Karpathy method)"] - end - subgraph P3["⚙️ Work — what you do"] - W["your projects · documents · media"] - end - P1 -.guides.-> P3 - P2 -.feeds.-> P1 -``` +

+ Consciousness, Knowledge and Work — the three planes +

| Plane | In plain terms | Where it lives | |---|---|---| @@ -106,16 +85,9 @@ The rules for *what goes where* live inside the system itself, so it grows tidil The setup script builds your machine from the ground up in ordered layers — like assembling floors of a building. Each layer is safe to repeat, and you can run just one if you want. -```mermaid -flowchart LR - L0["0 · Base
core tools"] --> L0b["0b · Tools
extras"] - L0b --> L1["1 · Consciousness
rules & habits"] - L1 --> L2["2 · Registry
the tool map"] - L2 --> L3["3 · Work
projects"] - L3 --> L4["4 · Knowledge
your library"] - L4 --> L5["5 · Runtime
secrets & helpers"] - L5 --> L6["6 · Smoke
final checks"] -``` +

+ The layers, from Base to Checks +

| Layer | What it sets up | |---|---| @@ -126,7 +98,7 @@ flowchart LR | **3 · Work** | clones and installs your projects | | **4 · Knowledge** | restores your personal library | | **5 · Runtime** | secrets (kept in the macOS Keychain) and background helpers | -| **6 · Smoke** | runs final checks to prove the whole thing actually works | +| **6 · Checks** | runs final checks to prove the whole thing actually works | ```bash ./bootstrap.sh --only=1 # run a single layer @@ -143,12 +115,9 @@ flowchart LR Here's the tricky part of sharing a personal setup: the *structure* is worth opening up, but the *contents* — your secrets, your private notes — are not. Athena solves it by blending two sources at setup time: a **public** skeleton (this repo) and your own **private** layer. They merge into one, and your private layer always wins. -```mermaid -flowchart LR - G["🌍 Public skeleton
this repo · safe to share"] --> M{{"blend"}} - P["🔒 Your private layer
secrets & personal config"] --> M - M --> A["✨ Your real machine"] -``` +

+ Public skeleton plus private layer blend into your machine +

- Skip the private layer → you still get a complete, working **public-only** setup. - Add it → your personal details are layered in on top. @@ -166,17 +135,9 @@ This repository is the **public skeleton**. It contains zero personal data — n Every time an AI assistant has to rediscover its own tools, re-read scattered instructions, or wander around looking for the right skill, it burns tokens — and tokens are money and time. Athena gives the assistant a **tidy index of everything it can do**, so it walks straight to the right tool instead of searching. -```mermaid -flowchart LR - subgraph Without["😵 Without a map"] - direction TB - Q1["task"] --> S1["search…"] --> S2["re-read…"] --> S3["guess…"] --> R1["maybe right"] - end - subgraph With["🦉 With Athena's registry"] - direction TB - Q2["task"] --> IDX["look it up in the index"] --> R2["right tool, first try"] - end -``` +

+ Without a map: wandering. With Athena: a direct path. +

Less wandering means fewer tokens spent on overhead and more spent on your actual problem. The structure does the remembering, so the assistant doesn't have to. diff --git a/README.ru.md b/README.ru.md index c0f8434..8ba81ae 100644 --- a/README.ru.md +++ b/README.ru.md @@ -47,21 +47,13 @@ cp athena.config.example.sh athena.config.sh # впиши свои репо / Одна команда превращает пустой Mac в готовую систему

-Ты начинаешь с пустого Mac и набираешь одну команду. Дальше Athena делает всё сама, шаг за шагом: +Ты начинаешь с пустого Mac и набираешь одну команду. Дальше Athena делает всё сама, шаг за шагом — каждый шаг автоматический, по порядку и с проверкой. Если что-то не поднялось — прогон останавливается и говорит об этом; ты никогда не остаёшься с полусобранной машиной, которая делает вид, что всё в порядке. -```mermaid -flowchart LR - A["🖥️ Пустой Mac"] --> B["одна команда
./bootstrap.sh"] - B --> C["ставит инструменты"] - C --> D["раскладывает правила
и привычки"] - D --> E["клонирует проекты"] - E --> F["восстанавливает знания"] - F --> G["запускает помощников"] - G --> H["✅ проверяет, что всё
реально работает"] - H --> I["🚀 Готовая система"] -``` +

+ Шаг за шагом: от пустого Mac до готовой системы +

-Каждый шаг автоматический, по порядку и с проверкой. Если что-то не поднялось — прогон останавливается и говорит об этом. Ты никогда не остаёшься с полусобранной машиной, которая делает вид, что всё в порядке. +> Подписи на схемах — на английском (универсально); текст рядом всё поясняет. --- @@ -73,20 +65,9 @@ flowchart LR Всё, чем ты владеешь, лежит ровно в одной из трёх «плоскостей». Их разделение и спасает от каши: временный мусор не пачкает правила, секреты не касаются кода, а заметки не теряются внутри папок проектов. -```mermaid -flowchart TB - subgraph P1["🧠 Сознание — как ассистент думает"] - C["правила · привычки · помощники · карта всех доступных инструментов"] - end - subgraph P2["📚 Знания — что ты знаешь"] - K["личная библиотека отжатых заметок (метод Карпаты)"] - end - subgraph P3["⚙️ Работа — что ты делаешь"] - W["твои проекты · документы · медиа"] - end - P1 -.направляет.-> P3 - P2 -.питает.-> P1 -``` +

+ Сознание, Знания и Работа — три плоскости +

| Плоскость | Простыми словами | Где живёт | |---|---|---| @@ -106,27 +87,20 @@ flowchart TB Скрипт настройки собирает машину снизу вверх упорядоченными слоями — как этажи здания. Каждый слой можно безопасно повторить, и при желании запустить только один. -```mermaid -flowchart LR - L0["0 · База
ядро инструментов"] --> L0b["0b · Инструменты
дополнения"] - L0b --> L1["1 · Сознание
правила и привычки"] - L1 --> L2["2 · Реестр
карта инструментов"] - L2 --> L3["3 · Работа
проекты"] - L3 --> L4["4 · Знания
твоя библиотека"] - L4 --> L5["5 · Рантайм
секреты и помощники"] - L5 --> L6["6 · Smoke
финальные проверки"] -``` +

+ Слои, от Базы до Проверок +

| Слой | Что настраивает | |---|---| -| **0 · База** | базовые CLI-инструменты (`claude`, `codex`, `git`, `node`, `python`…) | -| **0b · Инструменты** | дополнения вроде ботов, ставятся до правил, чтобы успеть подключиться | -| **1 · Сознание** | правила, привычки и помощники ассистента | -| **2 · Реестр** | поисковая карта всех навыков и инструментов — нужный находится быстро | -| **3 · Работа** | клонирует и ставит твои проекты | -| **4 · Знания** | восстанавливает личную библиотеку | -| **5 · Рантайм** | секреты (в Keychain macOS) и фоновые помощники | -| **6 · Smoke** | гоняет финальные проверки, что всё реально работает | +| **0 · Base** | базовые CLI-инструменты (`claude`, `codex`, `git`, `node`, `python`…) | +| **0b · Tools** | дополнения вроде ботов, ставятся до правил, чтобы успеть подключиться | +| **1 · Consciousness** | правила, привычки и помощники ассистента | +| **2 · Registry** | поисковая карта всех навыков и инструментов — нужный находится быстро | +| **3 · Work** | клонирует и ставит твои проекты | +| **4 · Knowledge** | восстанавливает личную библиотеку | +| **5 · Runtime** | секреты (в Keychain macOS) и фоновые помощники | +| **6 · Checks** | гоняет финальные проверки, что всё реально работает | ```bash ./bootstrap.sh --only=1 # один слой @@ -143,12 +117,9 @@ flowchart LR Вот в чём хитрость шеринга личной настройки: *структуру* открыть стоит, а *содержимое* — секреты, личные заметки — нет. Athena решает это, смешивая два источника при настройке: **публичный** скелет (этот репо) и твой **приватный** слой. Они сливаются в один, и приватный слой всегда побеждает. -```mermaid -flowchart LR - G["🌍 Публичный скелет
этот репо · безопасно делиться"] --> M{{"смешать"}} - P["🔒 Твой приватный слой
секреты и личный конфиг"] --> M - M --> A["✨ Твоя реальная машина"] -``` +

+ Публичный скелет плюс приватный слой сливаются в твою машину +

- Пропусти приватный слой → всё равно получишь полноценную **публичную** настройку. - Добавь → твои личные детали лягут сверху. @@ -166,17 +137,9 @@ flowchart LR Каждый раз, когда ассистент заново ищет свои же инструменты, перечитывает разбросанные инструкции или бродит в поисках нужного навыка — он жжёт токены. А токены — это деньги и время. Athena даёт ассистенту **аккуратный индекс всего, что он умеет**, и он идёт прямо к нужному инструменту, а не ищет. -```mermaid -flowchart LR - subgraph Without["😵 Без карты"] - direction TB - Q1["задача"] --> S1["поиск…"] --> S2["перечитать…"] --> S3["угадать…"] --> R1["может, верно"] - end - subgraph With["🦉 С реестром Athena"] - direction TB - Q2["задача"] --> IDX["заглянуть в индекс"] --> R2["верный инструмент сразу"] - end -``` +

+ Без карты: блуждание. С Athena: прямой путь. +

Меньше блужданий — меньше токенов на накладные расходы и больше на твою настоящую задачу. Структура запоминает за ассистента, чтобы ему не приходилось. diff --git a/docs/assets/journey-diagram.png b/docs/assets/journey-diagram.png new file mode 100644 index 0000000..ae07c21 Binary files /dev/null and b/docs/assets/journey-diagram.png differ diff --git a/docs/assets/layers-diagram.png b/docs/assets/layers-diagram.png new file mode 100644 index 0000000..877854a Binary files /dev/null and b/docs/assets/layers-diagram.png differ diff --git a/docs/assets/merge-diagram.png b/docs/assets/merge-diagram.png new file mode 100644 index 0000000..a48c942 Binary files /dev/null and b/docs/assets/merge-diagram.png differ diff --git a/docs/assets/planes-diagram.png b/docs/assets/planes-diagram.png new file mode 100644 index 0000000..178fda1 Binary files /dev/null and b/docs/assets/planes-diagram.png differ diff --git a/docs/assets/token-diagram.png b/docs/assets/token-diagram.png new file mode 100644 index 0000000..1085a1d Binary files /dev/null and b/docs/assets/token-diagram.png differ