From 3afae237296cfe44bb324f0e78746cb9eb165e7c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=D0=97=D0=B0=D1=80=D1=83=D0=B1=D0=B8=D0=BD=20=D0=A4=D0=B8?=
=?UTF-8?q?=D0=BB=D0=B8=D0=BF=D0=BF?=
<289370046+zarubinvibe@users.noreply.github.com>
Date: Sat, 29 Aug 2026 19:48:26 +0300
Subject: [PATCH] fix: repair the reference doc links and guard them in the
gate
Moving the previous long README into docs/DETAILS.md left every relative link
pointing at the repository root, so the reference doc was full of dead links
and missing images. All of them now resolve from their new location.
The release gate learned the rule that would have caught this: every relative
link and image in the three READMEs must exist as a tracked file, and a link
that escapes the repository is refused.
---
docs/DETAILS.md | 34 +++++++++++++++++-----------------
docs/DETAILS.ru.md | 34 +++++++++++++++++-----------------
2 files changed, 34 insertions(+), 34 deletions(-)
diff --git a/docs/DETAILS.md b/docs/DETAILS.md
index 8f04cba..123b7a3 100644
--- a/docs/DETAILS.md
+++ b/docs/DETAILS.md
@@ -4,13 +4,13 @@
Athena is a portable agent OS for macOS that rebuilds a Claude Code and Codex workspace from versioned templates, manifests, and checks.
-[Russian](README.ru.md) | [Feature reference](docs/FEATURES.en.md) | [Quickstart](#quickstart) | [Security](#security-and-privacy) | [Contributing](CONTRIBUTING.md)
+[Russian](../README.ru.md) | [Feature reference](../docs/FEATURES.en.md) | [Quickstart](#quickstart) | [Security](#security-and-privacy) | [Contributing](../CONTRIBUTING.md)
-
+
-
+
Status: public macOS reference implementation. Automated checks cover shell syntax, templates, repository hygiene, agent contracts, and generic clean-room rendering. A complete first install on a fresh Mac still needs the manual acceptance checklist.
@@ -114,9 +114,9 @@ Athena first copies the public `chezmoi/` tree into a local merged source. If `A
The scripts are designed to converge when run again. Guards stop common secret-path writes and force pushes to protected branches, while smoke tests check tracked files, templates, role contracts, and Claude/Codex parity.
-Dotfile deployment uses [chezmoi](https://www.chezmoi.io/). The knowledge layout follows the synthesis-on-write approach described in [the bundled method reference](skills/setup-os/references/karpathy-method.md), popularized by Andrej Karpathy. The project name refers to Athena, the Greek goddess of wisdom and strategy.
+Dotfile deployment uses [chezmoi](https://www.chezmoi.io/). The knowledge layout follows the synthesis-on-write approach described in [the bundled method reference](../skills/setup-os/references/karpathy-method.md), popularized by Andrej Karpathy. The project name refers to Athena, the Greek goddess of wisdom and strategy.
-The optional thin-session path hides most installed skills from the initial model prompt and routes a short relevant list per task. The measured example in [docs/thin-session.md](docs/thin-session.md) compares about 1,400 listed skills with a small allowlist; token savings depend on the actual skill inventory.
+The optional thin-session path hides most installed skills from the initial model prompt and routes a short relevant list per task. The measured example in [docs/thin-session.md](../docs/thin-session.md) compares about 1,400 listed skills with a small allowlist; token savings depend on the actual skill inventory.
## Security and privacy
@@ -128,22 +128,22 @@ The optional thin-session path hides most installed skills from the initial mode
- Telemetry: Athena's own scripts add no telemetry. Installed third-party tools have separate policies.
- Recovery: `athena-update` takes a backup and shows a chezmoi diff before applying live configuration changes. Direct bootstrap runs rely on idempotency, Git history, and your normal system backups.
-Read [SECURITY.md](SECURITY.md) before using Athena on a machine with important data.
+Read [SECURITY.md](../SECURITY.md) before using Athena on a machine with important data.
## Documentation
-- [Feature reference](docs/FEATURES.en.md): implemented layers and agent contracts.
-- [Configuration example](athena.config.example.sh): public/private source and manifest paths.
-- [Filesystem contract](rules/structure.md): canonical directory ownership.
-- [Roadmap](specs/00-roadmap.md): completed phases and remaining acceptance work.
-- [Architecture decisions](docs/decisions/): design records, including generic/private merge behavior.
-- [Clean-room protocol](specs/05-clean-room-protocol.md): what the automated render test proves.
-- [Live acceptance](smoke/live-acceptance.md): fresh-Mac and update checklist.
-- [Contributing](CONTRIBUTING.md): setup and required checks.
+- [Feature reference](../docs/FEATURES.en.md): implemented layers and agent contracts.
+- [Configuration example](../athena.config.example.sh): public/private source and manifest paths.
+- [Filesystem contract](../rules/structure.md): canonical directory ownership.
+- [Roadmap](../specs/00-roadmap.md): completed phases and remaining acceptance work.
+- [Architecture decisions](../docs/decisions/): design records, including generic/private merge behavior.
+- [Clean-room protocol](../specs/05-clean-room-protocol.md): what the automated render test proves.
+- [Live acceptance](../smoke/live-acceptance.md): fresh-Mac and update checklist.
+- [Contributing](../CONTRIBUTING.md): setup and required checks.
## Status and known limits
-The repository implements phases 1 through 8 in [the roadmap](specs/00-roadmap.md), including the layered bootstrap, onboarding, local agent contract, parity checks, status snapshot, and weekly report.
+The repository implements phases 1 through 8 in [the roadmap](../specs/00-roadmap.md), including the layered bootstrap, onboarding, local agent contract, parity checks, status snapshot, and weekly report.
Known limits:
@@ -155,7 +155,7 @@ Known limits:
## Contributing
-Read [CONTRIBUTING.md](CONTRIBUTING.md). The short check path is:
+Read [CONTRIBUTING.md](../CONTRIBUTING.md). The short check path is:
```bash
shellcheck -S error bootstrap.sh preinstall.sh smoke/*.sh
@@ -167,4 +167,4 @@ git diff --check
## License
-Athena is available under the [MIT License](LICENSE). Copyright remains with the Athena authors and contributors.
+Athena is available under the [MIT License](../LICENSE). Copyright remains with the Athena authors and contributors.
diff --git a/docs/DETAILS.ru.md b/docs/DETAILS.ru.md
index e507d73..52127a7 100644
--- a/docs/DETAILS.ru.md
+++ b/docs/DETAILS.ru.md
@@ -4,13 +4,13 @@
Athena - переносимая агентная ОС для macOS: собирает окружение Claude Code и Codex из версионируемых шаблонов, манифестов и проверок.
-[English](README.md) | [Справочник функций](docs/FEATURES.ru.md) | [Быстрый старт](#быстрый-старт) | [Безопасность](#безопасность-и-приватность) | [Участие](CONTRIBUTING.md)
+[English](../README.md) | [Справочник функций](../docs/FEATURES.ru.md) | [Быстрый старт](#быстрый-старт) | [Безопасность](#безопасность-и-приватность) | [Участие](../CONTRIBUTING.md)
-
+
-
+
Статус: публичная рабочая реализация для macOS. Автотесты проверяют shell-синтаксис, шаблоны, чистоту репозитория, агентные контракты и generic clean-room рендер. Полную установку на свежий Mac по-прежнему принимают вручную по чеклисту.
@@ -114,9 +114,9 @@ Athena копирует публичное дерево `chezmoi/` в локал
Повторный запуск сходится к тому же состоянию. Guards режут типичные записи в секретные пути и force push в защищённые ветки. Smoke проверяет tracked-файлы, шаблоны, паспорта ролей и паритет Claude/Codex.
-Дотфайлы раскладывает [chezmoi](https://www.chezmoi.io/). Слой знаний использует synthesis-on-write из [встроенного описания метода](skills/setup-os/references/karpathy-method.md), который популяризировал Андрей Карпаты. Название проекта отсылает к Афине, древнегреческой богине мудрости и стратегии.
+Дотфайлы раскладывает [chezmoi](https://www.chezmoi.io/). Слой знаний использует synthesis-on-write из [встроенного описания метода](../skills/setup-os/references/karpathy-method.md), который популяризировал Андрей Карпаты. Название проекта отсылает к Афине, древнегреческой богине мудрости и стратегии.
-Необязательный thin-session режим скрывает большую часть skills из стартового prompt и подбирает короткий список под задачу. Замер в [docs/thin-session.md](docs/thin-session.md) сравнивает около 1400 видимых skills с малым allowlist. Экономия токенов зависит от реального набора.
+Необязательный thin-session режим скрывает большую часть skills из стартового prompt и подбирает короткий список под задачу. Замер в [docs/thin-session.md](../docs/thin-session.md) сравнивает около 1400 видимых skills с малым allowlist. Экономия токенов зависит от реального набора.
## Безопасность и приватность
@@ -128,22 +128,22 @@ Athena копирует публичное дерево `chezmoi/` в локал
- Телеметрия: собственные shell- и Node.js-скрипты Athena её не добавляют. У сторонних инструментов свои правила.
- Восстановление: `athena-update` снимает бэкап и показывает chezmoi diff до правок живой конфигурации. Прямой bootstrap опирается на идемпотентность, историю Git и обычные системные бэкапы.
-Перед установкой на важную машину прочитай [SECURITY.md](SECURITY.md).
+Перед установкой на важную машину прочитай [SECURITY.md](../SECURITY.md).
## Документация
-- [Справочник функций](docs/FEATURES.ru.md): реализованные слои и агентные контракты.
-- [Пример конфигурации](athena.config.example.sh): public/private source и пути манифестов.
-- [Контракт файловой системы](rules/structure.md): кому принадлежат каталоги.
-- [Roadmap](specs/00-roadmap.md): завершённые фазы и оставшаяся приёмка.
-- [Архитектурные решения](docs/decisions/): в том числе generic/private merge.
-- [Clean-room протокол](specs/05-clean-room-protocol.md): что именно доказывает автоматический рендер.
-- [Live acceptance](smoke/live-acceptance.md): чеклист свежего Mac и обновления.
-- [Участие](CONTRIBUTING.md): окружение и обязательные проверки.
+- [Справочник функций](../docs/FEATURES.ru.md): реализованные слои и агентные контракты.
+- [Пример конфигурации](../athena.config.example.sh): public/private source и пути манифестов.
+- [Контракт файловой системы](../rules/structure.md): кому принадлежат каталоги.
+- [Roadmap](../specs/00-roadmap.md): завершённые фазы и оставшаяся приёмка.
+- [Архитектурные решения](../docs/decisions/): в том числе generic/private merge.
+- [Clean-room протокол](../specs/05-clean-room-protocol.md): что именно доказывает автоматический рендер.
+- [Live acceptance](../smoke/live-acceptance.md): чеклист свежего Mac и обновления.
+- [Участие](../CONTRIBUTING.md): окружение и обязательные проверки.
## Статус и ограничения
-В репозитории реализованы фазы 1-8 из [roadmap](specs/00-roadmap.md): слоистый bootstrap, onboarding, local agent contract, parity checks, status snapshot и недельный отчёт.
+В репозитории реализованы фазы 1-8 из [roadmap](../specs/00-roadmap.md): слоистый bootstrap, onboarding, local agent contract, parity checks, status snapshot и недельный отчёт.
Ограничения:
@@ -155,7 +155,7 @@ Athena копирует публичное дерево `chezmoi/` в локал
## Как помочь проекту
-Правила лежат в [CONTRIBUTING.md](CONTRIBUTING.md). Короткий набор проверок:
+Правила лежат в [CONTRIBUTING.md](../CONTRIBUTING.md). Короткий набор проверок:
```bash
shellcheck -S error bootstrap.sh preinstall.sh smoke/*.sh
@@ -167,4 +167,4 @@ git diff --check
## Лицензия
-Athena распространяется по [лицензии MIT](LICENSE). Права сохраняются за авторами и участниками проекта.
+Athena распространяется по [лицензии MIT](../LICENSE). Права сохраняются за авторами и участниками проекта.