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:
@@ -0,0 +1,6 @@
|
||||
---
|
||||
description: Repository rules for every coding agent
|
||||
alwaysApply: true
|
||||
---
|
||||
|
||||
Read AGENTS.md in the repository root before changing anything. It holds the build, test, style, and publication rules for this project.
|
||||
@@ -0,0 +1,3 @@
|
||||
# Agent Instructions
|
||||
|
||||
The rules for this repository live in [AGENTS.md](AGENTS.md). Read that file first, follow it exactly, and do not duplicate its rules here.
|
||||
+58
-2
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"schema_version": 2,
|
||||
"schema_version": 3,
|
||||
"family_id": "zarubinvibe-pantheon",
|
||||
"catalog_version": "2026-08-26",
|
||||
"project": {
|
||||
@@ -10,6 +10,11 @@
|
||||
"visuals": {
|
||||
"style_anchor_sha256": "ce524f9d22cb0092cb17aa280832e1b2ab2a77a0e01602065ec502232a3bb2d2",
|
||||
"column_reference_sha256": "9d32edd56ac55c4dd6d0425a28a2ac35035e9ab09073fc8ce0c1414b2edfb1bd",
|
||||
"presentation": {
|
||||
"min_width": 1600,
|
||||
"aspect_ratio": "16:9",
|
||||
"readme_width": "100%"
|
||||
},
|
||||
"hero": {
|
||||
"source_path": "docs/assets/pantheon/hero.png",
|
||||
"source_sha256": "b403eea6060c1dab5d764d47f9967bbeb11c75afab4bf7272be2328ccfa24997",
|
||||
@@ -21,7 +26,58 @@
|
||||
"source_sha256": "c97c55fc0c609eff23db3c731472e3568c291079b48bb01d1427e195c883430c",
|
||||
"published_path": "docs/assets/pantheon/emblem.png",
|
||||
"published_sha256": "c97c55fc0c609eff23db3c731472e3568c291079b48bb01d1427e195c883430c"
|
||||
}
|
||||
},
|
||||
"stages": [
|
||||
{
|
||||
"id": "specify",
|
||||
"title_en": "Write the specification",
|
||||
"title_ru": "Опишите задачу",
|
||||
"diagram_en": "Specify",
|
||||
"diagram_ru": "Спека"
|
||||
},
|
||||
{
|
||||
"id": "observe",
|
||||
"title_en": "Snapshot the local runtime",
|
||||
"title_ru": "Снимите состояние среды",
|
||||
"diagram_en": "Observe",
|
||||
"diagram_ru": "Разведка"
|
||||
},
|
||||
{
|
||||
"id": "cast",
|
||||
"title_en": "Roles get their people",
|
||||
"title_ru": "Роли получают исполнителей",
|
||||
"diagram_en": "Cast",
|
||||
"diagram_ru": "Роли"
|
||||
},
|
||||
{
|
||||
"id": "architect",
|
||||
"title_en": "Stages, gates, and a graph",
|
||||
"title_ru": "Этапы, ворота и граф",
|
||||
"diagram_en": "Architect",
|
||||
"diagram_ru": "Архитектура"
|
||||
},
|
||||
{
|
||||
"id": "economize",
|
||||
"title_en": "Choose models and cut context",
|
||||
"title_ru": "Выберите модели и срежьте контекст",
|
||||
"diagram_en": "Economize",
|
||||
"diagram_ru": "Экономия"
|
||||
},
|
||||
{
|
||||
"id": "build",
|
||||
"title_en": "Files are written out",
|
||||
"title_ru": "Файлы записываются",
|
||||
"diagram_en": "Build",
|
||||
"diagram_ru": "Сборка"
|
||||
},
|
||||
{
|
||||
"id": "test",
|
||||
"title_en": "A tester returns a verdict",
|
||||
"title_ru": "Тестировщик выдаёт вердикт",
|
||||
"diagram_en": "Test",
|
||||
"diagram_ru": "Проверка"
|
||||
}
|
||||
]
|
||||
},
|
||||
"receipts": {
|
||||
"generation_path": ".github/pantheon/generation-receipt.json",
|
||||
|
||||
@@ -31,3 +31,12 @@ git diff --check
|
||||
```
|
||||
|
||||
The smoke test must end with `ГЕЙТ ПРОЙДЕН ✓`. Review the diff before handoff.
|
||||
|
||||
## Public packaging
|
||||
|
||||
- `README.md` and `README.ru.md` follow the shared family anatomy: promise, badges, wide hero, table of
|
||||
contents, and the ten beginner headings with the ASCII workflow diagram inside `How It Works`.
|
||||
- Workflow stages live in `.github/pantheon.json`. Change the stages there first, then the two READMEs.
|
||||
- `AGENTS.md` holds the rules; `CLAUDE.md`, `GEMINI.md`, `.github/copilot-instructions.md`, and
|
||||
`.cursor/rules/*.mdc` only point here.
|
||||
- Run `public-repo-gate check --repo . --release-intent public` before any push, and fix every blocker.
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
# Agent Instructions
|
||||
|
||||
The rules for this repository live in [AGENTS.md](AGENTS.md). Read that file first, follow it exactly, and do not duplicate its rules here.
|
||||
@@ -1,20 +1,119 @@
|
||||
# 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.
|
||||
Zeuz turns a written specification into a multi-agent workflow with roles, gates, observability, and a verdict.
|
||||
|
||||
[Quickstart](#quickstart) · [Example](#example-run) · [Security](#security-and-privacy) · [Contributing](CONTRIBUTING.md) · [Русский](README.ru.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>
|
||||
[](LICENSE) [](https://github.com/zarubinvibe/zeuz/stargazers) [](https://github.com/zarubinvibe/zeuz) [](https://github.com/zarubinvibe/athena#olympuz-family)
|
||||
|
||||

|
||||
<p align="center"><img src="docs/assets/pantheon/hero.png" alt="Zeus in white marble with a golden lightning bolt beside the classical column, a governed workflow graph unfolding in daylight" width="100%"></p>
|
||||
|
||||
> 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.
|
||||
## Contents
|
||||
|
||||
- [What This Is](#what-this-is)
|
||||
- [Why It Helps](#why-it-helps)
|
||||
- [The Main Advantage](#the-main-advantage)
|
||||
- [How It Works](#how-it-works)
|
||||
- [Quickstart](#quickstart)
|
||||
- [Simple Comparison](#simple-comparison)
|
||||
- [Simple Words](#simple-words)
|
||||
- [Safety And Privacy](#safety-and-privacy)
|
||||
- [Limits](#limits)
|
||||
- [Star And Contribute](#star-and-contribute)
|
||||
|
||||
<!-- beginner-readme:start -->
|
||||
|
||||
## What This Is
|
||||
|
||||
Zeuz is a factory for agent workflows. You give it a complete specification; a sequence of specialist agents designs the system, writes its files, and inspects the result. The output is a new project folder, not a running service.
|
||||
|
||||
## Why It Helps
|
||||
|
||||
Writing a multi-agent system by hand means inventing roles, stages, gates, and logging from scratch every time, and forgetting one of them every time. Zeuz keeps that structure as a repeatable pipeline with a tester at the end.
|
||||
|
||||
## The Main Advantage
|
||||
|
||||
**Main advantage:** the generated system is required to protect irreversible actions with deterministic checks.
|
||||
|
||||
**Why this is better:** The architect and builder prompts demand those checks, and the tester inspects them before returning a verdict. A run reports `done` only when the tester agrees.
|
||||
|
||||
## How It Works
|
||||
|
||||
The pipeline runs as ordered phases inside a workflow host. Each phase has a role, an input, and an artifact you can read.
|
||||
|
||||
<!-- workflow-diagram:start -->
|
||||
|
||||
```text
|
||||
┌───────────┐ ┌───────────┐ ┌───────────┐
|
||||
│ Specify │ ▶ │ Observe │ ▶ │ Cast │
|
||||
└───────────┘ └───────────┘ └───────────┘
|
||||
▼
|
||||
┌───────────┐ ┌───────────┐ ┌───────────┐
|
||||
│ Architect │ ▶ │ Economize │ ▶ │ Build │
|
||||
└───────────┘ └───────────┘ └───────────┘
|
||||
▼
|
||||
┌───────────┐
|
||||
│ Test │
|
||||
└───────────┘
|
||||
```
|
||||
|
||||
<!-- workflow-diagram:end -->
|
||||
|
||||
| Stage | What happens |
|
||||
|---|---|
|
||||
| 1. Specify | Goal, input, completeness invariant, constraints, done-when |
|
||||
| 2. Observe | What is actually available on this machine, written to a log |
|
||||
| 3. Cast | Role definitions and verified personas |
|
||||
| 4. Architect | Parallel boundaries and deterministic gate requirements |
|
||||
| 5. Economize | A model map and context-saving measures per stage |
|
||||
| 6. Build | Agent files, a workflow, a protocol, a router, a plan graph |
|
||||
| 7. Test | Syntax, gates, observability, lineage, personas, dry run |
|
||||
|
||||
### Step 1: Write the specification
|
||||
|
||||
You state the goal, the input, what must never be skipped, the constraints, and how you will know it is done. A missing or very short specification is rejected.
|
||||
|
||||
**You get:** a specification the factory can build against instead of guessing.
|
||||
|
||||
### Step 2: Snapshot the local runtime
|
||||
|
||||
The first phase records a runtime snapshot in a local JSONL file. When an optional tool is missing, the run records that fact instead of pretending.
|
||||
|
||||
**You get:** a written starting point you can look at afterwards.
|
||||
|
||||
### Step 3: Roles get their people
|
||||
|
||||
The cast phase writes role definitions for the future system and the personas behind them. Biographical facts are meant to be checked, not invented.
|
||||
|
||||
**You get:** a named team instead of one anonymous prompt.
|
||||
|
||||
### Step 4: Stages, gates, and a graph
|
||||
|
||||
The architect lays out the stages, marks what can run in parallel, and states which gates must be deterministic. The result is a graph, not prose.
|
||||
|
||||
**You get:** a plan where irreversible steps are fenced before any code exists.
|
||||
|
||||
### Step 5: Choose models and cut context
|
||||
|
||||
Each stage gets a model class and measures that keep context small. Cheap mechanical work does not get an expensive model by default.
|
||||
|
||||
**You get:** a system that is affordable to run more than once.
|
||||
|
||||
### Step 6: Files are written out
|
||||
|
||||
The builder writes the generated project into your output directory: agent files, the workflow source, a protocol, a project router, and a plan graph.
|
||||
|
||||
**You get:** a project folder you can read, diff, and run separately.
|
||||
|
||||
### Step 7: A tester returns a verdict
|
||||
|
||||
The tester inspects the generated system across those dimensions and reports findings. Anything other than a passing verdict returns `needs_fix` with the issues attached.
|
||||
|
||||
**You get:** an honest status instead of a confident-sounding summary.
|
||||
|
||||
## Quickstart
|
||||
|
||||
Requirements: Bash and Node.js.
|
||||
You need Bash and Node.js. The smoke check runs without any model and proves the factory source is still intact.
|
||||
|
||||
```bash
|
||||
git clone https://github.com/zarubinvibe/zeuz.git
|
||||
@@ -22,106 +121,63 @@ cd zeuz
|
||||
bash smoke/smoke.sh
|
||||
```
|
||||
|
||||
The final line should be:
|
||||
No Git? Download [the ZIP](https://github.com/zarubinvibe/zeuz/archive/refs/heads/main.zip) or [the tarball](https://github.com/zarubinvibe/zeuz/archive/refs/heads/main.tar.gz) and run the same check inside. To build something real, register `workflows/zeuz-pipeline.js` with a workflow host that provides `args`, `phase()`, `agent()`, and `log()`, then set `ZEUZ_HOME` and `ZEUZ_PROJECTS`.
|
||||
|
||||
```text
|
||||
ГЕЙТ ПРОЙДЕН ✓
|
||||
```
|
||||
**You get:** the check ends with a passing gate line, which proves the source parses and still carries its required markers.
|
||||
|
||||
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.
|
||||
## Simple Comparison
|
||||
|
||||
## Run it in a host
|
||||
| Choice | Best when | What you get | Trade-off |
|
||||
|---|---|---|---|
|
||||
| **Zeuz** | You build multi-agent systems more than once | Roles, gates, observability, and a tester verdict by default | Needs a workflow host; no bundled runner |
|
||||
| Writing the workflow by hand | One small system | Exactly what you intended | Gates and logging get invented again every time |
|
||||
| An agent framework | You want libraries and a community | Batteries, docs, integrations | You still design the roles, gates, and evidence yourself |
|
||||
| One long agent prompt | A quick experiment | Nothing to set up | No stages, no gates, and no way to see what happened |
|
||||
|
||||
`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.
|
||||
## Simple Words
|
||||
|
||||
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 |
|
||||
| Word | Simple meaning |
|
||||
|---|---|
|
||||
| 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 |
|
||||
| Repository | The project folder that Git stores and versions |
|
||||
| Terminal | The window where you type commands |
|
||||
| Command | One instruction you give the computer |
|
||||
| Branch | A separate line of changes that does not touch `main` |
|
||||
| Pull Request | A request to review your change and accept it |
|
||||
| Workflow host | The program that runs the pipeline and gives agents their tools |
|
||||
| Gate | A check that must pass before an irreversible step is allowed |
|
||||
|
||||
Generated files go under `ZEUZ_PROJECTS/<system-slug>/`. The exact list requested by the build prompt is:
|
||||
## Safety And Privacy
|
||||
|
||||
```text
|
||||
agents/<scientist-slug>.md
|
||||
<system-slug>-pipeline.js
|
||||
PROTOCOL-<system-slug>.md
|
||||
CLAUDE.md
|
||||
runs/<run-id>-plan.dag.json
|
||||
```
|
||||
- File access: build agents are instructed to write under your output directory; snapshots go under the project folder.
|
||||
- Shell access: the observe and test phases run local commands, and your host decides sandboxing and approvals.
|
||||
- Network access: the cast phase asks the host to verify facts online; Zeuz sets no network policy of its own.
|
||||
- Secrets: the repository needs no credentials, and none belong in a specification or a generated artifact.
|
||||
- Telemetry: there is no remote telemetry client; snapshots are local files.
|
||||
- Rollback: Zeuz does not undo generated writes, so use a separate output directory and review the diff.
|
||||
|
||||
The final return value uses `status: "done"` only when the tester returns the verdict `ГОТОВА`. Other verdicts return `status: "needs_fix"` with the reported issues.
|
||||
See [SECURITY.md](SECURITY.md) for the trust boundary and how to report a problem.
|
||||
|
||||
## Gates and evidence
|
||||
## Limits
|
||||
|
||||
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.
|
||||
Status: reference implementation. The repository holds the workflow source, agent prompts, rules, and a static smoke check.
|
||||
|
||||
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.
|
||||
- There is no bundled workflow host adapter and no packaged CLI.
|
||||
- The smoke check inspects source and markers; it does not execute a complete generated system.
|
||||
- Model labels such as haiku, sonnet, and opus must be mapped by your host.
|
||||
- Agent verdicts are model output: treat generated code and claims as untrusted until your own checks pass.
|
||||
- The optional observability binary may be missing, and the run records that instead of failing quietly.
|
||||
|
||||
## Security and privacy
|
||||
Deeper reading: [the full reference](docs/DETAILS.md), [the roadmap](specs/00-roadmap.md), [construction rules](rules/best-practices.md), and the [decision records](docs/decisions/).
|
||||
|
||||
- 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.
|
||||
## Star And Contribute
|
||||
|
||||
See [SECURITY.md](SECURITY.md) for the trust boundary and reporting guidance.
|
||||
Useful? Give Zeuz a star: [https://github.com/zarubinvibe/zeuz](https://github.com/zarubinvibe/zeuz). It takes a second and it decides whether other people ever find the project.
|
||||
|
||||
## Project map
|
||||
Want to change something? The path is short: fork the repository, create a branch, commit your change, push the branch, then open a Pull Request. Do not push directly to `main`; the release gate rejects it.
|
||||
|
||||
| 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 |
|
||||
Found a problem instead? Open an issue at [https://github.com/zarubinvibe/zeuz/issues](https://github.com/zarubinvibe/zeuz/issues) and say what you ran and what happened.
|
||||
|
||||
## 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.
|
||||
<!-- beginner-readme:end -->
|
||||
|
||||
<!-- pantheon-family:start -->
|
||||
## Olympuz family
|
||||
@@ -137,17 +193,6 @@ This is one of the public [Olympuz projects](https://github.com/zarubinvibe/athe
|
||||
| project | Zeuz | Factory that turns an idea into a governed multi-agent workflow with gates, observability, and replay. | [Repository](https://github.com/zarubinvibe/zeuz) · [ZIP](https://github.com/zarubinvibe/zeuz/archive/refs/heads/main.zip) |
|
||||
<!-- pantheon-family:end -->
|
||||
|
||||
## Contributing
|
||||
## License
|
||||
|
||||
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.
|
||||
MIT. See [LICENSE](LICENSE). Zeuz was created by Philipp Zarubin.
|
||||
|
||||
+151
-106
@@ -1,20 +1,119 @@
|
||||
# Zeuz
|
||||
|
||||
Zeuz - фабрика агентных workflow для совместимого host. Она принимает полную спецификацию, затем специалисты проектируют, записывают и проверяют новую многоагентную систему.
|
||||
Zeuz превращает written-спеку в многоагентный workflow с ролями, воротами, наблюдаемостью и вердиктом.
|
||||
|
||||
[Быстрый старт](#быстрый-старт) · [Пример](#пример-запуска) · [Безопасность](#безопасность-и-приватность) · [Участие](CONTRIBUTING.md) · [English](README.md)
|
||||
[English](README.md)
|
||||
|
||||
<p align="center">
|
||||
<img src="docs/assets/pantheon/emblem.png" alt="Эмблема Zeuz: Зевс, золотая молния, граф с воротами и мраморная колонна" width="144">
|
||||
</p>
|
||||
[](LICENSE) [](https://github.com/zarubinvibe/zeuz/stargazers) [](https://github.com/zarubinvibe/zeuz) [](https://github.com/zarubinvibe/athena#olympuz-family)
|
||||
|
||||

|
||||
<p align="center"><img src="docs/assets/pantheon/hero.png" alt="Зевс из белого мрамора с золотой молнией у классической колонны, управляемый граф workflow разворачивается в дневном свете" width="100%"></p>
|
||||
|
||||
> Статус: reference implementation. В репозитории лежат исходник workflow, prompts агентов, правила проектирования и статический smoke-тест. Отдельного runner и полного end-to-end fixture пока нет.
|
||||
## Оглавление
|
||||
|
||||
- [Что это](#что-это)
|
||||
- [Зачем это нужно](#зачем-это-нужно)
|
||||
- [Главное преимущество](#главное-преимущество)
|
||||
- [Как это работает](#как-это-работает)
|
||||
- [Быстрый старт](#быстрый-старт)
|
||||
- [Простое сравнение](#простое-сравнение)
|
||||
- [Простые слова](#простые-слова)
|
||||
- [Безопасность и приватность](#безопасность-и-приватность)
|
||||
- [Ограничения](#ограничения)
|
||||
- [Звезда и вклад](#звезда-и-вклад)
|
||||
|
||||
<!-- beginner-readme:start -->
|
||||
|
||||
## Что это
|
||||
|
||||
Zeuz это фабрика агентных workflow. Вы даёте полную спеку, а дальше цепочка специализированных агентов проектирует систему, пишет её файлы и проверяет результат. На выходе новая папка проекта, а не запущенный сервис.
|
||||
|
||||
## Зачем это нужно
|
||||
|
||||
Писать многоагентную систему руками значит каждый раз заново придумывать роли, этапы, ворота и логи и каждый раз про что-то забывать. Zeuz держит эту структуру повторяемым конвейером, в конце которого стоит тестировщик.
|
||||
|
||||
## Главное преимущество
|
||||
|
||||
**Главное преимущество:** у сгенерированной системы необратимые действия обязаны быть закрыты детерминированными проверками.
|
||||
|
||||
**Почему это лучше:** Промпты архитектора и сборщика требуют этих проверок, а тестировщик смотрит на них до вердикта. Прогон отвечает `done`, только если тестировщик согласен.
|
||||
|
||||
## Как это работает
|
||||
|
||||
Конвейер идёт упорядоченными фазами внутри workflow-хоста. У каждой фазы есть роль, вход и артефакт, который можно прочитать.
|
||||
|
||||
<!-- workflow-diagram:start -->
|
||||
|
||||
```text
|
||||
┌─────────────┐ ┌─────────────┐ ┌─────────────┐
|
||||
│ Спека │ ▶ │ Разведка │ ▶ │ Роли │
|
||||
└─────────────┘ └─────────────┘ └─────────────┘
|
||||
▼
|
||||
┌─────────────┐ ┌─────────────┐ ┌─────────────┐
|
||||
│ Архитектура │ ▶ │ Экономия │ ▶ │ Сборка │
|
||||
└─────────────┘ └─────────────┘ └─────────────┘
|
||||
▼
|
||||
┌─────────────┐
|
||||
│ Проверка │
|
||||
└─────────────┘
|
||||
```
|
||||
|
||||
<!-- workflow-diagram:end -->
|
||||
|
||||
| Этап | Что происходит |
|
||||
|---|---|
|
||||
| 1. Спека | Цель, вход, инвариант полноты, ограничения, критерий готовности |
|
||||
| 2. Разведка | Что реально доступно на этой машине, записано в лог |
|
||||
| 3. Роли | Описания ролей и проверенные персоны |
|
||||
| 4. Архитектура | Границы параллельности и требования к детерминированным воротам |
|
||||
| 5. Экономия | Карта моделей и меры экономии контекста по этапам |
|
||||
| 6. Сборка | Файлы агентов, workflow, протокол, роутер, граф плана |
|
||||
| 7. Проверка | Синтаксис, ворота, наблюдаемость, происхождение, персоны, сухой прогон |
|
||||
|
||||
### Шаг 1: Опишите задачу
|
||||
|
||||
Вы описываете цель, вход, то, что нельзя пропускать, ограничения и признак готовности. Пустая или очень короткая спека отклоняется.
|
||||
|
||||
**Что получится:** спека, по которой фабрика строит, а не догадывается.
|
||||
|
||||
### Шаг 2: Снимите состояние среды
|
||||
|
||||
Первая фаза пишет снимок среды в локальный JSONL. Если необязательного инструмента нет, прогон это записывает, а не делает вид.
|
||||
|
||||
**Что получится:** записанная точка отсчёта, на которую можно посмотреть потом.
|
||||
|
||||
### Шаг 3: Роли получают исполнителей
|
||||
|
||||
Фаза подбора пишет описания ролей будущей системы и персоны за ними. Биографические факты положено проверять, а не выдумывать.
|
||||
|
||||
**Что получится:** названная команда вместо одного безымянного промпта.
|
||||
|
||||
### Шаг 4: Этапы, ворота и граф
|
||||
|
||||
Архитектор раскладывает этапы, отмечает, что можно гнать параллельно, и называет ворота, которые обязаны быть детерминированными. Результат это граф, а не проза.
|
||||
|
||||
**Что получится:** план, где необратимые шаги огорожены ещё до появления кода.
|
||||
|
||||
### Шаг 5: Выберите модели и срежьте контекст
|
||||
|
||||
Каждый этап получает класс модели и меры, которые держат контекст маленьким. Дешёвая механика не получает дорогую модель по умолчанию.
|
||||
|
||||
**Что получится:** система, которую не разорительно запускать больше одного раза.
|
||||
|
||||
### Шаг 6: Файлы записываются
|
||||
|
||||
Сборщик пишет сгенерированный проект в вашу выходную папку: файлы агентов, исходник workflow, протокол, роутер проекта и граф плана.
|
||||
|
||||
**Что получится:** папка проекта, которую можно прочитать, сравнить и запускать отдельно.
|
||||
|
||||
### Шаг 7: Тестировщик выдаёт вердикт
|
||||
|
||||
Тестировщик осматривает собранную систему по этим направлениям и сообщает находки. Любой вердикт, кроме прохождения, возвращает `needs_fix` вместе со списком проблем.
|
||||
|
||||
**Что получится:** честный статус вместо уверенно звучащей сводки.
|
||||
|
||||
## Быстрый старт
|
||||
|
||||
Нужны Bash и Node.js.
|
||||
Нужны Bash и Node.js. Проверка smoke идёт без единой модели и доказывает, что исходник фабрики цел.
|
||||
|
||||
```bash
|
||||
git clone https://github.com/zarubinvibe/zeuz.git
|
||||
@@ -22,106 +121,63 @@ cd zeuz
|
||||
bash smoke/smoke.sh
|
||||
```
|
||||
|
||||
Последняя строка успешной проверки:
|
||||
Нет Git? Скачайте [ZIP](https://github.com/zarubinvibe/zeuz/archive/refs/heads/main.zip) или [tar.gz](https://github.com/zarubinvibe/zeuz/archive/refs/heads/main.tar.gz) и запустите ту же проверку внутри. Чтобы собрать настоящую систему, зарегистрируйте `workflows/zeuz-pipeline.js` в workflow-хосте, который даёт `args`, `phase()`, `agent()` и `log()`, и задайте `ZEUZ_HOME` и `ZEUZ_PROJECTS`.
|
||||
|
||||
```text
|
||||
ГЕЙТ ПРОЙДЕН ✓
|
||||
```
|
||||
**Что получится:** проверка заканчивается строкой пройденного гейта, а это значит, что исходник разбирается и все обязательные маркеры на месте.
|
||||
|
||||
Этот результат подтверждает две вещи. Node разбирает workflow внутри async-обёртки, а в исходнике остались обязательные маркеры observability, DAG, CTX-gate, schema, агентов и раскладки репозитория. Самих агентов smoke не запускает.
|
||||
## Простое сравнение
|
||||
|
||||
## Запуск в host
|
||||
| Вариант | Когда подходит | Что получаете | Минус |
|
||||
|---|---|---|---|
|
||||
| **Zeuz** | Вы собираете многоагентные системы не один раз | Роли, ворота, наблюдаемость и вердикт тестировщика по умолчанию | Нужен workflow-хост, своего раннера нет |
|
||||
| Писать workflow руками | Одна небольшая система | Ровно то, что вы задумали | Ворота и логи придумываются заново каждый раз |
|
||||
| Агентный фреймворк | Нужны библиотеки и сообщество | Готовые куски, документация, интеграции | Роли, ворота и доказательства всё равно проектируете вы |
|
||||
| Один длинный промпт агенту | Быстрый эксперимент | Ничего не надо настраивать | Ни этапов, ни ворот, ни способа увидеть, что произошло |
|
||||
|
||||
`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 маркеры.
|
||||
|
||||
Храни создаваемый проект в отдельном каталоге. Перед публикацией, архивом, переносом или деплоем проверь файлы и запусти его собственные тесты.
|
||||
| Repository | Папка проекта, которую хранит и версионирует Git |
|
||||
| Terminal | Окно, куда вы вводите команды |
|
||||
| Command | Одна инструкция компьютеру |
|
||||
| Branch | Отдельная линия изменений, которая не трогает `main` |
|
||||
| Pull Request | Просьба проверить ваше изменение и принять его |
|
||||
| Workflow host | Программа, которая исполняет конвейер и даёт агентам инструменты |
|
||||
| Gate | Проверка, без которой необратимый шаг не разрешается |
|
||||
|
||||
## Безопасность и приватность
|
||||
|
||||
- Файлы: 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.
|
||||
- Доступ к файлам: агентам сборки предписано писать в вашу выходную папку, снимки среды ложатся в папку проекта.
|
||||
- Shell: фазы разведки и проверки запускают локальные команды, а sandbox и подтверждения решает ваш хост.
|
||||
- Сеть: фаза подбора просит хост проверить факты в сети, собственной сетевой политики у Zeuz нет.
|
||||
- Секреты: репозиторию не нужны доступы, и им не место ни в спеке, ни в сгенерированных файлах.
|
||||
- Телеметрия: удалённого клиента нет, снимки это локальные файлы.
|
||||
- Откат: Zeuz не отменяет записанное, поэтому держите отдельную выходную папку и смотрите diff.
|
||||
|
||||
Граница доверия и порядок сообщения об уязвимостях описаны в [SECURITY.md](SECURITY.md).
|
||||
Границы доверия и порядок сообщения о проблеме описаны в [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 |
|
||||
Статус: эталонная реализация. В репозитории лежат исходник workflow, промпты агентов, правила и статическая проверка smoke.
|
||||
|
||||
## Статус и ограничения
|
||||
- Готового адаптера к workflow-хосту нет, упакованного CLI тоже.
|
||||
- Проверка smoke смотрит исходник и маркеры, а не исполняет собранную систему целиком.
|
||||
- Метки моделей haiku, sonnet и opus ваш хост должен сопоставить сам.
|
||||
- Вердикты агентов это вывод модели: считайте сгенерированный код и утверждения непроверенными, пока не пройдут ваши проверки.
|
||||
- Необязательный бинарь наблюдаемости может отсутствовать, и прогон это записывает, а не падает молча.
|
||||
|
||||
Zeuz пока reference implementation, а не готовый CLI или SDK. Публичного плана релизов в репозитории нет.
|
||||
Глубже: [полный разбор](docs/DETAILS.ru.md), [дорожная карта](specs/00-roadmap.md), [правила сборки](rules/best-practices.md) и [записи решений](docs/decisions/).
|
||||
|
||||
- Адаптера для workflow host в репозитории нет.
|
||||
- Smoke не исполняет полную созданную систему.
|
||||
- Метки моделей `haiku`, `sonnet` и `opus` должен понимать или преобразовывать host.
|
||||
- Вердикты агентов остаются model output. Созданный код и факты требуют независимой проверки.
|
||||
- `abtop` опционален. Если binary недоступен, Observe записывает `abtop_unavailable`.
|
||||
## Звезда и вклад
|
||||
|
||||
Пригодилось? Поставьте Zeuz звезду: [https://github.com/zarubinvibe/zeuz](https://github.com/zarubinvibe/zeuz). Это секунда, а от неё зависит, найдут ли проект другие люди.
|
||||
|
||||
Хотите что-то поправить? Путь короткий: сделайте fork, заведите ветку, оформите commit, отправьте push и откройте Pull Request. Не отправляйте push прямо в `main`: релизный gate его отклонит.
|
||||
|
||||
Нашли ошибку? Заведите issue на [https://github.com/zarubinvibe/zeuz/issues](https://github.com/zarubinvibe/zeuz/issues) и напишите, что запускали и что получилось.
|
||||
|
||||
<!-- beginner-readme:end -->
|
||||
|
||||
<!-- pantheon-family:start -->
|
||||
## Семья Olympuz
|
||||
@@ -137,17 +193,6 @@ Zeuz пока reference implementation, а не готовый CLI или SDK.
|
||||
| проект | Zeuz | Фабрика многоагентных workflow: собирает систему с правилами, гейтами, наблюдаемостью и replay. | [Репозиторий](https://github.com/zarubinvibe/zeuz) · [ZIP](https://github.com/zarubinvibe/zeuz/archive/refs/heads/main.zip) |
|
||||
<!-- pantheon-family:end -->
|
||||
|
||||
## Как помочь проекту
|
||||
## Лицензия
|
||||
|
||||
Прочитай [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.
|
||||
MIT. Текст в файле [LICENSE](LICENSE). Zeuz создал Филипп Зарубин.
|
||||
|
||||
+143
@@ -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>
|
||||
|
||||

|
||||
|
||||
> 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.
|
||||
@@ -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>
|
||||
|
||||

|
||||
|
||||
> Статус: 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.
|
||||
Reference in New Issue
Block a user