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.

Entire-Checkpoint: 01M176RAJ9Z9QWG7AD7YX3GXFB
This commit is contained in:
Зарубин Филипп
2026-08-29 19:48:26 +03:00
parent 2f0fb3166e
commit b2150ffc3f
6 changed files with 48 additions and 51 deletions
+21 -21
View File
@@ -2,12 +2,12 @@
# Mnemazine
🇬🇧 **English** · [🇷🇺 Русский](README.ru.md)
🇬🇧 **English** · [🇷🇺 Русский](../README.ru.md)
<p align="center">
<img src="docs/assets/pantheon/hero.png" width="820" alt="Mnemazine — Mnemosyne, goddess of memory, beside her marble column, distilling raw fragments into a layered knowledge system">
<img src="../docs/assets/pantheon/hero.png" width="820" alt="Mnemazine — Mnemosyne, goddess of memory, beside her marble column, distilling raw fragments into a layered knowledge system">
<br>
<img src="docs/assets/pantheon/emblem.png" width="220" alt="Mnemazine emblem — Mnemosyne and the Pantheon column">
<img src="../docs/assets/pantheon/emblem.png" width="220" alt="Mnemazine emblem — Mnemosyne and the Pantheon column">
</p>
**Mnemazine** is a source-available personal memory system, named after **Mnemosyne**, the Greek goddess of memory and mother of the Muses.
@@ -21,7 +21,7 @@ In practice, Mnemazine takes screenshots, PDFs, web pages, YouTube videos, notes
> Memory, not a dump.
<p align="center">
<img src="docs/assets/hero/mnemazine-synthesis.png" width="760" alt="Synthesis on write: many raw fragments are squeezed through to a single durable note">
<img src="../docs/assets/hero/mnemazine-synthesis.png" width="760" alt="Synthesis on write: many raw fragments are squeezed through to a single durable note">
</p>
## What It Is
@@ -85,7 +85,7 @@ Bypass the prompt in automation with `MNEMAZINE_YES=1 bash install.sh`.
Mnemazine saves tokens by moving work out of repeated LLM context and into durable local structure: parse locally, cache aggressively, store refined atoms, retrieve narrowly.
<p align="center">
<img src="docs/assets/hero/mnemazine-token.png" width="760" alt="Token economics: parse locally, hash cache, store atoms, retrieve narrowly">
<img src="../docs/assets/hero/mnemazine-token.png" width="760" alt="Token economics: parse locally, hash cache, store atoms, retrieve narrowly">
</p>
Typical savings come from:
@@ -206,7 +206,7 @@ The run performs:
11. action brief at `.mnemazine/state/last-action-brief.md`;
12. visual post-run knowledge report in `reports/`.
Under `--deep` only, a final humanize stage rewrites notes into readable Russian and is held by a preservation gate: no number, URL, path, wikilink, code block, frontmatter, or `## Достоверность` line may be lost in the rewrite, or the run fails (`scripts/mnemazine-humanize-gate.mjs`; details in [docs/deep-mode.md](docs/deep-mode.md)). A non-deep run has no digest and no humanize gate — by decision, not accident.
Under `--deep` only, a final humanize stage rewrites notes into readable Russian and is held by a preservation gate: no number, URL, path, wikilink, code block, frontmatter, or `## Достоверность` line may be lost in the rewrite, or the run fails (`scripts/mnemazine-humanize-gate.mjs`; details in [docs/deep-mode.md](../docs/deep-mode.md)). A non-deep run has no digest and no humanize gate — by decision, not accident.
`Mnemazine` / `npm start` is the safe default for real inbox work. The lower-level `npm run run` command is for development and demos.
@@ -320,7 +320,7 @@ python3 scripts/kb-yt-harvest.py "https://www.youtube.com/@SomeChannel" --all --
It pulls subtitles first (near-zero cost) and falls back to local whisper when a video has no usable captions. Each video becomes one inbox note named `yt_<date>_<id>_<title>.md`. A subscribed channel is then polled by `scripts/kb-yt-watch.py` over RSS, harvesting only new uploads, optionally on a daily launchd schedule.
It fetches public videos only and uses no cookies or account sessions by default. See [YouTube Ingestion](docs/youtube-ingestion.md).
It fetches public videos only and uses no cookies or account sessions by default. See [YouTube Ingestion](../docs/youtube-ingestion.md).
## Knowledge Quality Contract
@@ -462,7 +462,7 @@ raw input -> extraction -> understanding -> research -> verification -> atomizat
```
<p align="center">
<img src="docs/assets/hero/mnemazine-pipeline.png" width="820" alt="The Mnemazine pipeline: raw input, extract, verify, synthesize, vault, graph, reuse">
<img src="../docs/assets/hero/mnemazine-pipeline.png" width="820" alt="The Mnemazine pipeline: raw input, extract, verify, synthesize, vault, graph, reuse">
</p>
That matters because a real memory must be reproducible. A note should be able to become:
@@ -513,7 +513,7 @@ and processes it locally; the finished knowledge lives only in your vault.
Lock the bot to yourself. On the first message it logs your `chat_id`; set
`ALLOWED_CHAT_IDS=<your_chat_id>` and restart. An empty allowlist rejects everyone
(fail-closed), so an unconfigured bot ignoring you is expected, not broken. Full
setup: [docs/telegram-intake.md](docs/telegram-intake.md).
setup: [docs/telegram-intake.md](../docs/telegram-intake.md).
## VPS: What It Does and Living Without It
@@ -604,21 +604,21 @@ ready-to-use knowledge, and I read every suggestion.
- If it helped, star it on GitHub; it genuinely matters:
<https://github.com/zarubinvibe/Mnemazine>
- Got an idea to make it better? Open an issue or a PR. Contribution guidance is in
[CONTRIBUTING.md](CONTRIBUTING.md); the security policy is in [SECURITY.md](SECURITY.md).
[CONTRIBUTING.md](../CONTRIBUTING.md); the security policy is in [SECURITY.md](../SECURITY.md).
## Documentation
- [Installation](docs/installation.md)
- [Architecture](docs/architecture.md)
- [Token Economics](docs/token-economics.md)
- [Website Ingestion](docs/site-ingestion.md)
- [YouTube Ingestion](docs/youtube-ingestion.md)
- [Telegram Intake (bot + Mini App)](docs/telegram-intake.md)
- [Obsidian Vault](docs/obsidian.md)
- [Apple Vision OCR](docs/apple-vision.md)
- [Graphify](docs/graphify.md)
- [Weekly HTML Brief](docs/weekly-html.md)
- [Deep Mode (atomization + verification)](docs/deep-mode.md)
- [Installation](../docs/installation.md)
- [Architecture](../docs/architecture.md)
- [Token Economics](../docs/token-economics.md)
- [Website Ingestion](../docs/site-ingestion.md)
- [YouTube Ingestion](../docs/youtube-ingestion.md)
- [Telegram Intake (bot + Mini App)](../docs/telegram-intake.md)
- [Obsidian Vault](../docs/obsidian.md)
- [Apple Vision OCR](../docs/apple-vision.md)
- [Graphify](../docs/graphify.md)
- [Weekly HTML Brief](../docs/weekly-html.md)
- [Deep Mode (atomization + verification)](../docs/deep-mode.md)
## Safety
+20 -20
View File
@@ -2,12 +2,12 @@
# Mnemazine
🇷🇺 **Русский** · [🇬🇧 English](README.md)
🇷🇺 **Русский** · [🇬🇧 English](../README.md)
<p align="center">
<img src="docs/assets/pantheon/hero.png" width="820" alt="Mnemazine — Мнемозина, богиня памяти, у своей мраморной колонны, перегоняет сырые фрагменты в слоистую систему знаний">
<img src="../docs/assets/pantheon/hero.png" width="820" alt="Mnemazine — Мнемозина, богиня памяти, у своей мраморной колонны, перегоняет сырые фрагменты в слоистую систему знаний">
<br>
<img src="docs/assets/pantheon/emblem.png" width="220" alt="Эмблема Mnemazine — Мнемозина и колонна Pantheon">
<img src="../docs/assets/pantheon/emblem.png" width="220" alt="Эмблема Mnemazine — Мнемозина и колонна Pantheon">
</p>
**Mnemazine**: локальная персональная система памяти, названная в честь **Мнемозины**, греческой богини памяти и матери муз.
@@ -21,7 +21,7 @@
> Память, не свалка.
<p align="center">
<img src="docs/assets/hero/mnemazine-synthesis.png" width="760" alt="Синтез на записи: множество сырых фрагментов отжимается в одну долговечную заметку">
<img src="../docs/assets/hero/mnemazine-synthesis.png" width="760" alt="Синтез на записи: множество сырых фрагментов отжимается в одну долговечную заметку">
</p>
## Что это
@@ -84,7 +84,7 @@ MNEMAZINE_SETUP_DRYRUN=1 bash setup.sh
Mnemazine экономит токены, вынося работу из повторяющегося LLM-контекста в долговечную локальную структуру: парсить локально, агрессивно кэшировать, хранить очищенные атомы, извлекать узко.
<p align="center">
<img src="docs/assets/hero/mnemazine-token.png" width="760" alt="Экономика токенов: парсинг локально, hash-кэш, хранение атомов, узкое извлечение">
<img src="../docs/assets/hero/mnemazine-token.png" width="760" alt="Экономика токенов: парсинг локально, hash-кэш, хранение атомов, узкое извлечение">
</p>
Типичная экономия складывается из:
@@ -308,7 +308,7 @@ python3 scripts/kb-yt-harvest.py "https://www.youtube.com/@SomeChannel" --all --
Сначала он берёт субтитры (почти нулевая стоимость) и откатывается на локальный whisper, когда у видео нет пригодных субтитров. Каждое видео становится одной заметкой в inbox с именем `yt_<date>_<id>_<title>.md`. Подписанный канал затем опрашивается `scripts/kb-yt-watch.py` по RSS, забирая только новые загрузки, опционально по ежедневному расписанию launchd.
Он забирает только публичные видео и по умолчанию не использует cookie или сессии аккаунта. См. [Парсинг YouTube](docs/youtube-ingestion.ru.md).
Он забирает только публичные видео и по умолчанию не использует cookie или сессии аккаунта. См. [Парсинг YouTube](../docs/youtube-ingestion.ru.md).
## Контракт качества знаний
@@ -450,7 +450,7 @@ Mnemazine: это не «второй мозг» как лозунг про хр
```
<p align="center">
<img src="docs/assets/hero/mnemazine-pipeline.png" width="820" alt="Конвейер Mnemazine: сырьё, извлечение, проверка, синтез, vault, граф, переиспользование">
<img src="../docs/assets/hero/mnemazine-pipeline.png" width="820" alt="Конвейер Mnemazine: сырьё, извлечение, проверка, синтез, vault, граф, переиспользование">
</p>
Это важно, потому что настоящая память должна быть воспроизводимой. Заметка должна уметь стать:
@@ -501,7 +501,7 @@ Mnemazine: это не «второй мозг» как лозунг про хр
Закрой бота на себя. На первом сообщении он логирует твой `chat_id`; поставь
`ALLOWED_CHAT_IDS=<твой_chat_id>` и перезапусти. Пустой список отвергает всех
(fail-closed), поэтому ненастроенный бот, который тебя игнорирует, это ожидаемо,
а не поломка. Полная настройка: [docs/telegram-intake.ru.md](docs/telegram-intake.ru.md).
а не поломка. Полная настройка: [docs/telegram-intake.ru.md](../docs/telegram-intake.ru.md).
## VPS: что он делает и как жить без него
@@ -593,21 +593,21 @@ inbox. Не переноси их руками, почини причину и
- Если зашло, поставь звезду на GitHub, мне это правда важно:
<https://github.com/zarubinvibe/Mnemazine>
- Есть идея, как сделать лучше? Открой issue или PR. Как контрибьютить, смотри
[CONTRIBUTING.md](CONTRIBUTING.md); политика безопасности расписана в [SECURITY.md](SECURITY.md).
[CONTRIBUTING.md](../CONTRIBUTING.md); политика безопасности расписана в [SECURITY.md](../SECURITY.md).
## Документация
- [Установка](docs/installation.ru.md)
- [Архитектура](docs/architecture.ru.md)
- [Экономика токенов](docs/token-economics.ru.md)
- [Парсинг сайтов](docs/site-ingestion.ru.md)
- [Парсинг YouTube](docs/youtube-ingestion.ru.md)
- [Приём через Telegram (бот + Mini App)](docs/telegram-intake.ru.md)
- [Obsidian-vault](docs/obsidian.ru.md)
- [Apple Vision OCR](docs/apple-vision.ru.md)
- [Graphify](docs/graphify.ru.md)
- [Еженедельный HTML-брифинг](docs/weekly-html.ru.md)
- [Deep-режим (атомизация + проверка)](docs/deep-mode.ru.md)
- [Установка](../docs/installation.ru.md)
- [Архитектура](../docs/architecture.ru.md)
- [Экономика токенов](../docs/token-economics.ru.md)
- [Парсинг сайтов](../docs/site-ingestion.ru.md)
- [Парсинг YouTube](../docs/youtube-ingestion.ru.md)
- [Приём через Telegram (бот + Mini App)](../docs/telegram-intake.ru.md)
- [Obsidian-vault](../docs/obsidian.ru.md)
- [Apple Vision OCR](../docs/apple-vision.ru.md)
- [Graphify](../docs/graphify.ru.md)
- [Еженедельный HTML-брифинг](../docs/weekly-html.ru.md)
- [Deep-режим (атомизация + проверка)](../docs/deep-mode.ru.md)
## Безопасность