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.
Chinese joins English and Russian, so the page a reader lands on is the same
shape in every language: promise, badges, wide hero, contents, and the ten
beginner headings with the ASCII workflow diagram.
The three files are no longer written by hand. Prose lives in
.github/readme.json, the workflow stages live in .github/pantheon.json, and
Heztia renders README.md, README.ru.md and README.zh.md from that data. Stage
titles and diagram labels gained their Chinese variants, and the generated
Olympuz family table renders in Chinese too.
public-repo-gate check --release-intent public: PASS 100/80.
A public repository must never hold its own agent sessions, and the work still
has to be reproducible. Entire is enabled here with a separate private
checkpoint repository, hooks for Claude Code and Codex, and the git-refs
checkpoint backend.
The release gate now enforces this before any public push: tracked
.entire/settings.json, tracking enabled, automatic session pushing on, and a
checkpoint repository that exists, is separate from this repository, and is
private. Unknown visibility fails closed.
Rebuild both READMEs on the packaging patterns the most downloaded
vibe-coding repositories use, in the same order across the whole family:
one-line promise, badges, wide hero at full width, table of contents, and
ten fixed beginner headings.
- How It Works now carries an ASCII workflow diagram, a stage table, and one
step per stage, each ending with a plain "you get" line;
- Quickstart offers three real install or download paths;
- honest four-column comparison, glossary, safety, limits, star ask, and the
fork -> branch -> commit -> push -> Pull Request path;
- workflow stages are declared in .github/pantheon.json (schema 3) with short
diagram labels; the wide stage image series is still pending;
- CLAUDE.md, GEMINI.md, .github/copilot-instructions.md and .cursor/rules
point every coding agent at AGENTS.md;
- the previous long README is preserved as docs/DETAILS.md and DETAILS.ru.md.
public-repo-gate check --release-intent public: PASS 100/80.
git log --full-history in CI sees the merge commit's both parents —
the main-branch parent carries old personal-email commits from before
the noreply migration, causing a false positive.
Fix: detect merge commit (HEAD^2 = PR tip, HEAD^1 = main tip) and use
HEAD^1..HEAD^2 range; fall back to merge-base..HEAD locally.
Also set fetch-depth: 0 in CI so merge-base is available.
Шаг 0.1 setup-os: язык общения — до установки и грилла (был поздно, в P1).
Выбор → references/owner.md + CLAUDE.md (Правила НИКОГДА: «язык не менять без явной просьбы»).
Артефакты системы остаются English-first; выбор задаёт язык ОБЩЕНИЯ, не код/контракты.
Зеркало root⊆chezmoi идентично (E10-гард), smoke зелёный.
Claude Code injects every personal skill name (~1.4k skills → ~11k tokens) into
each session. Thin session hides the bulk via native skillOverrides
(user-invocable-only) and surfaces the top-5 relevant skills per prompt — saving
~11k tokens/session while keeping every skill reachable by /name.
- gen-skill-overrides.mjs: writes the skillOverrides hide-map (allowlist editable)
- skill-router.mjs: UserPromptSubmit hook, per-prompt top-5, fail-open + guarded
- athena-research: manual router skill
- build-skill-index.mjs: index now scans ~/.claude/skills + dedupes parity copies
- route-skills.mjs / build_registry.py: usage/frequency removed from ranking
(still collected for analytics; ranking is quality-led)
- settings.json.tmpl: register the hook; bootstrap Layer 2 runs the generator so
thin session is on by default for fresh installs
- docs/thin-session.md + README: what it is, how it saves tokens, how to revert
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
11 файлов zh-перевода common-правил. Владелец русскоязычный, zh не читается
никогда → dead weight в Сознании. roadmap-счётчик 20→19 наборов (common/web
+ 17 языков). Внутренних ссылок на zh в каноне нет (только сам zh/ + arkts
Chinese-comment, не связано). Живой ~/.claude/rules/ecc/zh уйдёт штатным
chezmoi apply (athena-update, с согласия).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Живой P1: chezmoi.toml отсутствовал, init --source путь не запекал (нет
config-шаблона в source) → chezmoi source-path резолвил дефолт
~/.local/share/chezmoi (пусто, 0 managed) вместо athena-merged-source (241).
Эффект: skill athena-update делал bare chezmoi diff → тихо-пусто (ложный нет
дрейфа), apply бил в пустой source. Онбординг/апдейт Сознания сломаны.
Фикс:
- bootstrap Слой 1 пишет ~/.config/chezmoi/chezmoi.toml с sourceDir=MERGED
→ после bootstrap bare chezmoi работает без --source (простой онбординг).
- athena-update preflight: проверяет source-path = merged-source, иначе варн.
- smoke-гард анти-регресс. Живая машина пофикшена напрямую (toml записан).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Правила 1/2/3 ловили упоминание секрет-токена в строке-литерале (echo, и
особенно git commit с текстом про force-push / redirect / secret-path), не
исполнение. Самоблок проявился сразу на коммите про сам guard.
Гейт-0 benign: команда без SEP (chaining или command-substitution) и
- git commit/tag -> пропуск (токен в сообщении, redirect безвреден), либо
- echo/printf без redirect -> пропуск.
Деструктив (реальный force-push, чтение секрета, запись в .env, любое
chained/subst) ловится как раньше. Тест-харнес 11 кейсов в smoke.sh.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
C1 (P0): убран ведущий слэш в permissions.deny — Read(/{{homeDir}}/...) рендерился
в Read(//Users/...) (double-slash), glob НЕ матчил → SSH/secrets/gh-creds читаемы
у каждого юзера. + hard Write/Edit-deny на ssh/secrets/*.pem/*.key/*.ovpn/mcp.json.
dry-validate ловит double-slash навсегда.
C2 (P0): hooks/bash-guard.sh + matcher Bash — закрыт exec-gap (security-guard ловил
только Write|Edit, Bash проходил мимо). Блок: запись в секрет-пути через
redirect/tee/cp, force-push в main/master, чтение секретов в shell-вывод.
smoke: 7 функц-тестов.
C3 (P1/P2): мёртвые ссылки в каноне — kb-classify→kb-pipeline (structure.md §9 +
organize), sgai validate→generic web-каскад (user-template). smoke-гард: lockstep-
скиллы из §9 ∃ на диске + нет kb-classify-дрейфа.
Источник: рой-аудит (57 находок) + майнинг vault. shellcheck 0 · dry-validate OK · SMOKE OK.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
E10: скиллы athena деплоятся юзеру через chezmoi/dot_claude/skills/, но
правки садились только в root skills/ → юзер получал старое/ничего:
- setup-os deployed был СТАРЫЙ (без нуб-пути PR #1: A0, опрос интеграций,
preinstall-чек, грилл P1–P5) → синхронизирован root→chezmoi + 2 asset
грилла (interview-rubric, composition-principles).
- athena-update ВООБЩЕ отсутствовал в chezmoi → скопирован (юзер получает
update-скилл).
Мнемозина: setup-os Финал предлагает попапом поставить подсистему памяти
из projects.manifest — свежак из github (clone HEAD / pull --ff-only),
затем install.sh. URL из манифеста, не хардкод.
Анти-регресс: smoke-гард root skills/ ⊆ chezmoi (каждый root-скилл = идент.
deployed-копия; chezmoi может нести deploy-only как self-learning).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Дрейф эталона устранён: structure.md обещает форму проекта, но starter
нёс пустые .gitkeep. Теперь:
- specs/src/evals/docs — короткий README с назначением (юзер видит, что
класть) вместо немого .gitkeep.
- + INDEX.md (роутер по проекту, structure.md rule 5); CLAUDE.md упоминает.
- удалены стрэй root src/.gitkeep evals/.gitkeep (athena-os не приложение,
0 ссылок, не в карте).
business/ai-clone/plans — личная канва владельца, в generic-public эталон
не включены (приходят адаптацией bootstrap-project / из overlay).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Описание соответствует структуре:
- манифесты: публично трекаются *.manifest.example + plugins.manifest
(дженерик); реальные projects/tools.manifest gitignored, из overlay.
Раньше карта называла gitignored-файлы как присутствующие.
- убран дубль строки про projects.manifest; в catch-all добавлены
Brewfile + athena.config.example.sh (были не описаны).
- lint-команда += preinstall.sh (линтуется, но в команде отсутствовал).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
P0/P1 (срыв установки у нуба):
- preinstall.sh: xcode-select --install теперь блокирует до завершения CLT
- preinstall.sh: финал клонирует репо в ~/athena до cd (был no such file)
- preinstall.sh: brew-PATH детектит Intel (/usr/local) + ARM (/opt/homebrew)
- preinstall.sh: Homebrew curl-фейл → внятный баннер+exit, не пустой терминал
- preinstall.sh: npm claude-code пиновка версии (supply-chain)
- bootstrap.sh: phase 1 → 1b в layer1b_plugins (--only=1b больше не no-op, E6)
- bootstrap.sh: провал git clone → warn+лог, не ложная зелёная галочка
Косметика паритета/аудит-тулинга:
- smoke.sh: PERSONAL_RE +Filipp +7teenno1 (латиница/старый email)
- dry-validate.sh: python3 → node (гарантирован preinstall, не падает на чистом Mac)
- 5 новых labeled-диаграмм (nano_banana_pro, текст рендерится чётко): journey · planes ·
layers · merge · token — все в light-marble стиле по hero-референсу (сова сквозная)
- ВЕСЬ mermaid удалён из README EN/RU (рендерился тёмным у юзера = 'половина чёрных')
- каждая секция: атмосфера-иллюстрация + labeled-диаграмма, всё Higgsfield, всё светлое
- 11 визуалов всего, единый стиль, без code-блоков схем
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
schemastore.org/claude-code-settings.json (verified 200) → IDE автодополняет/валидирует
permissions/hooks/env. В chezmoi-каноне (.tmpl) и claude-starter эталоне.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
- bootstrap layer1: sed $HOME/→~/ в SHARED-SKILLS после apply (реверт-мутация
агентами, шаблон не лечит; scope строго реестр-док, AGENTS.md homeDir-литерал не тронут)
- smoke: chk source реестра без hardcode /Users/ (анти-регресс)
- roadmap: KGB-19 решено (Мнемозина/Mnemazine оба канон, не санитайз); ECC 20 наборов (был 21)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Группировка usage по message.model: блок на модель (input/output/
cache-write/cache-read/всего/≈$), сортировка по убыванию трат, затем
общий ИТОГО. Стоимость по корректным per-model rates (Opus/Sonnet/
Haiku), не плоский Opus. Synthetic-сообщения отфильтрованы.
Даёт визуальную проверку правила «качество-на-токен»: куда реально
ушёл бюджет по tier'ам. Live синхронизирован (бэкап .bak-permodel-*).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
4 чека: оба скрипта в каноне + SessionEnd зарегистрирован +
session-token-log проведён на SessionEnd. Дыра 5915499 не вернётся
незамеченной.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
session-token-log.sh + token-spend.sh мигрированы live → канон
(chezmoi/dot_claude/scripts/, executable_-префикс). Добавлен
SessionEnd-хук в settings.json.tmpl (portable {{.chezmoi.homeDir}},
async, как live). Канон-жнец (7482e48) опирался на эти скрипты через
guard — на новом Mac учёт молча ломался: скриптов нет + хук не проведён.
Оба скрипта чисты ($HOME, ноль хардкода/личного). dry-validate +
smoke зелёные, settings.json рендерится валидным.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
SessionEnd-хук (async) не успевает при kill -TERM жнеца → token-расход
reaped-сессий не логировался (находка с11: сессия 10 потеряна).
- tx_path() — общий хелпер (cwd→projects-dir→jsonl), шарится с is_rate_limited (DRY)
- log_token_spend() перед kill: feeds JSON в session-token-log.sh
- guard на наличие логгера → generic-каркас валиден без live-слоя
Wiring доказан. Паритет-дыра: session-token-log.sh/token-spend.sh ещё
live-only (не в каноне) — кандидат на миграцию.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>