Skip to main content
Glama

CI crates.io License: Apache-2.0

Foremerge — это открытый протокол координации для программирующих агентов, построенный поверх Git. Агенты работают в изолированных worktree, обмениваясь намерениями, семантическими утверждениями, зависимостями, предварительными ChangeSets, решениями, результатами проверки и происхождением данных.

Попросите агента установить

→

Готово

→

Замечайте коллизии до того, как они появятся

Вставьте одну строку в Claude Code, Codex или Cursor

Он установит Foremerge и сам всё настроит

Каждый агент видит, что собираются менять другие, даже в отдельных worktree

Статус: Foremerge 0.4.0 — это локально-ориентированный MVP до версии 1.0. Реализованы CLI, JSON API, MCP-сервер, хранилище SQLite, детерминированный детектор конфиктов и жизненый цикл, контролируемый проверкой. Публичные схемы могут ещё менятся. Режим совместной работи на нескольких машинах и опубликованные результати бенчмарков пока отсуствуют.

Как это работает

Представьте, что два ИИ-агента одновремено работоют над одним проектом. Каждый получает собственную копию кода, поэтому они не конфликтую за файлы. Оба завершаут работу. Оба выглядят корректно. А затем вы обнарживаете, что они отменили работу друг друга.

Git не может предупредить вас об этом, потому что Git сравнивает текст, а не намерения. Он остановит вас, когда два агента редактируют одну и ту же часть одного и того же файла. Но он не видит две правки, каждая из которых сама по себе совершенно разумна, но вносится в разные файлы. Если один агент переводит всех вызывающих на новый StripePaymentService, а другой добавляет поддержку PayPal в старый PaymentService, ничто не пересекается, поэтому Git без возражений объединяет оба изменения, и работа с PayPal оказывается на классе, который больше никто не вызывает.

Foremerge решает эту проблему, заставляя агентов объявлять о том, что они собираются сделать, до того как это сделают.

  1. Каждый агент сообщает, к чему собирается прикоснуться. Не код, а только цель, например: «Я собираюсь изменить функцию sendEmail».

  2. Каждый агент читает один общий список. Это небольшая база данных внутри папки .git вашего проекта, поэтому каждый агент на вашей машине видит одну и ту же картину — будь то Claude, Codex или Cursor.

  3. Если два плана сталкиваются, вы узнаёте об этом немедленно. Foremerge называет обоих агентов, объяснят, почему их планы противоречат друг другу, и предлгает, как разделить работу. Оба worktree в этот момент ещё чисты, так что ни какую работу выбрасывать не придётся.

Представьте это как общую маркерную доску. Прежде чем начать, агент записывает, над чем собирается работать, и читает то, что уже записали другие.

Две вещи Foremerge намеренно не делат. Он никогда не бокирут файл и не останавливает агента, потому что один упавший агент застопорил бы весь флот; поэтому предупреждения носят рекомендательный характер, а решение остаётся за вами. Он также никогда не просит модель оценивать конфликты, по этому одни и те же входящие данные всегда дают один и тот же ответ.

Related MCP server: uacos

Конфликт, который Git пока не видит

Agent A: Replace PaymentService with StripePaymentService
Agent B: Add PayPal support to PaymentService

Эти агенты могут работать в разных деревьях, не затрагивая одну и ту же строку. Планы всё равно сталкиваются: один удалят точку расширения, а другой зависит от неё.

Оба агента объявляют одну и ту же облась symbol:PaymentService: один говорит, что выполнит над ней replace, другой — что выполнит extend. Foremerge сравнивает эти два объявления до того, как кто-либо напишет код, выдаёт предупреждение HIGH и предлгает согласовать работу вокруг стабильной абстракции, например PaymentProvider. Это предожение — объяснимое свидетельство, а не автоматическое архитектурное решение и не жёсткая бокировка.

Поскольку операция объявляется явно, а не извлекается из сводки, не важно, как каждый агент сформулировал свой план. «Перевест и все платежи на Stripe» и «Заменить PaymentService на Stripe» приводят к одному и тому же выводу.

Git остаётся долговечным хранилищем. Foremerge добавляет недостающую общую осведомлённость поверх него.

Terminal rendering of an actual Foremerge release demo detecting the PaymentService conflict before either worktree changed

Отрисовано по фактическим полям конфликта, захваченным при запуске релизного бинарника 0.1.0 в examples/terminal-session.txt. Показанная команда использует приведённый фильтр jq; выввод сокращён для удобочитаемости.

Быстрый старт: первый конфликт менее чем за пять минут

Пусть это сделает ваш агент

Вставьте это в Claude Code, Codex или Cursor изнутри репозитория, который вы хотите координировать:

Set up Foremerge in this repository so we can coordinate parallel agents.

1. Install it:      curl -fsSL https://foremerge.com/install.sh | sh
2. Initialize:      foremerge init
3. Wire this client and any others in use: foremerge setup all
4. Register the check I should be validated against, for example:
                    foremerge checks set test -- cargo test --all-targets
5. Confirm:         foremerge doctor --client all

Then read the Foremerge skill that step 3 installed for this client and follow
it from now on: publish your intent with semantic scopes before editing, claim
the scope, and check for conflicts before you start.

Подстройте шаг 4 под настоящую команду тестирования этого репозитория. Шаг 3 предлгает клиенту включить MCP-сервер, по этому он спросит у вас разрешение перед этим. Регистрация Codex выполняется на уровне пользователя, но одной регистрации хватает для всех репозиториев: запускайте Codex внутри того репозитория, который нужно координировать.

Или сделайте это сами

Вам понадобятся свежий Git и jq. Установите готовый релизный бинарник с проверкой контрольной суммы (macOS и Linux; скрипт устанавливает в ~/.local/bin):

curl -fsSL https://foremerge.com/install.sh | sh

[!TIP] Две команды — одна программа. Установщик ставит foremerge и fmg — один и тот же бинарник под более коротким именем, так что fmg status и foremerge status делают одно и то же. В примерах ниже используется foremerge; набирайте тот вариант, который вам удобнее.

Или соберите из исходников с Rust 1.85+: cargo install --locked --git https://github.com/naw103/foremerge foremerge или cargo install --locked --path . из клонированного репозитория. Бинарники для Windows доступны на странице релизов. Чтобы обновиться, запустите установщик заново. Затем внутри репозитория, который нужно координировать:

foremerge init
foremerge doctor

Установщик, релизные архивы и cargo install начиная с 0.4.0 устанавливают оба имени. Если в вашем PATH уже есть другая программа, откликающаяся на fmg, установщик не троает её и сообщает об этом, а не подменяет её.

Установите нативный навык и MCP-запись для всех клиентов, используемых в этом репозитории, а затем определите доверенные проверки, которые агенты могут запрашивать по имени:

foremerge setup all
foremerge checks set test -- cargo test --all-targets
foremerge doctor --client all

Приёмка контролируется проверкой: Foremerge запускает проверку сам, а не полагается на слова агента. Выберите быструю проверку, которая действительо поймает сломанную передачу работи, например сборку или проверку типов, а не полный набор CI; этот шлюз определяет, могут ли другие агенты считать работу выполненой, и он не заменяет CI. Если в этом репозитории нечего осмыслен о проверять, скажите об этом один раз, а не регистрируйте проверку, которая всегда проходит:

foremerge checks policy advisory

Работа, принятая таким образом, записивается как UNVERIFIED с указанием причины, поэтому жунал аудита никогда не создаёт видимость, что проверка выполнялась, если она не выполнялась. foremerge doctor сообщает, могут ли зарегистрированные проверки реально запускаться здесь; это важно в агентских worktree, потому что каталоги зависимостей обычно игнорируются Git, и git worktree add не создаёт их.

Используйте setup codex, setup claude или setup cursor для одного клиента. Setup сохраняет постороннюю конфигурацию (включая порядок ключей в проекном MCP JSON). При обновлении Foremerge обновляет на месте свой собственный неотредактированный файл навыка, но файл навыка, который вы редактировали, или отличающаяся MCP-запись Foremerge не заменяются, если вы явно не передадите --force. setup all пробует каждого клиента и сообщает результат по каждому, завершаясь с ненулевым кодом, если что-то не удалось. Регистрация MCP для Codex выполняется на уровне пользователя и обслуживает все репозитории, определяясь по каталогу, из которого запущен Codex; см. настройка агентских клиентов.

init создаёт локальное состояние координации в общем каталоге Git репозитория. Он не меняет отслеживаемые файлы. Приведённых ниже сессий без worktree достаточно, чтобы опробовать обнаружение до написания кода; настоящие код-агенты должны регистрировать свои изолированные worktree и фактичекие идентификаторы моделей.

STRIPE_AGENT=$(
  foremerge --json agent register \
    --name stripe-agent \
    --no-worktree |
  jq -er '.data.id'
)

STRIPE_RESULT=$(
  foremerge --json intent publish \
    --agent "$STRIPE_AGENT" \
    --task "modernize-payments" \
    --summary "Replace PaymentService with StripePaymentService" \
    --scope symbol:PaymentService=replace
)
STRIPE_INTENT=$(printf '%s\n' "$STRIPE_RESULT" | jq -er '.data.intent.id')

PAYPAL_AGENT=$(
  foremerge --json agent register \
    --name paypal-agent \
    --no-worktree |
  jq -er '.data.id'
)

PAYPAL_RESULT=$(
  foremerge --json intent publish \
    --agent "$PAYPAL_AGENT" \
    --task "add-paypal" \
    --summary "Add PayPal support to PaymentService" \
    --scope symbol:PaymentService=extend
)
PAYPAL_INTENT=$(printf '%s\n' "$PAYPAL_RESULT" | jq -er '.data.intent.id')

printf '%s\n' "$PAYPAL_RESULT" |
  jq '.data.conflicts[] | {kind, severity, scope, explanation, suggestion}'

printf '%s\n' "$PAYPAL_RESULT" |
  jq '.data.related_work[] | {agent, summary, asserted, overlap}'

Первая команда выводит результат текущего локального запуска. Вторая выводит related_work: намерение другого агента и каждую пересекающуюся область с обеими объявленными операциями. Foremerge сообщает, что пересекается; вы решаете, что это значит, и фиксируете это с помощью foremerge assess record. Никакие файлы менять не нужно. Изучите захваченную и чётко размеченную запись сессии в examples/terminal-session.txt.

Утверждения добавляют контекст владения, не блокируя ни одного агента:

foremerge --json work claim \
  --agent "$STRIPE_AGENT" \
  --intent "$STRIPE_INTENT" \
  --scope symbol:PaymentService \
  --reason "Changing the provider boundary" >/dev/null

foremerge --json work claim \
  --agent "$PAYPAL_AGENT" \
  --intent "$PAYPAL_INTENT" \
  --scope symbol:PaymentService \
  --reason "Adding another provider" |
  jq '.data | {advisory_only, warnings}'

foremerge --json work query --scope symbol:PaymentService |
  jq '.data[] | {agent: .agent.name, intent: .intent.summary, open_conflicts}'

Оба утверждения успешно проходят. Второй ответ содержит предупреждение о пересечении, потому что утверждение — это временное рекомендательное право, а не исключительное владение.

Как это встраивается поверх Git

  coding agent A                                  coding agent B
        |                                               |
  isolated worktree A                            isolated worktree B
        |                                               |
        +--------- semantic events, not edits ----------+
                              |
                    CLI / MCP / JSON API
                              |
                     Foremerge service
                    /        |        \
       SQLite coordination   git CLI   validation argv
       in <git-common-dir>       |           |
                    \         Git repository /
                     durable commits and refs

Каждый фронтенд использует один и тот же сервис и хранилище. Семантический граф выглдит так:

Agent → Task → Intent → Claim → Symbol → Dependency
      → ChangeSet → Test → Result → Decision → Provenance

Мутации обновляют типизированные проеции SQLite, материализуют рёбра графа и добавляют в одну транзакцию семантическое событие, сцеплённое по хешу. Журнал полезен как доказательство подделки; это не удалённая подпись личности и не распределённый консенсус.

Git worktree: изолированные файлы, общая осведомлённость

Foremerge определяет общий каталог Git и хранит свою базу данных по умолчанию в:

<git-common-dir>/foremerge/state.sqlite3

Связнные worktree разделяют этот общий каталог, хотя их извлечённые файлы раздельны. Создайте worktree с помощью тонкой обёртки Foremerge вокруг стандортного Git:

foremerge worktree create \
  --branch agent/paypal \
  --path ../payments-paypal \
  --base HEAD

foremerge --cwd ../payments-paypal --json agent register \
  --name paypal-agent \
  --model "$ACTUAL_MODEL_ID"

Друго worktree в том же репозитории сразу видит зарегистрированного агента и его намерения. Вы можете переопределить хранилище с помощью --database PATH или FOREMERGE_DB, но каждый локальный агент должен указывать на одну и ту же базу данных, чтобы обмениваться состоянием. MVP не реплицирует SQLite между машинами; не делайте выводов о распределённой безопасности на основе базы данных, смонтированной по сети.

Foremerge создаёт снимки состояния Git для отпечатков ChangeSet и принятых ссылок (refs). Он не выполняет автоматически merge, rebase, cherry-pick, push и не обновляет целевую ветку.

Семантический рабочый процес

INTENT ─claim→ CLAIMED ─start→ IN_PROGRESS ─publish→ PROVISIONAL
       ─validate current fingerprint→ VALIDATED
       ─accept gates→ ACCEPTED ─record Git ref→ COMMITTED

Поддерживаемые виды областей:

symbol api schema config infra test migration env file component contract domain

Публикуйте самую узкую полезную семантическую облась. Одни только пути к файлам не учитывают коллизии в API, конфигурации, схеме, инфраструктуре и межъязыковые коллизии.

Часто используемые команды:

Действие

Команда

Зарегистрировать происхождение

foremerge agent register --name NAME --model MODEL

Опубликовать намерение

foremerge intent publish --agent ID --task TASK --summary TEXT --scope KIND:KEY=OPERATION

Заявить права на область

foremerge work claim --agent ID --intent ID --scope KIND:KEY

Начать реализацию

foremerge work start INTENT_ID --agent AGENT_ID

Узнать, кто вносит изменения

foremerge work query --scope KIND:KEY

Посмотреть, что делает каждый агент

foremerge status

Предварительно проверить план

foremerge conflicts check --intent TEXT --scope KIND:KEY=OPERATION

Записать, к чему вы пришли

foremerge assess record --agent ID --intent ID --related-intent-id ID --verdict V --rationale TEXT --action A

Отправить координационное сообщение

foremerge coordinate send --from ID --to ID --message TEXT

Наблюдать за семантическими событиями

foremerge work watch --after-seq 0

Выполните foremerge <command> --help, чтобы увидеть полный текущий список флагов. Глобальные флаги, такие как --json, --cwd и --database, могут указываться до или после подкоманд.

ChangeSets и шлюз проверки

ChangeSet фиксирует агента/модель, задачу и намерение, затронутые файлы/символы/контракты, зависимости, сводку реализации, заявленные тесты, решения, происхождение, рабочее дерево, отпечаток, статус и Git-ссылку. Принятый кандидат и его последующий коммит интеграции сохраняются отдельно как accepted_commit и integration_commit.

Добросовестный порядок интеграции:

  1. Опубликуйте намерение, заявите семантическую область и пометьте реализацию как выполняющуюся.

  2. Работайте и коммитьте в изолированной ветке агента.

  3. Опубликуйте ChangeSet для этого чистого кандидата.

  4. Попросите Foremerge выполнить проверку по его точному отпечатку.

  5. Разрешите конфликты уровня HIGH, затем примите по-прежнему чистую и по-прежнему проверенную ссылку.

  6. Выполните интеграцию обычным Git или через pull request.

  7. Запишите постоянный коммит интеграции в Foremerge.

foremerge work claim \
  --agent "$AGENT_ID" \
  --intent "$INTENT_ID" \
  --scope component:payments
foremerge work start "$INTENT_ID" --agent "$AGENT_ID"

# Implement the change and commit it on this isolated branch before publishing.
CHANGESET_ID=$(
  foremerge --json changeset publish \
    --agent "$AGENT_ID" \
    --intent "$INTENT_ID" \
    --summary "Introduce PaymentProvider and StripePaymentProvider" \
    --file src/payments.rs \
    --symbol PaymentProvider \
    --symbol StripePaymentProvider \
    --contract payment-provider \
    --provenance-json '{"source":"coding-agent"}' \
    --git-ref HEAD \
    --worktree "$PWD" |
  jq -er '.data.id'
)

foremerge changeset validate "$CHANGESET_ID" \
  --worktree "$PWD" \
  -- cargo test --all-targets

foremerge changeset accept "$CHANGESET_ID" --git-ref HEAD

# Integrate with ordinary Git, then record the commit that actually landed.
foremerge changeset commit "$CHANGESET_ID" --git-ref main

Значения --reported-test COMMAND=STATUS, сообщённые агентом, — это только сведения о происхождении. Они не удовлетворяют условиям приёмки. Выполняемая Foremerge проверка записывает вектор аргументов команды, код выхода, вывод, длительность и отпечаток кандидата. Любое обнаруженное изменение после проверки делает эту попытку неавторитетной, но её вывод и диагностика изменённых путей остаются доступными для запроса через changeset attempts.

Для доверенных проверок, которые создают одноразовый неотслеживаемый вывод, оператор может задать правила точного совпадения или префикса каталога, не изменяя отслеживаемые файлы:

foremerge validation-exclusions set \
  --path coverage.log \
  --path target/validation-reports/

Нормализованный дайджест политики является частью отпечатка кандидата, отслеживаемые изменения нельзя исключить, MCP не может изменить политику, а сгенерированные файлы всё равно должны быть удалены до приёмки. См. ADR 0001.

Приёмка также требует чистого рабочего дерева и отсутствия неразрешённого конфликта HIGH, если только вызывающий намеренно не использует явный флаг --allow-high-conflicts вместе с --override-reason "...". Предпочтительно разрешать конфликт с явным обоснованием. Приёмка создаёт refs/foremerge/accepted/<changeset-id>; она не выполняет слияние кода.

Команды проверки выполняются как доверенный локальный код с правами вашей операционной системы. Foremerge не помещает их в песочницу.

Клиенты агентов и MCP: полный набор инструментов жизненного цикла

Запускайте foremerge mcp через stdio. MCP не требует HTTP-демона; оба они являются адаптерами поверх одной и той же базы данных.

Tool

Назначение

register_agent

Записать агента, модель, возможности и происхождение рабочего дерева

publish_intent

Анонсировать запланированную работу, указать, что она делает с каждой областью, и получить конфликты, а также связанную работу для оценки

record_assessment

Записать, что вы заключили об одном связанном намерении и что вы будете делать

claim_work

Создавать арендуемые рекомендательные заявки на семантические области

query_work

Находить агентов, намерения, заявки, ChangeSets и конфликты

check_conflicts

Проверять опубликованное или предварительное намерение до изменений кода

publish_changeset

Записывать реализацию, тесты, решения и Git-происхождение

coordinate_with_agent

Отправлять долговременное сообщение, связанное с конфликтом или ChangeSet

start_work

Переводить заявленную работу в реализацию

resolve_conflict

Записывать аудируемое разрешение для долговременного конфликта

run_verification

Запускать доверенную проверку репозитория по имени, никогда не по необработанному argv MCP

accept_changeset

Применять финальные шлюзы конфликтов, зависимостей, проверки и Git

record_commit

Записывать фактический Git-коммит интеграции

discard_work

Сохранять заброшенную работу, освобождая заявки и блокировки

list_agents

Читать зарегистрированное происхождение агентов

get_intent

Читать одно намерение и текущий снимок конфликтов

get_changeset

Читать один ChangeSet и состояние Git/происхождения

status

Читать единый согласованный снимок статуса координатора

Начните с допустимой минимальной конфигурации в examples/mcp-config.json. Предполагается, что клиент запускает foremerge с репозиторием в качестве рабочего каталога. Клиенты без настройки рабочего каталога репозитория должны передавать абсолютный путь --database перед mcp; определяйте общий каталог Git, а не предполагайте, что .git связанного рабочего дерева является каталогом.

См. настройку клиента агента — там описаны установщик, расположение нативных навыков, файлы MCP для конкретных клиентов, диагностика и правила безопасной замены. См. настройку MCP — там описаны поведение транспорта, схемы, именованные проверки, примеры входных данных и конфигурация с несколькими рабочими деревьями.

Клоны исходного репозитория содержат эквивалентные навыки в .codex/skills, .claude/skills и .cursor/skills, а также переносимые шаблоны MCP для Claude и Cursor. Установка через Cargo встраивает канонический навык, поэтому foremerge setup может установить его в другой репозиторий без копирования этого дерева исходников.

Локальный JSON API

Демон по умолчанию слушает аутентифицированный loopback-HTTP на http://127.0.0.1:47811. init создаёт bearer-токен с приватными правами доступа к файлу там, где это поддерживает платформа.

В одном терминале:

foremerge daemon

В другом терминале узнайте путь к токену у Foremerge, а не угадывайте его:

export FOREMERGE_URL=http://127.0.0.1:47811
TOKEN_FILE=$(foremerge --json init | jq -er '.data.token_file')
FOREMERGE_TOKEN=$(tr -d '\r\n' < "$TOKEN_FILE")

curl --fail --silent --show-error \
  --header "Authorization: Bearer $FOREMERGE_TOKEN" \
  --get "$FOREMERGE_URL/v1/work" \
  --data-urlencode 'scope=symbol:PaymentService' |
  jq .

Не выводите, не коммитьте и не передавайте токен. /healthz — это проверка живости процесса без обращения к базе данных, а /readyz — ограниченный неблокирующий запрос к хранилищу; обе конечные точки публичны. Каждый маршрут /v1, включая постраничный аудит цепочки событий, требует токен, если только демон не был намеренно запущен с --no-auth для доверенного локального теста. MVP не разрешает привязку к адресам, отличным от loopback, и не является защищённой моделью безопасности для публичного развёртывания.

Команда foremerge request — это запасной выход CLI; она автоматически считывает локальную аутентификацию. Выполняемый пример с curl находится в examples/api-requests.sh; полный справочник маршрутов и ошибок — JSON API.

Что MVP намеренно не заявляет

  • Обнаружение конфликтов детерминировано и объяснимо, но эвристично. Оно может пропускать синонимичные понятия и предупреждать о совместимой работе.

  • Заявки предупреждают; они никогда не блокируют файлы, символы или агентов.

  • Прохождение проверки доказывает лишь то, что записанная команда выполнилась успешно для записанного отпечатка, а не то, что план тестирования был полным.

  • Git-ссылки и результаты процессов — более веские доказательства, чем самостоятельно сообщённые модель, промпт или текст тестов.

  • Цепочка событий обнаруживает изменения внутри сохраняемой цепочки; она не является подписью, удалённой аттестацией или внешней контрольной точкой.

  • Локальный SQLite — это не консенсус в режиме совместного доступа, а loopback bearer-токен — не модель безопасности для публичного развёртывания.

  • Существуют исполняемые бенчмарк-фикстуры, воспроизводимый механизм запросов и план бенчмарков, но опубликованных результатов сравнения скоординированной и нескоординированной работы пока нет.

  • Foremerge не заменяет ревью кода, ответственность за архитектуру, CI, сканирование безопасности, правила хостинга Git или резервное копирование.

Прочтите полный документ об ограничениях и модели доверия, прежде чем использовать Foremerge в качестве шлюза интеграции.

Документация

Документ

На какие вопросы отвечает

Архитектура

Почему один Rust-бинарник, SQLite, Git CLI и общее состояние в общей директории?

Протокол

Что публикуют агенты и когда?

Модель состояний

Какие переходы и инварианты управляют работой?

Обнаружение конфликтов

Какие детерминированные правила формируют заключения и предложения?

Интеграция с Git

Как ведут себя отпечатки, работчие деревя и принятые ссылки?

Клиенты агентов

Как Codex, Claude Code и Cursor обнаруживают навык и MCP-сервер?

Настройка MCP

Как клиенты настраивают и вызывают 18 инструментов жизненного цикла/чтения?

JSON API

Какие маршруты, тела запросов, аутентификация и ошибки входят в поставку?

Схема OpenAPI

Что представляет собой машиночитаемый HTTP-контракт?

План бенчмарков

Как будут сравниваться скоординированные и нескоординированные запуски?

ADR об исключениях из валидации

Какие сгенерованные пути валидания может игнорировать и почему?

Дорожная карта

Какие пункты являются текущими, следующими, более поздними или нецелями?

Ограничения

Что MVP не гарантирует?

Бренд

Какие знак, цвета, шрифты, иконки и правила вывода CLI применяются к любой поверхности Foremerge?

Также см. журнал изменений, политику безопасности и кодекс поведения.

Вклад и лицензия

Вклад приветствуется, особенно обратная связь по протоколу о словаре области, доказателаствах конфликтов, происхождении ChangeSet и политике верификации. Прочтите CONTRIBUTING.md, а затем запустите полную локальную проверку:

make verify

Foremerge распространяется под лицензией Apache License 2.0.

Available Tools

18 tools
accept_changesetAccept a validated ChangeSetA

Accept a ChangeSet as done so other agents may build on it. Use this after run_verification passes; use record_commit later, once the work has actually landed on the target branch. Foremerge re-checks every gate before accepting: the worktree must be clean and unchanged since publication, verification must have passed (unless the repository's policy is advisory and nothing was verified), no HIGH conflict on the intent may be OPEN or COORDINATING (resolve_conflict clears an agreed one, and discard_work dismisses the conflicts of work you drop), and every intent in the ChangeSet's dependencies must already be accepted, with its accepted commit, or once committed its recorded integration commit, in this commit's history. On success it marks the ChangeSet and intent ACCEPTED, pins the commit as accepted_commit, writes refs/foremerge/accepted/<changeset_id>, and returns the updated ChangeSet. A failed gate returns an error naming it (CHECK_FAILED, BLOCKING_CONFLICT, UNSATISFIED_DEPENDENCY, STALE_CHANGESET, INVALID_TRANSITION) and changes nothing. Overriding a gate is an operator action on the CLI or HTTP API and is refused over MCP, so ask a human when a gate should be bypassed.

NameRequiredDescriptionDefault
git_refNoOptional commit to accept. Defaults to the ref recorded at publication, then the worktree HEAD. Whatever it names must resolve to the current worktree HEAD.
changeset_idYesThe ChangeSet to accept (chg_...), as returned by publish_changeset.

TDQS

A4.6/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations only say it is a non-destructive, non-idempotent write with no override; the description adds substantial context beyond that: it enumerates every gate re-checked, the exact failure error codes, that a failed gate changes nothing, and the state written on success (ACCEPTED status, accepted_commit pin, refs/foremerge/accepted/...). It also discloses that gate overrides are refused over MCP and must go to a human, which is critical behavior an agent could not infer.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with purpose and the when-to-use rule before the gate detail, and nearly every clause carries load-bearing information (gate list, error codes, side effects). The gate enumeration is dense and slightly overlong, but not wasteful.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, yet the description states what is returned (the updated ChangeSet) along with state mutations and ref writes. Combined with the explicit failure modes and MCP override restriction, an agent has everything needed to call it correctly and interpret the result.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, with git_ref's defaulting and HEAD-resolution rules documented in the schema itself, so the description does not need to repeat them. The description adds only indirect meaning (the worktree must be clean and unchanged), leaving the baseline 3 appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Accept a ChangeSet as done') plus the downstream consequence ('so other agents may build on it'). It explicitly contrasts with the sibling record_commit, so an agent can distinguish the two without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit ordering rule: use this after run_verification passes, and use record_commit later once work has landed. It also names the sibling tools that clear blocking conditions (resolve_conflict, discard_work), so the agent knows how to unblock a failed accept.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

check_conflictsCheck intent conflictsA
Read-only

Ask whether planned work collides with other agents' active work, before any change exists. Read-only: nothing is stored, so use it while only planning. It runs the same comparison as publish_intent: overlapping scopes, not only identical ones, and the declared operations on each. Pass intent_id alone to list the persisted OPEN or COORDINATING conflicts on a published intent (use this before publish_changeset and before run_verification, since conflicts are raised when the later intent publishes). Pass intent text with scopes, or intent_id with replacement scopes, for a what-if check against every intent from INTENT through VALIDATED, excluding ACCEPTED, COMMITTED and DISCARDED; those findings carry ephemeral eph_ ids and are not recorded. Returns conflicts (each with severity, explanation, evidence and a suggested coordination step), checked_intents, blocking (true when any finding is HIGH), ephemeral (true when the ids are per-call eph_ ids), as_of_event (the ledger event sequence the read reflects), and the active policy. To record a decision about overlap, use record_assessment or resolve_conflict instead.

NameRequiredDescriptionDefault
intentNoFree-form summary of work not yet published, for a what-if check. Provide this or intent_id. Passing an intent id here is rejected; use intent_id.
scopesNoScopes to compare, each with the operation you would perform. With intent text, these are the proposed scopes. With intent_id, non-empty scopes replace the intent's own for this check only.
agent_idNoOptional caller agent id. Informational only; it does not change which work is compared.
intent_idNoA published intent (int_...) to check. Provide this or intent.

TDQS

A4.2/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true, destructiveHint=false and idempotentHint=false, so the safety profile itself is covered; the description's 'nothing is stored' restates that but adds the useful nuance that findings get ephemeral eph_ ids and are not recorded. It also discloses the compared intent-status window (INTENT through VALIDATED, excluding ACCEPTED/COMMITTED/DISCARDED), the blocking-when-HIGH rule, and as_of_event semantics, which are genuinely beyond the annotations. However, these are largely framed as return-shape detail rather than deeper operational constraints, so it sits just above the annotated baseline.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is long, but front-loaded with the core purpose and constraint before the mode and return-value detail, and each clause (timing, modes, status window, return fields) earns its place given there is no output schema. Minor redundancy between 'Read-only: nothing is stored' and the readOnlyHint annotation, and the trailing enumeration of return fields is dense.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description compensates by enumerating the returned fields (conflicts with severity/explanation/evidence/suggested step, checked_intents, blocking, ephemeral, as_of_event, active policy). Combined with the status-window and two-mode explanations, an agent has everything needed to call it correctly and interpret the result.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and each parameter already has a rich description, including the intent-vs-intent_id rejection rule and the same-kind/operation semantics, so the baseline of 3 applies. The description adds the combination semantics — intent_id alone versus intent_id plus replacement scopes versus intent text plus proposed scopes — which is real value, but it largely mirrors what the schema's own parameter descriptions state.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence states a specific verb and resource: ask whether planned work collides with other agents' active work, before any change exists. It explicitly positions itself against publish_intent (same comparison, but read-only, no stored change) and against record_assessment/resolve_conflict (for recording decisions). An agent can tell exactly what this does versus its siblings without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives concrete timing ('before publish_changeset and before run_verification, since conflicts are raised when the later intent publishes') and explains the two invocation modes: intent_id alone for persisted OPEN/COORDINATING conflicts, intent text plus scopes or intent_id plus replacement scopes for a what-if check. It also names the alternatives to reach for when the goal is to record a decision rather than detect a conflict.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

claim_workClaim semantic workA

Tell other agents you are working on specific scopes of your own intent, for a limited time. Use this after publish_intent and record_assessment, and before start_work. Claims are advisory and never lock: if any other intent, another of yours included, holds a live claim on a matching scope (symbols match loosely by name), you still get the claim, and a claim-overlap conflict is recorded and returned as a warning. The first claim moves the intent from INTENT to CLAIMED. Claiming a scope the intent already holds renews its lease instead of adding a second claim, which is how long-running work keeps its claims. Only the intent's owner may claim, and only while the intent is INTENT, CLAIMED or IN_PROGRESS. Returns the created or renewed claims, overlap warnings, advisory_only: true, and scope_warnings when a symbol key will lose its class.

NameRequiredDescriptionDefault
reasonNoOptional note shown to other agents explaining why you hold the claim.
scopesYesThe scopes to claim. Use the scopes declared on the intent; operations are not repeated here.
agent_idYesYour agent id (agt_...). Must own the intent.
intent_idYesYour intent (int_...) that the claims belong to.
lease_secondsNoHow long the claim lasts before it expires, from 60 seconds to 24 hours. Default one hour. Claim again to renew.

TDQS

A4.8/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations only declare the read/write safety profile; the description supplies the substantive semantics — claims are advisory and never lock, overlapping claims still succeed but produce a recorded warning, the first claim transitions INTENT→CLAIMED, and re-claiming renews the lease rather than duplicating. It even discloses the return payload components, which is critical given there is no output schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded in the first sentence and every subsequent sentence carries non-obvious information (ordering, advisory nature, renewal, ownership, returns). It is dense — the third sentence bundles advisory semantics, conflict handling, and warnings — but no sentence is filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutating, non-idempotent tool with no output schema, the description covers the state machine, authorization constraint, the renewal idiom, the conflict-warning behavior, and the shape of the response. Nothing an agent needs in order to call this correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description adds genuine meaning on top by explaining that symbol matching is loose and case-insensitive by name, and that re-claiming an existing scope renews the lease (the practical use of lease_seconds for long-running work). It does not restate the enum or the 60s–24h bounds, but the schema already covers those.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a concrete verb+resource: registering an advisory claim on scopes of your own intent for a limited time. It distinguishes itself from siblings by naming publish_intent, record_assessment, and start_work as the surrounding sequence, so an agent knows exactly where this sits in the workflow.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly states when to use it ('after publish_intent and record_assessment, and before start_work') and what alternative behavior to expect ('Claiming a scope the intent already holds renews its lease instead of adding a second claim'). It also states the preconditions: owner-only, and only while the intent is INTENT, CLAIMED, or IN_PROGRESS.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

coordinate_with_agentCoordinate with another agentA

Send a stored message to another registered agent, usually to agree how two overlapping pieces of work should coexist. Use it when check_conflicts or related_work shows a clash you need the other agent to act on; afterwards, a party to the conflict records the agreement with resolve_conflict, naming this message's id. Linking a conflict_id moves that conflict from OPEN to COORDINATING. The message is appended to a durable log with status UNREAD; it does not interrupt or control the other agent. No MCP tool reads messages: the recipient reads them with the CLI, foremerge coordinate inbox. Returns the stored message, including its msg_ id.

NameRequiredDescriptionDefault
messageYesWhat you propose or need, in plain language.
conflict_idNoOptional stored conflict (cfl_...) this message is about. An eph_ id from a what-if check_conflicts is rejected with NOT_FOUND. May be combined with changeset_id.
to_agent_idYesThe recipient's agent id (agt_...), for example the owner of the conflicting intent.
changeset_idNoOptional ChangeSet (chg_...) this message is about. Must exist.
from_agent_idYesYour agent id (agt_...).

TDQS

A4.7/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description goes well beyond the uninformative all-false annotations, disclosing that the message is appended to a durable log with status UNREAD, that it does not interrupt or control the recipient, that linking a conflict_id moves it from OPEN to COORDINATING, and that no MCP tool reads messages. It also states the return value includes the stored message and its msg_ id.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is longer than typical but every sentence carries distinct information: purpose, trigger, follow-up action, state transition, durability, non-interruptive nature, and return value. It is deliberately structured and front-loaded with the core operation, with no filler or repetition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Despite lacking an output schema, the description explicitly states what is returned. It covers the integration with sibling tools, the state change on conflict_id, the durable status semantics, and the limitation that only the CLI can read messages. This is a complete briefing for a tool with this complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema fully documents all five parameters. The description adds a bit of contextual meaning (e.g., conflict_id linking moves the conflict, eph_ ids are rejected), but most parameter semantics already appear in the schema, so a baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource: 'Send a stored message to another registered agent,' and immediately states the purpose—'to agree how two overlapping pieces of work should coexist.' It also differentiates from siblings by referencing check_conflicts and resolve_conflict, clarifying this tool is for the message-sending step, not conflict detection or resolution.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit guidance is given: 'Use it when check_conflicts or related_work shows a clash you need the other agent to act on.' It also explains the follow-up flow with resolve_conflict and names the message id, and notes that the recipient reads via CLI since no MCP tool reads messages. This fully covers when and how to use the tool relative to alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

discard_workDiscard workA
Destructive

Close one of your own intents that you will not take through accept_changeset. Call it before you stop working, whenever the intent is still open: an intent never closes itself, and an open one is compared against every later intent on the same scopes. Two cases. Work that will not be finished, for example a duplicate or work another agent took over: pass a reason. Work that reached Git without a passing named check, so it cannot be accepted: pass landed_ref as well, naming the commit or branch it landed in. Either way it sets the intent to DISCARDED, releases all of its active claims, and dismisses its OPEN or COORDINATING conflicts so they stop blocking the other party. With landed_ref the commit is checked and recorded, but the intent still ends DISCARDED, not ACCEPTED: nothing here says the work was verified. The history stays in the event log, but a discarded intent cannot be resumed; publish a new intent instead. Only the owner may discard, and not once the intent is ACCEPTED, COMMITTED or already DISCARDED. Returns the updated intent. To agree that two intents can coexist, use resolve_conflict instead.

NameRequiredDescriptionDefault
reasonYesWhy the work is being closed: why it was abandoned, or how it landed. Required and recorded in the event log.
agent_idYesYour agent id (agt_...). Must own the intent.
intent_idYesThe intent (int_...) to discard.
landed_refNoOnly for work that reached Git: the commit, branch or tag it landed in. Refused with INVALID_INPUT if it does not resolve to a commit, with TARGET_DIVERGED if the intent published a ChangeSet whose changes it does not hold, by ancestry or by content as record_commit checks, and with STALE_CHANGESET if that ChangeSet was published with uncommitted changes or before the repository's first commit.

TDQS

A4.8/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations declare destructiveHint=true, but the description goes well beyond that: it states what specifically changes (intent set to DISCARDED, active claims released, OPEN/COORDINATING conflicts dismissed so they stop blocking the other party), that the event history is retained but the intent cannot be resumed, and that landed_ref does not imply verification ('still ends DISCARDED, not ACCEPTED'). It also discloses the return value. No contradiction with the destructive/readOnly hints.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core action and organized by a 'Two cases' branch that makes the dense content scannable. It is longer than minimal—some explanation of state transitions and the landed_ref caveat could be trimmed—but virtually every sentence carries operational meaning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Covers all four parameters with their conditional usage, the post-call state of the intent and its claims/conflicts, the ownership and state preconditions, resume impossibility, and the return value. With no output schema, this is exactly the context an agent needs to call a destructive state-changing tool safely.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds genuine semantics the schema does not: the conditional relationship between the parameters ('pass a reason' alone vs 'pass landed_ref as well'), and the consequence of landed_ref (commit checked and recorded but intent still DISCARDED). It does not restate the error codes, which the schema already carries.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Close one of your own intents') plus the condition that distinguishes it ('that you will not take through accept_changeset'). It also names the sibling it must not be confused with ('To agree that two intents can coexist, use resolve_conflict instead'), so an agent can route correctly without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit timing ('Call it before you stop working, whenever the intent is still open'), two enumerated usage cases (abandoned work vs work that landed without a passing named check), and a hard exclusion with an alternative (resolve_conflict). Preconditions are spelled out: only the owner, and not once ACCEPTED, COMMITTED or already DISCARDED.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_changesetGet a ChangeSetA
Read-onlyIdempotent

Read one ChangeSet by id. Use it to check a ChangeSet's status (PROVISIONAL, VALIDATED, ACCEPTED, COMMITTED or SUPERSEDED), its fingerprint, and its commit provenance: accepted_commit, pinned at acceptance and never changed, and integration_commit, set by record_commit. Read-only. Use get_intent for the work item itself. To find an id, status lists PROVISIONAL, VALIDATED and ACCEPTED ChangeSets, and query_work shows each intent's latest one.

NameRequiredDescriptionDefault
idYesThe ChangeSet id (chg_...).

TDQS

A4.9/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint, idempotentHint, non-destructive, and openWorld=false, and the description reinforces this with 'Read-only.' It also adds meaningful behavioral detail beyond the annotations: accepted_commit is pinned at acceptance and never changed, and integration_commit is set by record_commit. No contradiction with annotations is present.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is information-dense and well-structured: operation and target first, then what can be checked, then read-only status, then routing to alternatives. Every sentence earns its place, and no filler or redundant restating of the title appears.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter read tool with full schema coverage and comprehensive annotations, the description fully covers what an agent needs: what the tool returns conceptually (status, fingerprint, provenance) and how to obtain an id. The absence of an output schema does not create a material gap because the description names the fields the agent should expect.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema covers 100% of parameters with a clear description of id, so the baseline is 3. The description adds useful parameter context by explaining how to find an id: status lists qualifying ChangeSets and query_work shows each intent's latest one. This exceeds the schema's minimal id description.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb-resource pair: 'Read one ChangeSet by id', and clearly distinguishes it from siblings by stating what it is not for: 'Use get_intent for the work item itself.' An agent can tell this tool apart from get_intent, status, and query_work without inspecting schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly states when to use this tool: to check ChangeSet status, fingerprint, and commit provenance. It also names alternatives and when they apply, including get_intent for the work item, status for finding PROVISIONAL/VALIDATED/ACCEPTED ids, and query_work for each intent's latest ChangeSet.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_intentGet an intentA
Read-onlyIdempotent

Read one intent by id, with its owning agent and the count and ids of its OPEN or COORDINATING conflicts (check_conflicts with intent_id shows severity). Use it to see an intent's current status (INTENT, CLAIMED, IN_PROGRESS, PROVISIONAL, VALIDATED, ACCEPTED, COMMITTED or DISCARDED), declared scopes and depends_on, for example before assessing someone else's related work. Read-only. Use query_work to search intents by agent, status or scope, and status for everything at once.

NameRequiredDescriptionDefault
idYesThe intent id (int_...).

TDQS

A4.5/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnly, idempotent, and non-destructive, and the description reinforces this with 'Read-only.' It goes beyond annotations by disclosing the return shape (conflict counts/ids, status enum, scopes, depends_on) and noting that severity requires check_conflicts.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three dense sentences with zero filler. The core purpose is front-loaded, followed by return details and sibling routing. Each sentence contributes distinct value.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter read tool with strong annotations and explicit sibling routing, the description covers the purpose, return contents, safety profile, and alternatives. No critical information an agent needs is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema already fully documents the single id parameter with format 'int_...'. The description mentions reading by id but adds no new parameter semantics beyond what the schema provides, so the baseline of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource ('Read one intent by id') and enumerates exactly what is returned: owning agent, OPEN/COORDINATING conflict count and ids, status, scopes, and depends_on. It also distinguishes itself from query_work and status explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides clear when-to-use context ('before assessing someone else's related work') and explicitly routes to alternatives: query_work for searching by agent/status/scope and status for everything at once. This leaves little ambiguity about tool selection.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

list_agentsList coding agentsA
Read-onlyIdempotent

List every registered agent in registration order, with its id, name, model, capabilities, worktree, Git branch and head at registration, and status. Read-only and takes no arguments. Use it to find the agent id of another participant before coordinate_with_agent. Use status for the active agents alongside their current work.

NameRequiredDescriptionDefault

No parameters

TDQS

A4.7/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint false. The description reinforces read-only behavior and adds the detail of registration order, which goes beyond the annotations. It doesn't contradict annotations and provides useful context about the returned data.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is efficient with no fluff. It front-loads the purpose, then provides usage guidance in separate short sentences. Each sentence adds value: purpose, read-only/no-args, usage for coordinate_with_agent, and usage for status. No redundant text.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has no output schema, the description compensates by listing all returned fields and their order. It also covers a primary use case (finding agent ids) and mentions the alternative (status). For a simple read-only list tool, nothing essential is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has zero parameters and the schema is empty, so there is nothing to explain. The description explicitly notes 'takes no arguments', which is helpful confirmation. Baseline for 0 params is 4, and this description meets that.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool lists every registered agent with a specific set of fields (id, name, model, capabilities, worktree, Git branch/head, status). It distinguishes from siblings by noting it's a full listing, unlike status which focuses on active agents. The verb 'List' and resource 'registered agents' are explicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives explicit guidance: use it to find agent ids before coordinate_with_agent, and use status for active agents alongside current work. This differentiates it from the status tool and provides a clear when-to-use and when-not-to-use scenario.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

publish_changesetPublish a provisional ChangeSetA

Record a finished unit of implementation for your intent so it can be verified and accepted. Use it once the change is committed in your worktree, after check_conflicts and before run_verification. Foremerge snapshots the worktree (defaulting to your registered one), resolves the candidate commit and its diff base, and stores a fingerprint that verification and acceptance are later checked against. files and symbols are inferred only from uncommitted changes, so list them yourself for committed work. The ChangeSet starts PROVISIONAL and the intent becomes PROVISIONAL. Publishing again while the previous ChangeSet is PROVISIONAL or VALIDATED creates a new one, marks the old one SUPERSEDED, and resets verification. Only the intent's owner may publish, while the intent is CLAIMED, IN_PROGRESS, PROVISIONAL or VALIDATED. Git itself is not modified. Returns the ChangeSet, including its chg_ id, fingerprint, and open_conflicts on the intent at that moment.

NameRequiredDescriptionDefault
filesNoChanged file paths. Left empty, they are inferred from uncommitted changes only, so list them for committed work.
testsNoTests you ran yourself. Recorded as history only; acceptance relies on run_verification, not on this list.
git_refNoCandidate commit. Omit it: it defaults to the worktree's HEAD, and acceptance rejects any other commit with STALE_CHANGESET.
summaryYesWhat the change does, in one or two sentences.
symbolsNoCode symbols added or changed. Left empty, they are inferred from uncommitted changes only, so list them for committed work.
agent_idYesYour agent id (agt_...). Must own the intent.
base_refNoTrue diff base when known (for example the fork point of this agent branch); defaults to the candidate commit's first parent.
worktreeNoPath of the Git worktree holding the change. Defaults to your registered worktree, then the server's working directory. Must belong to your registered repository.
contractsNoNamed interfaces or agreements this change affects, for example payment-provider.
decisionsNoDesign decisions a reviewer or later agent should know about.
intent_idYesThe intent (int_...) this implementation fulfils.
provenanceNoOptional JSON object of your own context, such as a prompt or task reference. Foremerge adds Git provenance under provenance.git.
dependenciesNoIntent ids (int_...) this change builds on, and the dependency list acceptance enforces. accept_changeset refuses with UNSATISFIED_DEPENDENCY unless each is ACCEPTED or COMMITTED and its accepted commit (or, once COMMITTED, its integration commit) is in this change's Git history. Intent ids only: not package or library names.

TDQS

A4.6/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Goes well beyond the annotations (readOnly=false, idempotent=false, destructive=false) by disclosing the state machine: the ChangeSet starts PROVISIONAL, the intent becomes PROVISIONAL, re-publishing supersedes the old ChangeSet and resets verification. It also states the important safety fact that Git itself is not modified, plus the STALE_CHANGESET rejection behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Dense but front-loaded: the first sentence establishes purpose, the second establishes workflow position, then behavior and preconditions follow. Every sentence carries information, though the description runs long and a reader must hold several state-transition facts at once.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 13-parameter mutation tool with no output schema, the description covers preconditions, side effects, state transitions, and even the return payload ('the ChangeSet, including its chg_ id, fingerprint, and open_conflicts'). Nothing an agent needs to invoke it correctly appears to be missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already carries the parameter burden; the description's note that files and symbols are inferred only from uncommitted changes largely restates the schema's own wording. It does add the defaulting chain for worktree (registered worktree, then server CWD) and the fingerprint/base_ref resolution, but these are also documented in the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Record a finished unit of implementation for your intent') and immediately positions it in the workflow relative to siblings check_conflicts, run_verification, and accept_changeset. An agent can distinguish it from get_changeset and publish_intent without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit ordering ('once the change is committed in your worktree, after check_conflicts and before run_verification') and explicit eligibility conditions ('Only the intent's owner may publish, while the intent is CLAIMED, IN_PROGRESS, PROVISIONAL or VALIDATED'). It also names the alternative path for committed work, and covers the re-publish case that selects a different outcome.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

publish_intentPublish intentA

Announce work you are about to do, and the scopes it will change, before creating or editing any file meant for the repository, documents included. It is the first write for a task you are committed to, after register_agent; while only planning, use check_conflicts, which stores nothing. The intent is stored with status INTENT and compared against every other active intent. Returns the intent (with its int_ id), any conflicts detected immediately, warnings (for example no scopes declared, or a symbol key that will lose its class), and related_work: active intents, your own others included, that may relate to yours. Entries with asserted: true are collisions with both declared operations stated; the rest are candidates, with why_surfaced saying why. Assess each related_work entry and call record_assessment before changing files, then claim_work and start_work. Use check_conflicts instead for a what-if check that stores nothing.

NameRequiredDescriptionDefault
taskYesShort name of the task this belongs to, for example payments-provider. Intents with the same task text share one task record.
scopesNoEvery scope this work will touch, each with the operation performed on it. Conflict detection relies on these, so declare them all.
summaryYesWhat you are going to change, in one sentence.
agent_idYesYour agent id (agt_...) from register_agent.
metadataNoOptional JSON object of extra context stored with the intent.
rationaleNoOptional reason for the change.
depends_onNoIntent ids (int_...) this work relies on, recorded for the coordination graph and reported as dependents by query_work. Not checked or enforced: to make acceptance require them, also list them in publish_changeset's dependencies.

TDQS

A4.8/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations only say non-readOnly, non-destructive, non-idempotent, closed-world; the description goes well beyond by disclosing the stored status INTENT, that the intent is compared against every other active intent, and the exact response payload (int_ id, immediate conflicts, warnings such as undeclared scopes or a symbol losing its class, related_work with asserted/why_surfaced). It also clarifies that this call is a persistent write, not a what-if.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core action and its timing, then response shape, then the mandated follow-up sequence. It is dense but earns most of its length; the closing 'Use check_conflicts instead for a what-if check that stores nothing' largely repeats the earlier 'while only planning, use check_conflicts, which stores nothing'.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 7-parameter mutation tool with no output schema, the description supplies the missing return-value contract, the warnings taxonomy, the asserted-vs-candidate distinction, and the downstream call sequence. An agent has everything needed to call it correctly and act on the result.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning: conflict detection relies on the scopes list so all must be declared, and omitting them produces a warning. That connects the scopes parameter to observable output behavior rather than restating the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (announce) and resource (intent, with the scopes it will change) and pins the moment in the workflow: first write for a committed task, after register_agent, before creating or editing repository files. It is clearly distinguished from the read-only alternative check_conflicts, which is named twice.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit when-to-use (about to do committed write work, before touching files), explicit when-not/alternative (while only planning, use check_conflicts since it stores nothing), and explicit ordering relative to siblings (record_assessment, then claim_work, then start_work). Little is left to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

query_workQuery active workA
Read-onlyIdempotent

Search intents by owner, status or scope, to answer questions like who is changing this symbol, or which work still has open conflicts. Read-only. Each result joins an intent to its agent, its claims, its latest ChangeSet (id and full object), the ids of intents that depend on it, and its count of OPEN or COORDINATING conflicts. Results are an array, capped by limit. With no filters it returns intents of every status, including finished ones. Use get_intent when you already have an id, and status for a grouped overview of everything at once.

NameRequiredDescriptionDefault
limitNoMaximum number of intents to return, from 1 to 500. Default 50.
scopeNoIntents that declared, or ever claimed, a matching scope. Symbols match loosely, on their last two :: segments ignoring namespace and case, so unrelated same-named symbols can appear.
statusNoOnly intents in this lifecycle status: INTENT, CLAIMED, IN_PROGRESS, PROVISIONAL, VALIDATED, ACCEPTED, COMMITTED or DISCARDED. Case-insensitive.
agent_idNoOnly intents owned by this agent (agt_...).

TDQS

A4.4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already cover the safety profile (readOnlyHint=true, idempotentHint=true, destructiveHint=false), so the description's 'Read-only' phrase is redundant but harmless. It adds genuine behavioral value beyond annotations by disclosing the result shape (joins intent to agent, claims, latest ChangeSet, dependent intent ids, and OPEN/COORDINATING conflict counts), array capping by limit, and the surprising default that with no filters it returns intents of every status including finished ones.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three focused sentences with zero filler: purpose and examples, result shape and safety, default behavior and sibling routing. The most decision-relevant information (what it does, how results look) is front-loaded, and the sibling routing closes the description. Every sentence earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex query tool with no output schema, the description compensates well by describing the joined result shape, the capping behavior, and the unfiltered default. The exhaustive schema covers parameter semantics, so the only gap is exact output field names/types, which the narrative join description largely mitigates. Minor omissions like pagination details are covered by the limit parameter's schema description.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%: limit, status, agent_id, and the nested scope object all have thorough descriptions, including the loose symbol-matching caveat. The description reinforces the semantic mapping of filters to questions (owner/status/scope) but adds no syntax or format detail beyond the schema, so the baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource ('Search intents by owner, status or scope') and illustrates the purpose with concrete questions ('who is changing this symbol, or which work still has open conflicts'). It also names the siblings it is not ('Use get_intent when you already have an id, and status for a grouped overview'), so an agent can distinguish it from confusable read-only tools without opening schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly routes the agent to alternatives with the triggering condition: 'Use get_intent when you already have an id, and status for a grouped overview of everything at once.' It also embeds usage signals via the example questions and states the default no-filter behavior, which tells the agent when this tool is appropriate versus when a narrower lookup is better.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

record_assessmentRecord an assessment of related workA

Record what you concluded about one entry from related_work. Foremerge states which scopes overlap and how the declared operations relate; deciding what that means is yours. Call this once per related intent, after publish_intent and before you change files. Each call appends a new assessment rather than replacing an earlier one, and changes no statuses: it does not open, resolve or dismiss conflicts. Act on the verdict with coordinate_with_agent, resolve_conflict or discard_work as needed. Only the intent's owner may assess it. Returns the stored assessment with its asm_ id.

NameRequiredDescriptionDefault
actionYesWhat you will do next. proceeding: continue as planned. rescoping: change your scopes first. waiting: hold until the other work lands. abandoning: drop your intent (then call discard_work).
verdictYesconflicts: the two plans cannot both land as written. compatible: they can. duplicate: the same work twice. depends_on: yours needs theirs to land first.
agent_idYesYour agent id (agt_...). Must own intent_id.
intent_idYesYour intent (int_...) whose publish returned the related_work.
rationaleYesWhy you reached that verdict, specific enough for a later reader to check.
related_intent_idYesThe other intent (int_...) from the related_work entry you are assessing. It may belong to another agent or be one of your own.

TDQS

A4.8/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Goes well beyond the annotations: append-not-replace semantics (consistent with idempotentHint=false), no status mutations, an authorization constraint ('Only the intent's owner may assess it'), and the returned identifier (asm_). The non-destructive-to-conflict-state clarification is exactly the kind of context annotations cannot convey.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with purpose and organized so each sentence adds a distinct rule (ordering, append behavior, follow-up tools, ownership). Slightly long at six sentences, and 'Only the intent's owner may assess it' partly duplicates the agent_id schema text, keeping it just short of a 5.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Covers the full call lifecycle an agent needs: when to call, ordering relative to publish_intent and file changes, what the call does and does not mutate, authorization, and what is returned even though no output schema exists. Nothing material is missing for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning by clarifying that the stored verdict is the agent's judgment about system-reported overlap rather than a restatement of it, and that the rationale must be checkable later. It does not add syntax or format detail beyond that.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Record what you concluded about one entry from related_work') and immediately frames the division of labor: the system reports overlaps, the agent decides their meaning. It is clearly distinguishable from siblings like check_conflicts, resolve_conflict and coordinate_with_agent, which are named as separate actions rather than folded into this tool.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit triggering condition and ordering ('Call this once per related intent, after publish_intent and before you change files') plus explicit routing to alternatives ('Act on the verdict with coordinate_with_agent, resolve_conflict or discard_work as needed'). The when-not is also clear: it does not open, resolve or dismiss conflicts.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

record_commitRecord integration commitA

Record where accepted work finally landed, after it has been merged through ordinary Git or a pull request. Use it last, after accept_changeset and the merge. The commit must have the accepted commit in its history or, after a squash or rebase merge, hold every change the candidate made, checked path by path against their merge base; otherwise the call fails with TARGET_DIVERGED naming what is missing. On success it stores integration_commit, moves the ChangeSet to COMMITTED, and returns the updated ChangeSet, whose provenance.integration.method says how containment was shown (ancestor or content). accepted_commit is kept unchanged, so the record shows both what was verified and where it landed. Foremerge does not merge or push anything itself.

NameRequiredDescriptionDefault
git_refYesThe landed commit, as a SHA or ref such as main, resolved in the ChangeSet's worktree.
changeset_idYesAn ACCEPTED ChangeSet (chg_...).

TDQS

A4.9/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description discloses behavior well beyond the annotations: it validates containment by ancestor or content, names the failure mode TARGET_DIVERGED, describes the state transition to COMMITTED, and explains the returned provenance.integration.method. It also clarifies that accepted_commit remains unchanged, making the record show both verification and final landing.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with purpose and usage, then moves into validation, success behavior, and a clarifying caveat. Despite being fairly dense, every sentence contributes material information for correct invocation.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, but the description covers the important return behavior: the updated ChangeSet and its provenance.integration.method. It also covers failure behavior and state changes, so an agent has enough context to call the tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the two parameters are already documented. The description still adds meaningful semantics by explaining how git_ref is validated against the accepted commit or, after squash/rebase, against the candidate changes path by path using the merge base.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource: recording where accepted work landed after merge. It clearly distinguishes this tool from accept_changeset and the merge step by saying to use it last, after accept_changeset and the merge.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly states when to use the tool: after accepted work has been merged through ordinary Git or a pull request. It also states the key prerequisite and what happens when it is not met, failing with TARGET_DIVERGED, and clarifies that Foremerge does not merge or push itself.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

register_agentRegister coding agentA

Register yourself as a participant and get the agent id every other write tool needs. Call it once at the start of each session, before publish_intent. Every call creates a new agent record, even for a name already in use; a warning is returned when an active agent with the same name and worktree exists, because that record's intents cannot be claimed by the new one. Passing a worktree records its Git branch and head; it must be inside the repository this server is bound to, normally the one it was launched in, or it is rejected with INVALID_INPUT. Returns the agent, including its agt_ id, and any warnings.

NameRequiredDescriptionDefault
nameYesA readable name for this agent, for example payments-stripe.
modelNoOptional model identifier, for example the LLM you are running as.
worktreeNoPath to your Git worktree, inside the repository this server is bound to. Recommended.
capabilitiesNoOptional skills or areas, for example rust or payments, shown to other agents.

TDQS

A4.8/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Beyond the annotations, the description discloses important non-obvious behaviors: every call creates a new agent record even for a repeated name, a warning is returned when an active same-name/worktree agent exists, invalid worktree paths are rejected with INVALID_INPUT, and the response includes the agent plus warnings. These details are significant for correct invocation and are not visible from annotations alone.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is dense but every sentence adds essential information: purpose, call timing, non-idempotence, warning conditions, validation behavior, and return value. It is longer than average but justified by the need to explain branching behavior and constraints. Slight restructuring could improve scannability, but nothing is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a registration tool with no output schema, the description is remarkably complete: it covers lifecycle timing, idempotency caveats, validation failures, response contents, and relationship to other tools. An agent has enough information to call it correctly and interpret the result without additional investigation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema parameter descriptions already cover all four parameters at 100% coverage, providing a solid baseline. The description adds meaningful extra context for worktree by stating it must be inside the bound repository and is otherwise rejected, and clarifies that the worktree records Git branch and head. This goes beyond the schema without needing to repeat every parameter.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific action ('Register yourself as a participant') and the concrete resource produced ('the agent id every other write tool needs'), immediately distinguishing it from sibling tools like list_agents or publish_intent. It clearly communicates the tool's central role in the workflow.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly says to call it once at the start of each session and before publish_intent, providing clear ordering. It also warns about calling it again for the same name/worktree, which tells the agent when reusing the tool may not be appropriate. This is strong, actionable guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

resolve_conflictResolve a persisted conflictA

Record an audited resolution decision for a durable cfl_* conflict so blocked work can proceed. Over MCP only an agent whose intent is a party may resolve it, and the decision is recorded under its agent id. Foremerge does not verify agreement or message ids, so either party can clear the gate alone: resolve only after the other party agrees. Use coordinate_with_agent first to reach that agreement, and discard_work instead when one side is simply dropping its work. Resolving moves the conflict to RESOLVED, which clears it from the acceptance gate for both intents; it does not change any code. It fails if the conflict is already resolved or dismissed. Returns the updated conflict.

NameRequiredDescriptionDefault
agent_idYesYour agent id (agt_...). Your intent must be one of the conflict's two parties.
rationaleYesWhy this resolves the clash, naming the msg_ ids where you agreed it. Must be non-empty; its content is not checked.
resolutionYesShort title for the agreed outcome, for example sequenced: provider abstraction lands first, or split scopes. No fixed vocabulary.
conflict_idYesThe conflict to resolve (cfl_...), from check_conflicts, publish_intent or status.

TDQS

A4.7/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With only generic annotations (all false), the description carries the full burden and does so thoroughly. It discloses that agreement and message ids are not verified, that either party may resolve alone, the state transition to RESOLVED, the effect on both intents' acceptance gates, that code is not changed, failure conditions, and the return value. This goes far beyond what annotations provide.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is information-dense yet every sentence earns its place: purpose, access constraint, safety warning, alternatives, side effects, failure mode, and return value. It is front-loaded with the core purpose and avoids filler, making it easy for an agent to scan and apply.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's mutation semantics, the lack of an output schema, and minimal annotations, the description is complete. It covers the state change, failure conditions, constraints, and what is returned. An agent has enough information to invoke the tool safely and correctly without needing additional details.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents all four parameters in detail. The description adds some operational context (e.g., only a party may resolve, decision recorded under agent id), but it does not materially extend parameter meaning beyond what the schema's property descriptions already state. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific action ('Record an audited resolution decision') on a specific resource ('durable cfl_* conflict') and explains the goal ('so blocked work can proceed'). It also differentiates from discard_work, making the tool's unique role unmistakable.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly tells the agent when to use the tool ('resolve only after the other party agrees'), which tool to use first ('Use coordinate_with_agent first'), and which alternative to choose instead ('discard_work instead when one side is simply dropping its work'). This is clear, actionable guidance with exclusions and alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

run_verificationRun a trusted verification checkA

Run one named check from the trusted Foremerge registry of the repository this store is bound to. Raw commands are intentionally not accepted over MCP, and the registry cannot be selected by the caller or the server's working directory. Use it after publish_changeset and before accept_changeset; acceptance relies on this result, not on tests you report yourself. The check's command runs in the ChangeSet's worktree with the registry's timeout. It may create only generated files excluded from the fingerprint: changing any other file fails with STALE_CHANGESET, and excluded files left from an earlier run fail with CHECK_FAILED before it starts. The worktree must still match the fingerprint recorded at publication, or the call fails with STALE_CHANGESET and you must publish again. A pass moves the ChangeSet to VALIDATED; a failure leaves or returns it to PROVISIONAL. Returns the validation record: whether it passed, the exit code, captured stdout and stderr, the duration, and the fingerprint it ran against.

NameRequiredDescriptionDefault
checkYesName of a check an operator registered with foremerge checks set, for example test. Unknown names are rejected.
changeset_idYesThe ChangeSet (chg_...) to verify. Must be PROVISIONAL or VALIDATED.

TDQS

A4.7/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations provide no hints (all false), so the description carries the full burden and excels. It discloses side effects: may create generated files, moves state to VALIDATED or returns to PROVISIONAL, specific failure modes (STALE_CHANGESET, CHECK_FAILED), fingerprint requirements, and the registry timeout. This goes well beyond what annotations offer.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Though lengthy, every sentence earns its place: purpose, usage timing, constraints, error conditions, state transitions, and return value are all covered. Front-loaded with purpose and usage, structured logically. No filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a state-changing verification tool with error conditions and a return record, the description is complete. It covers prerequisites (fingerprint match), timing relative to siblings, error semantics, state outcomes, and the returned validation record. An agent can invoke it correctly without further info.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema covers both parameters fully (100% coverage) with descriptions including format and state constraints. The description reiterates the changeset state requirement but adds no new parameter-specific meaning beyond what the schema provides, so baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb ('run') and resource ('one named check from the trusted Foremerge registry'), and explicitly differentiates from siblings by noting it is for verification between publish and accept, and that raw commands are not accepted. An agent can clearly identify this as the verification step.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly states when to use: 'Use it after publish_changeset and before accept_changeset; acceptance relies on this result, not on tests you report yourself.' Also says raw commands are not accepted, guiding away from any alternative that might accept free-form commands. No ambiguity.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

start_workStart claimed workA

Mark your claimed intent as being implemented. Call it after claim_work, immediately before you begin changing files. It moves the intent from CLAIMED to IN_PROGRESS and fails in any other state, or if you do not own the intent. It does not create or renew claims; use claim_work for that. Returns the updated intent with open_conflicts, the count and ids of its OPEN or COORDINATING conflicts; check their severity with check_conflicts before going further.

NameRequiredDescriptionDefault
agent_idYesYour agent id (agt_...). Must own the intent.
intent_idYesYour CLAIMED intent (int_...).

TDQS

A4.7/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations cover the safety profile (non-read-only, non-destructive, non-idempotent), and the description adds state-machine semantics, ownership requirements, failure modes, and a follow-up dependency (check_conflicts before proceeding). This is rich behavioral context beyond what annotations provide.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Every sentence carries unique information: purpose, timing, failure semantics, alternative tool, and return value. The state transition is front-loaded and there is no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Although there is no output schema, the description documents the return value (updated intent with open_conflicts count and ids) and directs the agent to check_conflicts next. Nothing needed to invoke or interpret the call correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so both parameters (agent_id, intent_id) are already documented with their ownership and CLAIMED-state requirements. The description restates the ownership constraint but adds no new syntax or format detail, so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a precise state transition (CLAIMED to IN_PROGRESS) with a specific verb and resource. It also explicitly names the sibling it is not (claim_work), so an agent can distinguish it without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit timing ('after claim_work, immediately before you begin changing files'), explicit failure conditions ('fails in any other state, or if you do not own the intent'), and an explicit exclusion with an alternative ('does not create or renew claims; use claim_work for that').

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

statusRead coordinator statusA
Read-onlyIdempotent

Get the whole coordination picture in one call, taken from a single consistent read: active agents, all intents grouped by lifecycle status, unexpired claims, OPEN or COORDINATING conflicts with both parties named, and ChangeSets grouped by status. Read-only and takes no arguments. Use it to orient at the start of a session or before choosing work. Use query_work to filter by agent, status or scope, and get_intent or get_changeset for full detail on one item.

NameRequiredDescriptionDefault

No parameters

TDQS

A4.8/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnly, idempotent, and non-destructive. The description adds value by stating it is a single consistent read and enumerating the exact content included, which helps the agent understand what the returned picture covers without an output schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the core capability and content list, then adds usage guidance and alternatives. Every sentence serves a distinct purpose: what, safety, when, and what else to use.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a no-argument read tool, the description completely specifies what the result includes, its consistency property, and when to call it. It also points to sibling tools for filtering and detail, so an agent has enough context to choose correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There are zero parameters, and the description explicitly says 'takes no arguments,' leaving no ambiguity. The schema fully covers parameter semantics, and the description reinforces that no arguments should be supplied.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific purpose: get the whole coordination picture in one call, enumerating active agents, intents grouped by lifecycle status, claims, conficts, and ChangeSets. It also differentiates from siblings by point out query_work for filtering and get_intent/get_changeset for detail.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly says when to use it: orient at session start or before choosing work. It also names alternatives for other needs: query_work for filtering and get_intent/get_changeset for single item detail, making routing clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 2 tool updatesv0.6.0
    • Changeddiscard_work2 fields changed
      • addedInput schema / properties / landed_ref
        Added value: +{
        +  "description": "Only for work that reached Git: the commit, branch or tag it landed in. Refused with INVALID_INPUT if it does not resolve to a commit, with TARGET_DIVERGED if the intent published a ChangeSet whose changes it does not hold, by ancestry or by content as record_commit checks, and with STALE_CHANGESET if that ChangeSet was published with uncommitted changes or before the repository's first commit.",
        +  "minLength": 1,
        +  "type": "string"
        +}
      • changedInput schema / properties / reason / description
        Previous value: -"Why the work is being abandoned. Required and recorded in the event log."New value: +"Why the work is being closed: why it was abandoned, or how it landed. Required and recorded in the event log."
    • Changedpublish_changeset1 field changed
      • changedInput schema / properties / dependencies / description
        Previous value: -"Intent ids (int_...) this change builds on, and the dependency list acceptance enforces. accept_changeset refuses with UNSATISFIED_DEPENDENCY unless each is ACCEPTED or COMMITTED and its accepted commit is in this change's Git history. Intent ids only: not package or library names."New value: +"Intent ids (int_...) this change builds on, and the dependency list acceptance enforces. accept_changeset refuses with UNSATISFIED_DEPENDENCY unless each is ACCEPTED or COMMITTED and its accepted commit (or, once COMMITTED, its integration commit) is in this change's Git history. Intent ids only: not package or library names."
  2. 16 tool updatesv0.4.3
    • Changedaccept_changeset2 fields changed
      • addedInput schema / properties / changeset_id / description
        Added value: +"The ChangeSet to accept (chg_...), as returned by publish_changeset."
      • addedInput schema / properties / git_ref / description
        Added value: +"Optional commit to accept. Defaults to the ref recorded at publication, then the worktree HEAD. Whatever it names must resolve to the current worktree HEAD."
    • Changedcheck_conflicts6 fields changed
      • addedInput schema / properties / agent_id / description
        Added value: +"Optional caller agent id. Informational only; it does not change which work is compared."
      • addedInput schema / properties / intent / description
        Added value: +"Free-form summary of work not yet published, for a what-if check. Provide this or intent_id. Passing an intent id here is rejected; use intent_id."
      • addedInput schema / properties / intent_id / description
        Added value: +"A published intent (int_...) to check. Provide this or intent."
      • addedInput schema / properties / scopes / description
        Added value: +"Scopes to compare, each with the operation you would perform. With intent text, these are the proposed scopes. With intent_id, non-empty scopes replace the intent's own for this check only."
      • addedInput schema / properties / scopes / items / properties / key / description
        Added value: +"The name within that kind, for example PaymentService, POST /orders, or src/billing.rs. Comparison is case-insensitive."
      • addedInput schema / properties / scopes / items / properties / kind / description
        Added value: +"What sort of thing the scope names: a code symbol, an API route, a data schema, a config key, infrastructure, a test, a migration, an environment variable, a file path, a component, a contract, or a broader domain."
    • Changedclaim_work7 fields changed
      • addedInput schema / properties / agent_id / description
        Added value: +"Your agent id (agt_...). Must own the intent."
      • addedInput schema / properties / intent_id / description
        Added value: +"Your intent (int_...) that the claims belong to."
      • addedInput schema / properties / lease_seconds / description
        Added value: +"How long the claim lasts before it expires, from 60 seconds to 24 hours. Default one hour. Claim again to renew."
      • addedInput schema / properties / reason / description
        Added value: +"Optional note shown to other agents explaining why you hold the claim."
      • addedInput schema / properties / scopes / description
        Added value: +"The scopes to claim. Use the scopes declared on the intent; operations are not repeated here."
      • addedInput schema / properties / scopes / items / properties / key / description
        Added value: +"The name within that kind, for example PaymentService, POST /orders, or src/billing.rs. Comparison is case-insensitive."
      • addedInput schema / properties / scopes / items / properties / kind / description
        Added value: +"What sort of thing the scope names: a code symbol, an API route, a data schema, a config key, infrastructure, a test, a migration, an environment variable, a file path, a component, a contract, or a broader domain."
    • Changedcoordinate_with_agent5 fields changed
      • addedInput schema / properties / changeset_id / description
        Added value: +"Optional ChangeSet (chg_...) this message is about. Must exist."
      • addedInput schema / properties / conflict_id / description
        Added value: +"Optional stored conflict (cfl_...) this message is about. An eph_ id from a what-if check_conflicts is rejected with NOT_FOUND. May be combined with changeset_id."
      • addedInput schema / properties / from_agent_id / description
        Added value: +"Your agent id (agt_...)."
      • addedInput schema / properties / message / description
        Added value: +"What you propose or need, in plain language."
      • addedInput schema / properties / to_agent_id / description
        Added value: +"The recipient's agent id (agt_...), for example the owner of the conflicting intent."
    • Changeddiscard_work3 fields changed
      • addedInput schema / properties / agent_id / description
        Added value: +"Your agent id (agt_...). Must own the intent."
      • addedInput schema / properties / intent_id / description
        Added value: +"The intent (int_...) to discard."
      • addedInput schema / properties / reason / description
        Added value: +"Why the work is being abandoned. Required and recorded in the event log."
    • Changedget_changeset1 field changed
      • addedInput schema / properties / id / description
        Added value: +"The ChangeSet id (chg_...)."
    • Changedget_intent1 field changed
      • addedInput schema / properties / id / description
        Added value: +"The intent id (int_...)."
    • Changedpublish_changeset18 fields changed
      • addedInput schema / properties / agent_id / description
        Added value: +"Your agent id (agt_...). Must own the intent."
      • addedInput schema / properties / contracts / description
        Added value: +"Named interfaces or agreements this change affects, for example payment-provider."
      • addedInput schema / properties / decisions / description
        Added value: +"Design decisions a reviewer or later agent should know about."
      • addedInput schema / properties / decisions / items / properties / alternatives / description
        Added value: +"Options you considered and rejected."
      • addedInput schema / properties / decisions / items / properties / rationale / description
        Added value: +"Why you chose it."
      • addedInput schema / properties / decisions / items / properties / title / description
        Added value: +"The decision, for example Use a provider trait."
      • addedInput schema / properties / dependencies / description
        Added value: +"Intent ids (int_...) this change builds on, and the dependency list acceptance enforces. accept_changeset refuses with UNSATISFIED_DEPENDENCY unless each is ACCEPTED or COMMITTED and its accepted commit is in this change's Git history. Intent ids only: not package or library names."
      • addedInput schema / properties / files / description
        Added value: +"Changed file paths. Left empty, they are inferred from uncommitted changes only, so list them for committed work."
      • addedInput schema / properties / git_ref / description
        Added value: +"Candidate commit. Omit it: it defaults to the worktree's HEAD, and acceptance rejects any other commit with STALE_CHANGESET."
      • addedInput schema / properties / intent_id / description
        Added value: +"The intent (int_...) this implementation fulfils."
      • addedInput schema / properties / provenance / description
        Added value: +"Optional JSON object of your own context, such as a prompt or task reference. Foremerge adds Git provenance under provenance.git."
      • addedInput schema / properties / summary / description
        Added value: +"What the change does, in one or two sentences."
      • addedInput schema / properties / symbols / description
        Added value: +"Code symbols added or changed. Left empty, they are inferred from uncommitted changes only, so list them for committed work."
      • addedInput schema / properties / tests / description
        Added value: +"Tests you ran yourself. Recorded as history only; acceptance relies on run_verification, not on this list."
      • addedInput schema / properties / tests / items / properties / command / description
        Added value: +"The command you ran, for example cargo test."
      • addedInput schema / properties / tests / items / properties / status / description
        Added value: +"Its outcome as you observed it, for example passed or failed."
      • addedInput schema / properties / tests / items / properties / summary / description
        Added value: +"Optional short note on what ran or failed."
      • addedInput schema / properties / worktree / description
        Added value: +"Path of the Git worktree holding the change. Defaults to your registered worktree, then the server's working directory. Must belong to your registered repository."
    • Changedpublish_intent9 fields changed
      • addedInput schema / properties / agent_id / description
        Added value: +"Your agent id (agt_...) from register_agent."
      • addedInput schema / properties / depends_on / description
        Added value: +"Intent ids (int_...) this work relies on, recorded for the coordination graph and reported as dependents by query_work. Not checked or enforced: to make acceptance require them, also list them in publish_changeset's dependencies."
      • addedInput schema / properties / metadata / description
        Added value: +"Optional JSON object of extra context stored with the intent."
      • addedInput schema / properties / rationale / description
        Added value: +"Optional reason for the change."
      • addedInput schema / properties / scopes / description
        Added value: +"Every scope this work will touch, each with the operation performed on it. Conflict detection relies on these, so declare them all."
      • addedInput schema / properties / scopes / items / properties / key / description
        Added value: +"The name within that kind, for example PaymentService, POST /orders, or src/billing.rs. Comparison is case-insensitive."
      • addedInput schema / properties / scopes / items / properties / kind / description
        Added value: +"What sort of thing the scope names: a code symbol, an API route, a data schema, a config key, infrastructure, a test, a migration, an environment variable, a file path, a component, a contract, or a broader domain."
      • addedInput schema / properties / summary / description
        Added value: +"What you are going to change, in one sentence."
      • addedInput schema / properties / task / description
        Added value: +"Short name of the task this belongs to, for example payments-provider. Intents with the same task text share one task record."
    • Changedquery_work6 fields changed
      • addedInput schema / properties / agent_id / description
        Added value: +"Only intents owned by this agent (agt_...)."
      • addedInput schema / properties / limit / description
        Added value: +"Maximum number of intents to return, from 1 to 500. Default 50."
      • addedInput schema / properties / scope / description
        Added value: +"Intents that declared, or ever claimed, a matching scope. Symbols match loosely, on their last two :: segments ignoring namespace and case, so unrelated same-named symbols can appear."
      • addedInput schema / properties / scope / properties / key / description
        Added value: +"The name within that kind, for example PaymentService, POST /orders, or src/billing.rs. Comparison is case-insensitive."
      • addedInput schema / properties / scope / properties / kind / description
        Added value: +"What sort of thing the scope names: a code symbol, an API route, a data schema, a config key, infrastructure, a test, a migration, an environment variable, a file path, a component, a contract, or a broader domain."
      • addedInput schema / properties / status / description
        Added value: +"Only intents in this lifecycle status: INTENT, CLAIMED, IN_PROGRESS, PROVISIONAL, VALIDATED, ACCEPTED, COMMITTED or DISCARDED. Case-insensitive."
    • Changedrecord_assessment5 fields changed
      • addedInput schema / properties / action / description
        Added value: +"What you will do next. proceeding: continue as planned. rescoping: change your scopes first. waiting: hold until the other work lands. abandoning: drop your intent (then call discard_work)."
      • addedInput schema / properties / agent_id / description
        Added value: +"Your agent id (agt_...). Must own intent_id."
      • addedInput schema / properties / intent_id / description
        Added value: +"Your intent (int_...) whose publish returned the related_work."
      • addedInput schema / properties / rationale / description
        Added value: +"Why you reached that verdict, specific enough for a later reader to check."
      • addedInput schema / properties / related_intent_id / description
        Added value: +"The other intent (int_...) from the related_work entry you are assessing. It may belong to another agent or be one of your own."
    • Changedrecord_commit2 fields changed
      • addedInput schema / properties / changeset_id / description
        Added value: +"An ACCEPTED ChangeSet (chg_...)."
      • addedInput schema / properties / git_ref / description
        Added value: +"The landed commit, as a SHA or ref such as main, resolved in the ChangeSet's worktree."
    • Changedregister_agent4 fields changed
      • addedInput schema / properties / capabilities / description
        Added value: +"Optional skills or areas, for example rust or payments, shown to other agents."
      • addedInput schema / properties / model / description
        Added value: +"Optional model identifier, for example the LLM you are running as."
      • addedInput schema / properties / name / description
        Added value: +"A readable name for this agent, for example payments-stripe."
      • addedInput schema / properties / worktree / description
        Added value: +"Path to your Git worktree, inside the repository this server is bound to. Recommended."
    • Changedresolve_conflict4 fields changed
      • addedInput schema / properties / agent_id / description
        Added value: +"Your agent id (agt_...). Your intent must be one of the conflict's two parties."
      • addedInput schema / properties / conflict_id / description
        Added value: +"The conflict to resolve (cfl_...), from check_conflicts, publish_intent or status."
      • addedInput schema / properties / rationale / description
        Added value: +"Why this resolves the clash, naming the msg_ ids where you agreed it. Must be non-empty; its content is not checked."
      • addedInput schema / properties / resolution / description
        Added value: +"Short title for the agreed outcome, for example sequenced: provider abstraction lands first, or split scopes. No fixed vocabulary."
    • Changedrun_verification2 fields changed
      • addedInput schema / properties / changeset_id / description
        Added value: +"The ChangeSet (chg_...) to verify. Must be PROVISIONAL or VALIDATED."
      • addedInput schema / properties / check / description
        Added value: +"Name of a check an operator registered with foremerge checks set, for example test. Unknown names are rejected."
    • Changedstart_work2 fields changed
      • addedInput schema / properties / agent_id / description
        Added value: +"Your agent id (agt_...). Must own the intent."
      • addedInput schema / properties / intent_id / description
        Added value: +"Your CLAIMED intent (int_...)."
  3. 18 tool updatesv0.1.0
    • First observedaccept_changeset
    • First observedcheck_conflicts
    • First observedclaim_work
    • First observedcoordinate_with_agent
    • First observeddiscard_work
    • First observedget_changeset
    • First observedget_intent
    • First observedlist_agents
    • First observedpublish_changeset
    • First observedpublish_intent
    • First observedquery_work
    • First observedrecord_assessment
    • First observedrecord_commit
    • First observedregister_agent
    • First observedresolve_conflict
    • First observedrun_verification
    • First observedstart_work
    • First observedstatus

TDQS

A4.4/5.0

Scored across 18 tools

Disambiguation5/5

The tools map to distinct lifecycle stages: intents, claims, changesets, verification, acceptance, commit recording, coordination, and conflict handling. Read tools are explicitly differentiated as get-by-id, query/filter, or status overview, and conflict-related operations are separated into check, assess, coordinate, resolve, and discard.

Naming Consistency4/5

Almost all tools use a predictable snake_case verb_noun pattern, such as publish_intent, claim_work, run_verification, and record_commit. The main deviation is status, which is a bare noun, though the naming remains readable overall.

Tool Count4/5

The 18 tools sit slightly above the typical 3-15 range, but the server implements a multi-step coordination protocol where each tool corresponds to a distinct gate or action. It is somewhat heavy, but not obviously padded.

Completeness4/5

The coordination lifecycle is largely covered: registration, intent publication, claims, changeset publication, verification, acceptance, commit recording, conflict resolution, and discard are all present. The notable gap is that coordinate_with_agent sends messages but no MCP tool reads them, forcing recipients to use the CLI and leaving the message loop only partly closed over MCP.

Maintenance

ActivityActive
ResponsivenessSlow

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    F
    maintenance
    MCP server that decomposes tasks into plans with disjoint file boundaries, validates overlaps, and creates git worktrees with a ready prompt per plan.
    3
    60 npm
    Apache 2.0
  • A
    license
    Not graded
    quality
    B
    maintenance
    Local-first code intelligence and safety layer for AI coding agents. MCP server exposes dependency graph, impact analysis, and AST-compressed repo context, backed by typed local memory, patch-scope safety gates, and git-independent transaction rollback.
    1
    MIT
  • A
    license
    A
    quality
    F
    maintenance
    A filesystem-based MCP server for AI coding agents to coordinate work across git worktrees by claiming files, checking for conflicts, and logging progress without affecting the repository's git history.
    5
    MIT
  • A
    license
    Not graded
    quality
    A
    maintenance
    An MCP server for orchestrating a fleet of CLI coding agents in isolated git worktrees. It exposes tools for spawning workers, sending instructions, reviewing diffs, and merging changes, with full terminal visibility.
    10 npm
    4
    MIT