agentleFS
zarubinvibezarubinvibe/athena/CLAUDE.md

athena

CLAUDE.md2 starsChanged 5 months agoMITView on GitHub

Athena — переносимая агентная ОС: разворот всей системы владельца на новом Mac одной командой. Этот репо — generic/public каркас (без личных данных).

  • Pipes a download into a shell

The file

Files
CLAUDE.md

athena — проектная конституция

Athena — переносимая агентная ОС: разворот всей системы владельца на новом Mac одной командой. Этот репо — generic/public каркас (без личных данных).

Карта

  • preinstall.sh — Шаг 0 руками в Терминале (brew+CLI+claude, нужен пароль Mac; curl|bash). Единственное вне Claude. Дальше: claude → /setup-os (дирижер установки + опрос интеграций попапами).
  • bootstrap.sh — оркестратор слоев 0–6 (+0b tools, idempotent, $HOME, читает athena.config.sh). Слой 1 = merged-source: generic chezmoi/ ⊕ приватный overlay (ATHENA_PRIVATE_REPO, Ф4) → один chezmoi apply.
  • projects.manifest.example / tools.manifest.example (шаблоны) + plugins.manifest (дженерик, трекается) — клон проектов (~/Проекты) и инструментов (~/tools, Слой 0b ДО Сознания) + плагины Сознания. Реальные projects.manifest/tools.manifest — gitignored, приходят из приватного overlay.
  • rules/structure.md — конституция раскладки (источник истины организации ФС). Менять осознанно.
  • chezmoi/ — шаблоны дотфайлов Сознания (улучшенный канон из best-practices vault).
  • skills/{setup-os,bootstrap-project,organize,athena-update} — рождение ОС, каркас проекта, авто-раскладка, безопасное обновление живой системы (анализ→план→согласование→действие, бэкап+откат, .athena-version-стамп).
  • claude-starter/ — эталон проекта, который Athena ставит конечному юзеру.
  • SECURITY.md · mcp-reauth.md · launchd/ · smoke/ · Brewfile · athena.config.example.sh.
  • specs/ — фазовый план (читать первым). docs/decisions/ — ADR.

Команды

  • Линт: shellcheck preinstall.sh bootstrap.sh smoke/*.sh (0 warning = гейт)
  • Сухой прогон: ./bootstrap.sh --dry-run
  • Slice: ./bootstrap.sh --only=<0|0b|1..6> (0=база, 0b=инструменты ~/tools — раздельно)
  • Smoke: smoke/smoke.sh
  • Dry-validate шаблонов (без chezmoi): smoke/dry-validate.sh (merge → рендер → plist/json/bash-n + лов неизвестных {{ }})

Конвенции

  • Все идемпотентно, на $HOME, без хардкода /Users/.... Личное — только в gitignored athena.config.sh / Keychain.
  • Деструктив и внешние действия — за подтверждением; в публичном репо личных данных нет.
  • specs первыми. Изменил раскладку → синхронь rules/structure.md + organize + bootstrap-project в локстеп.
  • Проектный CLAUDE.md ≤150 строк; детали — в rules/, skills/, specs/.

Не делать

  • Не зеркалить секреты/сессии/кеши в git (правило parity).
  • Не трогать боевой ~/.claude из этого репо без бэкапа — Фаза 1 clean-room.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.