Skip to main content
Glama

FlightPlan

Tus agentes colisionan. Presenta un FlightPlan.

Antes de que comience el trabajo, cada uno de tus agentes declara hacia dónde se dirige y ve lo que ya está en vuelo. Se coordinan en torno a los conflictos y luego dejan constancia de qué cambió y por qué.

Consultivo, nunca bloqueante.

Un subproducto del trabajo de los agentes, no otro proceso que mantener.

FlightPlan coordina a los agentes de codificación antes de que su trabajo colisione. Este repositorio contiene la CLI, el servidor MCP y el instalador para el servicio alojado en getflightplan.com.

Inicio rápido

Desde la raíz de tu repositorio:

uvx getflightplan install

Eso instala FlightPlan para Claude Code. Para Codex, añade --agent codex (o --agent both). El comando se puede volver a ejecutar sin riesgo. La primera vez en una máquina, ejecuta a continuación uvx getflightplan login — conecta tu cuenta y completa la configuración de MCP.

El servicio alojado está en beta; inicia sesión con tu cuenta de GitHub en getflightplan.com. El paquete está en PyPI, así que con el comando anterior es suficiente. Para fijar una rama o un commit en su lugar, instala desde el código fuente: uvx --from git+https://github.com/sledmonkey/getflightplan getflightplan install.

Política de versiones y compatibilidad: docs/versioning.md.

Related MCP server: agenthelm

Cómo funciona

  1. Registra el trabajo. Antes de editar, un agente declara su tarea y los archivos que espera tocar.

  2. Mira lo que está en vuelo. FlightPlan devuelve el trabajo activo solapado, incluidos los cambios sin confirmar que Git no puede ver, las decisiones tomadas durante la codificación y los resultados recientes relevantes.

  3. Coordina. Los solapamientos son consultivos: acota el trabajo, secuéncialo o continúa con contexto.

  4. Informa. El agente registra qué cambió, qué lo sorprendió y qué intentó para que la próxima sesión no comience en frío.

Lo que añade el instalador

  • .flightplan.toml — fija el nombre del repositorio bajo el que publica cada agente, además de la URL del registro. Se incluye en el repositorio a propósito; no contiene secretos.

  • Un fragmento de agente gestionado en CLAUDE.md y/o AGENTS.md.

  • /registry-digest — un comando bajo demanda de "lo que ha pasado últimamente".

  • Un hook de parada al final de la sesión (.claude/hooks/flightplan_stop_hook.py más su configuración asociada) que recuerda al agente cerrar las intenciones abiertas.

También comprueba el registro de MCP y la accesibilidad del servicio, y repara el registro cuando la máquina tiene una credencial, sin preguntar. La verificación es consultiva y nunca hace fallar la ejecución.

Para eliminar todo lo que escribió el instalador, ejecuta getflightplan uninstall desde la raíz del repositorio (--dry-run para previsualizarlo, --purge-key para eliminar también la clave API guardada).

Iniciar sesión

getflightplan login obtiene una credencial sin tener que copiar una clave API. Abre tu navegador, apruebas allí y la credencial se guarda en ~/.config/flightplan/env con modo 600. La credencial nunca se imprime. Después de guardar la credencial, el inicio de sesión también registra el servidor MCP para los binarios de agente de tu máquina — el paso que install tiene que omitir mientras la máquina no tenga credencial.

En una máquina sin navegador, ejecuta getflightplan login --headless. El comando muestra un código corto y una dirección. Abre esa dirección en otro dispositivo e introduce el código.

getflightplan logout elimina la credencial almacenada de esta máquina. Para revocarla en el servicio, usa la página /devices.

Encontrar tu repositorio

Después de un inicio de sesión, el cliente pregunta al registro a qué repositorio corresponde este checkout. Envía la dirección de tu remoto origin y hasta 1000 IDs de commit, que demuestran que tienes un clon. Si tu cuenta tiene acceso, el id y el nombre se guardan en .flightplan.toml. Si el registro no conoce el repositorio, el cliente ofrece registrarlo en tu navegador. Si tu cuenta no tiene acceso, el cliente ofrece solicitarlo.

getflightplan login --no-register omite la comprobación. getflightplan register la ejecuta por sí solo, más tarde. Una comprobación fallida nunca hace que falle un inicio de sesión.

Indicar que el trabajo ha aterrizado

Una intención completada con uncommitted: true indica que el trabajo está en el árbol de trabajo de alguien y en ningún otro sitio. El registro no puede ver tu árbol, así que sigue avisando a cualquiera que toque esas rutas hasta que se le diga que el trabajo ha aterrizado.

Los agentes hacen esto con la herramienta mark_intent_landed. Puedes hacerlo manualmente:

getflightplan landed <intent-id> --commit <sha> --commit <sha>

Los commits son opcionales; la marca de tiempo es la corrección. Pasa los SHAs solo si los conoces: el cliente nunca adivina qué commits pertenecen a una intención. El aterrizaje se puede repetir de forma segura y nunca reescribe el registro completado.

Configuración

  • FLIGHTPLAN_URL — https://api.getflightplan.com

  • FLIGHTPLAN_API_KEY — tu clave (el entorno del servidor MCP; el hook de parada también lee ~/.config/flightplan/env).

  • .flightplan.toml — la fijación por repositorio: un nombre repo y una url, o un target_id con un name legible una vez que el repositorio tiene un id fijado.

Lo que se le dice a tu agente

El instalador añade el siguiente contrato gestionado con el nombre de tu repositorio fijado.

Registro de intenciones

Este repositorio participa en el registro de intenciones del equipo (servidor MCP: flightplan).

  • Antes de empezar un trabajo no trivial, llama a post_intent. La prueba: ¿el trabajo cambiará el comportamiento, los valores predeterminados o los contratos que otro agente encontraría — o, para una investigación pura, los hallazgos le ahorrarían una hora al siguiente agente? Si la respuesta es sí a cualquiera de las dos → publica; las Q&A y las correcciones tipográficas, no. Envía un resumen de un párrafo (qué + por qué), kind (build, o explore/spike para una investigación desechable), y globs touches para las áreas que esperas cambiar. Guarda el id devuelto para más tarde. Para repo, usa el nombre base del remoto git origin (o el nombre del directorio raíz del repositorio si no hay remoto) — todos los agentes de este repositorio deben usar el mismo nombre; de lo contrario, las comprobaciones de colisión pasarán por alto unas a otras en silencio. La respuesta puede incluir context: trabajo completado reciente relevante para tu tarea — lee esos resultados antes de empezar; las sorpresas y los callejones sin salida que contienen son esenciales.

  • Si la respuesta incluye solapamientos en el nivel warn, comprueba en qué consiste el solapamiento antes de pausar. Dos casos no necesitan confirmación — menciona el solapamiento y continúa: la intención solapada es exactamente el trabajo sobre el que te pidieron actuar (revisarlo, verificarlo, darle seguimiento), o tu tarea es de solo lectura. En caso contrario, informa a tu usuario de quién está haciendo qué y qué globs colisionan, y pregunta cómo proceder antes de continuar. Niveles fyi/nudge: menciónalos brevemente y continúa.

  • Si el trabajo cambia de forma o se alarga, llama a update_intent: revisa el resumen/touches cuando el alcance crezca (las comprobaciones de colisión se ejecutan contra

Available Tools

6 tools
complete_intentA

Close out an intent when work finishes or is abandoned. The outcome summary is required for done and is the most valuable artifact this system produces: write one paragraph covering what actually changed, anything surprising, approaches tried and rejected, and anything deliberately left in place. Gather git facts you already have at completion time: files = repo-relative paths actually changed (git diff --name-only over the work, committed or not); commits = SHAs created for this work; uncommitted = true if ANY of the work is not yet committed (untracked/unstaged/staged-only), false if all of it is. True makes other agents' collision checks warn loudly. Outside git, omit uncommitted and commits (there is no commit to wait for), but still send files. Send files: [] only when this work changed no files, committed or not; omit files when you do not know. Omit anything unknown. Any overlaps that come back carry excerpts, and overlaps_omitted counts the ones the server cut per level — use get_intent(id) for a full record.

Inputs: id (required), status (required), outcome (required), files, +2 more.

get_intentA

Fetch one intent's full record — the whole summary and outcome — by id or by a unique 8-char prefix. Overlap, context and list entries carry excerpts only, so call this when the excerpt is not enough: an overlap you have to describe to your user, or a context outcome you want to read in full before starting. Read-only; it records nothing.

Inputs: id (required).

list_intentsA

Query in-flight and recent work across the team. Three distinct uses — pick exactly one: (1) pre-planning semantic check — pass summary (and optionally overlaps globs) to get an advisory semantic overlap before you post_intent; this is the strong collision check; (2) fast glob collision check — pass overlaps alone (no summary, no q) for deterministic prefix matching; (3) context search — pass q and since (add match=any for recall if a precise query returns nothing) to search summaries and outcomes including completed work. q and overlaps are AND-combined: a descriptive q alongside overlaps filters out overlapping intents whose summaries don't contain your words — for a collision check, omit q. q matches per-word (all words must appear, any order). Each returned intent carries an alert_level when overlaps is given: warn = surface loudly to your user; fyi = quiet mention; nudge = possible duplicate spike, suggest comparing notes. Rows carry outcome_excerpt by default; pass detail="full" for whole outcomes.

Inputs: q, kind, repo, limit, +10 more.

mark_intent_landedA

Record that work an already-COMPLETED intent declared uncommitted is now in git. Call this the moment you learn it: you committed and pushed that work yourself, or you can see in the tree that the work another session left uncommitted has since landed. Until someone says so, the registry keeps warning every agent who touches those paths and keeps re-telling the same story about work that is no longer at risk — a tree it cannot see is the one thing it cannot check for itself. Pass the commit SHAs if you know them; landing without them is fine and complete, the timestamp is the correction. Idempotent, and it never rewrites the completion record — the outcome, the reported files and the original uncommitted declaration all stand.

Inputs: id (required), commits.

post_intentA

Register what you are about to work on so other developers' agents can avoid collisions. Call this before starting any non-trivial task (anything touching more than a trivial fix). Infer kind: build for work meant to land, explore/spike for throwaway investigation, decision for a resolved decision worth recording (post it the moment a debate settles: pass the resolution in outcome — what was decided, what was rejected, and why; no touches needed; it is stored complete, never collides, and needs no complete_intent). Infer touches from your plan as repo-relative glob patterns. Returns the intent id — keep it to post the outcome later. Also returns any overlapping in-flight intents — active work (alert warn/nudge/fyi) and recently-completed work that may not have landed in git yet (always fyi): overlaps are the COLLISION signal — if overlap level is warn, tell your user before proceeding; for fyi, check whether that work is already in your tree before redoing it. The response also includes context — recently-completed work relevant to THIS task: read those outcomes before you start, the surprises and dead ends in them are load-bearing (a rejected approach you might retry, a gotcha you will hit). Overlap entries carry summary_excerpt; context entries carry summary_excerpt and outcome_excerpt. overlaps_omitted counts what the server cut per alert level — a non-zero warn there means more warnings exist than are shown. Call get_intent(id) for any full record.

Inputs: repo (required), summary (required), touches (required), kind, +3 more.

update_intentA

Update an in-progress intent. Call when the work changes shape (revise summary or touches — collision checks run against these fields, so stale globs silently miss real collisions) or when work runs long (a call with just the id renews the TTL heartbeat; active intents expire after ~48h without one). Calling with just the id ALSO returns fresh overlaps — the cheap mid-session collision re-check, since a post-time check goes stale over a long session. Treat a warn here exactly like a warn at post time: tell your user before proceeding. Overlaps carry excerpts, and overlaps_omitted counts any the server cut per level — use get_intent(id) for a full record. Never use this to finish work — call complete_intent for that.

Inputs: id (required), title, branch, summary, +1 more.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A4.4/5.0

    Scored across 6 tools

    Disambiguation4/5

    The six tools have mostly clear lifecycle boundaries: post, update, complete, get, list, and mark landed. However, list_intents is overloaded with three distinct modes (pre-planning semantic check, glob collision check, context search), and collision/overlap results also surface from post_intent and update_intent, which could make tool selection less immediate despite detailed guidance.

    Naming Consistency5/5

    All tool names use snake_case and a predictable verb_object pattern: list_intents, post_intent, complete_intent, get_intent, mark_intent_landed, update_intent. The lone four-word name, mark_intent_landed, is still consistent and readable.

    Tool Count5/5

    Six tools are well-scoped for an intent registry: create, list/query, fetch, update, complete, and mark landed. Each tool earns its place without obvious redundancy or missing lifecycle operations.

    Completeness5/5

    The surface covers the full lifecycle for work intents: registration, search/listing, detail retrieval, mid-flight updates and TTL renewal, completion with outcome, and post-completion landing correction. No obvious CRUD or workflow gap remains for the stated domain.

    Maintenance

    ActivityMaintained
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Coordination layer for AI coding agents working on the same codebase. Adds file locks, shared project memory, and cross-machine file sync so Claude Code, Cursor, Windsurf, and other MCP agents stop overwriting each other.
      52
      Apache 2.0
    • A
      license
      A
      quality
      D
      maintenance
      Shared, versioned memory and governance control plane for AI coding agents. Compiler pipeline resolves architectural decision conflicts across Claude Code, Cursor, and custom agent fleets.
      3
      6
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Multiplayer coordination for AI coding agents: Claude Code, Codex CLI and Cursor share one room per repository. An agent claims a path glob before it edits and a conflicting claim is refused at claim time, so collisions are prevented rather than resolved at merge. Metadata only — source code and diffs never leave the machine.
      MIT