From 1eb81815a995728ec75120c0f153014cf11c4f4c Mon Sep 17 00:00:00 2001 From: Sergey Tolkachyov <6236403+sergeytolkachyov@users.noreply.github.com> Date: Wed, 25 Nov 2026 21:47:58 +0400 Subject: [PATCH] docs: describe agent-independent setup and worker selection --- QUICKSTART.md | 27 ++-- QUICKSTART.ru.md | 28 ++-- README.md | 17 +-- README.ru.md | 18 +-- checksums/processforge.sha256 | 138 +++++++++--------- docs/architecture/README.md | 4 +- docs/audits/issue-17-storage-paths.md | 6 +- docs/audits/issue-19-public-upgrade.md | 2 +- docs/concepts/action-discovery.md | 18 ++- docs/concepts/agent-entry.md | 6 +- docs/concepts/agent-ledger.md | 4 +- docs/concepts/agent-session-model.md | 4 +- docs/concepts/cascade-merge.md | 2 +- docs/concepts/codex-session-read.md | 35 +---- docs/concepts/egress-engine.md | 2 +- docs/concepts/global-agent-section.md | 4 +- docs/concepts/hooks-and-webhooks.md | 6 +- docs/concepts/hooks-events.md | 2 +- docs/concepts/prepared-input.md | 7 +- docs/concepts/project-init.md | 2 + docs/concepts/resource-search-index.md | 5 +- docs/concepts/runtime-drivers.md | 62 +++----- docs/concepts/runtime-mcp.md | 17 +-- docs/concepts/runtime-model.md | 14 +- docs/concepts/session-reads.md | 22 +++ docs/concepts/shell-agent-subagent-policy.md | 7 +- docs/concepts/work-execution-contract.md | 2 +- docs/contributors/agent-setup.md | 2 +- docs/getting-started.md | 2 +- docs/getting-started/agent-prompts.md | 9 +- docs/getting-started/initialization-order.md | 2 +- docs/getting-started/installation.md | 9 +- docs/getting-started/project-onboarding.md | 8 +- docs/getting-started/runtime-autostart.md | 28 +++- docs/index.md | 2 +- docs/known-limitations.md | 33 ++--- docs/releases/1.3.1.md | 8 +- docs/requirements.md | 2 +- docs/ru/architecture/README.md | 4 +- docs/ru/audits/issue-17-storage-paths.md | 6 +- docs/ru/audits/issue-19-public-upgrade.md | 2 +- docs/ru/concepts/action-discovery.md | 19 +-- docs/ru/concepts/agent-entry.md | 4 +- docs/ru/concepts/agent-ledger.md | 4 +- docs/ru/concepts/agent-session-model.md | 4 +- docs/ru/concepts/cascade-merge.md | 2 +- docs/ru/concepts/egress-engine.md | 4 +- docs/ru/concepts/global-agent-section.md | 4 +- docs/ru/concepts/hooks-events.md | 4 +- docs/ru/concepts/prepared-input.md | 6 +- docs/ru/concepts/resource-search-index.md | 6 +- docs/ru/concepts/runtime-drivers.md | 67 +++------ docs/ru/concepts/runtime-mcp.md | 17 +-- docs/ru/concepts/runtime-model.md | 15 +- docs/ru/concepts/session-reads.md | 21 +++ .../concepts/shell-agent-subagent-policy.md | 7 +- docs/ru/contributors/agent-setup.md | 10 +- docs/ru/getting-started/agent-prompts.md | 9 +- .../getting-started/initialization-order.md | 3 +- docs/ru/getting-started/installation.md | 9 +- docs/ru/getting-started/project-onboarding.md | 8 +- docs/ru/getting-started/runtime-autostart.md | 28 +++- docs/ru/index.md | 2 +- docs/ru/known-limitations.md | 34 ++--- docs/ru/releases/1.3.1.md | 9 +- docs/ru/requirements.md | 2 +- docs/ru/temporary-files.md | 2 +- docs/temporary-files.md | 4 +- .../software-feature-development-agent.md | 5 +- prompts/guided-workplace-setup-agent.md | 7 +- prompts/workplace-initialization-agent.md | 7 +- 71 files changed, 444 insertions(+), 457 deletions(-) create mode 100644 docs/concepts/session-reads.md create mode 100644 docs/ru/concepts/session-reads.md diff --git a/QUICKSTART.md b/QUICKSTART.md index 35e44a3d..bad3199d 100644 --- a/QUICKSTART.md +++ b/QUICKSTART.md @@ -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 /bin/pf.py codex-mcp install --workplace --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 /bin/pf.py runtime autostart install --workplace --apply @@ -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 | @@ -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 @@ -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) diff --git a/QUICKSTART.ru.md b/QUICKSTART.ru.md index 421afdbd..830beb2c 100644 --- a/QUICKSTART.ru.md +++ b/QUICKSTART.ru.md @@ -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 /bin/pf.py codex-mcp install --workplace --apply -``` - -После этого Codex сам запускает подключённый stdio MCP-процесс для каждого -соединения. MCP не нужно запускать вручную. Если координации Forge нужна фоновая -служба в Windows, один раз создайте задачу Runtime для рабочего места: +Если для Forge нужна фоновая служба в Windows, создайте задачу Runtime для рабочего места. ```powershell python /bin/pf.py runtime autostart install --workplace --apply @@ -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 | не нужен | необязателен при использовании службы | @@ -82,9 +78,8 @@ docs/ru/getting-started/agent-prompts.md как командный справо В автоматическом режиме агент сначала объясняет, что где лежит и какую роль имеет, предлагает сценарий настройки, получает подтверждение и только потом применяет изменения. -Папки конфигурации агентов вроде `.codex`, `.claude`, `.agents` или с любым -другим именем могут стать источниками инструкций или знаний; они не являются -проектами из-за имени или места запуска агента. +Каталог настроек агента может служить источником общих инструкций или знаний. +При подключении явно укажите каталог проекта. ## 4. Создать общие ресурсы @@ -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-модель проектного контекста diff --git a/README.md b/README.md index db1d67a1..fdbd3e8e 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ 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 @@ -70,9 +70,9 @@ Ledger session. 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 @@ -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 @@ -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 diff --git a/README.ru.md b/README.ru.md index bf0975af..4a9612bb 100644 --- a/README.ru.md +++ b/README.ru.md @@ -75,8 +75,7 @@ ProcessForge превращает повторяемую ИИ-работу в я один проект и один активный процесс/запуск (process/run). Основной агент выполняет работу, запускает проверки, ведёт артефакты и завершает её сводкой (summary) или передачей результата (handoff). -Режим гаража не требует PF Runtime, Codex hooks или ручного создания Ledger -session. +Режим гаража не требует PF Runtime, хуков клиента или ручного открытия сессии Ledger. ### Режим Кузницы / Фабрики @@ -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) ## Быстрый старт @@ -232,9 +230,8 @@ ProcessForge, тяжёлые зеркала документации, общие Папка запуска агента не задаёт роль в ProcessForge. При настройке машины агент должен явно различать путь установленного дистрибутива ProcessForge, корень рабочего места, необязательный корень глобальных агентных инструкций и реальные -корни проектов. Папки `.codex`, `.claude`, `.agents` или любые пользовательские -корни агента (agent root) могут быть источниками инструкций или знаний, но не -становятся проектами без явной команды `project-onboard`. +корни проектов. Каталог настроек агента может служить источником инструкций +или знаний. Он становится проектом PF только при явном `project-onboard`. Используйте `first-run`, `workplace-init` и прямые команды создания/регистрации (create/register) как полностью автоматический путь только когда оператор явно @@ -439,8 +436,7 @@ ProcessForge сейчас поддерживает файловые сценар ## ProcessForge и агентские среды -Не копируйте весь репозиторий ProcessForge в `.codex`, `.claude`, `.agents` или -похожие папки конфигурации агентов. +Храните установленный дистрибутив отдельно от каталогов настроек агентов. Установите ProcessForge один раз как инструмент, инициализируйте рабочее место и добавьте короткую инструкцию в конфигурацию агента: где установлен diff --git a/checksums/processforge.sha256 b/checksums/processforge.sha256 index 4b4f3fe6..19734a70 100644 --- a/checksums/processforge.sha256 +++ b/checksums/processforge.sha256 @@ -6,10 +6,10 @@ d7e175b8b0c7070541dc0e5d637b0fe4aa0bb0b9998f178d967add39787a809f .processforge- 19581e83ca3d21cc3618e3485de18131da574d240e71fdc1fd7dedc705798ced CONTRIBUTING.ru.md 5153373bdbe5e354b22f3ccab1230720815dc2fab19135b2e4b218f67f3483a0 LICENSE 8d226cb8bdf9df953b969c92c3a490f55910a287eff277e0a2894a19fafd7408 NOTICE -5f9186a28a9293ff650e8fafb07a9a115532343d2ca527e6ca7fee9e064eaafb QUICKSTART.md -4bf58237811989929773469052dfbc13b6cb2b83fcc9a449fbaec37804df0651 QUICKSTART.ru.md -b6d6fffc91ff64146190433b2bb6b047fae7b093a91c978345af02ce0c2c3824 README.md -831eea6cbdf6a6be91b60957ec943259e8e05e3e9847ee443daff69bb720da61 README.ru.md +6752fe416baeb0b333b244b325be7ec5968962813235314ff9c5bf57f4aafdc4 QUICKSTART.md +fef43cda3f41b8c998accefcc6549a89c08f4ddfebc2689e9ec865a2f0de0725 QUICKSTART.ru.md +08dbbe7907e5abbd097056e9ee0734fade983004e173d8342c3c96f92204a2e0 README.md +f6f84c4e25d4541d20c0ea8b525f63b4d2cfafd1ec83fc6b147b1e772fd9a8fc README.ru.md 10e2e117b01523891ca271a615ae36e9d5e52348fd7d642f66727602c1b8dcbe VERSION 8ca62165f47157d6d4d940ddc856e6e4cdf028be574251c13a6a76d8186826f0 bin/pf c0fb86f99bf10fc3578b307a886cc38653ede17e64c19544956bd5b16e1b987d bin/pf-server @@ -17,7 +17,7 @@ c0fb86f99bf10fc3578b307a886cc38653ede17e64c19544956bd5b16e1b987d bin/pf-server bb1def2748288aef449ce2ced56ec579bec1a475ea33f2d86802e810f940f687 bin/pf-server.py fb27e31a7a21ca9ce6020e3cfb8ace98f38d03beb086ecd4833c8164d7015dbb bin/pf.bat e4383fd01256f64e636fc8ca09790afd370965f4d4db09f31f6ad7a10abaf38c bin/pf.py -f197b47c25f7af41a4acb3c0518bd39c6d4d2a0720dcc38da7bb4de4aa1be900 docs/architecture/README.md +61ad47a7e443e9aabb94c94066f0164a67bf5dc84dd9304028bc7b9598314da8 docs/architecture/README.md 37d05af0b9af8da6d2248b024a8f7c48d9a643f6a91a258aed331661173c63f2 docs/assets/processforge-architecture.svg 7c50307a1d336192440b4b506252bbf35c4da98c9600e59a3527beb01b815f81 docs/assets/processforge-authoring-parity.svg 68c7a5c033cb40e333908065bbcd045691f6eeb3ab1c12e6f0ebda6df4dc2f66 docs/assets/processforge-run-lifecycle.svg @@ -25,8 +25,8 @@ f197b47c25f7af41a4acb3c0518bd39c6d4d2a0720dcc38da7bb4de4aa1be900 docs/architect 85549b6975d20990f1834264e595d345c2e31bf9eaa9f7dbd6b84dd2ffe6f350 docs/audits/canonical-work-selection-20261016.md 53d247d3abd2c44eae9589831b087e84129e263b32069a0b66ef6bb77e15badb docs/audits/core-measurements-20261120.md 68c2e06dafd8913242fa257dea5406efbd87ed5ebf74dd0e524405e87eebefe8 docs/audits/diagnostics-admission-fairness-20261016.md -8d32d5878218c8528690bcf959b1416098d6f249427e3a2dd7c0e97046681825 docs/audits/issue-17-storage-paths.md -32f0d5f37626655c343ae1a91cea61f7c9d74cced631bf7c60545621b5148dbd docs/audits/issue-19-public-upgrade.md +f7483e36820d45b07a304ad98cc241c75494087b5b179dcecdc60e8e9b398bd5 docs/audits/issue-17-storage-paths.md +e1b2b44a0c4e8ed81ecde175aedd1b6875fc74f0ee885a59946b84c6774625b3 docs/audits/issue-19-public-upgrade.md f53cd0d7f93f909b9cc25e218c80bab18ef92386dc6e620205710f1fb38f2881 docs/audits/journal-error-row-replay-20261016.md d22bfdcf03278ee43645bb3c34fef4f7ff2eb69a9c7b7a9e3ff12e6cadb57fab docs/audits/journal-multiproject-index-20261016.md 27a06b3f85b389a4c7a515be69362923eeaba5c3a2ea76de381919a63bbf60de docs/audits/mcp-diagnostic-root-20261016.md @@ -67,16 +67,16 @@ f70c38596a20e38b11807518351adfa3379318a8e859ad8b3b0dcd843558385c docs/authoring 5bf5ae3b95d39444685377c3566d8d9ec69cef76deeea5799209e2f985901ba7 docs/authoring/template-authoring.md 55b1a3bcff384c3b279e00b1b8663be6798afe17769124824949a683b90b5595 docs/authoring/update-sites-for-packages.md ac691f0fd246c5ed1d9907d6896d59d16e5f9eb3eb2e540a965fbf0b5376d396 docs/authoring/workplace-configuration.md -c4bbed2a8e8e181d8c14aa4f496360c0ed1d186f131bf2e260ecb5485d2c3c24 docs/concepts/action-discovery.md +7416de8a1fa7c2d7167f4b4b14a93a58726682c0b5dcd1d069a61f4c1a0f8455 docs/concepts/action-discovery.md 19a864062c5f2ade1ed9f6cbcd743696023f75002bc635bf412421c67735bcad docs/concepts/agent-director.md -761ab85189279d15130ecccfb67c00ac5c70c1ebc33cef4feb57085ca1c9c9ef docs/concepts/agent-entry.md -953ffc6db32532986d3111138c9516bd820190bcab11874f9c2bd1970dca73bf docs/concepts/agent-ledger.md -6eba2bc832df905db8027afaf91daa908e6408a88c1b1be8e59a4dd516ea4fc0 docs/concepts/agent-session-model.md +cb247f47517191906451f5420c718a8291a052c2bb4319e8d00cbe817bb54234 docs/concepts/agent-entry.md +2eed5c4e0b6df92336a01cd5243dbaf4a1c8ccbbc35f9cfc60200fc3e5ef5cb7 docs/concepts/agent-ledger.md +99f452a5d155d2d8bcb47f5ebf1223a38448f13c3a53b8a71dff9e6b6680f961 docs/concepts/agent-session-model.md f965e5188c5507f899f8a0065845b3d2a790eb42bddc40e84afbc8ba6f9d476d docs/concepts/assignment-front-matter.md 91086a2d7a173b664684f32061f5fa1f5dbfabdce4950ffa0d9966c74f8d98f4 docs/concepts/capability-resolution.md -a483bb15800a160261956d0c8aeb0c8cfb640c400fcfb4be460b20f88a939c5c docs/concepts/cascade-merge.md +64e2c1d06f6c56bd8fe25a7923c64e510f479758b6c6f00e9b82c25febfe2a10 docs/concepts/cascade-merge.md 83d190c35460feb38657ba12b26943f44e5edd1bfeef257047b227a3ada683f5 docs/concepts/chat-relay.md -c1e02e5552fea80a11937b150c8a3c0f2fe9e94cb193a9a0df5bdeac1cf9aeb4 docs/concepts/codex-session-read.md +f7782825b0309bdc116ac8d0b51fe6d7116f098f55c169a9899b5ddc669f66bb docs/concepts/codex-session-read.md 16bf106b0e3524008188e858e505675c860bf15d3d10e3862615323466487abe docs/concepts/context-cache.md 0832afa03bf365e6ffe4419f103b560e2e364eca058e87c024b3efb95250b495 docs/concepts/context-capsule.md 0d07a5936398593e3a693a446470720275cc70149716fbc1a6ce707083383130 docs/concepts/context-freshness.md @@ -91,17 +91,17 @@ ce3d7f40f5bf349be7c74a351f79145ef115abc8d0f409b8efa82f2193058a11 docs/concepts/ f94932aefc8e1a60a2e24987458a7bbed84c11f85d1cf48575bab525b8bc0f7e docs/concepts/document-reads.md 1beb14f8f807c612f922bb9dbcd0f2509f8c4779544e0db273dcb0cff45cfbce docs/concepts/documentation-import.md fc12835312e4766f2cbb0ca05fcf6399a95fc31649aef899e13d8b6932c5dc00 docs/concepts/domain-neutral-core.md -ecb64958224f16902b387ed9dbafd2be7052fb9fe034f3339ac69ce015246267 docs/concepts/egress-engine.md +b86736558f97c58ac011a7a1fa1199ee48bc34734a2c0c01765656a25cbe79a7 docs/concepts/egress-engine.md a08904bbc85056b69e05f290f55edeb39f2cc180846f552ee38681a2dc1da298 docs/concepts/evolve-mechanism.md d55ebde6a8d791341bacb776617310815125ee93e0ee8b4cebaef9553f4d4f27 docs/concepts/execution-context-package.md fa01182652f51356ee04d2a4d486f220b86a62778b13595d0761498b483bcb98 docs/concepts/execution-storage.md a43c8e885b74d4b53ca35b131e2d6c386978d5db819c3ec356dfa2e9a6a03848 docs/concepts/file-first-processes.md f5b799fec33733eaf37c6e874abbd11e766e9f8895313fef1617d5471386d013 docs/concepts/garage-core.md -793a25a072bc7a22ab7e897ab4a43d2849e62768f9e2a7a7aacb5a56dcb3be7e docs/concepts/global-agent-section.md +c86ac40c1ee3a753eadc1f6b7088eff5dcbdb7f92aa7ef7af9231b938fab9ff6 docs/concepts/global-agent-section.md b4135bbe130b56260015ff350d920f00d69a1698a40ba4793ad811d3486bb7b1 docs/concepts/handoff-contracts.md 867144eff31f0b0e9a5db38d9249a9c3da0d9cd44c280fbb12668ece1825a0a9 docs/concepts/hook-journal-sqlite.md -c0a849359332ea08964cda9bb4741b1a822c3ed18fa7f7160b320477055825ce docs/concepts/hooks-and-webhooks.md -33a6680ed98acc198a74eb5f407baf10ffc954fa534f1e53c68c7828b0329f10 docs/concepts/hooks-events.md +0c08933d076e06bd7dadfe05619a0a3355f0210a1e9b5b42c719eb9a4de0bb90 docs/concepts/hooks-and-webhooks.md +35a29acb830894f91426e34b636685f2eceafbc52e100c732e73db8dae436007 docs/concepts/hooks-events.md ceabcfb0c7cae244a48bb4abea793a6adfb666a14f0a164d21b56c71c954c5dc docs/concepts/instruction-conflicts.md 5b4fb37b0953bb6e8ddf5bb476fa1a153dd0e7786308d08b02187440310bd965 docs/concepts/knowledge-candidates.md 4da6aa19dd1e0076c7015890b6a1c31c9d4e2ea5551b3874f5b990ac22b74326 docs/concepts/knowledge-hub.md @@ -118,7 +118,7 @@ ba21369fd383642ef37a70bec2c047cf18c76f010bc76083e8c138980a7ea870 docs/concepts/ 72ccbf3daaba81203e0ee6b0726f8be9b250407e3b5518f8ba05170efb10f403 docs/concepts/path-resolution.md ce6fdec04b35fe2dba01b06caeb72293265f0b4e2bc57243ba717c23572e7a25 docs/concepts/platform-contracts.md ad1f0a1384fd489ab3421508c10bfad134db639e264224a3e0f18c7bbbc53054 docs/concepts/platform-inheritance.md -6ef92ac8c126751af73f7e6e70325b1c1a2274eea368dc0b94ce65ff7877d017 docs/concepts/prepared-input.md +1ebd32845dade88566abd7c23805fd8442b394493a39bf4d36170da3586a7229 docs/concepts/prepared-input.md 19835693d0da65a4eace505fb3fc70321d25eec07b4f4694f45b2acb9b1bb460 docs/concepts/process-catalog-boundary.md 904f134745f5fa892f3d14dfe50a615a83b33c6b82080e73d5877c87d8e1fceb docs/concepts/process-definition-run-task-iteration.md f377b0b97b596f6a5514b0edda2ce39fa4f4150dacc28b16aaf3c55780f2ae53 docs/concepts/process-directory-layout.md @@ -135,7 +135,7 @@ b0b51846bbbde69e1af52e2803ea99dfe9142ba769eb9f728dc2257074bd354a docs/concepts/ 7509f741e1afefd83b153624e406443c88cdfb35b567deb7e7279140468231a0 docs/concepts/project-coordination-modes.md ed067f95a4d711a26378dbd6fa35a569744a0e8b432f2dc502f09d0c2a7af91e docs/concepts/project-flow-layer.md 2d3cd941bbf0dcbfc1186ba160c8ed2db6c6b5d50adc683e929bef6555b216f2 docs/concepts/project-flow-root.md -4f2bf16eda839b5e39a17226d21ac5909966274d7b63a397766f388038ffb3f5 docs/concepts/project-init.md +821d734d9a1b02cfbaab18f42c4cde3c4f85cf81ccfd1d36af4499fe18338be7 docs/concepts/project-init.md 06bcaf389cebf2d04f6cb7aa34e0f98c811cbb4f54e7b9273f27afb231fafbdb docs/concepts/project-overrides.md 3197d2ebf3a6c517d34ec67bab1df62dd5254b8548f55066f9016f9f4c8de444 docs/concepts/project-scan-boundaries.md c7fde92d43cbaf38cf49c228962f1d9ca1d5570fc279b11cf959999fc77f9d40 docs/concepts/project-snapshot.md @@ -145,18 +145,19 @@ f5294f07972f681c295e28c7cf688838b6a13e03485666a6c0771a11906fe6a7 docs/concepts/ 085a32eece055f0ed5d0c9b9327530d3b366d294a407491a3e1026b23b378cec docs/concepts/resource-events.md d09d0ca06e45c0fc097ff88c308293e17e9b4e673c70b62f5362d378bd5e0d4c docs/concepts/resource-management.md fb874a7292a5760eb24b77cdac11bdf50218246ac8b966e152b41499d325fff8 docs/concepts/resource-privacy.md -f5add431488926aa2c9786708a74ea083fc99876738445f7626671ca92d527e3 docs/concepts/resource-search-index.md +73d6291b02f2441d0f99a76bac1754b6fa005987dd9aa39e43173047dd1db700 docs/concepts/resource-search-index.md 4d8cb55398e188abe3898a8b1e846b2b6d2efba7f01d0e3b24d636760c8a897c docs/concepts/reusable-templates.md 816d6b7ea9ca65b8220676031be0cb7a36bd22eb52f2736f4e0ee37b3dae8bd3 docs/concepts/runs-tasks-iterations.md ad3a3db888ea57fbf6f16e9a560c993e0995a276d567378b28efca958f43778b docs/concepts/runtime-configuration.md -0f206251b62d504dd9dc27395b0f48615e02022c40911489693f0b4fbb6f0668 docs/concepts/runtime-drivers.md -dd0c263d2ab96aed970cfb0640bbbd2678ba11be997b483e9a317e70397cabc0 docs/concepts/runtime-mcp.md -9bf2e4e970a1244d315a79a42f7d08d80e717c02dcb5ee7fb83d058a3288bc47 docs/concepts/runtime-model.md +d68da560292fa6ac6beec77233c191f339416753a36d50c369788a2f52f6e515 docs/concepts/runtime-drivers.md +abbd623a91a7637a3e226bf4d55e432cadcbb12ccefe3d6ad09b95b801207bf5 docs/concepts/runtime-mcp.md +b65568cc25e2ec6db37f65b50666901b67af59e04bb77b665ba1c4a1eefbc2a4 docs/concepts/runtime-model.md a1a42b75eaeb0c8faa7b2150052598f63b227b637cd5ac8deed2a38e8a135bcd docs/concepts/runtime-monitor.md 08f6bcc331b5d89f66f2ebaa6c1611d5ab17470452254625c192809daedd6ff0 docs/concepts/semantic-parity.md 15de03cb0c23826e04e6cdb44e431ab025353598a30444c95cbc1315fa35ce3a docs/concepts/session-bootstrap.md +b960c58d2baa0de2e09e2ac3939c2a19c050010268f85cc89779c030d03a8d96 docs/concepts/session-reads.md e8040193843df69acede6052855284db8928a0d7657c9f35b3c66cd13ea83d3f docs/concepts/session-telemetry.md -d77c60d5240a9cef4f483685d3ad2a37237fc32a25acff04bb9c42cb8a01c36c docs/concepts/shell-agent-subagent-policy.md +012854ba0b9742204f62cad2efdb69e125027258ccd6a44fded0892af7b5e51a docs/concepts/shell-agent-subagent-policy.md e4f3626390cbb0a05b1ec30650c5c54d32beb56b11c0ab543b358a7c5c97e30e docs/concepts/specializations.md 2544e037517303d605580da8a429a627e98e0f4ed2d3cbd4a797177b6b35f632 docs/concepts/sqlite-journal-maintenance.md 1f898d33176974727046b84de1ffcffd523966fa3215bf949bee19be2ac238ae docs/concepts/status-model.md @@ -168,7 +169,7 @@ d4f4ec9059854375efee8a91511130e2e6f21896c1490b54a3fe478f50466aae docs/concepts/ 15ef6ea674c7fc6d531c06a4c915eeffc12760b7d6ddeccd618583321eb58b1e docs/concepts/usage-accounting.md 631a3c5c91426aa17cd29f4f5cad4ea3f6b8411a5a4fe8dfb33933833a57a77e docs/concepts/work-context.md 220cc352793aad5438baa56e41937dd724c2a15891f617bef7c0a0bc866e642b docs/concepts/work-continuation.md -10839fb1a9cca266de22d6cfbbff53b96cc6dac7499f1c19eead45a2b56e6526 docs/concepts/work-execution-contract.md +e962c6761350913d9046ac4020f153242302a34ef3e10032acd3041874dbbd7c docs/concepts/work-execution-contract.md 5d312fd414bbdae688b0b9eb30b854a1ecd611e32a024d774482c8156a2470b0 docs/concepts/work-resources.md 832165c5188beb995e44eb7e63f283dedee0455f26269ad714519362fcdb264e docs/concepts/workplace-init.md 95d3620240133426a0cb559b5c31830e3ef822178534f767bbb8fa7adf9d9bcf docs/concepts/workplace-layer.md @@ -177,25 +178,25 @@ ee404de66f654d0f0c4f5e59dabfe848a99e07161bdfb94b747254a6ecefe672 docs/concepts/ cdbb096303d7c7e8c4435af784e4455f2f0ae6d6907fa150dd178346c0d4d7e2 docs/concepts/workplace-terms.md 692ea0db22f3890dcd46d6ed47f0e81e9e4bc99ef35515386a720ad5a22b9a35 docs/concepts/workplace-vs-project.md 398bd699153f5fb989d70fd6be64a820657fcc8ce5361b214d247f5b16aafd50 docs/concepts/wtaicc-future-compatibility.md -c3c3d99912e9403c575295be990b0457d39f2adb62b2000a9e0e0a3f13a6e9d3 docs/contributors/agent-setup.md +4c402e3074e97964197197a7eeb8765f78477a544eab11e9f0a63d1a94b4217c docs/contributors/agent-setup.md 7957fa1555b8c59249a524166b8f177c649c1b38d1904463dfa79f67d9acbffa docs/contributors/collaboration-profile.json 940d3fc7669490e3fef63e06648b7898f8eccfa9dcc8c0adb9d6da70d06270fb docs/contributors/knowledge-packages.json e04633b07ec44b02739f9c49923b2edbecd6de506426e21901b031887c764e6f docs/contributors/task-collaboration.md 5c69052d5aa0ed4a26b5f49da8c087376636826a00eceae3344f5dfc2e49eb49 docs/examples/README.md -a00cd0f6723f86e0420ccfa79a33840ce5cddea41ff8bdaa6b5ec399836aa93d docs/getting-started.md +34fd29684355e62764f520d51b87040b554072923bb5f027347ea4ec4cb23e76 docs/getting-started.md cd8a86b17691403297f0f24b4ab342de722b44a1c33031f6e3b8040d019650b5 docs/getting-started/agent-ledger-process-transitions.md -8d312e979ce5f250f889c4b249b932d8729c7f7ed6ecf1f9d12558718f2ae7e1 docs/getting-started/agent-prompts.md +2f54bbef97f46d388b31c635173a244f99bb33d9e6b2554ba92291a05efbd2e0 docs/getting-started/agent-prompts.md 5d12f65a30c97053d3fe0a6254df636b561964773aff0e1eb59695342d4e4601 docs/getting-started/create-your-first-process.md 70c8f5ec73516eb238805d08c04b968f671a2aeffc6c8c28cfd0b38c209d21e8 docs/getting-started/evolve-learning-loop.md f85250c482b42fa69cd5cf1a6fb49e3ca8456280f29a8dbda0c4947abba098f3 docs/getting-started/first-run.md e1e434be5c8f135a9b3b1fb97d3f96efeaaddc3db8b3e5b148b17d3f5cace469 docs/getting-started/guided-workplace-setup.md -16d78888ce471e618dff02e61115b4368d8b6f745ec989b3b23c16fa31f4fb14 docs/getting-started/initialization-order.md -d10f9d8e52ae278a18b9537f7362141d1d072eb4e689a214046ae24317149503 docs/getting-started/installation.md +88c67c6a64f0b87a02eab4aecb1a962e9f9c3ff33ef320b38125de39c85ccfe6 docs/getting-started/initialization-order.md +6ef126f4e14ec96481e7fdc33c167b08b5f84c7ce7e24adc92ec5d1f2ddc62bf docs/getting-started/installation.md 1301a6703edc8be7d5fa24bd4de847b6113f27bb0bde9b3fb829d73d78dc3158 docs/getting-started/multi-agent-orchestration.md 71f70ab09cbe99c560c080c1663fd04444c1840bbad2faf8c81fe199494c8126 docs/getting-started/official-packs.md -e6ae3b4924f94fdd9f315ed0586c8b99c0234dcf066cdcb6adf1e834b258463b docs/getting-started/project-onboarding.md +da3b879d0cb3f2dad89ce28e80dba9c085fb22fc0decd14367156075054c61ad docs/getting-started/project-onboarding.md 0acca287d1febc7b41c2e4decd98b25ddce3d03500a2b5e3fadb9d5c69e643d6 docs/getting-started/resource-authoring.md -ac233f09ccedfc6ff21f5ed5d224283414bb5977ce0712168eeae6b07870a6b0 docs/getting-started/runtime-autostart.md +39904971f33206b5c19d1d81ce60e35a09f7e60d05dfac122bf61586847bf67f docs/getting-started/runtime-autostart.md 9a76fcb41fa980e54e1bc368552eed7922f60bcb2428b76e9e7b5df267e7e0fe docs/getting-started/runtime-driver-supervisor.md 69c21e567eca5c9c3d55424d10ceb310c9820d8902e928760ed5359cd7b5fae3 docs/getting-started/task-batch-workflow.md 831f909c39539e8de541182f4e0aa655fc801ce8a3c949094b61c5e48c510bba docs/getting-started/update-system.md @@ -203,8 +204,8 @@ ac233f09ccedfc6ff21f5ed5d224283414bb5977ce0712168eeae6b07870a6b0 docs/getting-s e5c7c2814a19b495e61c0cceba06e9a6ef76c2840a91cb21d1a06b3e6964821d docs/guides/context-resolve.md 8e153c584a896041069a0e6240ed59a7149d84c0c1644d393f7b3f8758060db6 docs/guides/forge-init-hooks.md 7858c49369a3397b30adc83f11902cf4377018cc4435f8a3286835a2b21025a1 docs/guides/python-quality.md -604f3a445ceb901358346a1f64431c78878841fd251f33103c761d7b0d9ce0db docs/index.md -09586fb085ef77e996d96c93123cd70af6b503ad192760b6fc0c646519eba161 docs/known-limitations.md +f1356e796d32f0a1e7eb46a98005086264ac72c1125620410d91f7bfe34ff4ab docs/index.md +94fe209798f49eb1192e090178d5a525a38efc461bfe93dc06777cb8a99293bd docs/known-limitations.md c506202baf12c6b5ab700f3558af89d7ea32ce1aa0e3c21601c3f971450883a9 docs/maintainers/release-publishing.md 3dbecc59cee71e8cf32341e45ac547c3fd71be00d3fa57de6eb67a6e87e68122 docs/processes/agent-director-supervision.md f2cba20e515d62d78ba69c3f4d9dd2c36aa456bf8c071101c7eab3b695675b80 docs/processes/built-in-processes.md @@ -238,7 +239,7 @@ ed6c2331c8fa7d6595ea22f9876d0697093139af7cdc17938f0982aa3c65411d docs/release-r de98b0566d7a00e718ed20a6e3ba26c301f684405ebb89f695e608fc0dc80631 docs/releases/1.3.0-alpha1.md bb3b8869d8252964a6230c46aaab22e13973b8b20671164ac0f25978701b3a26 docs/releases/1.3.0-alpha3.md 21b2a587d279018d924ca9b2b7d5b6bd55da223d963020f2b765959c4b3eab55 docs/releases/1.3.0-alpha4.md -998963f0b66031b584e2314774603ffa6b5cbd06214e5d5cfc14c0c1aa57c92b docs/releases/1.3.1.md +06c5168ba0376e342eb144e47d67f05441c5b3250384ddb9ce3a9c3de0d516c2 docs/releases/1.3.1.md a47a98acd73880407f54ee6917e7b666865468204ae646ce922601a8a6d86345 docs/releases/dev-collect-journal-20261016.md 54fd084e09e2b80b730af5ca0e47f29383499deaf7bb63923bd4b7aae60679d8 docs/releases/dev-fast-work-20261016.md 066742127b08e73eef3be661ba4ab8b6120173ac1115c19edb17161eb88c168e docs/releases/dev-historical-observation-20261016.md @@ -249,14 +250,14 @@ ebd54d9fc586a79e075032f1a31ea6130ecb34e845fd6288e85e17fdd3fe5c78 docs/releases/ 5babe62248805425ba20543999b2afbb590edb1ff862ae174c18c4704b202583 docs/releases/dev-python-quality-20261020.md e2e0730559dfa24a4186851e5a9522b702423e24db3b6cc3e7c8d4af193b4409 docs/releases/dev-scope-latency-20261015.md 8f55529a95ada5fc146df13f245ab9d47a0e19a111997fa2ab84a0067d246322 docs/releases/initial-release.md -2d761ab74ac6cfcd3a3c9ace9ed93eb211041af438293b7993920715bc2a9102 docs/requirements.md -2978f4ca6add08ba8694bb451f250a07678bcb9ed7694cf0f28dd80e2218c506 docs/ru/architecture/README.md +08b6c8161e1da467d9b7c01efab8f811be855d8d45ea6af3d755d3ae3793bc26 docs/requirements.md +8c3eb56671652fc43da31e0eb23581d702ca5b778e70f97a4e1203e6090d28d7 docs/ru/architecture/README.md 092334e4eab3427c0185cb176c0c81238a6bed8182ef7575fc3fd11b0e28661f docs/ru/audits/architecture-decisions-20261118.md a6a1b58bd1fc737284de57764f5d6d1c4e725f88768d4c63099d19b38171c4ed docs/ru/audits/canonical-work-selection-20261016.md 3b067174ecd5e98643a13c62710d0f40348c9d94674d557fdb2211125fd8fd0e docs/ru/audits/core-measurements-20261120.md 4acaa941d8d14b05d5ae1cf169ce2c117b83517b47e480a79ff738f955aefc9d docs/ru/audits/diagnostics-admission-fairness-20261016.md -4b50a1cd50ed09dfc19a5829474594f74f04d64ea88cff61cfa626879c368540 docs/ru/audits/issue-17-storage-paths.md -dc3f24d1254e601f6ea98629803ab28d59a7b9dd8fe1496c415587d11b2fbd3e docs/ru/audits/issue-19-public-upgrade.md +c58284b7ee3798215569908beef92b64faa53701562929d98649879e3f957bca docs/ru/audits/issue-17-storage-paths.md +4c3082784b98bb6eb608101514f892bffcb331a73cac3a1e8876de53e7629684 docs/ru/audits/issue-19-public-upgrade.md e5ab721e662c054485afbc14afd7662127f4ff00d531ca5db790f07d8646bba7 docs/ru/audits/journal-error-row-replay-20261016.md 804e92734ed1f3bcd966ab69458f22ad29cea485a70064c7de305fdad71fc508 docs/ru/audits/journal-multiproject-index-20261016.md b277e0ea8c7108f05d66f82235f8045d5d40592c3e48d2047288118374d55c4c docs/ru/audits/mcp-diagnostic-root-20261016.md @@ -278,13 +279,13 @@ d8ac217b13d1df314ff55e449c879763bfabf3944d8a2ebe18a919d9bf872cdd docs/ru/audits ba78f3f1e9e351b8699de543c3e751480b3ceddafcce33d264155c3e5315a39b docs/ru/authoring/process-authoring.md 663281243ec1c627bb48429f53c57e9b7f0776c677d43dcddeb9cfc5925161f4 docs/ru/authoring/reusable-template-authoring.md 03c833b097273219093fc3a686f026aafc46a6b2818a9cd4a381b1a4515c517d docs/ru/authoring/update-sites-for-packages.md -3fe178a9d5a513691f9114bf8d5a4acd686513aaa453f737a5b481637e6a2775 docs/ru/concepts/action-discovery.md +be71d5d6daca5a829523002fc1086ccce91a7a8df4c86ff0eeeed0d0fd56d1ca docs/ru/concepts/action-discovery.md 4c40ab83a864005105d5575c0d16aa7806dc1b93bcf2d2e12f6c44d6cc6b9011 docs/ru/concepts/agent-director.md -685ea7686194c411288c39de4588475f3e690e4efcbdc8683ebb0a1e754e6b74 docs/ru/concepts/agent-entry.md -24e430e215c018e853b8400bd29d2e623174af677d6422c49da7cdbe10f75da8 docs/ru/concepts/agent-ledger.md -a18ec9011cfb86e670fd3d4069038f17c5dd002a5e297d933203dbb798c9b4f8 docs/ru/concepts/agent-session-model.md +0260f009f3e414b22aebc30c6c13ad98c71d7352b1e71c78414a5522ce52336e docs/ru/concepts/agent-entry.md +cd538309c42f0b38f0f1993dcfaeae05f6db7e9b4e564f112c483465194598f1 docs/ru/concepts/agent-ledger.md +322a5f37a8731ce9817e8751d2debf2f3440c021c3fabf84aa85729c389dae56 docs/ru/concepts/agent-session-model.md 8c0eab6724608733d6a48888410e7b924921a1caf58183e067b35dc14d958538 docs/ru/concepts/capability-resolution.md -4a2051c22c6ffc55086aa6e630b25dd786f906e8978bac2816b6e8081cceb410 docs/ru/concepts/cascade-merge.md +ac75e35c892ae4c06b9ef2416845c2070ce336692d4e767d9328f03868969794 docs/ru/concepts/cascade-merge.md 7c92686db4bcdab319f7811cc4b9e2496c400732bc0198a86dd222f6dd50f78d docs/ru/concepts/chat-relay.md a0f7ed2d2df74343cf64879abb242ed38b399c80b694b1c119e20f0f9b03a89f docs/ru/concepts/context-capsule.md 260afec62b23bfe265d30ed1d5e1645c66ddc54326c61e10a2343890ed29c4ea docs/ru/concepts/context-freshness-readiness.md @@ -297,14 +298,14 @@ b916368922019825e888a88cd34cbe3135545c4ff8e657b005cd39b25513bd62 docs/ru/concep 8f0e39d3b16dd74ab5598c01c40276d9c1ff289be7b01fb73a742c2e63a400e1 docs/ru/concepts/director-ledger-inspector-boundary.md bf7da30d2ea79ba17fb9f3ac3632c7955ee81d3f0df107a9c51f8ac05178f315 docs/ru/concepts/document-reads.md 3dea912d1dabf7222ec073d734a6a8239c6eba29359a9d3c8110b843f2de7d85 docs/ru/concepts/domain-neutral-core.md -d3030fe783b33590d7e7db1d12357fb0e68541c8ef369150d4147f0e89341f73 docs/ru/concepts/egress-engine.md +a0e3c3fccd291adc95f70a0688e1b0f1da7934194acd0488dc7e2d3819239334 docs/ru/concepts/egress-engine.md 392b81add9af9fd3da1304e5dd91475d308cbb5ec35c8f6acfe9ee6c8cf6ba48 docs/ru/concepts/evolve-mechanism.md 15d51a1d04a0803b5d15c770b763da5a094ae22e2a165515bfe3a9ec231610b8 docs/ru/concepts/execution-storage.md 32b546b8f330e5b88671dd54043ede6d6b4ddffdeb3a5fa82b94dc4f7346208e docs/ru/concepts/garage-core.md -f5a0d4ed541cb56e4ae2fae53cacef92427e6f42e075d659458b9501e0d2a0eb docs/ru/concepts/global-agent-section.md +7b970d444ce73bafa1032741661049c4d7ebf75629ce69d0fff5d3b9fc587a2e docs/ru/concepts/global-agent-section.md 34c348f9f83003e1adbd7c54ee1605bed1d4a1b709f2242d8836712cf34c2591 docs/ru/concepts/handoff-contracts.md a610d0a585bbf17809de5a884faa5b06150fe6877594b5badbc8838a107ad487 docs/ru/concepts/hook-journal-sqlite.md -dcef036e116c2059c33f48fdbea04178ed3ae9db69e444a0aa9bf20f091f707d docs/ru/concepts/hooks-events.md +9d86e65d9885618c1ca9464ff969954bb868d4e1238b93b5ed03d788b34a33d5 docs/ru/concepts/hooks-events.md 3d7dccfd203dc78b4a884089e89b3ab1d542c71ec0db195da8744c738d6aafdf docs/ru/concepts/knowledge-candidates.md f2d616d5fe9946c4e0d87d80f16f109899c80d8fdb29575803aed7a455917e34 docs/ru/concepts/knowledge-hub.md 0b8b15d1cc09c1a5f7221f2698155d6209b25eb8eeecec98801b5bafe879185b docs/ru/concepts/knowledge-resource-navigation.md @@ -317,7 +318,7 @@ d89ce8cbda05500df54c6ca4569e2565011a59a5ec492c43a58203ee70c57994 docs/ru/concep 8733cf9221b0263bef22312d6269e2e43e33032ceba597b58db4e4c4bde97837 docs/ru/concepts/path-constants.md 1290a78a82cac53235041b22ed72eca40b640c08958d7556792b7772834fd3b3 docs/ru/concepts/platform-contracts.md d50e69b8ae475228875fb973cc13a2527c5a34f03194312c50e8b73225104555 docs/ru/concepts/platform-inheritance.md -abcbf94f13f649fcc684291ca0171aaa5072179a762ffc596904605fdfe20404 docs/ru/concepts/prepared-input.md +3d222018d463e96a2f94eebf375e007a6eac30352fc6462b64b1be46ed1d78c7 docs/ru/concepts/prepared-input.md f9a1d18d015824630aa1e9d53698db0430544097f3295e87ed28d88776bd2ab5 docs/ru/concepts/process-catalog-boundary.md 0e95fe8a6986aeb78de8fe03987306e03a2876492745cf38cbbf25fab20ad883 docs/ru/concepts/process-definition-run-task-iteration.md e747e859239842db3cb415b66894dcb77813bd67adf39bebb690e3e29f773fbf docs/ru/concepts/process-directory-layout.md @@ -336,17 +337,18 @@ d66096dca8418af23a46446a2b022d9c6126d0e873d13ee7d52fb6155078162b docs/ru/concep da435433271075e6032e8ff125362e6181cf33258ab586140644fe691a815eb7 docs/ru/concepts/project-snapshot.md 968c2c5e00dd778bebaeb7a25c44cf13f3da14ba78f87960b7223b520c6e7c29 docs/ru/concepts/provider-adapters.md e57db2a2bcd5443000e51e887f453cdfc7d135c362fd5bb6b7d38929c5a8e2d6 docs/ru/concepts/python-core-structure.md -1f999c6a9244dcf6e0b48bc23c3bf7a798a64855773a019c57d80835197973da docs/ru/concepts/resource-search-index.md +2d835752e84401e301878ab09f5d5a7f9b8271bff7fbe4fe0d17b16a1878978b docs/ru/concepts/resource-search-index.md f9ce17d09ad1a3d6f012aa6b5626ef0b3bc668aac69760ea8d42818178a28c25 docs/ru/concepts/runs-tasks-iterations.md 2f5a5181479c9134ba9972f020d61ce1fea5235b88b73f50cfd70b8cf620bfd2 docs/ru/concepts/runtime-configuration.md -862fba2e2ffda391573f020385c9f1bfc0541c6ff8e4f05781929e8d2bb716c4 docs/ru/concepts/runtime-drivers.md -0cba49b7537663197d43946b2dcf7c8ccf540744333891577f3cfd3f602d1469 docs/ru/concepts/runtime-mcp.md -2c42c296ffa3f46ccb7667e4ea4a63dbb7ca772d710f57e1f7485b63a815bfd8 docs/ru/concepts/runtime-model.md +33191476058dc53cd1f0e707c07fe21eb9642a93af61164429716ceee2756291 docs/ru/concepts/runtime-drivers.md +c1ae5abf0da7cd5dbb31078e91a4103d16959ace662f69a907a0cb80d0f17e11 docs/ru/concepts/runtime-mcp.md +ba96e91935045f7fc4096e158a38a59dee8f0659aeb3f4f60cd50ff37e99ee4e docs/ru/concepts/runtime-model.md dacfd9c4d36a026b4d408d901f739ba33a13c894adb6e13d2dc40365904b5705 docs/ru/concepts/runtime-monitor.md 2d0adea436fbf0c9ac3b6c45afcfffed50ce2af7d9f19d0f545b025feec70787 docs/ru/concepts/semantic-parity.md 326f63ac5bbbe0f277851d87379dcd610df955ece85179e3dfb7f0a4a660046d docs/ru/concepts/session-bootstrap.md +d68375e8339ce5bbee2255bbe04b415a206c496c99fb38df368a27740baf7723 docs/ru/concepts/session-reads.md c52f66eedc6b3594aa4aaea9470f6f647efe8a98eacb7811ff85470a829c90f7 docs/ru/concepts/session-telemetry.md -b3c1d6980fcc999d470c1985de2760e5a8de122e031604397e6d85b96f6cd9c0 docs/ru/concepts/shell-agent-subagent-policy.md +5e16149ca5898bd9386a3a148a5d011bb8b0c3aed5cc2964cf0bfb24d08dff96 docs/ru/concepts/shell-agent-subagent-policy.md a2fc1fa4b166a162d1dd10e6bb91b291fd1d8c63cc622bd6d38f373a9bf6b85a docs/ru/concepts/specializations.md 6d6babc6d16cf5037f5f8ac4163bcff4bc15c614efbe5c60667b45e0d0cb67ba docs/ru/concepts/sqlite-journal-maintenance.md a6dbbf1d525f5fce63a6a7c98bf94abddabc8e60cb67957a9d99153ff37efa5c docs/ru/concepts/update-lifecycle.md @@ -359,20 +361,20 @@ c6496c332a52afca7d2ef20cd63be25ec5b4d7869eafc4957f007507438e1dba docs/ru/concep 6262f00d0b32b2fb540238eb37d7403c1b1d9bcb51fb1c99e8bdf0cafa2d32b5 docs/ru/concepts/workplace-learning-queue.md fb03b64be745901aacfaa67d59f549a93d018203c0fe3784f6677ef9080fe519 docs/ru/concepts/workplace-resources.md 547dcb5dfc937537b4a5ddd9f203fec887471cdac6dc2e86a3cf509d2c1d54f9 docs/ru/concepts/workplace-vs-project.md -c00b3233bc535b0d060f4fd2ff397c29cfcd8b5d1e29c2db93e9487fb9b8d255 docs/ru/contributors/agent-setup.md +f61d209a1d3d363be73020e07ed5fe4d3ab24ad8454fbdef82e7fd8705d39cd1 docs/ru/contributors/agent-setup.md 2467191815634998a39e196634b94035f59846c748cbd7ab6d213e62d06efcd6 docs/ru/contributors/task-collaboration.md 51fa74e4c26908e02e333f97c80132cc386366a5035feb09a261bbfa909a03e9 docs/ru/getting-started/agent-ledger-process-transitions.md -3b9719ad272c417df409b2a6c6d5d0602bf18cd9c9d9a0cdaa43fd3554453dbf docs/ru/getting-started/agent-prompts.md +52daa66f34511eafde785ae39840b49784e01c3c66be640725a747a8d19d4b80 docs/ru/getting-started/agent-prompts.md ba1ec37cf312120d1bfce917a4a047e448b2776d1f8fb718396572e75e158c48 docs/ru/getting-started/create-your-first-process.md dc9a90e691fb3473206dea4a3aedb7829fb0cdcd3d575f23a3b865fdbd2806ae docs/ru/getting-started/evolve-learning-loop.md 60d0e3a6f8292a5aa11d54ef3773483718dff5b80879273e3463a3e05c4679d4 docs/ru/getting-started/first-run.md a3ff3e9f105442a0eace6b0774cd17009f56178feddaec07534d0f3cd27cba96 docs/ru/getting-started/guided-workplace-setup.md -a7ce259fcf5c3e6817951f6f9d0616e4f1b5ec1661c2a0a0a25d5d26c5136510 docs/ru/getting-started/initialization-order.md -5209f6caee6f4e285ffec1eeff73ba4f6208facc0f1ab2df26863ba11a906b37 docs/ru/getting-started/installation.md +295d0bcf4623452ce1645344fd6303e8461a4d474522fd1c4dc4ae8e3d5c0ab8 docs/ru/getting-started/initialization-order.md +17ff9fce6c797e2db7f08cedcae55d7dda487650d0111c073ce831b6f440e34f docs/ru/getting-started/installation.md 29e10be4e8211207962569ff0a3798c699fec1dd1cd8da612dd8a39d69fdbafb docs/ru/getting-started/multi-agent-orchestration.md 8f4268e0bcb87de40f76f84340669362dc2f60c54150392f09883f7daffca750 docs/ru/getting-started/official-packs.md -65111636aa77a4aec9712ea7cc69765d91ce8b44a5be3db4c89743614805d221 docs/ru/getting-started/project-onboarding.md -0906b788dd711dcbdd3920edcbe97366770ed78c5f77794159c2eb75f64f56d3 docs/ru/getting-started/runtime-autostart.md +1b419404b2b30423e09eb7422bdb6c2aff1d000fcf6b15919923cc78f3529f0a docs/ru/getting-started/project-onboarding.md +860fbc75f6cee82d431c4d1ba66a451490638800842e430926897d3aff927f96 docs/ru/getting-started/runtime-autostart.md 9a3d3d21819d365a4aa8773516fd6dc264ceedc706eb2b7b3e48b047fa6ab85e docs/ru/getting-started/runtime-driver-supervisor.md 91ca0e810c7961e85eb76b36653a950ebd5735ecdeec11d571b785d23584c628 docs/ru/getting-started/task-batch-workflow.md abdc53daa97dab27720b29b02929cce9ebfb11f1ce3d79e19a50341e33b1bf46 docs/ru/getting-started/update-system.md @@ -380,8 +382,8 @@ abdc53daa97dab27720b29b02929cce9ebfb11f1ce3d79e19a50341e33b1bf46 docs/ru/gettin 445e34a5cfcca13efeaee947ae64416efa075e0b97c53797a77a280fb56b59b4 docs/ru/guides/context-resolve.md 798a081cc89d3df7f4835ed141df71865be5b49498861d13c4171f7f898f5de2 docs/ru/guides/forge-init-hooks.md 6ff3d2206555a88d28105847a86174ace38267449a5a8461fbb6822a6230a510 docs/ru/guides/python-quality.md -10887a3b611622806eea9400164e4e44343e7141681bd9befb64fb9bc2ff78a8 docs/ru/index.md -36c0e69d22b644d3133b9391ad35fd54d145385fb72828c755b5a2badfec05a9 docs/ru/known-limitations.md +aa000c357c0c7674bf620788d138e3da2fd3a3a8600c9563f6cfd0e23985047f docs/ru/index.md +8b9fe0c106eef87f872decab4d3bbe6d9bfdda1fa854767c8349165b3cccae40 docs/ru/known-limitations.md 2e33eccc12a618fbbd352e20bd02dfd3ac62ef7aaa5e723a5fdbf8ba4e6562f8 docs/ru/processes/built-in-processes.md d4cfb812e5463af0ef597b18f1743dbf5c3a8c4a2c6b3e68c1dc1694cb13b124 docs/ru/release-checklist.md 792d2dce3ccbaeda15bb8d9bdcd3e2cc60e6b6d43360a8acfd034ca05b341b09 docs/ru/release-readiness-20261015.md @@ -390,7 +392,7 @@ a457514014dfb271eb340c699ee0f50aa7b9d95c73c6b81638bdb961a2041c38 docs/ru/releas 914b6aea93a112df2bfd73d13eb953c094b97a738cca075b584519f5093dac2b docs/ru/releases/1.3.0-alpha1.md 64195e7fbfbcfc761fdc92c4d1571a007402e8146cf74600ffc75eaee7bfa2c5 docs/ru/releases/1.3.0-alpha3.md 9b28ed71c282939790da60b9c150dcb6cf25416559ca3b2ee158f4d90f63e04f docs/ru/releases/1.3.0-alpha4.md -09a033c6f8b813d72e97fa6961275c46caa62fb1f4468900e6c3afde3d891b30 docs/ru/releases/1.3.1.md +2ce8d80d53bf1120046f3b0399c14a266b68bf47f1e3d0c038483fc88fda8f75 docs/ru/releases/1.3.1.md c4dd9f56e95bca2fd25f1c89db69716471adc3d19ccb72661ddaeb7ee2901167 docs/ru/releases/dev-collect-journal-20261016.md 2880ac160bc479c723545e1192a589f1fa90a2d9bd830095a4d4b18ef7b4f8fe docs/ru/releases/dev-fast-work-20261016.md 0b965699b5eb42160c59c436eabfc13f05541f5a8fdf1e03447b6e1ce3def1fc docs/ru/releases/dev-historical-observation-20261016.md @@ -398,10 +400,10 @@ c4dd9f56e95bca2fd25f1c89db69716471adc3d19ccb72661ddaeb7ee2901167 docs/ru/releas c7058cf72acf950075dbdbcb4c8f54796cca58b40e1985dfb02fd59f8fce3115 docs/ru/releases/dev-journal-replay-20261016.md df5d264628fb2175cbd0e5c9d891bd0403ff5894303820ba5ed1db2ae25650be docs/ru/releases/dev-scope-latency-20261015.md 95961df0da24fa6f15bf365a743d8ae78900c41a78c11da691b579a373898ba5 docs/ru/releases/initial-release.md -64fef07c7c4296a7bebad220de16641abdc30301dce2aa2b4c58aa30fe923ecf docs/ru/requirements.md -329930cc2f13f249fb4b7599631047d4bde70bc41ebcfa40767065f1207268a2 docs/ru/temporary-files.md +548d0d635851c273b2105d8d74fd125b823fb71c14193129004bc4e2b1e85748 docs/ru/requirements.md +9127c309e67f91480a67aa0fef7096844850fb872d9cab89b58f1f95bd190147 docs/ru/temporary-files.md e27a374f8f9e5dd81287f0379ebd4b530e6595afe7a15f9097ac516e87b6f820 docs/runner-protocol-draft.md -a84431023947439e3787df08c19b52799f7dd97597046881c670899fdb3b625c docs/temporary-files.md +8bf9f1902350cf364ad15455cd1f364d597aaa0364d1fa81d930c0ff208f6498 docs/temporary-files.md b78d00c11cd848dac38a499d31dd4e0ef9e6fb99b2ff63b027a3a3b884522719 docs/validation/doctor-context.md 92423686eab06ece6a28ac7456a6726630a923c60c41dd1d22d69bec22b26ebe docs/validation/doctor-project.md 2b1a33bc6938c1b8c686b16691bc56b2641c464ea45513372eca9e548366b652 docs/validation/doctor-workplace.md @@ -531,7 +533,7 @@ eda4c67ac1056ef531d5d7833bd99f9dfc9b225b9d5aad49defb4c6d52a5c30c packs/official afa5cfe932f91e49710fb2a1b52c623f14388180d8a189c9ff37abf7d5dd6f1d packs/official/software-development/project-classifiers/registry-entry.yaml 04e718bcfcee1e51f1dd2c86b692422b437ab6340d3096f407bcfedd8fa85848 packs/official/software-development/project-classifiers/software-web.yaml 27b9f62f8b0217fc730e503199f1c8b1964d3deb124313fb70a150fdedb04e44 packs/official/software-development/prompts/bug-fix-agent.md -0d16f4a00f929d7be857e884c0478748b3843f3a3c250572511963a99d138d77 packs/official/software-development/prompts/software-feature-development-agent.md +6747768cbdbdf45a4f24227e10f6609bd9e1ced6adc17dd564563346a81ef730 packs/official/software-development/prompts/software-feature-development-agent.md 6d228737365f4294af221f574e556323eac36cc6a86cd1f7676f105cb7c0ac73 packs/official/verification/README.md f87b7055f41e6f6f5ad13767e62402a4041501c9ffb0595db7717fa1cf9e0ca5 packs/official/verification/docs/processes/testing.md 60389d784e364d93ae706d6009360d416118e2d64191b4de0de8c8ed684a30d5 packs/official/verification/examples/process-authoring/testing/README.md @@ -573,7 +575,7 @@ e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 processes/user efd433f6e716728d714a42e959541c0553a7b7fce844d0f55094dca18ed85f13 prompts/agent-director-supervision-agent.md ce7e2c2a6133bc1d257d27abacf9da87f4dbd047d887a42d948ab6124320e0f9 prompts/authoring-parity-audit-agent.md 7c73d71004bbd9c2c97edc6c7c0137732e4ae0adff25dbc6e8c8616d97b8286a prompts/context-resolution-agent.md -1fd5d7a3469d1da9d380d126e753236c9fbfd6d6c8238ff7b6494fff5a59db0b prompts/guided-workplace-setup-agent.md +fd5252295ae489ecd836b2c820495159e5f54a3a4f97b6ae07c140e462c8ac9e prompts/guided-workplace-setup-agent.md d6e2ea39c2506273ecb8255e102107049f8b167b646dd52b2bbefc3375fd9eda prompts/knowledge-package-authoring-agent.md 7423d60be64873e0be841f3fc9034dd1b9dd7b559fe3eabde0e678ccbdc72660 prompts/knowledge-package-improvement-agent.md fbe29cfbc037ecb89cf74a6ceac7f7a2c580be4033e3888a11ef31f39c38d74c prompts/knowledge-package-update-agent.md @@ -596,7 +598,7 @@ b93acc4bf322485e779dce5ebeb76c9f595ad8d9033d0b328cc428e4bf834e92 prompts/reusab 0f3acc976082aae8ba81b7c8dc400e741e7b2eeff1c4c4ea1a0328acc4c3a9ba prompts/task-batch-execution-agent.md 70e9ff89e75bba6ff4841a7b2b896b8bc4f4e27475142aef7f0496181908ede5 prompts/template-add-agent.md f5d96f5d82fd91605c1d70035c23dac0dfb133296edeccd303a7113bb856d8ac prompts/tool-register-agent.md -cf58aa8f5f1f2cfa81a056c8a56ac73989dad7d108be1c58de00a335cc0ceb05 prompts/workplace-initialization-agent.md +e0c7f74146c25a1043dd3f392ab65173a71dc7349c088a6d97c444073adf7453 prompts/workplace-initialization-agent.md a03037442af0d8e5db96fa04493621f93bf7182f0133a62ac2ecb2dde14b1cdd release/1.3.0-alpha5/notes.md cd6a821a5a49085ed045734a8ad33492943cd6da958b1bc41899abec7574bc38 release/1.3.0-alpha5/notes.ru.md 8683682a3fb98bd40ec7fbb0faa8d6efc327abcde8e9631a85714dd7058f08af release/1.3.0-beta1/notes.md diff --git a/docs/architecture/README.md b/docs/architecture/README.md index 45959f54..cd05d9e1 100644 --- a/docs/architecture/README.md +++ b/docs/architecture/README.md @@ -65,8 +65,8 @@ records later changes and open findings against a fixed revision. be addressed explicitly during maintenance. See the [revised migration boundary](../audits/architecture-decisions-20261118.md). - **D22 — Managed egress.** Apply strict managed-egress guarantees to the - mediated, policy-bound protocol and its qualified providers. Generic shell and - native Codex retain their own declared isolation and capability boundaries. + mediated, policy-bound protocol and its qualified providers. Shell workers and + native agent CLIs retain their own declared isolation and capability boundaries. [Egress engine](../concepts/egress-engine.md) ## Storage and configuration diff --git a/docs/audits/issue-17-storage-paths.md b/docs/audits/issue-17-storage-paths.md index ea6ab01a..75abc85f 100644 --- a/docs/audits/issue-17-storage-paths.md +++ b/docs/audits/issue-17-storage-paths.md @@ -248,8 +248,8 @@ See [Execution storage and authority](../concepts/execution-storage.md), [J]: ../../src/processforge_core/maintenance/journals.py [U]: ../../src/processforge_core/maintenance/update.py [FU]: ../../src/processforge_core/maintenance/file_update.py -[K]: ../../tools/pf_cold_controller.py -[L]: ../../tools/pf_linux_cold_controller.py +[K]: https://github.com/WebTolk/process-forge/blob/033a2e791373c7cf46d5b1dc5b2b3be8acff91fd/tools/pf_cold_controller.py +[L]: https://github.com/WebTolk/process-forge/blob/033a2e791373c7cf46d5b1dc5b2b3be8acff91fd/tools/pf_linux_cold_controller.py [M]: ../../tests/execution_migration/test_migration.py [ID]: ../../tests/execution_migration/test_storage_uuid.py [A]: ../../tests/execution_migration/test_automatic.py @@ -261,7 +261,7 @@ See [Execution storage and authority](../concepts/execution-storage.md), [PH]: ../../tests/execution_migration/test_physical_storage_paths.py [PI]: ../../src/processforge_core/prepared/input.py [NT]: ../../tests/execution_migration/test_native_control.py -[CT]: ../../tests/execution_migration/test_cold_handoff.py +[CT]: https://github.com/WebTolk/process-forge/blob/033a2e791373c7cf46d5b1dc5b2b3be8acff91fd/tests/execution_migration/test_cold_handoff.py [BT]: ../../tests/maintenance_backup/test_backup.py [IT]: ../../tests/maintenance_integration/test_acceptance.py [JT]: ../../tests/maintenance_service/test_journals.py diff --git a/docs/audits/issue-19-public-upgrade.md b/docs/audits/issue-19-public-upgrade.md index e25c098f..da80a32b 100644 --- a/docs/audits/issue-19-public-upgrade.md +++ b/docs/audits/issue-19-public-upgrade.md @@ -21,7 +21,7 @@ The component checks read-only planning, explicit confirmation, unchanged-releas ## Mandatory readiness remains separate -A successful Core replacement creates no native enrollment or old-writer retirement proof. In the reproduced never-enrolled public 1.2.0 project, subsequent storage apply, context refresh, new Work and worker preparation refuse storage_activity_unknown; execution inspection reports execution_activity_unknown. The current qualified historical cold-to-managed deployment is not supplied by this file-only route. See [execution authority](../concepts/execution-storage.md#first-cold-transition) and [ST12](issue-17-storage-paths.md). +A successful Core replacement creates no native enrollment or old-writer retirement proof. In the reproduced never-enrolled public 1.2.0 project, subsequent storage apply, context refresh, new Work and worker preparation refuse storage_activity_unknown; execution inspection reports execution_activity_unknown. The current qualified historical cold-to-managed deployment is not supplied by this file-only route. See [execution authority](https://github.com/WebTolk/process-forge/blob/033a2e791373c7cf46d5b1dc5b2b3be8acff91fd/docs/concepts/execution-storage.md) and [ST12](issue-17-storage-paths.md). The component receipt records project migration and worker-prepare results separately and explicitly sets full_t06_qualified to false. A green Core-files job cannot qualify SQL cutover, a native update route or successful worker start/status/collect. A configuration doctor and a readable old Work do not prove ordinary-write readiness. Missing/partial enrollment must continue to select or refuse its native route; file-only replacement cannot bypass it. diff --git a/docs/concepts/action-discovery.md b/docs/concepts/action-discovery.md index d8f07284..24df9a49 100644 --- a/docs/concepts/action-discovery.md +++ b/docs/concepts/action-discovery.md @@ -48,7 +48,7 @@ an arbitrary command executor, executable override or a new permission model. | `pf.actions.list` | Filter and page supported CLI/MCP metadata. No execution. | | `pf.actions.describe` | Describe an exact `action_id`. No execution. | | `pf.runtime_driver.list` | Registered driver IDs and status for the project/workplace. | -| `pf.runtime_driver.describe` | Required registered `driver` ID; safe metadata without command/environment values. | +| `pf.runtime_driver.describe` | Safe metadata for a registered `driver`. Add `catalog: true` to request its model catalog. | | `pf.worker.prepare` | Exact Work selectors, explicit registered `driver`, `apply: true`; native scope/input preparation. | | `pf.worker.start` | Same identity/driver requirements, `apply: true`; native launch always detaches and returns immediately. | | `pf.worker.status` | Exact Work selectors and `apply: true`; native observation may reconcile records and collect completed output. | @@ -56,10 +56,12 @@ an arbitrary command executor, executable override or a new permission model. | `pf.session.heartbeat` | `apply: true`; renew the existing bound Ledger session. No `ttl` argument or registration. | | `pf.chat.record` | Required `content`, `apply: true`; assistant message attributed to the bound Ledger agent in its own session transcript. | -Worker prepare/start optionally accept `model` and `reasoning_effort` -(`minimal`, `low`, `medium`, `high`). Driver IDs must already be registered; -manifest paths and executable overrides are outside this MCP subset. Existing -native CLI options remain available through their own described CLI routes. +Worker prepare/start accept optional `model` and `reasoning_effort` strings. +Use values supported by the selected driver and model. To request available +choices, call `pf.runtime_driver.describe` with `catalog: true` and inspect the +catalog status. For example, `manual` returns `unsupported`. Select a registered +driver ID. Manifest paths and executable +overrides are available through the native CLI. There is no MCP `wait`, arbitrary participant/role or chat target override. The facade selects a manifest from the registry by exact ID and passes that selected reference to native commands, avoiding same-name file fallback. A @@ -72,13 +74,13 @@ the same canonical project directory; matching project IDs alone are insufficien "run_id": "", "assignment_id": "", "context_id": "", - "driver": "codex-exec", + "driver": "test-echo-worker", "apply": true } ``` -This is an input example for `pf.worker.start`, not permission to launch. -Use the identity returned by PF and the driver's configured model policy. +This `pf.worker.start` example uses the bundled report-writing test driver. +Use the selectors returned by PF for a worker-ready assignment. The facade rejects terminal governed Work before prepare/start/collect and delegates to the existing native CLI application, including invocation checks. Native implementations retain locks, prepared-input verification and collection diff --git a/docs/concepts/agent-entry.md b/docs/concepts/agent-entry.md index afd2e4d1..10f2f837 100644 --- a/docs/concepts/agent-entry.md +++ b/docs/concepts/agent-entry.md @@ -196,9 +196,9 @@ Existing snapshots and capsules are never rewritten by preview or placement. ### Read-only profile diagnostics -`agent-entry profiles` lists the versioned registry. `agent-entry diagnose ---project-root --profile P-CODEX --cwd subdir` inspects actual -files without planning replacements. `--cwd` is relative to the supplied root; +`agent-entry profiles` lists the versioned registry. Choose the profile for your +client. `agent-entry diagnose --project-root --profile --cwd subdir` +inspects existing files. `--cwd` is relative to the supplied root and the default is `.`. Existing `agent-entry check` retains its migration-plan semantics. Neither operation starts infrastructure or changes client settings. diff --git a/docs/concepts/agent-ledger.md b/docs/concepts/agent-ledger.md index bd5bccf4..266c5cce 100644 --- a/docs/concepts/agent-ledger.md +++ b/docs/concepts/agent-ledger.md @@ -3,8 +3,8 @@ ProcessForge is not the harness. It records the process state around harnesses, agents, and tools. The agent ledger is the workplace attendance/session layer. It is not a -separate agent. In Forge/factory operation, supported Codex/Kimi hooks normally -deliver lifecycle and activity automatically through Host to Ledger. Newly +separate agent. In Forge, supported host hooks deliver lifecycle and activity +events through the Host to Ledger. Newly admitted prompt, compaction and tool activity refresh the exact authorized session without periodic LLM calls. Explicit `agent-heartbeat` / `session-heartbeat` CLI and MCP operations remain manual compatibility APIs; diff --git a/docs/concepts/agent-session-model.md b/docs/concepts/agent-session-model.md index 07d8868a..95912dbd 100644 --- a/docs/concepts/agent-session-model.md +++ b/docs/concepts/agent-session-model.md @@ -55,8 +55,8 @@ Inspector is not a separate participant. It is the primary agent using CLI checks, process gates, and self-checks. Agent Ledger is the attendance/session layer, not a separate watchman agent. -In Forge/factory operation, supported Codex/Kimi hooks deliver lifecycle and -activity automatically through Host to Ledger. New admitted prompt, compaction +In Forge, supported client hooks deliver lifecycle and activity events through +the Host to Ledger. New admitted prompt, compaction and tool activity refresh exact session presence without periodic LLM calls. Rejected, unknown/raw-only, duplicate or replayed input cannot refresh presence or reopen a checked-out session. Presence does not extend leases or prove OS diff --git a/docs/concepts/cascade-merge.md b/docs/concepts/cascade-merge.md index 5395a903..6075546a 100644 --- a/docs/concepts/cascade-merge.md +++ b/docs/concepts/cascade-merge.md @@ -76,7 +76,7 @@ parameters: test_stands: - id: local-joomla url: http://joomla.local/administrator/ - user: codex + user: workplace-user auth_ref: local.joomla.admin ``` diff --git a/docs/concepts/codex-session-read.md b/docs/concepts/codex-session-read.md index bf4eb8b7..b6ef169f 100644 --- a/docs/concepts/codex-session-read.md +++ b/docs/concepts/codex-session-read.md @@ -1,31 +1,10 @@ -# Codex session read layer - -ProcessForge exposes three read-only MCP tools for the active Codex session: - -- `pf.session_context` returns a bounded projection of project, work, blockers, - active agents, context freshness, resource readiness, execution readiness and - normalized session activity. -- `pf.session_chat` returns the private, redacted PF transcript for that same - session. It accepts `limit` (1--100), `before`/`cursor`, and an optional - `roles` array. -- `pf.session_activity` returns bounded normalized project-event facts for that - session. It never returns raw provider journal entries. - -Each call requires an existing Agent Ledger session. `session_id` is accepted -as a tool argument (or the explicitly configured `PF_MCP_SESSION_ID`); the -optional `project_root` is only a consistency assertion. A mismatch fails -closed with `session_project_mismatch`. Stable tool error objects contain only -an error code, such as `missing_session`, `unknown_session`, `session_mismatch`, -`session_not_routed`, or `invalid_cursor`. - -Read-only session tools keep context validity separate from execution blockers. -When a project snapshot is fresh but the current work lacks a capability, -`pf.session_context` still returns the session projection and reports the -capability under `execution_readiness.missing_capabilities`. `pf.search` and -`pf.resolve` may still read authorized fresh resources; actions that actually -need the missing capability remain blocked. - -## Conversation capture +# Example integration with Codex sessions + +A Codex client can call the shared [Ledger session reads](session-reads.md) +once its session is bound. The adapter below supplies events and conversation +fields available from that client. + +## Example of conversation capture with Codex hooks The Codex adapter submits supported inputs to the project’s raw hook journal when collection is enabled. The journal keeps the receipt and any pending diff --git a/docs/concepts/egress-engine.md b/docs/concepts/egress-engine.md index 0c250017..c80b036a 100644 --- a/docs/concepts/egress-engine.md +++ b/docs/concepts/egress-engine.md @@ -2,7 +2,7 @@ T07 provides an explicit Windows HTTP/JSON broker for a remote recipient. It mediates the initial envelope, subsequent resource reads, trusted tool results -and derivative exports. Native Codex CLI, generic shell and isolated-local +and derivative exports. Direct agent CLIs, generic shell and isolated-local execution have **no strict capability**. They cannot silently substitute for `mediated_session`. This broker is a finite protocol, not an adapter for an arbitrary vendor's chat API or a sandbox for arbitrary local programs. diff --git a/docs/concepts/global-agent-section.md b/docs/concepts/global-agent-section.md index 6a038014..3e405d1f 100644 --- a/docs/concepts/global-agent-section.md +++ b/docs/concepts/global-agent-section.md @@ -1,7 +1,7 @@ # Global Agent Section -ProcessForge does not own a workplace-level `AGENTS.md`, `CODEX.md`, or similar -instruction file. It inserts or updates only a bounded navigation section: +The operator owns the global agent instruction file. ProcessForge can insert +or update the following bounded navigation section. ```markdown diff --git a/docs/concepts/hooks-and-webhooks.md b/docs/concepts/hooks-and-webhooks.md index f6838fdc..60dedf69 100644 --- a/docs/concepts/hooks-and-webhooks.md +++ b/docs/concepts/hooks-and-webhooks.md @@ -1,9 +1,9 @@ # Hooks And Webhooks The project dispatcher reads enabled targets from `.pf/hooks.yaml` and matches -their `event_types` against the event name or `*`. The Codex handlers in -`.codex/hooks.json` feed observations into PF. Each configuration has its own -handler or target count. [Native hook setup](../guides/forge-init-hooks.md) +their `event_types` against the event name or `*`. Native hook adapters receive +observations from the client. The number of registered client handlers and the +number of webhook targets are independent. [Native hook setup](../guides/forge-init-hooks.md) Default config: diff --git a/docs/concepts/hooks-events.md b/docs/concepts/hooks-events.md index 410cc9a2..6ca6e52d 100644 --- a/docs/concepts/hooks-events.md +++ b/docs/concepts/hooks-events.md @@ -36,7 +36,7 @@ On a workplace with an `organized` default, project initialization prepares eight handlers in `.codex/hooks.json`. In Garage an operator can merge them with `tools/pf_runtime/codex_integration.py`. Check `/hooks` in the target Codex client for activation. [Hook setup](../guides/forge-init-hooks.md) · -[Session reads](codex-session-read.md) +[Session reads](session-reads.md) ## Project hooks diff --git a/docs/concepts/prepared-input.md b/docs/concepts/prepared-input.md index 3f96f6d9..947a609c 100644 --- a/docs/concepts/prepared-input.md +++ b/docs/concepts/prepared-input.md @@ -32,8 +32,7 @@ current registry record, including revocation and drift without a refresh. A file-backed tool retains the existing path containment and existence checks. A command-only tool may instead receive `resolution.status: descriptor` with its verified `entry`, including a nonempty command, only in the private prepared -input. This descriptor grants no directory or file-body access and adds no broad -Codex directory grant. Templates keep their existing file-backed form. +input. The descriptor conveys metadata only. Templates retain their file-backed form. Missing references/digests, ambiguous or changed identities, changed definitions and revoked records fail closed. Existing immutable snapshots/capsules are not upgraded in place: new tool grants require a fresh governed context. @@ -52,9 +51,9 @@ Every prepared driver receives the reserved `PF_PREPARED_INPUT_FILE` and `PF_PRE Manual preparation produces the same per-attempt manifest and prompt pointer but starts no process. The built-in generic-shell driver opts into `tools/prepared_executor.py`, which validates the manifest pointer, raw-byte digest, identity and size before starting the existing target argv with inherited stdin/stdout/stderr, working directory and environment. It records starting, periodic and final heartbeat state plus the durable exit contract. The wrapper does not bootstrap PF or MCP and makes no OS sandbox claim. -Codex uses its existing `tools/codex_exec_worker.py` wrapper and consumes the same prepared manifest. The launch prompt directs it to verify the path and checksum, use only inline content and declared file references, avoid rebuilding context or starting another Work, and treat metadata-only grants as metadata only. For a prepared launch, Codex does not receive broad `--add-dir` grants from workspace-access paths. Generic prepared execution does not require an MCP connection or network access; this statement does not constrain what an executable can do unless its operating-system sandbox enforces it. +The worker assignment must declare `expected_report.artifact` and grant write access to that path. Preparation returns `worker_report_undeclared` when a primary Work has no worker report. -In prepared mode, Codex receives fixed instructions and the verified manifest only. It does not read the mutable worker prompt, capsule body, or workspace-access pointer. A worker assignment must declare `expected_report.artifact` and matching write scope before immutable context is created. An ordinary primary Work with no declared outputs is not worker-ready and fails with `worker_report_undeclared`; ProcessForge does not infer authority from a filename. +For example, the `codex-exec` wrapper delivers fixed instructions and the verified manifest. It neither rereads mutable prompt or capsule files nor grants broad directory access through `--add-dir`. A local `generic-shell` worker can run without MCP or network access. Process isolation depends on the execution environment. [Runtime drivers](runtime-drivers.md) Immediately before launch, ProcessForge reloads and checks the attempt file and checksum, exact Work/assignment/context identity, capsule pins, input fingerprint, and current sources and authorization. A changed source, stale snapshot, revoked grant, or mismatched path blocks launch. The manifest is a delivery record, not a new authority source. diff --git a/docs/concepts/project-init.md b/docs/concepts/project-init.md index 1f0869a7..f296d156 100644 --- a/docs/concepts/project-init.md +++ b/docs/concepts/project-init.md @@ -88,6 +88,8 @@ so `.codex/hooks.json`, `.pf/process-forge.local.yaml`, `.pf/runtime/`, `.pf/private-notes/`, and `.pf/cache/` are ignored. Cache and private-notes are reserved/ignored project areas, not normal onboarding output payloads. +### Example of native hook setup + The linked workplace’s default project mode determines hook setup. With `organized`, a preview reports the planned Codex changes. Apply merges eight handlers into the project’s `.codex/hooks.json` and backs up an existing file diff --git a/docs/concepts/resource-search-index.md b/docs/concepts/resource-search-index.md index 0a222b51..9f870e4b 100644 --- a/docs/concepts/resource-search-index.md +++ b/docs/concepts/resource-search-index.md @@ -59,9 +59,8 @@ metadata only. `none` excludes the resource from local search. Large source trees, SDK mirrors, vendor trees, and multi-version platform snapshots should use `metadata` unless their manifest explicitly selects a -small fulltext source. Search can return a navigation root, but Codex should use -normal filesystem reads and `rg` inside the selected root when it needs source -code detail. +small fulltext source. If search returns a navigation root, resolve it and use +the caller’s authorized file tools within the granted scope to inspect source. ## SQLite Model diff --git a/docs/concepts/runtime-drivers.md b/docs/concepts/runtime-drivers.md index 5f03547a..8237dbbc 100644 --- a/docs/concepts/runtime-drivers.md +++ b/docs/concepts/runtime-drivers.md @@ -17,7 +17,12 @@ Driver manifests live under `templates/runtime-drivers/`. The built-in registry is `templates/registries/runtime-drivers.yaml`. A project may add local registry overrides under `.pf/runtime/registries/runtime-drivers.local.yaml`. -Use the CLI from an onboarded project: +Use the CLI from an onboarded project. A primary agent can work directly +through the CLI or MCP. Select a runtime driver for an assignment that needs a +separate worker. Model selection is optional. Request a catalog with +`runtime-driver describe --project-root . --driver --catalog`. +`unsupported` means the driver offers no catalog. A driver reporting `unknown` +could not read its catalog. ```bash python .pf/runtime/bin/pf.py runtime-driver list --project-root . @@ -119,6 +124,8 @@ attempt's prepared manifest. The legacy direct wrapper can read workspace access and use `--add-dir`; a prepared launch does not grant broad directories from that file. Metadata-only grants never authorize resource body reads. +## Access to MCP tools + Actual MCP connections and tool approvals belong to each coding agent's own configuration. PF's `workspace_access.mcp` declarations are advisory metadata; they neither grant host-tool access nor control connection availability. @@ -131,51 +138,26 @@ validation, and file/action scope and filesystem checks remain in force. This compatibility behavior does not remove MCP fields or catalogs; that is separate future work. -Prepare and start one Codex shell-agent directly: - -```bash -python .pf/runtime/bin/pf.py task-create --project-root . --run docs-run --id docs-worker --title "Docs worker" --process task-batch-execution --allowed-file ".pf/artifacts/docs-worker.md" --required-output "id=report,path=.pf/artifacts/docs-worker.md" --expected-report-artifact ".pf/artifacts/docs-worker.md" --workspace-knowledge-resource --reasoning-effort high --apply -python .pf/runtime/bin/pf.py worker-run start --project-root . --task docs-worker --driver codex-exec --model chatgpt-5.3-codex-spark --reasoning-effort high -``` - -For another already declared, worker-ready task, use the same model and medium reasoning: - -```bash -python .pf/runtime/bin/pf.py worker-run start --project-root . --task test-worker --driver codex-exec --model chatgpt-5.3-codex-spark --reasoning-effort medium -``` - -For orchestrated shell-agent plans, set the default in the plan and override per -worker only when needed: - -```yaml -runtime: - default_driver: codex-exec - model: chatgpt-5.3-codex-spark - reasoning_effort: medium -workers: - - id: docs-worker - title: Docs worker - process: task-batch-execution - reasoning_effort: high - workspace_access: - knowledge_resources: - - docs.joomla -``` +## Running a worker -Apply the plan: +For a first execution check, choose an assignment that declares an expected +report and grants write access to that path. Use its returned assignment ID. +The bundled test driver writes the report locally and needs no model account. ```bash -python bin/pf.py orchestrator-shell-plan-apply --project-root . --run docs-run --apply +python .pf/runtime/bin/pf.py worker-run prepare --project-root . --task --driver test-echo-worker +python .pf/runtime/bin/pf.py worker-run start --project-root . --task --driver test-echo-worker +python .pf/runtime/bin/pf.py worker-run status --project-root . --task ``` -`orchestrator-shell-plan-apply --model ` can override the plan model for -all generated shell workers. Reasoning effort is currently selected in the plan, -in the generated assignment, or on `worker-run prepare/start` with -`--reasoning-effort`. +For an external CLI, select a registered driver configured for its executable +and arguments. A shell plan can set `runtime.default_driver`, `runtime.model` +and `runtime.reasoning_effort`. Individual workers can override model and effort. +`orchestrator-shell-plan-apply --model ` applies a model override to the +plan. Supply model or effort only when supported by the driver. [Worker collection and supervision](../getting-started/runtime-driver-supervisor.md) -Shell execution uses `shell=False`. Generic shell drivers declare no network -permission by default; `codex-exec` declares network access for its model provider. -These declarations do not implement operating-system network isolation. +Shell execution uses `shell=False`. Each driver declares its network needs. +The operating system or sandbox enforces any network isolation. ProcessForge does not install agents, create agent folders, or require a daemon for driver registry use. diff --git a/docs/concepts/runtime-mcp.md b/docs/concepts/runtime-mcp.md index 51bc3cff..2220e962 100644 --- a/docs/concepts/runtime-mcp.md +++ b/docs/concepts/runtime-mcp.md @@ -12,10 +12,9 @@ worker/session operations, see [supported action discovery](action-discovery.md) For bounded request logging, privacy, profiles and local exports, see [optional diagnostics](diagnostics.md). MCP stdout remains JSON-RPC only. -`tools/pf_runtime/mcp_server.py` is a minimal stdio MCP server. It is -host-owned: Codex starts the Python process from Codex MCP configuration and -owns the stdin/stdout pipes. It is not registered as a Windows scheduled task or -detached background service. +`tools/pf_runtime/mcp_server.py` serves MCP over stdio. The connection is +host-owned. The client launches Python and owns the input and output streams. +The server is not registered as a Windows scheduled task or a detached service. The **pf-app-server** is the workplace Runtime service for scheduling and orchestration. Garage context and governed Work do not require a running @@ -51,7 +50,7 @@ the request. [Work selection](work-continuation.md) Project initialization uses the same onboarding service as the CLI. When the linked workplace’s default project mode is `organized`, apply prepares -the project-local Codex hook configuration. [Forge hook setup](../guides/forge-init-hooks.md) +the supported project hook configuration. [Hook setup and client support](../guides/forge-init-hooks.md) Available tools are `pf.context`, `pf.project_state`, `pf.project_initialization.status`, `pf.project_initialization.initialize`, `pf.project_initialization.repair`, @@ -131,13 +130,11 @@ Process definition; technical projector facts remain declaration-driven. MCP is not a raw-ingress API and does not expose raw hook payloads. The session-chat view exposes only the trusted, redacted private transcript for the -same Ledger session. See [Codex Session Read Layer](codex-session-read.md) and +same Ledger session. See [Ledger session reads](session-reads.md) and [Hooks And Events](hooks-events.md) for registration and replay boundaries. -Codex host registration can be inspected, installed, or removed with -`python bin/pf.py codex-mcp status|install|remove --workplace `. -Install and remove are dry-run by default and require `--apply` to change Codex -configuration. Restart or reload Codex after registration changes. +Configure the Python command and arguments in the MCP client, then reconnect +and verify its tool list. [Client setup](../getting-started/runtime-autostart.md#connect-a-stdio-mcp-client) Local operator commands are also available as `pf server` or `python bin/pf-server.py`: start, run, status, stop and restart. Guarded stop diff --git a/docs/concepts/runtime-model.md b/docs/concepts/runtime-model.md index 46b418f1..6b16ee63 100644 --- a/docs/concepts/runtime-model.md +++ b/docs/concepts/runtime-model.md @@ -91,7 +91,7 @@ Default Runtime usage does not require PowerShell, Git, a daemon, or a background process. Git is only needed when the user wants version-control integration or when development/release checks are being run. Optional PF Runtime service startup is documented in -[Runtime Autostart And Codex MCP Startup](../getting-started/runtime-autostart.md). +[Runtime autostart and MCP client setup](../getting-started/runtime-autostart.md). ## Runtime, Ledger, and MCP interfaces @@ -152,17 +152,15 @@ A routed session is recovered from the Ledger record's `project_id` and This keeps recovery after Runtime-cache removal and cross-project isolation independent of the daemon. -Codex hooks are thin fact adapters. They normalize documented lifecycle or tool -facts, append existing PF events, and delegate check-in, heartbeat, and -checkout to Core. The MCP catalogue also includes governed Work start, state, +Supported hook adapters normalize lifecycle and tool events received from the +client. They append PF events and delegate check-in, heartbeat and checkout +to Core. The MCP catalogue also includes governed Work start, state, transition and cancellation, continuation, worker prepare/start/collect, project initialization and repair. Each action declares its own selectors, permissions and apply requirements. [Action discovery](action-discovery.md) -The stdio MCP process is owned by the MCP host, not by PF Runtime autostart. -Codex starts it from host MCP configuration for each connected session. See -[PF Runtime MCP facade](runtime-mcp.md) and -[Runtime Autostart And Codex MCP Startup](../getting-started/runtime-autostart.md). +The MCP client launches the stdio server from its own configuration for each +connection. [PF Runtime MCP facade](runtime-mcp.md) · [Runtime autostart and MCP client setup](../getting-started/runtime-autostart.md) ## Declaration-driven technical projections diff --git a/docs/concepts/session-reads.md b/docs/concepts/session-reads.md new file mode 100644 index 00000000..42cde4b0 --- /dev/null +++ b/docs/concepts/session-reads.md @@ -0,0 +1,22 @@ +# Read a Ledger session + +Use these MCP tools to inspect an existing Agent Ledger session. Pass its +`session_id` with each call. An explicitly configured `PF_MCP_SESSION_ID` also +binds a server process to one session. Supply `project_root` to cross-check the +project. For project context without a session, use `pf.context`. + +| Tool | What you can read | +| --- | --- | +| `pf.session_context` | Current project and Work, blockers, active agents, context freshness, resources and execution readiness | +| `pf.session_chat` | The private, redacted transcript for this session. Page with `limit` (1–100) and `before` or `cursor`. Filter by `roles` when needed. | +| `pf.session_activity` | Bounded, normalized project events attributed to this session | + +A fresh project snapshot can coexist with a blocked Work. Read +`execution_readiness.missing_capabilities` in the context response to see what +the Work needs. A project mismatch returns `session_project_mismatch`. +When a server is pinned to a session, a different session ID returns +`session_mismatch`. + +The transcript contains messages that PF received and could attribute to this +session. Coverage depends on the client, the registered adapter and the events +it supplies. [Provider adapters](provider-adapters.md) · [Example with Codex hooks](codex-session-read.md) diff --git a/docs/concepts/shell-agent-subagent-policy.md b/docs/concepts/shell-agent-subagent-policy.md index ab58d761..65b0f1a6 100644 --- a/docs/concepts/shell-agent-subagent-policy.md +++ b/docs/concepts/shell-agent-subagent-policy.md @@ -21,10 +21,9 @@ Reasoning effort is selected independently. A plan may set `runtime.reasoning_effort`, and a worker may override it with `reasoning_effort` or `agent_reasoning_effort`. Generated assignments and capsules store the resolved value as `agent_reasoning_effort`; worker runtime -state exposes it as `PF_AGENT_REASONING_EFFORT`. The `codex-exec` driver maps -that value to `PF_CODEX_REASONING_EFFORT`, and its wrapper passes -`model_reasoning_effort=""` to Codex only when the value is non-empty. +state exposes it as `PF_AGENT_REASONING_EFFORT`. The selected driver maps +that value to the external program’s supported options. [Runtime drivers](runtime-drivers.md) -When reports are required, the shell worker must write them under `.pf/artifacts/subagents//`. Workers with `allow_subagents=false` are not required to create subagent reports. Public smoke tests use neutral simulated reports and must not depend on real Claude, Codex, Gemini, Cursor, or OpenCode CLIs. +When subagent reports are required, the shell worker writes them under `.pf/artifacts/subagents//`. Workers with `allow_subagents=false` need no subagent reports. Public smoke tests use local fixtures that produce these reports. `orchestrator-shell-plan-apply` writes `.pf/runs//config-resolution-report.yaml` so operators can see which config values were applied to assignments, capsules, supervisor scheduling, and collection checks. diff --git a/docs/concepts/work-execution-contract.md b/docs/concepts/work-execution-contract.md index 18865733..05768c29 100644 --- a/docs/concepts/work-execution-contract.md +++ b/docs/concepts/work-execution-contract.md @@ -259,7 +259,7 @@ name is already emitted by the current implementation. | D05 | Analysis reads input and writes its allowed report | Empty write scope or product write: `scope_denied` | Missing legacy scope never means repository-wide access | | D06 | Granted input/output paths and required capability verified before launch | Missing source/capability or output outside scope: `required_source_missing` / `capability_missing` / `output_scope_denied` | Optional capabilities stay optional; missing required facts cannot be guessed | | D07 | Successor context records predecessor and reason | In-place old capsule rewrite: `immutable_context_changed`; unsupported version: `contract_version_unsupported` | Legacy remains readable; incomplete restricted execution gets `legacy_contract_incomplete` | -| D08 | Registered non-Codex fixture normalizes a valid event | Unknown adapter or identity/path/hash spoof: `adapter_untrusted` / `provenance_rejected` | Existing Codex adapter keeps its security checks; common raw/dedup/replay behavior is preserved | +| D08 | An independently registered fixture adapter normalizes a valid event | Unknown adapter or invalid identity, path or hash returns `adapter_untrusted` / `provenance_rejected` | The built-in adapter retains its security checks and shares raw receipt, deduplication and replay behavior | | D09 | Offline generic-shell consumes one prepared manifest | Attempt/result mismatch or unprepared launch: `attempt_mismatch` / `input_not_prepared` | Manual driver remains available; driver choice cannot alter Work scope/process | | D10 | log(warning) equals warning(); trace remains debug profile | Unknown level: `invalid_log_level` | Existing journal/telemetry facts remain independent of optional logger | | D11 | Invocation temporarily enables component diagnostic within ceilings | Override weakens lock: `diagnostic_policy_locked`; expiry restores baseline | Defaults work without config; absence of a session does not create one | diff --git a/docs/contributors/agent-setup.md b/docs/contributors/agent-setup.md index 699a7a43..f6a650c5 100644 --- a/docs/contributors/agent-setup.md +++ b/docs/contributors/agent-setup.md @@ -198,7 +198,7 @@ an interactive shell's PATH. | Component | Setup and readiness | | --- | --- | | **Serena or an equivalent IDE MCP** | Preferred for symbol lookup and references before repository-wide text search. Current upstream installation: `uv tool install -p 3.13 serena-agent==2.1.0`, then `serena init`; uv manages its separate tool interpreter. Configure host-owned stdio command `serena start-mcp-server --project `. Read server instructions, select the correct project and successfully inspect a real Python symbol. See [official installation](https://oraios.github.io/serena/02-usage/010_installation.html) and [running guide](https://oraios.github.io/serena/02-usage/020_running.html). If an older working server is present, inspect it before replacement. | -| **PF MCP** | Optional transport for the required local PF workflow; native CLI also works. In Codex, run ` /bin/pf.py codex-mcp install --workplace --distribution-root --python ` to inspect the plan, then add `--apply` for the requested setup. Inspect `codex-mcp status`, reload the real host, and confirm PF tools and `pf.actions.list` are available. See [host integration](../getting-started/runtime-autostart.md#codex-mcp-registration). | +| **PF MCP** | The native CLI and a host-owned stdio MCP client both support local PF work. Set the Python command, server path and workplace in your client. Reconnect it, inspect the available tools and call `pf.actions.list`. [Client setup](../getting-started/runtime-autostart.md#connect-a-stdio-mcp-client) | | **Playwright MCP** | Prepare for browser/UI/documentation checks. Install a supported Node.js LTS, then `npm install --prefix /browser-mcp --save-exact @playwright/mcp@0.0.85`. Run `node /browser-mcp/node_modules/playwright/cli.js install chromium`. Configure the Chromium JSON file below. Host stdio command: `node`, args: `/browser-mcp/node_modules/@playwright/mcp/cli.js --config /browser-mcp/pf-browser.json`. Verify navigation to a local test page and a readable snapshot. On Linux install browser system dependencies using Playwright's documented installation flow. See [official instructions](https://github.com/microsoft/playwright-mcp). | | **Context7** | Optional additional documentation source after local packages. Configure the host's remote HTTP MCP URL `https://mcp.context7.com/mcp`; if an API key is used, map it from a local secret/environment to the Authorization header. Do not commit a literal key. Verify library resolution and one documentation query. See [official configuration](https://context7.com/docs/resources/all-clients). | | **Chrome/Firefox DevTools** | Optional diagnostics for a specific need. Playwright is the first browser check backend; an unavailable DevTools server does not block unrelated work. | diff --git a/docs/getting-started.md b/docs/getting-started.md index 543253ae..25336fe4 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -14,7 +14,7 @@ the direct commands below are for operators with explicit paths and choices. | Runtime service | Optional for local CLI and Garage MCP | Required for the Forge MCP backend | | MCP | Host-owned stdio when selected | Host-owned stdio forwards requests to the workplace 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` | Onboarding on a workplace with an `organized` default prepares the handlers | +| Host event hooks | Optional collection via `runtime.garage_hooks` | The installed adapter determines which hooks onboarding can prepare on an `organized` workplace. [Hook support](guides/forge-init-hooks.md) | | Director | No | Used for organized coordination | | Runtime autostart | Optional | Optional Windows facility for starting the service at logon | diff --git a/docs/getting-started/agent-prompts.md b/docs/getting-started/agent-prompts.md index f9913e72..36bf7643 100644 --- a/docs/getting-started/agent-prompts.md +++ b/docs/getting-started/agent-prompts.md @@ -9,12 +9,9 @@ never substitute a placeholder for recorded provenance. Check ## Operating Rules -- Treat ProcessForge as an installed tool, not as content to copy into - `.codex`, `.claude`, `.agents`, or similar agent configuration folders. -- Do not infer ProcessForge roles from the current working directory or from - folder names such as `.codex`, `.claude`, `.agents`, or any custom agent - root. Use explicit paths for the distribution root, workplace root, global - agent/instruction root, and project roots. +- Use the installed distribution. Identify the distribution, workplace, agent + instructions and project roots by their configured paths. Directory names and + the current working directory do not assign ProcessForge roles. - A global agent root can be registered as a knowledge root, but it is not a ProcessForge project unless the operator explicitly asks to onboard it and a project-local `.pf/process-forge.yaml` is created there intentionally. diff --git a/docs/getting-started/initialization-order.md b/docs/getting-started/initialization-order.md index 2ad0083d..e51629f2 100644 --- a/docs/getting-started/initialization-order.md +++ b/docs/getting-started/initialization-order.md @@ -35,7 +35,7 @@ Heavy local documentation and source trees stay outside public package manifests ## Agent Environments -Do not copy the whole ProcessForge repository into `.codex`, `.claude`, `.agents`, or similar agent configuration folders. +Keep the distribution and agent configuration in separate directories. Install ProcessForge once as a tool, initialize a workplace, and point the agent configuration to that installation. Project entry uses root `AGENTS.md` (explicit `.pf/AGENTS.md` fallback in an unmigrated project). diff --git a/docs/getting-started/installation.md b/docs/getting-started/installation.md index cdbd961a..169c702d 100644 --- a/docs/getting-started/installation.md +++ b/docs/getting-started/installation.md @@ -94,12 +94,11 @@ python .pf/runtime/bin/pf.py project-context-check --project-root . ``` Use `python bin/pf.py` from the distribution root, not from a normal project. -Do not copy the full repository into `.codex`, `.claude`, `.agents`, or similar -agent configuration folders. Project entry uses root `AGENTS.md`, with an -explicit `.pf/AGENTS.md` fallback in an unmigrated project. Select the loader or -adapter described in [agent entry](../concepts/agent-entry.md). +Keep the distribution separate from agent configuration. In the project, read +root `AGENTS.md`, or explicitly read `.pf/AGENTS.md` in an older project where +the root file is absent. [Agent entry](../concepts/agent-entry.md) -Garage does not require PF Runtime, MCP or Codex hooks. Connect them only when +Garage does not require PF Runtime, MCP or host hooks. Connect them only when the operator chooses the relevant workflow; ordinary project work does not install, start, restart or repair infrastructure. See [Runtime and MCP startup](runtime-autostart.md). diff --git a/docs/getting-started/project-onboarding.md b/docs/getting-started/project-onboarding.md index 6af9ad69..d1388ff0 100644 --- a/docs/getting-started/project-onboarding.md +++ b/docs/getting-started/project-onboarding.md @@ -59,10 +59,10 @@ into the project. The project-local launcher reads private `.pf/process-forge.local.yaml` or `PROCESSFORGE_HOME` to find the ProcessForge distribution. Public files such as `AGENTS.md` do not reveal the resolved distribution path. -On a workplace with an `organized` default, onboarding prepares eight -project-local Codex handlers on apply. Garage offers the same installer as -an opt-in. The CLI can onboard a project without a running Runtime or MCP. -[Hook setup and client activation](../guides/forge-init-hooks.md) +On a workplace with an `organized` default, applying the plan prepares the +supported project hooks. Activation depends on the client. Garage offers hook +collection as an option. The CLI can onboard a project without Runtime or MCP. +[Supported adapters and activation](../guides/forge-init-hooks.md) Inside the linked project the agent reads root `AGENTS.md` (or the explicit `.pf/AGENTS.md` fallback in an unmigrated project), diff --git a/docs/getting-started/runtime-autostart.md b/docs/getting-started/runtime-autostart.md index 0548a457..f85bdcf8 100644 --- a/docs/getting-started/runtime-autostart.md +++ b/docs/getting-started/runtime-autostart.md @@ -1,12 +1,12 @@ -# Runtime Autostart And Codex MCP Startup +# Runtime autostart and MCP client setup ProcessForge has two different startup models: - **PF App Server (PF Runtime)** is a workplace-scoped loopback HTTP service. It can run as a foreground process, as an explicitly detached background process, or on Windows as an opt-in per-user scheduled task. -- **PF MCP** is a stdio server for Codex. Codex owns this process and starts it - from Codex MCP configuration when a host session needs the server. +- **PF MCP** runs over stdio. The MCP client launches the server on demand + and owns its input and output streams for the connection. Garage does not require PF Runtime. Install Runtime autostart only for a Forge workplace whose coordination model requires the long-lived service. On Linux, @@ -175,10 +175,28 @@ If Python, its virtual environment or Core moves, reinstall the task with the new paths. Task Scheduler uses the interpreter in its command. Install the distribution’s `requirements.txt` into that interpreter. +## Connect a stdio MCP client + +Create a local stdio server entry in your client. Use the absolute path to the +Python interpreter that has the distribution’s dependencies. Supply these three +arguments in order, replacing the paths with your installed locations. + +| Setting | Value | +| --- | --- | +| Command | Absolute path to the Python interpreter | +| First argument | `/tools/pf_runtime/mcp_server.py` | +| Second argument | `--workplace` | +| Third argument | Absolute path to the initialized workplace | + +Reconnect the client, inspect its advertised tools and call `pf.context` with +`project_root` set to an onboarded project. Check that the returned project ID +and mode match that project. The same project can also use the Python CLI. +[Project commands](agent-prompts.md) · [MCP tool reference](../concepts/runtime-mcp.md) + ## Codex MCP Registration -Codex MCP registration is separate from Runtime autostart. ProcessForge manages -Codex host configuration only when explicitly requested: +For example, Codex provides an MCP registry which PF can manage on request. +Preview the registration before applying it. ```powershell python bin/pf.py codex-mcp status --workplace diff --git a/docs/index.md b/docs/index.md index 779086bc..adb9b39e 100644 --- a/docs/index.md +++ b/docs/index.md @@ -50,7 +50,7 @@ provides explicit paths and choices. - [Built-in process stages](processes/built-in-processes.md) - [Multi-agent orchestration](getting-started/multi-agent-orchestration.md) - [Runtime driver and supervisor quickstart](getting-started/runtime-driver-supervisor.md) -- [Runtime autostart and Codex MCP startup](getting-started/runtime-autostart.md) +- [Runtime autostart and MCP client setup](getting-started/runtime-autostart.md) - [Quick getting started path](getting-started.md) - [Russian documentation](ru/index.md) diff --git a/docs/known-limitations.md b/docs/known-limitations.md index 4afd17c6..79508467 100644 --- a/docs/known-limitations.md +++ b/docs/known-limitations.md @@ -17,8 +17,8 @@ a workplace Runtime, a host-owned MCP connection and coordinated workers. - A bounded file-first supervisor MVP exists. The optional PF Runtime service exists as a local loopback PoC/MVP, including manual background start and Windows Task Scheduler autostart. A watch-events service, public network API, - web UI and database-backed scheduler are not implemented. The shipped - `codex-exec` driver requires a separately available Codex CLI and host setup. + web UI and database-backed scheduler are not implemented. External workers + need the executable and configuration declared by their selected driver. - WTAICC support produces local outbox payloads. Delivery to a remote service requires a separate consumer. - `--interactive` is a first-run UX marker, not a terminal wizard. - External documentation mirroring is a plan or stub unless resources are explicitly imported. @@ -38,12 +38,11 @@ a workplace Runtime, a host-owned MCP connection and coordinated workers. a requirement for default file-first CLI usage. - Windows autostart is supported only for PF Runtime through a per-user Task Scheduler logon task; the stdio MCP server is not a Task Scheduler target. -- Codex MCP registration is host-owned: Codex starts the connected stdio MCP - process from its configuration for each fresh host session. +- The MCP client starts the stdio process from its configuration for each connection. - Managed Linux `systemd --user` Runtime autostart is not provided. -- Project initialization checks the project-local Codex configuration when the - workplace default mode is `organized`. Garage collection is optional. - The client controls whether handlers run. [Hook setup](guides/forge-init-hooks.md) +- On an `organized` workplace, project initialization configures handlers for the + bundled integration. Garage collection is optional. The client controls activation. + [Hook support by client](guides/forge-init-hooks.md) - Hosted MCP behavior depends on the selected agent host supporting stdio MCP. - TUF metadata and key management are not implemented; update trust is based on HTTPS, SHA-256, immutable release assets, and Git provenance. @@ -55,9 +54,8 @@ a workplace Runtime, a host-owned MCP connection and coordinated workers. under `.pf/runtime/release-test/`. - A long-running watcher is a future optional layer, not part of the core runtime. -- Runtime driver execution is opt-in. Built-in neutral drivers are limited to - `manual`, `generic-shell`, `codex-exec`, `test-echo-worker`, and - `test-shell-agent`. +- External worker execution is opt-in. The built-in [driver registry](concepts/runtime-drivers.md) + includes manual preparation, external CLI execution and local test workers. - Shell-launched proof workers write `heartbeat.json` as a required live process artifact under `.pf/runtime/agent-runs///`; this does not make ProcessForge a background daemon. @@ -65,14 +63,13 @@ a workplace Runtime, a host-owned MCP connection and coordinated workers. host AI environment may launch its own subagents with ProcessForge assignment/capsule scope, but ProcessForge does not install or impersonate those host agents. -- Codex hook registration is environment-owned: the shipped adapter does not - prove that all host hooks are registered. -- Current automatic conversation coverage includes attributed `UserPromptSubmit` - prompts, final messages supplied in `Stop`, `SubagentStop` or `SessionEnd` - payloads, and PF-owned worker records. It depends on provider fields such as - `last_assistant_message`; interim streaming output is not a complete transcript. -- Session replay repairs supported normalized Codex-derived project events; it - does not reconstruct a complete generic conversation transcript. +- Native hooks require client-side registration and activation. The available + events depend on the host and its registered adapter. +- The stored conversation depends on fields delivered by a registered adapter. + For example, Codex hooks can supply attributed prompts and a final message. + PF also checks the provenance of managed worker records. Replay can restore + supported project events. A full streaming transcript requires source messages. + [Session reads and capture](concepts/session-reads.md) - Raw ingress rejects canonical payloads larger than 1,048,576 bytes. There is no oversized-payload blob spill or receipt yet. - Project raw/event journals use local SQLite with serialized writers; measured diff --git a/docs/releases/1.3.1.md b/docs/releases/1.3.1.md index d193b53c..c6066b3e 100644 --- a/docs/releases/1.3.1.md +++ b/docs/releases/1.3.1.md @@ -43,5 +43,9 @@ use the agent's configuration. [Driver guide](../concepts/runtime-drivers.md) [PR #164](https://github.com/WebTolk/process-forge/pull/164) [PR #139](https://github.com/WebTolk/process-forge/pull/139) -Follow the [update and recovery guide](../concepts/update-lifecycle.md) when -upgrading an existing 1.3.0 installation. Installation requires explicit confirmation. +## Upgrading from 1.3.0 + +Confirm the Core file update. Projects with ready storage need no data migration +for this patch. If a project already reported `storage_migration_required` on +1.3.0, complete its existing migration before resuming writes. The `--project-events` +option is for servicing one project’s event journal when needed. [Update and recovery](../concepts/update-lifecycle.md) · [Storage migration](../concepts/sqlite-journal-maintenance.md) diff --git a/docs/requirements.md b/docs/requirements.md index fcc49b6e..80eace11 100644 --- a/docs/requirements.md +++ b/docs/requirements.md @@ -2,7 +2,7 @@ Use this checklist before [installation](getting-started/installation.md). ProcessForge runs as a local Python CLI. Garage work does not require PF -Runtime, MCP, Codex hooks, or a manually opened Agent Ledger session. +Runtime, MCP, host event hooks, or a manually opened Agent Ledger session. ## Python and libraries diff --git a/docs/ru/architecture/README.md b/docs/ru/architecture/README.md index 1bbefc92..bd636d14 100644 --- a/docs/ru/architecture/README.md +++ b/docs/ru/architecture/README.md @@ -70,8 +70,8 @@ [Пересмотр границы миграции](../audits/architecture-decisions-20261118.md) - **D22 — Управляемый исходящий доступ.** Строгие гарантии managed egress относятся к опосредованному протоколу с политикой и квалифицированными - поставщиками. Generic shell и native Codex имеют собственные объявленные - границы полномочий и изоляции. [Механизм egress](../concepts/egress-engine.md) + поставщиками. Для shell-исполнителей и внешних CLI действуют собственные + ограничения доступа и изоляции. [Механизм egress](../concepts/egress-engine.md) ## Хранение и конфигурация diff --git a/docs/ru/audits/issue-17-storage-paths.md b/docs/ru/audits/issue-17-storage-paths.md index 2bab1331..694d44bf 100644 --- a/docs/ru/audits/issue-17-storage-paths.md +++ b/docs/ru/audits/issue-17-storage-paths.md @@ -250,8 +250,8 @@ relocation или Linux cold backend здесь не добавляется. [J]: ../../../src/processforge_core/maintenance/journals.py [U]: ../../../src/processforge_core/maintenance/update.py [FU]: ../../../src/processforge_core/maintenance/file_update.py -[K]: ../../../tools/pf_cold_controller.py -[L]: ../../../tools/pf_linux_cold_controller.py +[K]: https://github.com/WebTolk/process-forge/blob/033a2e791373c7cf46d5b1dc5b2b3be8acff91fd/tools/pf_cold_controller.py +[L]: https://github.com/WebTolk/process-forge/blob/033a2e791373c7cf46d5b1dc5b2b3be8acff91fd/tools/pf_linux_cold_controller.py [M]: ../../../tests/execution_migration/test_migration.py [ID]: ../../../tests/execution_migration/test_storage_uuid.py [A]: ../../../tests/execution_migration/test_automatic.py @@ -263,7 +263,7 @@ relocation или Linux cold backend здесь не добавляется. [PH]: ../../../tests/execution_migration/test_physical_storage_paths.py [PI]: ../../../src/processforge_core/prepared/input.py [NT]: ../../../tests/execution_migration/test_native_control.py -[CT]: ../../../tests/execution_migration/test_cold_handoff.py +[CT]: https://github.com/WebTolk/process-forge/blob/033a2e791373c7cf46d5b1dc5b2b3be8acff91fd/tests/execution_migration/test_cold_handoff.py [BT]: ../../../tests/maintenance_backup/test_backup.py [IT]: ../../../tests/maintenance_integration/test_acceptance.py [JT]: ../../../tests/maintenance_service/test_journals.py diff --git a/docs/ru/audits/issue-19-public-upgrade.md b/docs/ru/audits/issue-19-public-upgrade.md index 04e9cac7..89a59ce6 100644 --- a/docs/ru/audits/issue-19-public-upgrade.md +++ b/docs/ru/audits/issue-19-public-upgrade.md @@ -21,7 +21,7 @@ Workflow запускает tools/smoke_public_core_upgrade.py с явными p ## Обязательная готовность проверяется отдельно -Успешная замена Core не создаёт native enrollment и не доказывает retirement старых writers. В воспроизведённом never-enrolled проекте публичной 1.2.0 последующие storage apply, context refresh, новая Work и worker prepare отказывают с storage_activity_unknown; execution inspect возвращает execution_activity_unknown. Этот file-only маршрут не предоставляет квалифицированный historical cold-to-managed deployment. См. [execution authority](../concepts/execution-storage.md) и [ST12](issue-17-storage-paths.md). +Успешная замена Core не создаёт native enrollment и не доказывает retirement старых writers. В воспроизведённом never-enrolled проекте публичной 1.2.0 последующие storage apply, context refresh, новая Work и worker prepare отказывают с storage_activity_unknown; execution inspect возвращает execution_activity_unknown. Этот file-only маршрут не предоставляет квалифицированный historical cold-to-managed deployment. См. [execution authority](https://github.com/WebTolk/process-forge/blob/033a2e791373c7cf46d5b1dc5b2b3be8acff91fd/docs/ru/concepts/execution-storage.md) и [ST12](issue-17-storage-paths.md). Receipt компонента записывает результаты миграции и worker prepare отдельно и явно оставляет full_t06_qualified=false. Зелёный job Core files не доказывает SQL cutover, native update или успешные worker start/status/collect. Configuration doctor и читаемость старой Work не доказывают готовность обычной записи. Missing/partial enrollment сохраняет native route и его отказы; file-only замена не является обходом. diff --git a/docs/ru/concepts/action-discovery.md b/docs/ru/concepts/action-discovery.md index 4d5e08dc..9c5bb384 100644 --- a/docs/ru/concepts/action-discovery.md +++ b/docs/ru/concepts/action-discovery.md @@ -47,7 +47,7 @@ describe — подробности аргументов и схемы выбр | `pf.actions.list` | Поиск и постраничная выдача метаданных CLI/MCP. Ничего не исполняет. | | `pf.actions.describe` | Описание точного `action_id`. Ничего не исполняет. | | `pf.runtime_driver.list` | Зарегистрированные ID драйверов и их статусы для проекта и рабочего места. | -| `pf.runtime_driver.describe` | Обязательный зарегистрированный `driver`; метаданные без значений command/environment. | +| `pf.runtime_driver.describe` | Метаданные зарегистрированного `driver`. Передайте `catalog: true`, чтобы запросить каталог моделей. | | `pf.worker.prepare` | Точные селекторы Work, явно выбранный зарегистрированный `driver`, `apply: true`; нативная подготовка входов и scope. | | `pf.worker.start` | Те же требования к identity и драйверу, `apply: true`; запуск всегда detached с немедленным возвратом. | | `pf.worker.status` | Точные селекторы Work и `apply: true`; наблюдение может согласовать записи и собрать завершённый результат. | @@ -55,11 +55,12 @@ describe — подробности аргументов и схемы выбр | `pf.session.heartbeat` | `apply: true`; продление существующей привязанной сессии Ledger. Параметра `ttl` и регистрации нет. | | `pf.chat.record` | Обязательный `content`, `apply: true`; сообщение assistant от привязанного агента Ledger в transcript его собственной сессии. | -Prepare/start дополнительно принимают `model` и `reasoning_effort` -(`minimal`, `low`, `medium`, `high`). Драйвер должен быть зарегистрирован по ID; -пути manifest и подмена executable в этот MCP-фасад не входят. Полные параметры -существующей CLI доступны по отдельным описанным маршрутам. В MCP отсутствуют -`wait`, произвольные participant/role и подмена адресата чата. +При подготовке и запуске можно передать строки `model` и `reasoning_effort`. +Используйте значения, поддерживаемые выбранными драйвером и моделью. Чтобы +запросить варианты, вызовите `pf.runtime_driver.describe` с `catalog: true` +и проверьте статус каталога. Например, `manual` возвращает `unsupported`. +MCP принимает зарегистрированный ID драйвера. +Для выбора пути к манифесту или исполняемому файлу используйте штатный CLI. ```json { @@ -67,13 +68,13 @@ Prepare/start дополнительно принимают `model` и `reasonin "run_id": "", "assignment_id": "", "context_id": "", - "driver": "codex-exec", + "driver": "test-echo-worker", "apply": true } ``` -Это пример входа `pf.worker.start`. Для запуска нужна возвращённая PF identity -и применимая политика модели выбранного драйвера. Фасад отклоняет терминальную +В этом примере `pf.worker.start` запускает штатный тестовый драйвер, который +пишет отчёт. Подставьте идентификаторы готового назначения из ответа PF. Фасад отклоняет терминальную governed Work перед prepare/start/collect, затем обращается к существующему CLI application с его проверками вызова. Locks, проверка prepared input и сбор результата остаются у нативных владельцев. Успешный запуск или `exit 0` провайдера diff --git a/docs/ru/concepts/agent-entry.md b/docs/ru/concepts/agent-entry.md index 5fa5ad67..a015fe93 100644 --- a/docs/ru/concepts/agent-entry.md +++ b/docs/ru/concepts/agent-entry.md @@ -216,8 +216,8 @@ BOM и CRLF. При замене известного старого текст ## Диагностика профиля без записи -`agent-entry profiles` выводит версионируемый реестр. Команда -`agent-entry diagnose --project-root --profile P-CODEX --cwd subdir` +`agent-entry profiles` выводит версионируемый реестр. Выберите профиль своего +клиента. Команда `agent-entry diagnose --project-root --profile --cwd subdir` проверяет существующие файлы. `--cwd` задаётся относительно корня проекта, по умолчанию `.`. Прежний `agent-entry check` сохраняет проверку плана миграции. Диагностика не меняет файлы, настройки клиентов или инфраструктуру. diff --git a/docs/ru/concepts/agent-ledger.md b/docs/ru/concepts/agent-ledger.md index 8270c6a3..dcabebdd 100644 --- a/docs/ru/concepts/agent-ledger.md +++ b/docs/ru/concepts/agent-ledger.md @@ -3,8 +3,8 @@ ProcessForge не является harness. Он фиксирует процессную обвязку вокруг harness, агентов и инструментов. Agent ledger - это workplace-слой присутствия и сессий. Это не отдельный -агент. В Forge/фабрике штатный путь — автоматическая доставка lifecycle и -активности через поддерживаемые хуки Codex/Kimi → Host → Ledger. Новый +агент. В Forge поддерживаемые хуки клиента передают события сессии и активности +через Host в Ledger. Новый допущенный prompt, compaction и tool activity обновляют точную авторизованную сессию без периодических вызовов LLM. Явные CLI/MCP операции `agent-heartbeat` и `session-heartbeat` остаются ручным совместимым API; `agent-checkin` / diff --git a/docs/ru/concepts/agent-session-model.md b/docs/ru/concepts/agent-session-model.md index 5f9c0273..7fbbd9fb 100644 --- a/docs/ru/concepts/agent-session-model.md +++ b/docs/ru/concepts/agent-session-model.md @@ -82,8 +82,8 @@ Inspector не является отдельным участником. Это self-check того же primary agent. Agent Ledger — слой присутствия и сессий, а не отдельный агент-вахтёр. -В Forge/фабрике поддерживаемые хуки Codex/Kimi автоматически доставляют -lifecycle и активность через Host в Ledger. Новый допущенный prompt, +В Forge поддерживаемые хуки клиента передают события сессии и активности +через Host в Ledger. Новый допущенный prompt, compaction и tool activity обновляют presence точной сессии без периодических вызовов LLM. Отклонённый, неизвестный/raw-only, повторный или replay input не обновляет presence и не открывает завершённую сессию. Presence не продлевает diff --git a/docs/ru/concepts/cascade-merge.md b/docs/ru/concepts/cascade-merge.md index c45eb919..7882bf89 100644 --- a/docs/ru/concepts/cascade-merge.md +++ b/docs/ru/concepts/cascade-merge.md @@ -78,7 +78,7 @@ parameters: test_stands: - id: local-joomla url: http://joomla.local/administrator/ - user: codex + user: workplace-user auth_ref: local.joomla.admin ``` diff --git a/docs/ru/concepts/egress-engine.md b/docs/ru/concepts/egress-engine.md index eafc4ddf..5e664ca7 100644 --- a/docs/ru/concepts/egress-engine.md +++ b/docs/ru/concepts/egress-engine.md @@ -2,8 +2,8 @@ T07 реализует HTTP/JSON-брокер для Windows. Через него проходят начальный запрос, последующие чтения ресурсов, результаты доверенных инструментов и -экспорт производных данных. У Codex CLI, generic-shell и режима isolated-local -нет подтверждённой строгой capability. Запрошенный `mediated_session` нельзя +экспорт производных данных. У внешних CLI агентов, `generic-shell` и режима +`isolated-local` нет подтверждённой строгой capability. Запрошенный `mediated_session` нельзя молча заменить передачей только начального запроса. Протокол брокера конечен; это не готовый клиент любого API моделей и не ОС-песочница для произвольных программ. [Полный контракт и поля протокола](../../concepts/egress-engine.md). diff --git a/docs/ru/concepts/global-agent-section.md b/docs/ru/concepts/global-agent-section.md index cf8b42de..2698b76d 100644 --- a/docs/ru/concepts/global-agent-section.md +++ b/docs/ru/concepts/global-agent-section.md @@ -1,7 +1,7 @@ # Глобальная секция агента -ProcessForge не владеет целым глобальным `AGENTS.md`, `CODEX.md` или похожим -файлом инструкций. Он обновляет только ограниченную навигационную секцию: +Глобальный файл инструкций агента принадлежит оператору. ProcessForge +может добавить или обновить в нём следующий раздел навигации. ```markdown diff --git a/docs/ru/concepts/hooks-events.md b/docs/ru/concepts/hooks-events.md index 4f402f29..c2e48736 100644 --- a/docs/ru/concepts/hooks-events.md +++ b/docs/ru/concepts/hooks-events.md @@ -29,7 +29,7 @@ SQLite хранит уникальные квитанции, данные нез `logging.raw_hooks` и `logging.events` наследуются от глобального PFConfig с проектными переопределениями. См. [описание миграции](hook-journal-sqlite.md). -## Codex adapter and registration +## Пример регистрации адаптера Codex Адаптер Codex распознаёт события сессии, сжатия контекста и вызовов инструментов. При включённом сборе и действующей привязке `UserPromptSubmit` может записать @@ -41,7 +41,7 @@ SQLite хранит уникальные квитанции, данные нез восемь обработчиков в `.codex/hooks.json`. В Garage оператор может добавить их через `tools/pf_runtime/codex_integration.py`. Активацию показывает `/hooks` в конкретном клиенте Codex. [Настройка хуков](../guides/forge-init-hooks.md) · -[Чтение данных сессии](../../concepts/codex-session-read.md) +[Чтение данных сессии](session-reads.md) ## Project hooks diff --git a/docs/ru/concepts/prepared-input.md b/docs/ru/concepts/prepared-input.md index 77bc1195..a6f56940 100644 --- a/docs/ru/concepts/prepared-input.md +++ b/docs/ru/concepts/prepared-input.md @@ -31,8 +31,8 @@ Native-подготовка возвращает `enforcement_unavailable` до Файловый tool сохраняет прежние проверки существования и границ пути. Command-only tool получает `resolution.status: descriptor` с проверенным `entry` -и непустой командой только в приватном prepared input. Descriptor не даёт доступа -к каталогам или телам файлов и не добавляет широкого directory grant для Codex. +и непустой командой только в приватном prepared input. Дескриптор даёт доступ +только к метаданным. Templates сохраняют прежнюю файловую форму. Отсутствие ссылки или digest, неоднозначная или изменённая identity, изменение определения и отзыв записи означают отказ. Старые immutable snapshots/capsules не дополняются: новым tool @@ -53,7 +53,7 @@ PF не предоставляет этот доступ и не меняет к Ручная подготовка создаёт такой же манифест попытки и ссылку на инструкции, но не запускает процесс. Встроенный `generic-shell` включает `tools/prepared_executor.py`: оболочка проверяет путь, хеш исходных байтов, идентичность и размер манифеста до запуска прежней целевой команды с унаследованными `stdin/stdout/stderr`, рабочим каталогом и окружением. Она записывает `heartbeat` начала и периодические обновления, финальный статус и устойчивый `exit contract`. Оболочка не запускает PF или MCP и не заявляет об изоляции на уровне ОС. -Codex использует существующую оболочку `tools/codex_exec_worker.py` и получает тот же подготовленный манифест. Инструкции требуют проверить путь и контрольную сумму, использовать только встроенные данные и объявленные ссылки, не пересобирать контекст и не запускать другую Work, а для `metadata_only` обращаться лишь к метаданным. В подготовленном режиме Codex получает только постоянные инструкции и проверенный манифест: он не читает изменяемые инструкции исполнителя, текст capsule или указатель на файл доступа к рабочей области. Он также не получает широкие `--add-dir` из таких путей. Подготовленному исполнению через generic-shell не нужны соединение MCP или сеть; это не ограничивает действия программы, если их не сдерживает системная песочница. +Например, обёртка `codex-exec` передаёт агенту фиксированные инструкции и проверенный манифест. Она не перечитывает изменяемые файлы инструкций или капсулы и не выдаёт доступ ко всем каталогам через `--add-dir`. Для локального запуска через `generic-shell` соединение MCP и доступ к сети необязательны. Изоляцию процесса обеспечивает среда исполнения. [Драйверы](runtime-drivers.md) Непосредственно перед запуском ProcessForge повторно читает манифест попытки и проверяет контрольную сумму, точную идентичность Work/assignment/context, привязки капсулы, fingerprint ввода, актуальные источники и разрешения. Изменённый источник, устаревший снимок, отозванное разрешение или несовпавший путь блокируют запуск. Манифест — запись о передаче данных, а не новый источник полномочий. diff --git a/docs/ru/concepts/resource-search-index.md b/docs/ru/concepts/resource-search-index.md index ffe89014..3d8cbcea 100644 --- a/docs/ru/concepts/resource-search-index.md +++ b/docs/ru/concepts/resource-search-index.md @@ -54,9 +54,9 @@ indexing: Большие source trees, SDK mirrors, vendor trees и multi-version platform snapshots должны использовать `metadata`, если manifest явно не выбирает -маленький fulltext source. Поиск может вернуть navigation root, но для деталей -исходного кода Codex должен использовать обычные filesystem reads и `rg` внутри -выбранного root. +небольшой источник для полнотекстового поиска. Если поиск вернул корень для +навигации, разрешите ссылку на него и читайте исходники доступными файловыми +инструментами в пределах предоставленной области. ## SQLite Model diff --git a/docs/ru/concepts/runtime-drivers.md b/docs/ru/concepts/runtime-drivers.md index 60bee59b..daf0b554 100644 --- a/docs/ru/concepts/runtime-drivers.md +++ b/docs/ru/concepts/runtime-drivers.md @@ -20,12 +20,17 @@ `templates/registries/runtime-drivers.yaml`. Проект может добавить локальный реестр в `.pf/runtime/registries/runtime-drivers.local.yaml`. -Команды из подключённого проекта: +Основной агент может вести Work через CLI или MCP. Если задаче нужен отдельный +исполнитель, выберите его драйвер из реестра. Команды ниже выполняются из +подключённого проекта. Выбор модели необязателен. Для запроса каталога используйте +`runtime-driver describe --project-root . --driver --catalog`. +Статус `unsupported` означает, что у драйвера нет каталога, а `unknown` — что +данные каталога получить не удалось. ```bash python .pf/runtime/bin/pf.py runtime-driver list --project-root . python .pf/runtime/bin/pf.py runtime-driver validate --project-root . --driver manual -python .pf/runtime/bin/pf.py runtime-driver describe --project-root . --driver codex-exec +python .pf/runtime/bin/pf.py runtime-driver describe --project-root . --driver test-echo-worker ``` В шаблонах команд разрешены только факты текущего запуска: @@ -114,6 +119,8 @@ ProcessForge всегда добавляет служебные переменн не выдаёт через этот файл доступ к целым каталогам. Ресурс с разрешением только на метаданные не даёт права читать его содержимое. +## Доступ к инструментам MCP + Фактические MCP-подключения и подтверждения вызовов инструментов определяются собственной конфигурацией каждого coding agent. Декларации PF в `workspace_access.mcp` — рекомендательные метаданные; они не предоставляют доступ @@ -126,53 +133,27 @@ MCP-подключения, не проверяет их отзыв или до файловой системы сохраняются. Это поведение совместимости не удаляет MCP-поля или каталоги; их удаление относится к отдельной будущей работе. -Пример прямого запуска shell-агента с моделью `chatgpt-5.3-codex-spark` и -уровнем `high`: - -```bash -python .pf/runtime/bin/pf.py task-create --project-root . --run docs-run --id docs-worker --title "Docs worker" --process task-batch-execution --allowed-file ".pf/artifacts/docs-worker.md" --required-output "id=report,path=.pf/artifacts/docs-worker.md" --expected-report-artifact ".pf/artifacts/docs-worker.md" --workspace-knowledge-resource --reasoning-effort high --apply -python .pf/runtime/bin/pf.py worker-run start --project-root . --task docs-worker --driver codex-exec --model chatgpt-5.3-codex-spark --reasoning-effort high -``` - -Для другого уже объявленного и готового к запуску назначения с той же моделью -можно выбрать уровень `medium`: - -```bash -python .pf/runtime/bin/pf.py worker-run start --project-root . --task test-worker --driver codex-exec --model chatgpt-5.3-codex-spark --reasoning-effort medium -``` - -В оркестраторском плане можно задать общий уровень и переопределить его для -отдельного исполнителя: - -```yaml -runtime: - default_driver: codex-exec - model: chatgpt-5.3-codex-spark - reasoning_effort: medium -workers: - - id: docs-worker - title: Docs worker - process: task-batch-execution - reasoning_effort: high - workspace_access: - knowledge_resources: - - docs.joomla -``` +## Запуск исполнителя -Применение плана: +Для первой проверки выберите назначение, в котором объявлен ожидаемый отчёт и +разрешена запись по его пути. Возьмите идентификатор назначения из ответа PF. +Штатный тестовый драйвер запишет отчёт локально. Учётная запись модели не нужна. ```bash -python bin/pf.py orchestrator-shell-plan-apply --project-root . --run docs-run --apply +python .pf/runtime/bin/pf.py worker-run prepare --project-root . --task --driver test-echo-worker +python .pf/runtime/bin/pf.py worker-run start --project-root . --task --driver test-echo-worker +python .pf/runtime/bin/pf.py worker-run status --project-root . --task ``` -`orchestrator-shell-plan-apply --model ` может переопределить модель для -всех shell-агентов плана. Уровень мышления сейчас задаётся в YAML-плане, в -сгенерированном assignment или при `worker-run prepare/start` через -`--reasoning-effort`. +Для внешнего CLI выберите зарегистрированный драйвер, настроенный на его +исполняемый файл и аргументы. В плане можно задать `runtime.default_driver`, +`runtime.model` и `runtime.reasoning_effort`, а для отдельного исполнителя +переопределить модель и уровень мышления. `orchestrator-shell-plan-apply --model ` +переопределяет модель плана. Указывайте модель и уровень, когда их поддерживает +выбранный драйвер. [Сбор результатов и наблюдение за исполнителем](../getting-started/runtime-driver-supervisor.md) -Shell-запуск выполняется с `shell=False`. Обычные shell-драйверы по умолчанию -объявляют отсутствие сетевого доступа; `codex-exec` объявляет его для обращения -к провайдеру модели. Эти декларации сами по себе не ограничивают сеть средствами ОС. +Программы запускаются с `shell=False`. Каждый драйвер объявляет, нужен ли ему +доступ к сети. Фактическую изоляцию обеспечивает ОС или песочница. ProcessForge не устанавливает агентов, не создаёт агентские папки и не требует фонового сервиса для работы реестра драйверов. diff --git a/docs/ru/concepts/runtime-mcp.md b/docs/ru/concepts/runtime-mcp.md index 73c08e56..1838b9aa 100644 --- a/docs/ru/concepts/runtime-mcp.md +++ b/docs/ru/concepts/runtime-mcp.md @@ -12,10 +12,9 @@ Уровни детализации, защиту данных и локальный экспорт описывает [контракт диагностики](diagnostics.md). Stdout MCP содержит только JSON-RPC. -`tools/pf_runtime/mcp_server.py` — минимальный stdio MCP-сервер. Процессом -владеет host: Codex запускает Python-процесс из своей MCP-конфигурации и владеет -stdin/stdout pipes. Этот сервер не регистрируется как Windows scheduled task или -detached background service. +`tools/pf_runtime/mcp_server.py` обслуживает MCP по stdio. Процессом +владеет host (MCP-клиент), который запускает Python и управляет потоками ввода +и вывода. Сервер не регистрируется как Windows scheduled task или фоновая служба. **pf-app-server** — служба Runtime для планирования и координации workplace. Контекст Garage и управляемая Work не требуют работающего app-server. @@ -51,7 +50,7 @@ Forge. [Выбор Work](work-continuation.md) Инициализация использует ту же службу ядра, что и CLI. Если режим связанного workplace по умолчанию — `organized`, применение плана готовит проектную -конфигурацию хуков Codex. [Настройка хуков Forge](../guides/forge-init-hooks.md) +конфигурацию поддерживаемых хуков. [Настройка и поддерживаемые клиенты](../guides/forge-init-hooks.md) Доступные tools: `pf.context`, `pf.project_state`, `pf.project_initialization.status`, `pf.project_initialization.initialize`, @@ -136,13 +135,11 @@ technical projectors остаются declaration-driven. MCP не является API приёма хуков и не раскрывает их сырые данные. `pf.session_chat` показывает только trusted redacted private transcript для той -же Ledger session. См. [Codex Session Read Layer](../../concepts/codex-session-read.md) и +же сессии Ledger. См. [чтение данных сессии](session-reads.md) и [Hooks и события](hooks-events.md). -Codex host registration можно проверить, установить или удалить командами -`python bin/pf.py codex-mcp status|install|remove --workplace `. -Install и remove по умолчанию dry-run и требуют `--apply` для изменения Codex -configuration. После изменения регистрации перезапустите или reload Codex. +Укажите команду Python и аргументы в настройках MCP-клиента. После +переподключения проверьте список инструментов. [Подключение клиента](../getting-started/runtime-autostart.md#подключение-mcp-клиента-по-stdio) Для оператора доступны `pf server` и `python bin/pf-server.py`: start, run, status, stop, restart. Защищённая остановка требует свободных работников, diff --git a/docs/ru/concepts/runtime-model.md b/docs/ru/concepts/runtime-model.md index 29e37b3a..fe4d205a 100644 --- a/docs/ru/concepts/runtime-model.md +++ b/docs/ru/concepts/runtime-model.md @@ -86,8 +86,7 @@ python .pf/runtime/bin/pf.py doctor-project --project-root . Default Runtime usage не требует PowerShell, Git, daemon или background process. Git нужен только для version-control integration или development/release checks. -Optional PF Runtime service startup описан в -[Автозапуск Runtime и запуск Codex MCP](../getting-started/runtime-autostart.md). +Запуск службы описан в [руководстве по автозапуску Runtime и подключению MCP-клиента](../getting-started/runtime-autostart.md). ## Runtime, Ledger и MCP interfaces @@ -152,17 +151,15 @@ Routed session восстанавливается из Ledger record `project_id Request или event с другим project отклоняется. Это сохраняет recovery после удаления Runtime cache и cross-project isolation независимо от daemon. -Codex hooks — тонкие fact adapters. Они нормализуют documented lifecycle или -tool facts, добавляют existing PF events и делегируют check-in, heartbeat и -checkout в Core. Через MCP также доступны создание Work, чтение состояния, +Адаптеры хуков нормализуют полученные от клиента события сессии и инструментов. +Они добавляют события PF и передают Core операции регистрации, подтверждения +активности и завершения сессии. Через MCP также доступны создание Work, чтение состояния, переход, отмена и продолжение, подготовка, запуск и сбор результата исполнителя, инициализация и восстановление проекта. У каждого действия свои идентификаторы, права и требования к `apply`. [Каталог действий](action-discovery.md) -Stdio MCP process принадлежит MCP host, а не PF Runtime autostart. Codex -запускает его из host MCP configuration для каждой connected session. См. -[PF Runtime MCP facade](runtime-mcp.md) и -[Автозапуск Runtime и запуск Codex MCP](../getting-started/runtime-autostart.md). +Для каждого соединения MCP-клиент запускает stdio-сервер из своей конфигурации. +[Фасад PF Runtime MCP](runtime-mcp.md) · [Автозапуск Runtime и подключение MCP-клиента](../getting-started/runtime-autostart.md) ## Декларативные технические проекции diff --git a/docs/ru/concepts/session-reads.md b/docs/ru/concepts/session-reads.md new file mode 100644 index 00000000..33ef13eb --- /dev/null +++ b/docs/ru/concepts/session-reads.md @@ -0,0 +1,21 @@ +# Чтение данных сессии Ledger + +Инструменты MCP читают существующую сессию Agent Ledger. Передавайте её +`session_id` при каждом вызове. Переменная `PF_MCP_SESSION_ID` также позволяет +явно привязать процесс сервера к одной сессии. Для сверки проекта передайте +`project_root`. Контекст проекта без привязки к сессии доступен через `pf.context`. + +| Инструмент | Какие данные возвращает | +| --- | --- | +| `pf.session_context` | Текущий проект и Work, блокировки, активных агентов, актуальность контекста, ресурсы и готовность к исполнению | +| `pf.session_chat` | Приватную переписку этой сессии с удалёнными чувствительными данными. Для страниц используйте `limit` (1–100) и `before` или `cursor`, для фильтрации — `roles`. | +| `pf.session_activity` | Ограниченную выборку нормализованных событий проекта, отнесённых к сессии | + +Даже при актуальном снимке проекта Work может быть заблокирована. Причину +показывает поле `execution_readiness.missing_capabilities` в ответе с контекстом. +При несовпадении проекта возвращается `session_project_mismatch`, а при попытке +передать другой идентификатор сессии привязанному серверу — `session_mismatch`. + +В переписку попадают сообщения, которые PF получил и смог связать с этой сессией. +Полнота зависит от клиента, зарегистрированного адаптера и событий, которые он +передаёт. [Адаптеры событий](provider-adapters.md) · [Пример с хуками Codex](../../concepts/codex-session-read.md) diff --git a/docs/ru/concepts/shell-agent-subagent-policy.md b/docs/ru/concepts/shell-agent-subagent-policy.md index 80ae0a68..9a44f836 100644 --- a/docs/ru/concepts/shell-agent-subagent-policy.md +++ b/docs/ru/concepts/shell-agent-subagent-policy.md @@ -21,10 +21,9 @@ model arguments. `runtime.reasoning_effort`, а конкретный worker может переопределить его через `reasoning_effort` или `agent_reasoning_effort`. В generated assignments и capsules итоговое значение хранится как `agent_reasoning_effort`; worker runtime -передаёт его как `PF_AGENT_REASONING_EFFORT`. Драйвер `codex-exec` перекладывает -это значение в `PF_CODEX_REASONING_EFFORT`, а его обёртка добавляет -`model_reasoning_effort=""` для Codex только когда значение не пустое. +передаёт его как `PF_AGENT_REASONING_EFFORT`. Выбранный драйвер преобразует +значение в параметры, которые поддерживает программа. [Драйверы](runtime-drivers.md) -Если отчеты обязательны, shell worker пишет их в `.pf/artifacts/subagents//`. Workers с `allow_subagents=false` не обязаны создавать subagent reports. Public smoke использует нейтральные simulated reports и не зависит от Claude, Codex, Gemini, Cursor или OpenCode CLI. +Когда нужны отчёты субагентов, исполнитель записывает их в `.pf/artifacts/subagents//`. При `allow_subagents=false` такие отчёты не требуются. В публичных проверках их создают локальные тестовые исполнители. `orchestrator-shell-plan-apply` пишет `.pf/runs//config-resolution-report.yaml`, чтобы оператор видел, какие значения config применены к assignments, capsules, supervisor scheduling и collection checks. diff --git a/docs/ru/contributors/agent-setup.md b/docs/ru/contributors/agent-setup.md index 44893af2..15bbeb5d 100644 --- a/docs/ru/contributors/agent-setup.md +++ b/docs/ru/contributors/agent-setup.md @@ -210,12 +210,10 @@ Git, `gh` и `rg` через реестр инструментов, зареги [Установка](https://oraios.github.io/serena/02-usage/010_installation.html), [запуск](https://oraios.github.io/serena/02-usage/020_running.html). Существующую работающую установку сначала проверяйте, не заменяйте автоматически. -- **PF MCP.** Необязательный транспорт для обязательного локального процесса PF; - допустим и штатный CLI. В Codex проверьте план командой ` /bin/pf.py - codex-mcp install --workplace --distribution-root --python - `, затем примените настройку с `--apply`. Проверьте `codex-mcp status`, - перезагрузите настоящий хост и убедитесь в доступности инструментов PF и - `pf.actions.list`. [Порядок подключения](../../getting-started/runtime-autostart.md#codex-mcp-registration). +- **PF MCP.** Для локальной работы PF доступны штатный CLI и MCP по stdio. + Укажите в настройках клиента Python, путь к серверу и рабочее место. Переподключите + клиент, проверьте список инструментов и вызовите `pf.actions.list`. + [Подключение клиента](../getting-started/runtime-autostart.md#подключение-mcp-клиента-по-stdio) - **Playwright MCP.** Подготовьте для проверок браузера, интерфейса и HTML-документации. Нужна поддерживаемая Node.js LTS. Установите `npm install --prefix /browser-mcp --save-exact @playwright/mcp@0.0.85`, затем браузер: diff --git a/docs/ru/getting-started/agent-prompts.md b/docs/ru/getting-started/agent-prompts.md index ffb18367..f1dc322a 100644 --- a/docs/ru/getting-started/agent-prompts.md +++ b/docs/ru/getting-started/agent-prompts.md @@ -10,12 +10,9 @@ ## Правила работы -- Рассматривайте ProcessForge как установленный инструмент, а не как содержимое - для копирования в `.codex`, `.claude`, `.agents` или похожие папки. -- Не выводите роли ProcessForge из текущей рабочей папки или имени каталога: - `.codex`, `.claude`, `.agents` и любые пользовательские agent root не имеют - встроенной семантики. Используйте явные пути для корня дистрибутива, - workplace, глобального корня инструкций агента и корней проектов. +- Используйте установленный дистрибутив. Определяйте корни дистрибутива, + рабочего места, инструкций агента и проектов по заданным путям. Имя каталога + и текущая рабочая папка сами по себе не задают их роль в ProcessForge. - Глобальный agent root можно зарегистрировать как knowledge root, но он не является ProcessForge-проектом, пока оператор явно не попросил подключить его как проект и там намеренно не создан `.pf/process-forge.yaml`. diff --git a/docs/ru/getting-started/initialization-order.md b/docs/ru/getting-started/initialization-order.md index b87c7d47..1a0fd258 100644 --- a/docs/ru/getting-started/initialization-order.md +++ b/docs/ru/getting-started/initialization-order.md @@ -37,8 +37,7 @@ ## Среды агентов -Не копируйте весь репозиторий ProcessForge в `.codex`, `.claude`, `.agents` или -похожие папки конфигурации агентов. +Храните дистрибутив и настройки агентов в отдельных каталогах. Установите ProcessForge один раз как инструмент, инициализируйте workplace и добавьте короткую инструкцию в конфигурацию агента: где установлен ProcessForge. diff --git a/docs/ru/getting-started/installation.md b/docs/ru/getting-started/installation.md index 7dbb501f..fe598edb 100644 --- a/docs/ru/getting-started/installation.md +++ b/docs/ru/getting-started/installation.md @@ -98,12 +98,11 @@ python .pf/runtime/bin/pf.py project-context-check --project-root . ``` Команда `python bin/pf.py` выполняется из дистрибутива, а не из обычного проекта. -Не копируйте весь репозиторий в `.codex`, `.claude`, `.agents` и другие папки -настроек агентов. Вход начинается с корневого `AGENTS.md`; для старого проекта -без него явно используется `.pf/AGENTS.md`. Выберите загрузчик или адаптер по -[политике входа](../concepts/agent-entry.md). +Храните дистрибутив отдельно от настроек агента. В проекте прочтите корневой +`AGENTS.md`, а в старом проекте без корневого файла — `.pf/AGENTS.md`. +[Вход агента](../concepts/agent-entry.md) -Garage не требует PF Runtime, MCP или хуков Codex. Подключайте их, когда +Garage не требует PF Runtime, MCP или хуков клиента. Подключайте их, когда оператор выбрал соответствующий сценарий. Агент обычного проекта не должен устанавливать, запускать, перезапускать или чинить инфраструктуру. См. [запуск Runtime и MCP](runtime-autostart.md). diff --git a/docs/ru/getting-started/project-onboarding.md b/docs/ru/getting-started/project-onboarding.md index 8d27b704..36372048 100644 --- a/docs/ru/getting-started/project-onboarding.md +++ b/docs/ru/getting-started/project-onboarding.md @@ -34,10 +34,10 @@ python bin/pf.py agent-start-prompt --project-root ../my-project при `process_choice_required` выбирается предложенный процесс. `agent-start-prompt` печатает подсказку. [Политика входа](../concepts/agent-entry.md) -Если режим workplace по умолчанию — `organized`, при применении плана PF -готовит в проекте восемь обработчиков Codex. В Garage их можно установить -отдельно по выбору оператора. Для подключения проекта через CLI достаточно -локального Core. [Установка и активация хуков](../guides/forge-init-hooks.md) +На рабочем месте с режимом `organized` применение плана готовит поддерживаемые +проектные хуки. Активацией управляет клиент. В Garage сбор событий включается +по выбору оператора. Для подключения через CLI достаточно локального Core. +[Поддерживаемые адаптеры и активация](../guides/forge-init-hooks.md) ## Coordination mode diff --git a/docs/ru/getting-started/runtime-autostart.md b/docs/ru/getting-started/runtime-autostart.md index 6009fcfb..97ec4802 100644 --- a/docs/ru/getting-started/runtime-autostart.md +++ b/docs/ru/getting-started/runtime-autostart.md @@ -1,12 +1,12 @@ -# Автозапуск Runtime и запуск Codex MCP +# Автозапуск Runtime и подключение MCP-клиента У ProcessForge есть две разные модели запуска: - **PF App Server (PF Runtime)** — workplace-scoped loopback HTTP-сервис. Он может работать в текущем окне, запускаться фоном по явной команде или, в Windows, стартовать через включённую оператором задачу Task Scheduler. -- **PF MCP** — stdio-сервер для Codex. Процессом владеет Codex: он запускает - сервер из своей MCP-конфигурации, когда host session нужен этот сервер. +- **PF MCP** работает по stdio. MCP-клиент запускает сервер при подключении + и владеет потоками ввода и вывода этого соединения. Garage не требует PF Runtime. Устанавливайте Runtime autostart только для Forge workplace, где long-lived service нужен выбранной coordination model. На Linux @@ -180,10 +180,28 @@ python bin/pf.py runtime doctor --workplace с новыми путями. Планировщик запускает указанный в команде интерпретатор. Установите в него зависимости из `requirements.txt` дистрибутива. +## Подключение MCP-клиента по stdio + +Создайте в настройках клиента локальную запись сервера с транспортом stdio. +Выберите интерпретатор Python с установленными зависимостями дистрибутива и +передайте три аргумента в указанном порядке. Подставьте пути своей установки. + +| Настройка | Значение | +| --- | --- | +| Команда | Абсолютный путь к интерпретатору Python | +| Первый аргумент | `/tools/pf_runtime/mcp_server.py` | +| Второй аргумент | `--workplace` | +| Третий аргумент | Абсолютный путь к инициализированному рабочему месту | + +Переподключите клиент, откройте список объявленных инструментов и вызовите +`pf.context` с корнем подключённого проекта в `project_root`. Сверьте идентификатор +и режим проекта в ответе. Для этого же проекта доступен и Python CLI. +[Команды проекта](agent-prompts.md) · [Справочник MCP](../concepts/runtime-mcp.md) + ## Регистрация Codex MCP -Регистрация Codex MCP отделена от Runtime autostart. ProcessForge управляет -конфигурацией Codex host только по явной команде: +Например, Codex хранит регистрацию MCP в собственной конфигурации. PF может +обновить её по явной команде. Сначала посмотрите план регистрации. ```powershell python bin/pf.py codex-mcp status --workplace diff --git a/docs/ru/index.md b/docs/ru/index.md index 4ef882ec..b8a2c00e 100644 --- a/docs/ru/index.md +++ b/docs/ru/index.md @@ -59,7 +59,7 @@ workplace; репозиторий хранит состояние процесс - [Этапы встроенных процессов](processes/built-in-processes.md) - [Multi-agent orchestration](getting-started/multi-agent-orchestration.md) - [Runtime driver and supervisor](getting-started/runtime-driver-supervisor.md) -- [Автозапуск Runtime и запуск Codex MCP](getting-started/runtime-autostart.md) +- [Автозапуск Runtime и подключение MCP-клиента](getting-started/runtime-autostart.md) ## Авторинг diff --git a/docs/ru/known-limitations.md b/docs/ru/known-limitations.md index 375c75d9..b54e5582 100644 --- a/docs/ru/known-limitations.md +++ b/docs/ru/known-limitations.md @@ -17,8 +17,8 @@ - Bounded file-first supervisor MVP существует. Optional PF Runtime service существует как local loopback PoC/MVP, включая ручной background start и Windows Task Scheduler autostart. Watch-events service, public network API, - web UI и database-backed scheduler не реализованы. Поставляемый драйвер - `codex-exec` требует отдельно доступного Codex CLI и настройки host. + web UI и database-backed scheduler не реализованы. Для внешнего исполнителя + нужны программа и настройки, предусмотренные выбранным драйвером. - Для WTAICC ядро формирует локальные файлы outbox. Для доставки в удалённую службу нужен отдельный потребитель. - `--interactive` — marker первого запуска, а не terminal wizard. - External documentation mirroring является планом или stub, пока resources не @@ -42,12 +42,11 @@ требованием для default file-first CLI usage. - Windows autostart поддерживается только для PF Runtime через per-user Task Scheduler logon task; stdio MCP server не запускается через Task Scheduler. -- Codex MCP registration является host-owned: Codex запускает stdio MCP process - из своей конфигурации для fresh host session. +- При каждом соединении MCP-клиент запускает stdio-процесс из своей конфигурации. - Managed Linux `systemd --user` Runtime autostart не предоставляется. -- При режиме workplace по умолчанию `organized` инициализация проверяет проектную - конфигурацию Codex. В Garage сбор необязателен. Запуском обработчиков управляет - клиент. [Настройка хуков](guides/forge-init-hooks.md) +- В рабочем месте с режимом `organized` при инициализации проекта настраиваются + обработчики штатной интеграции. В Garage сбор событий необязателен. Активацией + управляет клиент. [Поддержка хуков](guides/forge-init-hooks.md) - Hosted MCP зависит от поддержки stdio MCP выбранным agent host. - TUF metadata и key management не реализованы; update trust основан на HTTPS, SHA-256, immutable release assets и Git provenance. @@ -60,9 +59,9 @@ - `release-test --trace-smokes` пишет per-smoke elapsed и timeout diagnostics в `.pf/runtime/release-test/`. - Long-running watcher остается future optional layer, не частью core runtime. -- Runtime driver execution является opt-in. Built-in neutral drivers ограничены - `manual`, `generic-shell`, `codex-exec`, `test-echo-worker` и - `test-shell-agent`. +- Внешних исполнителей запускают по выбору оператора. В штатном + [реестре драйверов](concepts/runtime-drivers.md) есть ручная подготовка, + запуск внешнего CLI и локальные исполнители для проверок. - Shell-launched proof workers пишут `heartbeat.json` как required live process artifact в `.pf/runtime/agent-runs///`; это не делает ProcessForge background daemon. @@ -70,14 +69,13 @@ host AI environment может запускать собственных subagents с ProcessForge assignment/capsule scope, но ProcessForge не устанавливает и не impersonates host agents. -- Codex hook registration является environment-owned: shipped adapter не - доказывает, что все host hooks зарегистрированы. -- Автоматический сбор переписки включает атрибутированные `UserPromptSubmit`, - финальные сообщения из `Stop`, `SubagentStop` или `SessionEnd` и записи - исполнителей PF. Он зависит от полей provider, например - `last_assistant_message`; промежуточный потоковый вывод не даёт полной переписки. -- Session replay восстанавливает supported normalized Codex-derived project - events; он не реконструирует полный generic conversation transcript. +- Хуки регистрируются и активируются в клиенте. Доступные события зависят от + клиента и его зарегистрированного адаптера. +- Содержимое переписки зависит от полей зарегистрированного адаптера. Например, + хуки Codex могут передать запрос пользователя и финальный ответ. PF также + проверяет происхождение записей своих исполнителей. Повторная обработка + восстанавливает поддерживаемые события. Для полной переписки нужны исходные + сообщения. [Чтение данных сессии](concepts/session-reads.md) - Raw ingress отклоняет canonical payloads больше 1,048,576 bytes. Oversized payload blob spill или receipt пока нет. - Журналы проекта используют локальную SQLite с последовательной записью; diff --git a/docs/ru/releases/1.3.1.md b/docs/ru/releases/1.3.1.md index a2c0bf47..25696c08 100644 --- a/docs/ru/releases/1.3.1.md +++ b/docs/ru/releases/1.3.1.md @@ -44,5 +44,10 @@ [PR #164](https://github.com/WebTolk/process-forge/pull/164) [PR #139](https://github.com/WebTolk/process-forge/pull/139) -Для перехода с 1.3.0 используйте [инструкцию по обновлению и восстановлению](../concepts/update-lifecycle.md). -Установка требует явного подтверждения. +## Обновление с 1.3.0 + +Подтвердите файловое обновление Core. Для проекта с готовыми хранилищами этот +патч не требует миграции данных. Если ещё на 1.3.0 проект сообщал +`storage_migration_required`, завершите его прежнюю миграцию перед возобновлением +записи. Режим `--project-events` нужен при обслуживании журнала событий отдельного +проекта. [Обновление и восстановление](../concepts/update-lifecycle.md) · [Миграция хранилищ](../concepts/sqlite-journal-maintenance.md) diff --git a/docs/ru/requirements.md b/docs/ru/requirements.md index 79e7b3d3..97479cba 100644 --- a/docs/ru/requirements.md +++ b/docs/ru/requirements.md @@ -2,7 +2,7 @@ Проверьте эти требования перед [установкой](getting-started/installation.md). ProcessForge работает как локальный Python CLI. Для режима Garage не нужны -PF Runtime, MCP, хуки Codex или вручную открытая сессия Agent Ledger. +PF Runtime, MCP, хуки клиента или вручную открытая сессия Agent Ledger. ## Python и библиотеки diff --git a/docs/ru/temporary-files.md b/docs/ru/temporary-files.md index 2e0934c5..0a595192 100644 --- a/docs/ru/temporary-files.md +++ b/docs/ru/temporary-files.md @@ -110,7 +110,7 @@ owned grant `.pf/tmp/…/**` с разрешённым `write_artifact` или ` неоднозначные grants не дают выделения. Четыре группы ресурсов, общие limits и отдельный строгий native maintenance contract не меняются. -Executor и Codex используют этот каталог через `TEMP`, `TMP`, `TMPDIR` и +Подготовленные исполнители получают путь через `TEMP`, `TMP`, `TMPDIR` и `PF_WORKER_SCRATCH`. Durable outputs, source/Git и recovery остаются вне disposable namespace. Creation record проверяется по pin immutable prepared manifest; bounded private release/cleanup receipts относятся к точному выбранному attempt. diff --git a/docs/temporary-files.md b/docs/temporary-files.md index fb15dfba..5092ee96 100644 --- a/docs/temporary-files.md +++ b/docs/temporary-files.md @@ -105,8 +105,8 @@ contract. Core allocates an exclusive new directory only under one literal, immutable owned `.pf/tmp/?/**` write grant. Empty/read-only or ambiguous grants allocate nothing. The contract adds no resource group or public CLI option; native maintenance keeps its separate strict authority and material checks. -The prepared executor and Codex worker use the directory for `TEMP`, `TMP`, -`TMPDIR` and `PF_WORKER_SCRATCH`. Keep durable outputs, source and recovery data +Prepared workers receive this directory through `TEMP`, `TMP`, `TMPDIR` and +`PF_WORKER_SCRATCH`. Keep durable outputs, source and recovery data outside this disposable namespace. A bounded private creation record is pinned by the immutable prepared manifest; selected-attempt release/cleanup receipts record real end of use and residual errors. Old unmanaged directories are not diff --git a/packs/official/software-development/prompts/software-feature-development-agent.md b/packs/official/software-development/prompts/software-feature-development-agent.md index b62acdcd..3ba97a5b 100644 --- a/packs/official/software-development/prompts/software-feature-development-agent.md +++ b/packs/official/software-development/prompts/software-feature-development-agent.md @@ -90,9 +90,8 @@ Do not create ad hoc delivery process ids such as `joomla-plugin-delivery`, `package-delivery`. Platform-specific rules and commands come from platform contracts, project -context, tool operations, or project-local delivery profiles. Do not hardcode -Joomla, WordPress, Laravel, Cursor, IDE, or other platform behavior into this -public core process. +context, tool operations, or project-local delivery profiles. Keep the public +core process independent of frameworks, agent clients and IDEs. ## Evidence diff --git a/prompts/guided-workplace-setup-agent.md b/prompts/guided-workplace-setup-agent.md index e7069fda..4a3093e0 100644 --- a/prompts/guided-workplace-setup-agent.md +++ b/prompts/guided-workplace-setup-agent.md @@ -17,10 +17,9 @@ operator approves the proposal. Do not infer roles from the current working directory. The operator-provided `` is the installed distribution, `` is the -stateful workplace, and any global agent configuration folder such as `.codex`, -`.claude`, `.agents`, or a custom name is only an optional instruction or -knowledge source. It must not become `--project-root` unless the operator -explicitly asks to onboard that directory as a project. +stateful workplace, and a global agent configuration directory can supply shared +instructions or knowledge. Use that directory as `--project-root` only if the +operator explicitly chooses to onboard it. Device discovery is optional in guided mode. Offer it when it helps, keep it read-only, and use the fallback scope from the process when broad disk access is diff --git a/prompts/workplace-initialization-agent.md b/prompts/workplace-initialization-agent.md index 40bf9e11..2ed799b0 100644 --- a/prompts/workplace-initialization-agent.md +++ b/prompts/workplace-initialization-agent.md @@ -13,10 +13,9 @@ Initialize ProcessForge in fully automatic mode. It is located at Do not infer roles from the current working directory. The operator-provided `` is the installed distribution, `` is the -stateful workplace, and any global agent configuration folder such as `.codex`, -`.claude`, `.agents`, or a custom name is only an optional instruction or -knowledge source. It must not become `--project-root` unless the operator -explicitly asks to onboard that directory as a project. +stateful workplace, and a global agent configuration directory can supply shared +instructions or knowledge. Use that directory as `--project-root` only if the +operator explicitly chooses to onboard it. For automatic setup, run the process in two phases.