Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 11 additions & 16 deletions QUICKSTART.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,12 @@ First follow the [installation guide](docs/getting-started/installation.md)
and check the [requirements](docs/requirements.md). You can use the Python CLI
without MCP or a background service.

If you use Codex with MCP, register ProcessForge once for that host/user:
If your agent supports stdio MCP, configure its client to launch the PF server
with the installed Python interpreter and the workplace path. The client starts
one process for each connection. The [MCP setup guide](docs/getting-started/runtime-autostart.md)
gives the command and arguments. The CLI also works directly.

```bash
python <processforge-root>/bin/pf.py codex-mcp install --workplace <workplace-root> --apply
```

Codex then owns and starts one connected stdio MCP child for each host
connection. Do not start MCP manually. If your Forge coordination needs the
background service on Windows, install one Runtime task for the workplace:
If your Forge workplace needs a background service on Windows, install its Runtime task.

```powershell
python <processforge-root>/bin/pf.py runtime autostart install --workplace <workplace-root> --apply
Expand All @@ -33,7 +30,7 @@ See the [agent runbook](docs/getting-started/agent-prompts.md) for the full cycl
| Runtime service | Optional for local CLI and Garage MCP | Required for the Forge MCP backend |
| MCP | Host starts stdio when selected | Host starts stdio and connects to Runtime |
| Ledger session | Project context and Work operations accept project/Work selectors | Session views require a bound Ledger session |
| Codex hooks | Optional collection via `runtime.garage_hooks` | Project initialization prepares the handlers on a workplace with an `organized` default |
| Host event hooks | Optional collection via `runtime.garage_hooks` | Setup on an `organized` workplace depends on the installed adapter and host. [Hook support](docs/guides/forge-init-hooks.md) |
| Director | No | Yes when coordination requires it |
| Runtime autostart | Not needed | Optional when using the service |

Expand Down Expand Up @@ -77,9 +74,8 @@ as a project unless I explicitly select it for project onboarding.

In automatic mode, the agent first explains what is where and what role it has,
proposes a setup scenario, gets approval, and only then applies changes.
Agent configuration folders such as `.codex`, `.claude`, `.agents`, or custom
names may become instruction or knowledge sources; they are not projects by
name or by launch location.
An agent configuration directory can supply shared instructions or knowledge.
Choose project directories explicitly when onboarding.

## 4. Create Shared Resources

Expand Down Expand Up @@ -224,7 +220,6 @@ For update checks, start with `python bin/pf.py update candidates refresh
--confirm`, or `rollback` as documented in
`docs/getting-started/update-system.md`.

Do not copy the whole ProcessForge repository into `.codex`, `.claude`,
`.agents`, or similar agent configuration folders. Install ProcessForge once as
a tool and tell the agent where it is installed; project-specific instructions
use root `AGENTS.md` (explicit `.pf/AGENTS.md` fallback in an unmigrated project). See [entry compatibility](docs/concepts/agent-entry.md); a pointer is not delivery proof.
Install ProcessForge once and point each agent at the distribution. Use the
project’s root `AGENTS.md` for instructions, with `.pf/AGENTS.md` as the explicit
fallback in older projects. [Entry compatibility](docs/concepts/agent-entry.md)
28 changes: 11 additions & 17 deletions QUICKSTART.ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,12 @@
[требования](docs/ru/requirements.md). Python CLI можно использовать без MCP и
фоновой службы.

Если используете Codex с MCP, один раз зарегистрируйте ProcessForge для этого
пользователя и приложения:
Если ваш агент поддерживает MCP по stdio, укажите в настройках клиента
интерпретатор Python, сервер PF и путь к рабочему месту. Клиент сам запускает
процесс для каждого соединения. Команда и аргументы приведены в [руководстве по MCP](docs/ru/getting-started/runtime-autostart.md).
Можно также работать напрямую через CLI.

```bash
python <processforge-root>/bin/pf.py codex-mcp install --workplace <workplace-root> --apply
```

После этого Codex сам запускает подключённый stdio MCP-процесс для каждого
соединения. MCP не нужно запускать вручную. Если координации Forge нужна фоновая
служба в Windows, один раз создайте задачу Runtime для рабочего места:
Если для Forge нужна фоновая служба в Windows, создайте задачу Runtime для рабочего места.

```powershell
python <processforge-root>/bin/pf.py runtime autostart install --workplace <workplace-root> --apply
Expand All @@ -35,7 +31,7 @@ Garage не требует автозапуска Runtime. Для ежеднев
| Служба Runtime | Локальный CLI и Garage MCP работают без службы | Нужна для запросов через MCP Forge |
| MCP | Хост запускает stdio при подключении | Хост запускает stdio и обращается к Runtime |
| Сессия Ledger | Для операций проекта и Work можно передать их идентификаторы | Для чтения данных сессии нужна её привязка в Ledger |
| Хуки Codex | Сбор включается через `runtime.garage_hooks` | Инициализация готовит обработчики в проекте, если режим workplace по умолчанию — `organized` |
| Хуки событий клиента | Сбор включается через `runtime.garage_hooks` | Настройка в рабочем месте с режимом `organized` зависит от адаптера и клиента. [Поддержка хуков](docs/ru/guides/forge-init-hooks.md) |
| Director | нет | да, когда его требует coordination |
| Runtime autostart | не нужен | необязателен при использовании службы |

Expand Down Expand Up @@ -82,9 +78,8 @@ docs/ru/getting-started/agent-prompts.md как командный справо
В автоматическом режиме агент сначала объясняет, что где лежит и какую роль
имеет, предлагает сценарий настройки, получает подтверждение и только потом
применяет изменения.
Папки конфигурации агентов вроде `.codex`, `.claude`, `.agents` или с любым
другим именем могут стать источниками инструкций или знаний; они не являются
проектами из-за имени или места запуска агента.
Каталог настроек агента может служить источником общих инструкций или знаний.
При подключении явно укажите каталог проекта.

## 4. Создать общие ресурсы

Expand Down Expand Up @@ -258,10 +253,9 @@ package dependencies и detection rules приходят из manifests и polic
--confirm` или `rollback` по сценарию из
`docs/ru/getting-started/update-system.md`.

Не копируйте весь репозиторий ProcessForge в `.codex`, `.claude`, `.agents` или
похожие папки конфигурации агентов. Установите ProcessForge один раз как
инструмент и укажите агенту, где он установлен. Для входа используйте
корневой `AGENTS.md` (в старом проекте без него — `.pf/AGENTS.md`). См. [совместимость входа](docs/ru/concepts/agent-entry.md).
Установите ProcessForge один раз и укажите каждому агенту путь к дистрибутиву.
Инструкции проекта читайте в корневом `AGENTS.md`, а при его отсутствии в
старом проекте — в `.pf/AGENTS.md`. [Совместимость входа](docs/ru/concepts/agent-entry.md)

## Lock-модель проектного контекста

Expand Down
17 changes: 8 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,17 +62,17 @@ specific product platform.
Use this for normal work: one human operator, one primary agent session, one
project, and one active process/run. The primary agent performs the work, runs
checks, writes artifacts, and finishes with a summary or handoff.
Garage mode does not require PF Runtime, Codex hooks, or a manually created
Garage mode does not require PF Runtime, host hooks, or a manually created
Ledger session.

### Forge / Factory Mode

Use this when work must be split into independent branches. An orchestrator can
create bounded assignments and capsules, launch or coordinate worker sessions,
collect their outputs, and integrate the result through handoffs and reviews.
The Forge MCP connection uses the workplace Runtime. Project initialization on
a workplace with an `organized` default prepares the project’s Codex hook
configuration. The client controls activation. [Forge hook setup](docs/guides/forge-init-hooks.md)
The Forge MCP connection uses the workplace Runtime. A compatible client can
start the stdio connection. Event capture depends on the native hooks available
for that client. [MCP setup](docs/getting-started/runtime-autostart.md) · [Hook support](docs/guides/forge-init-hooks.md)

## Quick Start

Expand Down Expand Up @@ -204,9 +204,8 @@ onboarding.
The launch directory is not a ProcessForge role. During machine setup the agent
must use explicit paths for the installed ProcessForge distribution, the
workplace root, optional global agent/instruction roots, and real project roots.
Folders named `.codex`, `.claude`, `.agents`, or any custom agent root can be
knowledge or instruction sources; they do not become projects unless the
operator explicitly targets them with `project-onboard`.
An agent’s configuration directory can supply instructions or knowledge. It
becomes a PF project only when the operator selects it with `project-onboard`.

Use `first-run`, `workplace-init`, and direct create/register commands as the
fully automatic path only when the operator explicitly requests automation and
Expand Down Expand Up @@ -403,8 +402,8 @@ Git unless the user wants version-control integration.

## Using ProcessForge With Agent Environments

Do not copy the whole ProcessForge repository into `.codex`, `.claude`,
`.agents`, or similar agent configuration folders.
Keep the installed distribution separate from the configuration directory of
each agent.

Install ProcessForge once as a tool, initialize a workplace, and add a short
instruction to the agent configuration telling it where ProcessForge is
Expand Down
18 changes: 7 additions & 11 deletions README.ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,7 @@ ProcessForge превращает повторяемую ИИ-работу в я
один проект и один активный процесс/запуск (process/run). Основной агент
выполняет работу, запускает проверки, ведёт артефакты и завершает её сводкой
(summary) или передачей результата (handoff).
Режим гаража не требует PF Runtime, Codex hooks или ручного создания Ledger
session.
Режим гаража не требует PF Runtime, хуков клиента или ручного открытия сессии Ledger.

### Режим Кузницы / Фабрики

Expand All @@ -85,10 +84,9 @@ session.
или координирует рабочие сессии (worker sessions), собирает их результаты
(outputs) и интегрирует итог через передачи результата (handoffs) и проверки
(reviews).
Подключение MCP в Forge использует Runtime рабочего места. Если режим
по умолчанию в workplace — `organized`, при инициализации проекта PF готовит
конфигурацию хуков Codex. Их активацией управляет клиент.
[Настройка хуков Forge](docs/ru/guides/forge-init-hooks.md)
Подключение MCP в Forge использует Runtime рабочего места. Совместимый клиент
запускает stdio-соединение. Сбор событий зависит от поддержки хуков этого
клиента. [Подключение MCP](docs/ru/getting-started/runtime-autostart.md) · [Поддержка хуков](docs/ru/guides/forge-init-hooks.md)

## Быстрый старт

Expand Down Expand Up @@ -232,9 +230,8 @@ ProcessForge, тяжёлые зеркала документации, общие
Папка запуска агента не задаёт роль в ProcessForge. При настройке машины агент
должен явно различать путь установленного дистрибутива ProcessForge, корень
рабочего места, необязательный корень глобальных агентных инструкций и реальные
корни проектов. Папки `.codex`, `.claude`, `.agents` или любые пользовательские
корни агента (agent root) могут быть источниками инструкций или знаний, но не
становятся проектами без явной команды `project-onboard`.
корни проектов. Каталог настроек агента может служить источником инструкций
или знаний. Он становится проектом PF только при явном `project-onboard`.

Используйте `first-run`, `workplace-init` и прямые команды создания/регистрации
(create/register) как полностью автоматический путь только когда оператор явно
Expand Down Expand Up @@ -439,8 +436,7 @@ ProcessForge сейчас поддерживает файловые сценар

## ProcessForge и агентские среды

Не копируйте весь репозиторий ProcessForge в `.codex`, `.claude`, `.agents` или
похожие папки конфигурации агентов.
Храните установленный дистрибутив отдельно от каталогов настроек агентов.

Установите ProcessForge один раз как инструмент, инициализируйте рабочее место
и добавьте короткую инструкцию в конфигурацию агента: где установлен
Expand Down
Loading
Loading