docs: beginner-first README on the shared family anatomy

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.
This commit is contained in:
Зарубин Филипп
2026-08-29 18:53:20 +03:00
parent 66d7277091
commit bc84fe06d6
9 changed files with 664 additions and 211 deletions
+143
View File
@@ -0,0 +1,143 @@
> Long-form reference kept from the previous README. The short beginner page lives in [README.md](../README.md).
# Zeuz
Zeuz is a workflow factory for agent harnesses. Given a complete specification, it asks a sequence of specialist agents to design, write, and inspect a new multi-agent workflow system.
[Quickstart](#quickstart) · [Example](#example-run) · [Security](#security-and-privacy) · [Contributing](CONTRIBUTING.md) · [Русский](README.ru.md)
<p align="center">
<img src="docs/assets/pantheon/emblem.png" alt="Zeuz emblem with Zeus, a golden lightning bolt, a gated workflow graph, and a marble column" width="144">
</p>
![Zeuz Pantheon hero showing Zeus beside a gated workflow graph and a classical marble column](docs/assets/pantheon/hero.png)
> Current status: reference implementation. The repository includes the workflow source, agent prompts, design rules, and a static smoke test. It does not include a standalone runner or a full end-to-end fixture.
## Quickstart
Requirements: Bash and Node.js.
```bash
git clone https://github.com/zarubinvibe/zeuz.git
cd zeuz
bash smoke/smoke.sh
```
The final line should be:
```text
ГЕЙТ ПРОЙДЕН ✓
```
That result proves that Node can parse the workflow inside its async wrapper and that the factory source still contains the required observability, DAG, context-gate, schema, agent, and repository-layout markers. It does not run the specialist agents.
## Run it in a host
`workflows/zeuz-pipeline.js` expects a workflow host that provides `args`, `phase()`, `agent()`, and `log()`. The host must also support structured agent output through the `schema` option.
Point Zeuz at the checkout and choose a parent directory for generated projects:
```bash
export ZEUZ_HOME="$PWD"
export ZEUZ_PROJECTS="$PWD/../zeuz-output"
```
Register `workflows/zeuz-pipeline.js` with the host, then invoke it with a complete specification:
```js
Workflow({
name: 'zeuz-pipeline',
args: `
Goal: build a workflow that reviews release notes before publication.
Input: Markdown files, up to 50 per run.
Completeness invariant: every input file has a recorded verdict.
Constraints: no publication without approval; keep an audit trail.
Done when: the ledger contains one verdict for every input file.
`.trim(),
})
```
The pipeline rejects a missing or very short specification. The interactive `/grill-me` step named in the agent instructions belongs to the host setup and is not shipped in this repository.
## Example run
The workflow moves through these phases:
| Phase | What the checked-in source asks the agent to produce |
|---|---|
| Observe | A local runtime snapshot in `runs/_observability.jsonl`; `abtop` is optional |
| Cast | Role definitions and verified scientist personas |
| Architect | Stages, parallel boundaries, deterministic gate requirements, and a graph |
| Economize | A model map and context-saving measures for each stage |
| Build | Agent files, a workflow, a protocol, `CLAUDE.md`, and a plan DAG |
| Test | Syntax, gate, observability, lineage, persona, and dry-run findings plus a verdict |
Generated files go under `ZEUZ_PROJECTS/<system-slug>/`. The exact list requested by the build prompt is:
```text
agents/<scientist-slug>.md
<system-slug>-pipeline.js
PROTOCOL-<system-slug>.md
CLAUDE.md
runs/<run-id>-plan.dag.json
```
The final return value uses `status: "done"` only when the tester returns the verdict `ГОТОВА`. Other verdicts return `status: "needs_fix"` with the reported issues.
## Gates and evidence
The architect and builder prompts require generated workflows to protect irreversible actions with deterministic checks. The tester prompt inspects those checks before returning a verdict. The factory's own smoke test is narrower: it checks source syntax and invariant markers with `node --check`, file checks, and fixed-string searches.
For reviewable evidence, keep the generated project in a separate directory, inspect its files, and run its own tests before allowing publish, archive, move, or deployment actions.
## Security and privacy
- File access: build agents are instructed to write under `ZEUZ_PROJECTS`; observability writes under `ZEUZ_HOME/runs`.
- Shell access: the Observe and Test prompts invoke local commands. The host decides sandboxing and approvals.
- Network access: the Cast prompt asks the host to verify biographical facts on the web. Zeuz does not configure network policy.
- Secrets: the repository needs no credentials. Do not place secrets in specifications or generated artifacts.
- Telemetry: Zeuz contains no remote telemetry client. Runtime snapshots are local JSONL files.
- Approvals: the repository describes approval gates but cannot enforce host permissions by itself.
- Rollback: Zeuz does not undo generated writes. Use an isolated output directory and review the diff before accepting it.
See [SECURITY.md](SECURITY.md) for the trust boundary and reporting guidance.
## Project map
| Path | Purpose |
|---|---|
| `workflows/zeuz-pipeline.js` | Executable workflow source for a compatible host |
| `agents/` | Prompts for the controller and six specialist roles |
| `rules/best-practices.md` | Repository-local construction policy passed to agents |
| `specs/00-roadmap.md` | Phase map and role ownership |
| `docs/decisions/` | Architecture decision records |
| `smoke/smoke.sh` | Static syntax and invariant check |
| `CLAUDE.md` | Project router for compatible coding-agent sessions |
## Status and limits
Zeuz is a reference implementation, not a packaged CLI or SDK. No public release schedule is committed.
- The repository has no bundled workflow host adapter.
- The smoke test does not execute a complete generated system.
- Model labels such as `haiku`, `sonnet`, and `opus` must be understood or mapped by the host.
- Agent verdicts remain model output. Treat generated code and claims as untrusted until independent checks pass.
- `abtop` is optional; the Observe step records `abtop_unavailable` when it cannot run the binary.
## Contributing
Read [CONTRIBUTING.md](CONTRIBUTING.md), keep changes scoped, and run:
```bash
bash smoke/smoke.sh
git diff --check
```
## Attribution and license
Zeuz was created by Philipp Zarubin. The original workflow structure, agent personas, and earlier repository artwork remain in the project history and tracked assets.
Licensed under the [MIT License](LICENSE). Copyright (c) 2026 Philipp Zarubin.
+143
View File
@@ -0,0 +1,143 @@
> Long-form reference kept from the previous README. The short beginner page lives in [README.md](../README.md).
# Zeuz
Zeuz - фабрика агентных workflow для совместимого host. Она принимает полную спецификацию, затем специалисты проектируют, записывают и проверяют новую многоагентную систему.
[Быстрый старт](#быстрый-старт) · [Пример](#пример-запуска) · [Безопасность](#безопасность-и-приватность) · [Участие](CONTRIBUTING.md) · [English](README.md)
<p align="center">
<img src="docs/assets/pantheon/emblem.png" alt="Эмблема Zeuz: Зевс, золотая молния, граф с воротами и мраморная колонна" width="144">
</p>
![Светлый Pantheon hero Zeuz: Зевс рядом с управляемым графом workflow и классической колонной](docs/assets/pantheon/hero.png)
> Статус: reference implementation. В репозитории лежат исходник workflow, prompts агентов, правила проектирования и статический smoke-тест. Отдельного runner и полного end-to-end fixture пока нет.
## Быстрый старт
Нужны Bash и Node.js.
```bash
git clone https://github.com/zarubinvibe/zeuz.git
cd zeuz
bash smoke/smoke.sh
```
Последняя строка успешной проверки:
```text
ГЕЙТ ПРОЙДЕН ✓
```
Этот результат подтверждает две вещи. Node разбирает workflow внутри async-обёртки, а в исходнике остались обязательные маркеры observability, DAG, CTX-gate, schema, агентов и раскладки репозитория. Самих агентов smoke не запускает.
## Запуск в host
`workflows/zeuz-pipeline.js` рассчитан на workflow host, где доступны `args`, `phase()`, `agent()` и `log()`. Host должен уметь передавать агенту JSON Schema через опцию `schema`.
Укажи checkout Zeuz и родительский каталог для создаваемых проектов:
```bash
export ZEUZ_HOME="$PWD"
export ZEUZ_PROJECTS="$PWD/../zeuz-output"
```
Зарегистрируй `workflows/zeuz-pipeline.js` в host и передай полную спецификацию:
```js
Workflow({
name: 'zeuz-pipeline',
args: `
Цель: собрать workflow для проверки release notes перед публикацией.
Вход: Markdown-файлы, до 50 за один прогон.
Инвариант полноты: у каждого входного файла записан вердикт.
Ограничения: публикация только после approval; нужен audit trail.
Готово: ledger содержит один вердикт на каждый входной файл.
`.trim(),
})
```
Pipeline отклоняет пустую или слишком короткую спецификацию. Интерактивный шаг `/grill-me`, указанный в prompts агентов, относится к настройке host и в этот репозиторий не входит.
## Пример запуска
Фазы workflow:
| Фаза | Что требует исходник от агента |
|---|---|
| Observe | Локальный runtime snapshot в `runs/_observability.jsonl`; `abtop` опционален |
| Cast | Роли и проверенные биографии учёных для персон агентов |
| Architect | Стадии, границы параллельной работы, требования к воротам и граф |
| Economize | Карта моделей и способы экономить контекст на каждой стадии |
| Build | Файлы агентов, workflow, протокол, `CLAUDE.md` и plan DAG |
| Test | Проверки синтаксиса, ворот, observability, lineage, персон и dry-run, затем вердикт |
Новая система записывается в `ZEUZ_PROJECTS/<system-slug>/`. Build prompt запрашивает такой комплект:
```text
agents/<scientist-slug>.md
<system-slug>-pipeline.js
PROTOCOL-<system-slug>.md
CLAUDE.md
runs/<run-id>-plan.dag.json
```
Финальный ответ получает `status: "done"`, только если испытатель вернул `ГОТОВА`. При другом вердикте pipeline отдаёт `status: "needs_fix"` и список найденных проблем.
## Ворота и доказательства
Prompts архитектора и строителя требуют закрывать необратимые действия детерминированными проверками. Prompt испытателя ищет эти проверки перед вердиктом. Smoke самой фабрики проверяет меньше: `node --check`, наличие файлов и обязательные fixed-string маркеры.
Храни создаваемый проект в отдельном каталоге. Перед публикацией, архивом, переносом или деплоем проверь файлы и запусти его собственные тесты.
## Безопасность и приватность
- Файлы: build-агенты получают команду писать в `ZEUZ_PROJECTS`, observability пишет в `ZEUZ_HOME/runs`.
- Shell: prompts Observe и Test запускают локальные команды. Sandbox и approvals настраивает host.
- Сеть: Cast просит host проверить биографические факты через веб. Zeuz не задаёт сетевую политику.
- Секреты: репозиторию не нужны credentials. Не клади секреты в спецификацию и создаваемые артефакты.
- Телеметрия: удалённого telemetry client нет. Runtime snapshots остаются в локальном JSONL.
- Подтверждения: репозиторий описывает ворота, но сам не управляет правами host.
- Откат: автоматического undo нет. Используй изолированный output-каталог и проверяй diff.
Граница доверия и порядок сообщения об уязвимостях описаны в [SECURITY.md](SECURITY.md).
## Карта проекта
| Путь | Назначение |
|---|---|
| `workflows/zeuz-pipeline.js` | Workflow для совместимого host |
| `agents/` | Prompts контролёра и шести специалистов |
| `rules/best-practices.md` | Локальные правила сборки, которые получают агенты |
| `specs/00-roadmap.md` | Фазы и владельцы ролей |
| `docs/decisions/` | Архитектурные решения |
| `smoke/smoke.sh` | Статическая проверка синтаксиса и маркеров |
| `CLAUDE.md` | Роутер проекта для совместимых coding-agent sessions |
## Статус и ограничения
Zeuz пока reference implementation, а не готовый CLI или SDK. Публичного плана релизов в репозитории нет.
- Адаптера для workflow host в репозитории нет.
- Smoke не исполняет полную созданную систему.
- Метки моделей `haiku`, `sonnet` и `opus` должен понимать или преобразовывать host.
- Вердикты агентов остаются model output. Созданный код и факты требуют независимой проверки.
- `abtop` опционален. Если binary недоступен, Observe записывает `abtop_unavailable`.
## Как помочь проекту
Прочитай [CONTRIBUTING.md](CONTRIBUTING.md), не раздувай scope и запусти:
```bash
bash smoke/smoke.sh
git diff --check
```
## Авторство и лицензия
Zeuz создал Philipp Zarubin. Исходная структура workflow, персоны агентов и ранние иллюстрации остаются в истории Git и каталоге `docs/assets/`.
Код распространяется по [MIT License](LICENSE). Copyright (c) 2026 Philipp Zarubin.