Skip to main content
Glama

CI crates.io License: Apache-2.0

Foremerge es el protocolo de coordinación de código abierto para agentes de codificación, construido sobre Git. Los agentes mantienen árboles de trabajo aislados mientras comparten intención, afirmaciones semánticas, dependencias, ChangeSets provisionales, decisiones, validación y procedencia.

Dile a tu agente que lo instale

→

Hecho

→

Ve las colisiones antes de que aterricen

Pega una línea en Claude Code, Codex o Cursor

Instala Foremerge y se configura solo

Cada agente ve lo que los demás están a punto de cambiar, incluso en árboles de trabajo separados

Estado: Foremerge 0.4.0 es un MVP pre-1.0, local-first. El CLI, la API JSON, el servidor MCP, el almacén SQLite, el detector de conflictos determinista y el ciclo de vida con verificación están implementados. Los esquemas públicos pueden cambiar. El modo compartido multi-máquina y los resultados de referencia publicados aún no existen.

Cómo funciona

Supongamos que tienes dos agentes de IA trabajando en el mismo proyecto al mismo tiempo. Cada uno obtiene su propia copia del código, por lo que nunca pelean por los archivos. Ambos terminan. Ambos parecen correctos. Luego descubres que deshicieron el trabajo del otro.

Git no puede advertirte sobre eso, porque Git compara texto y no intención. Te detendrá cuando dos agentes editen la misma parte del mismo archivo. Lo que no puede ver son dos ediciones que son cada una perfectamente razonables por sí solas y que aterrizan en archivos diferentes. Si un agente mueve a todos los llamadores a un nuevo StripePaymentService mientras otro agrega soporte de PayPal al antiguo PaymentService, nada se superpone, por lo que Git fusiona ambos sin quejarse y el trabajo de PayPal queda varado en una clase que ya nadie llama.

Foremerge soluciona esto haciendo que los agentes anuncien lo que están a punto de hacer, antes de hacerlo.

  1. Cada agente dice lo que está a punto de tocar. No el código, solo el objetivo, como "voy a cambiar la función sendEmail".

  2. Cada agente lee de una lista compartida. Es una pequeña base de datos dentro de la carpeta .git de tu proyecto, por lo que cada agente en tu máquina ve la misma imagen, ya sea Claude, Codex o Cursor.

  3. Si dos planes chocan, te enteras de inmediato. Foremerge nombra a los dos agentes, explica por qué sus planes chocan y sugiere cómo dividir el trabajo. Ambos árboles de trabajo siguen limpios en ese punto, por lo que no hay que tirar ningún trabajo.

Piénsalo como una pizarra compartida. Antes de que un agente comience, escribe en qué va a trabajar y lee lo que todos los demás ya escribieron.

Dos cosas que Foremerge deliberadamente no hace. Nunca bloquea un archivo ni bloquea a un agente, porque un solo agente bloqueado detendría a toda la flota, por lo que las advertencias son de asesoramiento y tú sigues al mando. Y nunca pide a un modelo que juzgue conflictos, por lo que las mismas entradas siempre producen la misma respuesta.

Related MCP server: uacos

El conflicto que Git aún no puede ver

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

Estos agentes pueden trabajar en árboles diferentes sin tocar la misma línea. Los planes aún chocan: uno elimina el punto de extensión mientras el otro depende de él.

Ambos agentes declaran el mismo ámbito symbol:PaymentService, uno diciendo que lo reemplazará y el otro que lo extenderá. Foremerge compara esas dos declaraciones antes de que cualquiera escriba código, genera un aviso de ALTO y sugiere coordinar sobre una abstracción estable como PaymentProvider. Esa sugerencia es evidencia explicable, no una decisión automática de arquitectura ni un bloqueo duro.

Debido a que la operación se declara en lugar de leerse del resumen, no importa cómo cada agente haya formulado su plan. "Consolidar pagos en Stripe" y "Reemplazar PaymentService con Stripe" llegan al mismo veredicto.

Git sigue siendo el repositorio duradero. Foremerge proporciona la conciencia compartida que falta por encima de él.

Representación en terminal de una demo real de lanzamiento de Foremerge detectando el conflicto de PaymentService antes de que cualquiera de los árboles de trabajo cambiara

Renderizado a partir de los campos de conflicto reales capturados por la ejecución del binario de lanzamiento 0.1.0 en examples/terminal-session.txt. El comando mostrado usa el filtro jq indicado; la salida está abreviada para facilitar la lectura.

Inicio rápido: primer conflicto en menos de cinco minutos

Deja que tu agente de codificación lo haga

Pega esto en Claude Code, Codex o Cursor desde dentro del repositorio que quieras coordinar:

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.

Ajusta el paso 4 al comando de prueba real de este repositorio. El paso 3 pide al cliente que habilite un servidor MCP, por lo que te pedirá confirmación antes de hacerlo. El registro de Codex es a nivel de usuario, pero un solo registro sirve para todos los repositorios: inicia Codex dentro del repositorio que quieras coordinar.

O hazlo tú mismo

Necesitas un Git reciente y jq. Instala un binario de lanzamiento precompilado y verificado por checksum (macOS y Linux; el script instala en ~/.local/bin):

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

[!TIP] Dos comandos, un programa. Esto instala foremerge y fmg, el mismo binario con un nombre más corto, por lo que fmg status y foremerge status hacen lo mismo. Los ejemplos a continuación escriben foremerge; escribe el que prefieras.

O compila desde el código fuente con Rust 1.85+: cargo install --locked --git https://github.com/naw103/foremerge foremerge, o cargo install --locked --path . desde un checkout. Los binarios de Windows están en la página de lanzamientos. Para actualizar, vuelve a ejecutar el instalador. Luego, dentro del repositorio que quieras coordinar:

foremerge init
foremerge doctor

El instalador, los archivos de lanzamiento y cargo install llevan ambos nombres desde 0.4.0 en adelante. Si algo más en tu PATH ya responde a fmg, el instalador lo deja en paz y lo dice en lugar de ocultarlo.

Instala la skill nativa y la entrada MCP para cualquier cliente utilizado en este repositorio, luego define los checks de confianza que los agentes pueden solicitar por nombre:

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

La aceptación está controlada por verificación: Foremerge ejecuta el check por sí mismo en lugar de tomar la palabra del agente. Elige un check que sea rápido y que realmente detecte un traspaso roto, como una compilación o un typecheck, en lugar de una suite de CI completa; esta puerta decide si otros agentes pueden tratar el trabajo como hecho, y no reemplaza a CI. Si este repositorio no tiene nada significativo que verificar, dilo una vez en lugar de registrar un check que siempre pasa:

foremerge checks policy advisory

El trabajo aceptado de esa manera se registra como UNVERIFIED con el motivo, por lo que el rastro de auditoría nunca implica que se ejecutó un check cuando no fue así. foremerge doctor informa si los checks registrados pueden ejecutarse realmente aquí, lo cual importa en los árboles de trabajo de agentes, porque los directorios de dependencias suelen estar en gitignore y git worktree add no los creará.

Usa setup codex, setup claude o setup cursor para un cliente. La configuración preserva la configuración no relacionada (incluido el orden de las claves en el JSON MCP del proyecto). Actualizar Foremerge refresca su propio archivo de skill sin editar en su lugar, pero un archivo de skill que hayas editado, o una entrada MCP de Foremerge diferente, nunca se reemplaza a menos que pases explícitamente --force. setup all intenta cada cliente e informa cada resultado, saliendo con código distinto de cero si alguno falla. El registro MCP de Codex es a nivel de usuario y sirve para todos los repositorios, resuelto desde el directorio en el que se inicia Codex; consulta configuración de clientes de agentes.

init crea el estado de coordinación local bajo el directorio común de Git del repositorio. No cambia archivos rastreados. Las siguientes sesiones sin árbol de trabajo son suficientes para ejercitar la detección previa al código; los agentes de codificación reales deben registrar sus árboles de trabajo aislados y sus identificadores de modelo reales.

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}'

El primer comando imprime el hallazgo en vivo de tu ejecución local. El segundo imprime related_work: la intención del otro agente y cada ámbito superpuesto con ambas operaciones declaradas. Foremerge declara qué se superpone; tú decides qué significa y lo registras con foremerge assess record. No es necesario que cambien archivos primero. Inspecciona la transcripción capturada y claramente etiquetada en examples/terminal-session.txt.

Las afirmaciones agregan contexto de propiedad sin bloquear a ninguno de los agentes:

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}'

Ambas afirmaciones tienen éxito. La segunda respuesta incluye una advertencia de superposición porque una afirmación es un aviso arrendado, nunca propiedad exclusiva.

Cómo encaja por encima de 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

Cada frontend usa el mismo servicio y almacén. El grafo semántico es:

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

Las mutaciones actualizan proyecciones SQLite tipadas, materializan aristas del grafo y agregan un evento semántico encadenado por hash en una sola transacción. El registro es evidencia útil de manipulación; no es una firma de identidad remota ni consenso distribuido.

Árboles de trabajo de Git: archivos aislados, conciencia compartida

Foremerge resuelve el directorio común de Git y almacena su base de datos predeterminada en:

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

Los árboles de trabajo vinculados comparten ese directorio común aunque sus archivos de checkout estén separados. Crea un árbol de trabajo con el envoltorio ligero de Foremerge alrededor de Git estándar:

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"

Otro árbol de trabajo en el mismo repositorio ve al agente registrado y sus intenciones de inmediato. Puedes anular el almacenamiento con --database PATH o FOREMERGE_DB, pero cada agente local debe apuntar a la misma base de datos para compartir estado. El MVP no replica SQLite entre máquinas; no infieras seguridad distribuida de una base de datos montada en red.

Foremerge captura el estado de Git para huellas de ChangeSet y refs aceptados. No fusiona, rebasea, cherry-pickea, empuja ni actualiza una rama objetivo automáticamente.

Flujo de trabajo semántico

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

Los tipos de ámbito admitidos son:

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

Publica el ámbito semántico más estrecho y útil. Las rutas de archivo por sí solas pierden colisiones de API, configuración, esquema, infraestructura y entre lenguajes.

Comandos comunes:

Límite

Comando

Registrar procedencia

foremerge agent register --name NAME --model MODEL

Publicar intención

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

Reclamar alcance

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

Iniciar implementación

foremerge work start INTENT_ID --agent AGENT_ID

Preguntar quién lo cambia

foremerge work query --scope KIND:KEY

Ver qué hace cada agente

foremerge status

Preverificar un plan

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

Registrar lo que concluiste

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

Enviar coordinación

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

Observar eventos semánticos

foremerge work watch --after-seq 0

Ejecuta foremerge <command> --help para ver todas las banderas actuales. Las banderas globales como --json, --cwd y --database pueden aparecer antes o después de los subcomandos.

ChangeSets y la puerta de verificación

Un ChangeSet captura el agente/modelo, la tarea y la intención, los archivos/símbolos/contratos afectados, las dependencias, el resumen de implementación, las pruebas notificadas, las decisiones, la procedencia, el worktree, la huella digital, el estado y la referencia de Git. El candidato aceptado y su posterior commit de integración se conservan por separado como accepted_commit e integration_commit.

El orden de integración honesto es:

  1. Publica la intención, reclama el alcance semántico y marca la implementación como en curso.

  2. Trabaja y haz commit en la rama aislada del agente.

  3. Publica un ChangeSet para ese candidato limpio.

  4. Pide a Foremerge que ejecute la validación contra su huella digital exacta.

  5. Resuelve los conflictos altos y luego acepta la referencia aún limpia y aún validada.

  6. Integra con Git ordinario o con una pull request.

  7. Registra el commit de integración duradero en 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

Los valores de --reported-test COMMAND=STATUS notificados por el agente son solo procedencia. No satisfacen la aceptación. La validación propiedad de Foremerge registra el vector de argumentos del comando, el estado de salida, la salida, la duración y la huella digital del candidato. Cualquier cambio detectado después de la validación hace que ese intento no sea autoritativo, pero su salida y el diagnóstico de rutas modificadas siguen siendo consultables con changeset attempts.

Para comprobaciones de confianza que generan salida no rastreada desechable, un operador puede establecer reglas exactas o de prefijo de directorio sin cambiar los archivos rastreados:

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

El resumen de política normalizado forma parte de la huella digital del candidato, los cambios rastreados nunca se pueden excluir, MCP no puede cambiar la política, y los archivos generados deben eliminarse antes de la aceptación. Véase ADR 0001.

La aceptación también requiere un worktree limpio y ningún conflicto HIGH sin resolver, a menos que quien llama use deliberadamente la anulación visible --allow-high-conflicts junto con --override-reason "...". Prefiere resolver un conflicto con una justificación explícita. La aceptación crea refs/foremerge/accepted/<changeset-id>; no fusiona código.

Los comandos de validación se ejecutan como código local de confianza con los permisos de tu sistema operativo. Foremerge no los aísla en una sandbox.

Clientes de agente y MCP: herramientas completas del ciclo de vida

Ejecuta foremerge mcp sobre stdio. MCP no requiere el daemon HTTP; ambos son adaptadores sobre la misma base de datos.

Herramienta

Propósito

register_agent

Registrar agente, modelo, capacidades y procedencia del worktree

publish_intent

Anunciar el trabajo planificado, declarar qué hace en cada alcance y recibir conflictos y trabajo relacionado para evaluar

record_assessment

Registrar lo que concluiste sobre una intención relacionada y lo que harás

claim_work

Crear reclamos consultivos temporales sobre alcances semánticos

query_work

Encontrar agentes, intenciones, reclamos, ChangeSets y conflictos

check_conflicts

Comprobar una intención publicada o provisional antes de los cambios de código

publish_changeset

Registrar implementación, pruebas, decisiones y procedencia de Git

coordinate_with_agent

Enviar un mensaje duradero vinculado a un conflicto o ChangeSet

start_work

Avanzar el trabajo reclamado hacia la implementación

resolve_conflict

Registrar una resolución auditada para un conflicto duradero

run_verification

Ejecutar una comprobación de repositorio de confianza por nombre, nunca argv MCP sin procesar

accept_changeset

Aplicar los controles finales de conflicto, dependencias, validación y Git

record_commit

Registrar el commit de integración real de Git

discard_work

Preservar el trabajo abandonado mientras se liberan reclamos y bloqueos

list_agents

Leer la procedencia de los agentes registrados

get_intent

Leer una intención y la instantánea de conflictos actual

get_changeset

Leer un ChangeSet y el estado de Git/procedencia

status

Leer una instantánea de estado del coordinador consistente

Parte de la configuración mínima válida en examples/mcp-config.json. Asume que el cliente lanza foremerge con el repositorio como su directorio de trabajo. Los clientes sin una configuración de directorio de trabajo de repositorio deben pasar un --database absoluto antes de mcp; deriva el directorio común de Git en lugar de asumir que el .git de un worktree vinculado es un directorio.

Consulta configuración de clientes de agente para el instalador, las ubicaciones nativas de skills, los archivos MCP específicos del cliente, el diagnóstico y las reglas seguras de reemplazo. Consulta configuración de MCP para el comportamiento del transporte, esquemas, comprobaciones con nombre, ejemplos de entrada y configuración multi-worktree.

Los clones de la fuente incluyen skills equivalentes en .codex/skills, .claude/skills y .cursor/skills, además de plantillas MCP portátiles para Claude y Cursor. Una instalación de Cargo incorpora la skill canónica para que foremerge setup pueda instalarla en otro repositorio sin copiar este árbol fuente.

API JSON local

El daemon usa por defecto HTTP de loopback autenticado en http://127.0.0.1:47811. init crea un token de portador con permisos de archivo privados donde la plataforma los admite.

En una terminal:

foremerge daemon

En otra terminal, lee la ruta del token desde Foremerge en lugar de adivinarla:

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 .

No imprimas, hagas commit ni compartas el token. /healthz es una comprobación de actividad del proceso sin base de datos y /readyz es una sonda acotada y no bloqueante del almacén; ambos son públicos. Cada ruta /v1, incluida la auditoría paginada de la cadena de eventos, requiere el token a menos que el daemon se haya iniciado deliberadamente con --no-auth para una prueba local de confianza. El MVP rechaza enlaces que no sean loopback y no es un servicio multiusuario reforzado.

La vía de escape de la CLI foremerge request lee la autenticación local automáticamente. Hay un tutorial ejecutable con curl en examples/api-requests.sh; la referencia completa de rutas y errores es API JSON.

Lo que el MVP deliberadamente no afirma

  • La detección de conflictos es determinista y explicable, pero heurística. Puede pasar por alto conceptos sinónimos y avisar sobre trabajo compatible.

  • Los reclamos advierten; nunca bloquean archivos, símbolos ni agentes.

  • Superar la validación solo demuestra que el comando registrado pasó para la huella digital registrada, no que el plan de pruebas estaba completo.

  • Las referencias de Git y los resultados de los procesos son evidencia más sólida que el modelo, el prompt o la prosa de pruebas autoinformados.

  • La cadena de eventos detecta cambios dentro de la cadena conservada; no es una firma, una atestación remota ni un punto de control externo.

  • El SQLite local no es consenso en modo compartido, y el token de portador de loopback no es un modelo de seguridad para despliegues públicos.

  • Existen fixtures de benchmark ejecutables, un arnés de consultas reproducible y un plan de benchmark, pero aún no hay resultados de rendimiento publicados que comparen coordinado vs. no coordinado.

  • Foremerge no reemplaza la revisión de código, la propiedad de la arquitectura, la CI, el escaneo de seguridad, las reglas de alojamiento de Git ni las copias de seguridad.

Lee el modelo de limitaciones y confianza completo antes de usar Foremerge como puerta de integración.

Documentación

Document

Qué responde

Architecture

¿Por qué un único binario de Rust, SQLite, Git CLI y estado compartido en common-dir?

Protocol

¿Qué publican los agentes y cuándo?

State model

¿Qué transiciones e invariantes condicionan el trabajo?

Conflict detection

¿Qué reglas deterministas producen hallazgos y sugerencias?

Git integration

¿Cómo se comportan los fingerprints, los worktrees y las refs aceptadas?

Agent clients

¿Cómo descubren Codex, Claude Code y Cursor la skill y el servidor MCP?

MCP setup

¿Cómo configuran y llaman los clientes a las 18 herramientas de ciclo de vida/lectura?

JSON API

¿Qué rutas, cuerpos de solicitud, autenticación y errores se incluyen?

OpenAPI schema

¿Cuál es el contrato HTTP legible por máquina?

Benchmark plan

¿Cómo se compararán las ejecuciones coordinadas y no coordinadas?

Validation exclusion ADR

¿Qué rutas generadas puede ignorar la validación y por qué?

Roadmap

¿Qué es actual, siguiente, posterior o un no-objetivo?

Limitations

¿Qué no garantiza el MVP?

Brand

¿Qué marca, colores, tipografía, iconos y reglas de salida de CLI se aplican a cualquier superficie de Foremerge?

Consulte también el changelog, la política de seguridad y el código de conducta.

Contribución y licencia

Las contribuciones son bienvenidas, especialmente la retroalimentación sobre el protocolo en el vocabulario de alcance, la evidencia de conflictos, la procedencia de ChangeSet y la política de verificación. Lee CONTRIBUTING.md y, a continuación, ejecuta el gate local completo:

make verify

Foremerge se distribuye bajo la 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