feat: нуб-установка end-to-end — preinstall.sh + setup-os дирижёр + опрос интеграций

Чистый Mac → система за 2 движения: один curl|bash, затем claude → /setup-os.

- preinstall.sh: Шаг 0 руками (brew+CLI+claude, --allow-scripts E5, PATH в ~/.zprofile E4)
- setup-os Этап A0: разрешение скриптов (E1), прогон слоёв, попап untrusted-плагинов (E6),
  гайд chezmoi overwrite (E7), опрос интеграций multiSelect (GitHub/Firecrawl/Supabase/
  Higgsfield/overlay/vault) со ставлю-или-skip, секреты только в Keychain/.env
- bootstrap.sh L0: eval brew shellenv (E4) + внятный fail вместо сырого sudo (E3)
- smoke/dry-validate.sh: E8 — дженерик-проверка overlay вместо хардкода приватного telegram-маркера
- smoke/smoke.sh: PCRE Zarubin(?!phil) — банит фамилию, разрешает публичный хэндл репо
- README EN+RU: установка в 2 шага, очеловечено (humanizer/humanizer-ru, ноль длинных тире в RU)

SMOKE OK · dry-validate OK · bash -n OK
This commit is contained in:
Зарубин Филипп
2026-06-19 13:44:19 +03:00
parent ff7cb4d4bc
commit 142a21d487
8 changed files with 143 additions and 15 deletions
+18 -4
View File
@@ -15,13 +15,27 @@
---
**Two steps and you're done.**
**Step 1** — paste this into Terminal. It'll ask for your Mac password once; that's fine.
```bash
git clone <repo> ~/Проекты/athena && cd ~/Проекты/athena
cp athena.config.example.sh athena.config.sh # fill in your repos / values
./bootstrap.sh # or --dry-run to preview
curl -fsSL https://raw.githubusercontent.com/zarubinphil/athena/main/preinstall.sh | bash
```
That's the whole setup. No long checklist, nothing to forget, no two machines that mysteriously behave differently.
That brings in Homebrew, a few CLIs, and Claude Code. It's the only part you do by hand — Homebrew wants a password, and an agent can't type one.
**Step 2** — grab the repo, open Claude, and just answer what it asks.
```bash
git clone https://github.com/zarubinphil/athena ~/athena && cd ~/athena
claude
# then type: /setup-os
```
From here `/setup-os` builds the system layer by layer and pops up a question whenever there's a choice — GitHub? Firecrawl? a knowledge vault? Say no to anything you don't want; you can add it any time later.
> Already know your way around? `cp athena.config.example.sh athena.config.sh`, then `./bootstrap.sh` runs the engine straight, no Claude needed (`--dry-run` to look first).
---