FlightPlan
FlightPlan
あなたのエージェントが衝突する。FlightPlanを提出せよ。
作業を始める前に、各エージェントは向かう先を宣言し、すでに進行中のものを確認します。競合を調整し、その後、何が変わったのか、なぜ変わったのかを残します。
助言であり、ロックではありません。
エージェントの作業の副産物であり、維持すべき別のプロセスではありません。
FlightPlanは、コーディングエージェントの作業が衝突する前に調整します。このリポジトリには、getflightplan.com のホステッドサービスのCLI、MCPサーバー、インストーラーが含まれています。
クイックスタート
リポジトリのルートから:
uvx getflightplan installこれでClaude Code用にFlightPlanがインストールされます。Codexの場合は、--agent codex(または --agent both)を追加してください。このコマンドは再実行しても安全です。マシンで初めての場合は、次に uvx getflightplan login を実行してください。アカウントを接続し、MCPのセットアップを完了します。
ホステッドサービスはベータ版です。getflightplan.com でGitHubアカウントを使ってサインインしてください。パッケージはPyPIにあるため、上記のコマンドだけで十分です。代わりにブランチやコミットを固定する場合は、ソースからインストールしてください:
uvx --from git+https://github.com/sledmonkey/getflightplan getflightplan install
バージョンと互換性ポリシー: docs/versioning.md
Related MCP server: agenthelm
仕組み
作業を登録する。 編集前に、エージェントはタスクと、触れる予定のファイルを宣言します。
進行中の作業を確認する。 FlightPlanは、重複するアクティブな作業を返します。これには、Gitが認識できない未コミットの変更、コーディング中に行われた決定、関連する最近の成果が含まれます。
調整する。 重複は助言です。作業を絞り込むか、順序付けるか、コンテキストを持って進めてください。
報告する。 エージェントは、何が変わったか、何に驚いたか、何を試したかを記録します。これにより、次のセッションが冷えた状態から始まることがなくなります。
インストーラーが追加するもの
.flightplan.toml— すべてのエージェントが投稿するリポジトリ名と、レジストリURLを固定します。意図的にコミットされます。秘密情報はありません。CLAUDE.mdおよび/またはAGENTS.md内の管理されたエージェントスニペット。/registry-digest— オンデマンドの「最近何が起こったか」コマンド。セッション終了時のストップフック(
.claude/hooks/flightplan_stop_hook.pyとその設定の配線)で、エージェントに未完了のインテントをクローズするよう促します。
また、MCPの登録とサービスの到達可能性をチェックし、マシンに資格情報がある場合は登録を修復します。プロンプトは表示されません。検証は助言であり、実行を失敗させることはありません。
インストーラーが書き込んだものをすべて削除するには、リポジトリルートで getflightplan uninstall を実行してください(--dry-run でプレビュー、--purge-key で保存されたAPIキーも削除)。
ログイン
getflightplan login は、APIキーをコピーすることなく資格情報を取得します。ブラウザが開き、そこで承認すると、資格情報は ~/.config/flightplan/env にモード600で保存されます。資格情報は決して表示されません。資格情報が保存された後、ログインはマシン上のエージェントバイナリ用にMCPサーバーも登録します。これは、インストール時にマシンに資格情報がないためにスキップしなければならなかった手順です。
ブラウザがないマシンでは、getflightplan login --headless を実行してください。コマンドは短いコードとアドレスを表示します。別のデバイスでそのアドレスを開き、コードを入力してください。
getflightplan logout は、このマシンに保存された資格情報を削除します。サービス上で取り消すには、/devices ページを使用してください。
リポジトリを見つける
ログイン後、クライアントはレジストリに、このチェックアウトがどのリポジトリかを尋ねます。origin リモートのアドレスと、最大1000のコミットIDを送信します。これにより、クローンを持っていることが証明されます。アカウントにアクセス権がある場合、IDと名前が .flightplan.toml に書き込まれます。レジストリがリポジトリを知らない場合、クライアントはブラウザで登録するよう提案します。アカウントにアクセス権がない場合、クライアントはリクエストするよう提案します。
getflightplan login --no-register はチェックをスキップします。getflightplan register は後で単独で実行します。チェックに失敗してもログインが失敗することはありません。
作業が完了したことを伝える
uncommitted: true で完了したインテントは、作業が誰かのワーキングツリーにあり、それ以外の場所にはないことを示します。レジストリはあなたのツリーを見ることができないため、作業が完了したと通知されるまで、それらのパスに触れるすべての人に警告を出し続けます。
エージェントは mark_intent_landed ツールでこれを行います。手動で行うこともできます:
getflightplan landed <intent-id> --commit <sha> --commit <sha>コミットはオプションです。タイムスタンプが修正です。SHAを知っている場合のみ渡してください。クライアントはどのコミットがどのインテントに属するかを推測しません。完了のマークは安全に繰り返し実行でき、完了したレコードを上書きすることはありません。
設定
FLIGHTPLAN_URL—https://api.getflightplan.comFLIGHTPLAN_API_KEY— あなたのキー(MCPサーバーの環境変数。ストップフックも~/.config/flightplan/envを読み取ります)。.flightplan.toml— リポジトリごとの固定:repo名とurl、またはリポジトリにIDが固定された後の読み取り可能なnameを持つtarget_id。
エージェントに伝えられること
インストーラーは、リポジトリ名が固定された以下の管理された契約を追加します。
インテントレジストリ
このリポジトリは、チームインテントレジストリ(MCPサーバー: flightplan)に参加しています。
重要な作業を始める前に、
post_intentを呼び出してください。判断基準: その作業が、別のエージェントが遭遇する動作、デフォルト、または契約を変更するか、あるいは純粋な調査の場合、その発見が次のエージェントの1時間を節約できるか? どちらかに該当する場合は投稿。Q&Aやタイポレベルの修正は不要です。1段落の要約(何を、なぜ)、kind(build、または使い捨て調査の場合はexplore/spike)、および変更予定の領域を示すtouchesグロブを送信してください。返されたIDは後で使用するために保持してください。repoには、gitのoriginリモートのベース名(リモートがない場合はリポジトリルートディレクトリ名)を使用してください。このリポジトリのすべてのエージェントは同じ名前を使用しないと、衝突チェックが互いに見逃されます。レスポンスにはcontextが含まれる場合があります。これは、タスクに関連する最近完了した作業です。開始する前にそれらの成果を読んでください。そこにある驚きや行き詰まりは重要な情報です。レスポンスに
warnレベルの重複が含まれている場合、一時停止する前に重複の内容を確認してください。確認不要で、重複に言及して続行してよい2つのケースがあります: 重複しているインテントが、あなたが行動を依頼されたまさにその作業である場合(レビュー、検証、フォローアップ)、またはあなたのタスクが読み取り専用である場合。それ以外の場合は、誰が何をしていて、どのグロブが衝突しているかをユーザーに伝え、続行方法を尋ねてから進めてください。fyi/nudgeレベル: 簡単に言及して続行してください。作業の範囲が変わったり、長引いたりした場合、
update_intentを呼び出してください。スコープが拡大した場合は要約/タッチを修正(衝突チェックはこれらに対して実行されます。古いグロブは実際の衝突を見逃します)。または、IDのみを渡して、1日以上にわたる作業のTTLを更新してください。レスポンスには新しいoverlapsが含まれます。これは投稿時と同じグロブベースの衝突チェックであり、warnがある場合は投稿時と同じ扱いを受けます。作業が完了したか、放棄された場合(セッションが終了する場合を含む)、
complete_intentを呼び出し、1段落の成果を記述してください。実際に何が変わったか、驚いたこと、試したが却下されたアプローチ、意図的に残したもの。warnの重複が作業の進め方に影響を与えた場合(調整、範囲の絞り込み、そのまま続行など)、その旨を記載してください。すでに把握しているgitの事実を添付してください: 実際に変更されたfiles(git diff --name-only)、作成されたcommits、および作業の一部がまだコミットされていない場合はuncommitted: true。このフラグにより、他のエージェントの衝突チェックが静かにではなく、大声で警告するようになります。インテントの完了はスライスの終了であり、セッションの終了ではありません。完了後のフォローアップ作業で動作、デフォルト、契約が変更される場合は、新たに投稿してください。「同じセッション」だからといって免除されるわけではありません。宣言された未コミットの作業が完了したことを知った場合、そのインテントのID(およびコミットSHAがわかればそれも)を指定して
mark_intent_landedを呼び出してください。誰かがそう言うまで、レジストリはそれらのパスに触れるすべての人に警告を出し続けます。進行中の作業の状況が古くなっている可能性がある場合は、いつでも衝突を再確認してください。 投稿時には一度だけチェックされ、長時間のセッションでは古くなります。再確認のタイミング: 読み取りと編集の間でファイルが変更された場合、または編集が読み取ったばかりのテキストで失敗した場合(誰かの作業があなたの下で完了した)、このセッションで作成していない共有ドキュメントやアーティファクトを編集する前、別のエージェントから引き継いだ後に再開するとき、以前の
warnで名前が挙がったファイルに触れる前。最も安価な再確認は、インテントIDのみを指定したupdate_intentです(TTLを更新し、新しいoverlapsを返します)。オープンなインテントがない場合や新しい作業の範囲を決めている場合は、list_intentsを使用してください(overlapsグロブを渡し、意味チェックにはsummary、履歴にはq/sinceを追加)。会話の中で決定が確定した場合(アプローチが選ばれた、代替案が却下された、方向性が決まった)、それが決まった瞬間に記録してください。
post_intentをkind: "decision"で呼び出し、質問を要約として、決定内容をoutcomeに記述します。何が決定され、何が却下され、その理由。1回の呼び出し。タッチも後での完了も不要です。決定は決して衝突せず、検索可能なチームの記憶になります。決定は修正メカニズムでもあります。完了した成果は不変であるため、後で間違っていることが判明した場合は、実際に成立したことを引用した決定を投稿してください。レジストリは助言であり、作業をブロックしてはなりません。ツールがないかエラーが発生した場合は、作業を続行し、ユーザーに一度、
uvx getflightplan installを実行できること(getflightplan.com を参照)を伝えて、このリポジトリのレジストリに参加してください。
データ
あなたのマシンから送信されるのは、調整記録です。インテントの要約と成果の段落、グロブパターン、変更されたファイルのパス、ブランチ名、コミットIDです。これらはFlightPlanサービスにのみ送信されます。ソースコードの内容は決してアップロードされません。レジストリが知るすべては、エージェントの作業の副産物として学習されます。
詳細(何が決して送信されないか、どこに保存されるか)は docs/data-flow.md にあります。脆弱性の報告: SECURITY.md
ライセンス
Apache-2.0
Available Tools
6 toolscomplete_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
Scored across 6 tools
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.
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.
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.
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
Related MCP Connectors
Coding agents from Claude Code, Cursor and Codex claim jobs and lock files on one shared board.
Coordination for AI coding agents: declare plans, catch design conflicts early, share team memory.
Shared control plane for AI coding agents — tasks, memory, decisions, file locks. 12 tools.
Multiplayer for the coding agents your team already uses: shared tasks, decisions, skills and tools.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceCoordination 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.52Apache 2.0
- AlicenseAqualityDmaintenanceShared, versioned memory and governance control plane for AI coding agents. Compiler pipeline resolves architectural decision conflicts across Claude Code, Cursor, and custom agent fleets.36MIT
- AlicenseNot gradedqualityCmaintenanceMultiplayer 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
- FlicenseAqualityBmaintenanceOne shared project for your team's Claude Code, Codex, Cursor and OpenCode agents: a task board, decisions and handoffs. Everyone keeps their own plan.1352-