Public log

aiterm-mcp

Persistent terminal MCP with one harness-based launcher for Claude Code, Codex CLI, Grok CLI, Cursor Agent CLI, and Antigravity CLI, plus durable PTYs for SSH, containers, and REPLs.

npm · fingerprint 72ca8784d4aa555764fa7690 · repository · RSS

27tools
29recorded versions
91dtracked
changed 2d ago

What changed

Changed 2026-11-30 18:56 UTC

1 description rewritten, 1 schema or annotation change with the description left byte-identical.

--- pinned/agent_auth
+++ observed/agent_auth
  {
-   "description": "各harnessの公式CLI認証を開始・確認・取消する。CLIごとのコマンドと認証URL/codeの抽出はAitermが所有し、資格情報は各CLIだけが保存する。auth_uiの段階と公式URL・選択肢を表示する。入力はrespondで同じbindingへ送り、pty_send/pty_keyへ認証コードを渡さない。authenticatedは認証の結果であり、agent_launchの起動準備完了とは別。remoteは他toolと同じ標準対応。startは公式の状態が認証済みなら何も起こさずauthenticatedを返す。relogin:trueを付けると、認証済みに見えても公式ログインを開始する(別のアカウントへ入り直す時、ログインの期限切れを状態から見抜けない時)。Aitermは資格情報を消さず、置き換えは公式CLIが行う。Codexの公式ログインは、始めた時点で元のログインを消す(途中でcancelしても戻らない)。Antigravityのreloginは未対応を返す。",
+   "description": "各harnessの公式CLI認証を開始・確認・取消する。CLIごとのコマンドと認証URL/codeの抽出はAitermが所有し、資格情報は各CLIだけが保存する。auth_uiの段階と公式URL・選択肢を表示する。入力はrespondで同じbindingへ送り、pty_send/pty_keyへ認証コードを渡さない。authenticatedは認証の結果であり、agent_launchの起動準備完了とは別。remoteは他toolと同じ標準対応。startは公式の状態が認証済みなら何も起こさずauthenticatedを返す。relogin:trueを付けると、認証済みに見えても公式ログインを開始する(別のアカウントへ入り直す時、ログインの期限切れを状態から見抜けない時)。Aitermは資格情報を消さず、置き換えは公式CLIが行う。Codexの公式ログインは、始めた時点で元のログインを消す(途中でcancelしても戻らない)。Antigravityは認証画面での確認後に公式CLIが共有認証とcacheを消去する。",
    "execution": {
      "taskSupport": "forbidden"
    },
--- pinned/agent_launch
+++ observed/agent_launch
  {
    "description": "エージェントを単一の標準入口から永続sessionへ起動する。harnessはagent loop・認証・hook・transcriptを所有する実行基盤、modelはそのharnessが選ぶ推論モデルであり別軸。Cursor harnessからGPT/Claude/Grok等を選んでも完了相関はCursor方式のまま。ComposerはCursorのmodelの一つで、harnessでもGrokのmodelでもない。harness=cursor-cli と model=composer-2.5-fast(またはcomposer-2.5)で指定する。remoteを付けると、SSHで入った別端末のAitermで同じ起動を行い、完了は同じ形で親へ届く。通常CLIと同じHOME・cwd・project/user/local設定・MCP・plugin・skill・permission/trustを共有する。aitermは完了相関stateだけをlaunch単位で所有する。起動されたagentにはsub-agent自己認識、親session、delegation depth/lineage、delegation_allowed=trueを注入し、必要な追加委譲は許可する。別のcomputer(登録済みの端末)で起こす時は、この起動にterminal(端末の登録元が渡す値をそのまま)とcwd(その端末のproject folder)を付ける。ここで起こしてからcd・sshしない。秘密の値はどの引数・prompt・送信文にも書かず、env_varsに名前だけを書く。dispatch した子は投げっぱなしでよい=親はここで待たない。Codex親とClaude Code親にはAitermが回答本文を自動配送する。parent_deliveryがある場合はwait起動も通常の回答回収も不要。親は作業を続けるかターンを終える。Cursor親にはparent_deliveryとwait_processが付く。作業を続ければ次のツール返りに回答が差し込まれ、ターンを終える前にwait_processを背景で起動するとidle中の完了でも起きられる。ポーリングとpty_read(agent_transcript:true)は不要。その他の親では、完了通知をreceiptの `wait_process.executable` と `wait_process.args` をそのまま親のターンを塞がない別プロセスAPIへ渡して受け、PowerShell 7のStart-Processだけは `windows_start_process_argument_list` を単一文字列として渡す。exit を完了通知として扱う(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要)。`wait_command` は人間向け互換表示でありprocess境界へ使わない。foreground実行で親のターンを塞がない。自動配送以外の結果回収は pty_read(agent_transcript:true)。",
    "execution": {
+       "auto_approve": {
+         "description": "Antigravity machine only. Auto-approve all native tool permissions. Defaults to false on a fresh seat; omit on resume to keep the saved choice. Incompatible with read-only.",
+         "type": "boolean"
+       },
        "configuration_root": {
          "description": "Claude Codeの設定root(CLAUDE_CONFIG_DIR)の絶対パス。既定のroot(~/.claude、CLAUDE_CONFIG_DIRなし)か、AITERM_CLAUDE_CONFIG_ROOTSに並べた親の直下だけ。他はAGENT_CONFIGURATION_ROOT_REJECTED。休止席の再開では、新しいrootに同じ会話の記録がある時だけ替えられる。claude-code harnessだけ",
          "minLength": 1,
+       "seat_role": {
+         "description": "起動席の役割。省略・\"delegated\"は従来のsub-agent向け報告指示を保つ。\"resident\"はトップレベルのホスト管理常駐席(host-root/depth 1)向けで、技術lineageと実委譲は保ちつつ親への報告指示を外して報告先の規定を呼び手(append_system_prompt)へ委ねる。ネスト委譲された子席(depth>=2)では拒否。別端末では0.70.134以上が必要",
+         "enum": [
+           "delegated",
+           "resident"
+         ],
+         "type": "string"
+       },
        "session_name": {
          "description": "Aiterm session名(省略で自動採番)",
          "type": [
+       "auto_approve": {
+         "type": "boolean"
+       },
        "caller_mcp": {
          "additionalProperties": false,
          "description": "mcp_config only: caller servers dropped because the seat's own harness config defines the name, and those that replaced it (replace: true). A terminal below 0.70.62 does not return it",

Changed 2026-11-29 15:26 UTC

2 descriptions rewritten, 10 schema or annotation changes with the description left byte-identical.

--- pinned/agent_approval
+++ observed/agent_approval
  {
    "description": "Codexの現在の承認をinspectし、digestへ束縛した単発許可または拒否をrespondする。恒久許可は選ばない。Claudeは既存claude_approvalを使う。未知dialogはblockedのtyped errorで返す。",
    "execution": {
+           "codex-machine",
            "grok-cli",
+           "grok-machine",
            "cursor-cli",
-           "antigravity-cli"
+           "cursor-machine",
+           "antigravity-cli",
+           "antigravity-machine"
          ],
          "type": "string"
        },
--- pinned/agent_auth
+++ observed/agent_auth
  {
    "description": "各harnessの公式CLI認証を開始・確認・取消する。CLIごとのコマンドと認証URL/codeの抽出はAitermが所有し、資格情報は各CLIだけが保存する。auth_uiの段階と公式URL・選択肢を表示する。入力はrespondで同じbindingへ送り、pty_send/pty_keyへ認証コードを渡さない。authenticatedは認証の結果であり、agent_launchの起動準備完了とは別。remoteは他toolと同じ標準対応。startは公式の状態が認証済みなら何も起こさずauthenticatedを返す。relogin:trueを付けると、認証済みに見えても公式ログインを開始する(別のアカウントへ入り直す時、ログインの期限切れを状態から見抜けない時)。Aitermは資格情報を消さず、置き換えは公式CLIが行う。Codexの公式ログインは、始めた時点で元のログインを消す(途中でcancelしても戻らない)。Antigravityのreloginは未対応を返す。",
    "execution": {
+           "codex-machine",
            "grok-cli",
+           "grok-machine",
            "cursor-cli",
-           "antigravity-cli"
+           "cursor-machine",
+           "antigravity-cli",
+           "antigravity-machine"
          ],
          "type": "string"
        },
+           "codex-machine",
            "grok-cli",
+           "grok-machine",
            "cursor-cli",
-           "antigravity-cli"
+           "cursor-machine",
+           "antigravity-cli",
+           "antigravity-machine"
          ],
          "type": "string"
        },
--- pinned/agent_configure
+++ observed/agent_configure
  {
    "description": "起動済みのClaude/Codex/Grok/Cursor/Antigravity agent sessionを再起動せず、会話contextを保ったままmodel/reasoning effort/fastを変更する。各harnessのCLI標準model操作を使う。Cursorのreasoning_effort変更はmodelと同時指定する。Claude Codeの席では /model の選ぶ画面の「この会話だけ」(s)で替え、端末の ~/.claude/settings.json の既定は書き換えない。その選び方が無い版、選ぶ画面に無いmodel、そのmodelで選べないeffortは、何も変えずに断る。fastだけの指定も受ける。ファスト(harnessの高速の応答。費用や利用量が増える)。席は必ず通常の速度で起きる。trueはその席をfastへ切り替え、falseは通常の速度にする(fastに対応していないmodelでもfalseは受ける)。切り替えは席だけに留め、harnessが利用者の既定へ書いた分は切り替えの直前の値へ戻す。断りは文の先頭の符号で分かる: FAST_MODE_NOT_SUPPORTED(そのmodelは対応していない)、FAST_MODE_UNAVAILABLE(アカウントや契約で使えない)、FAST_MODE_MODEL_CONFLICT(modelへfast版のIDを書いてfalseを渡した)、FAST_MODE_UNCONFIRMED(切り替えた後の状態を確かめられない)。",
    "execution": {
+       "applies_from": {
+         "const": "next_turn",
+         "type": "string"
+       },
        "binding": {
          "additionalProperties": false,
          "properties": {
+           "codex-machine",
            "grok-cli",
+           "grok-machine",
            "cursor-cli",
-           "antigravity-cli"
+           "cursor-machine",
+           "antigravity-cli",
+           "antigravity-machine"
          ],
          "type": "string"
        },
+               "applies_from": {
+                 "const": "next_turn",
+                 "type": "string"
+               },
                "fast": {
                  "type": [
                    "boolean",
+                   "codex-machine",
                    "grok-cli",
+                   "grok-machine",
                    "cursor-cli",
-                   "antigravity-cli"
+                   "cursor-machine",
+                   "antigravity-cli",
+                   "antigravity-machine"
                  ],
                  "type": "string"
                },
--- pinned/agent_goal
+++ observed/agent_goal
  {
    "description": "Read or manage the CLI's real goal for an exact session/launch. clear removes the goal without stopping its turn; resume requires a paused goal. Editing objective resets native usage accounting. User mutations require trusted host provenance. No goal store or worker is created.",
    "execution": {
+               "codex-machine",
                "grok-cli",
+               "grok-machine",
                "cursor-cli",
-               "antigravity-cli"
+               "cursor-machine",
+               "antigravity-cli",
+               "antigravity-machine"
              ],
              "type": "string"
            },
--- pinned/agent_launch
+++ observed/agent_launch
  {
    "description": "エージェントを単一の標準入口から永続sessionへ起動する。harnessはagent loop・認証・hook・transcriptを所有する実行基盤、modelはそのharnessが選ぶ推論モデルであり別軸。Cursor harnessからGPT/Claude/Grok等を選んでも完了相関はCursor方式のまま。ComposerはCursorのmodelの一つで、harnessでもGrokのmodelでもない。harness=cursor-cli と model=composer-2.5-fast(またはcomposer-2.5)で指定する。remoteを付けると、SSHで入った別端末のAitermで同じ起動を行い、完了は同じ形で親へ届く。通常CLIと同じHOME・cwd・project/user/local設定・MCP・plugin・skill・permission/trustを共有する。aitermは完了相関stateだけをlaunch単位で所有する。起動されたagentにはsub-agent自己認識、親session、delegation depth/lineage、delegation_allowed=trueを注入し、必要な追加委譲は許可する。別のcomputer(登録済みの端末)で起こす時は、この起動にterminal(端末の登録元が渡す値をそのまま)とcwd(その端末のproject folder)を付ける。ここで起こしてからcd・sshしない。秘密の値はどの引数・prompt・送信文にも書かず、env_varsに名前だけを書く。dispatch した子は投げっぱなしでよい=親はここで待たない。Codex親とClaude Code親にはAitermが回答本文を自動配送する。parent_deliveryがある場合はwait起動も通常の回答回収も不要。親は作業を続けるかターンを終える。Cursor親にはparent_deliveryとwait_processが付く。作業を続ければ次のツール返りに回答が差し込まれ、ターンを終える前にwait_processを背景で起動するとidle中の完了でも起きられる。ポーリングとpty_read(agent_transcript:true)は不要。その他の親では、完了通知をreceiptの `wait_process.executable` と `wait_process.args` をそのまま親のターンを塞がない別プロセスAPIへ渡して受け、PowerShell 7のStart-Processだけは `windows_start_process_argument_list` を単一文字列として渡す。exit を完了通知として扱う(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要)。`wait_command` は人間向け互換表示でありprocess境界へ使わない。foreground実行で親のターンを塞がない。自動配送以外の結果回収は pty_read(agent_transcript:true)。",
    "execution": {
+           "codex-machine",
            "grok-cli",
+           "grok-machine",
            "cursor-cli",
-           "antigravity-cli"
+           "cursor-machine",
+           "antigravity-cli",
+           "antigravity-machine"
          ],
          "type": "string"
        },
+           "codex-machine",
            "grok-cli",
+           "grok-machine",
            "cursor-cli",
-           "antigravity-cli"
+           "cursor-machine",
+           "antigravity-cli",
+           "antigravity-machine"
          ],
          "type": "string"
        },
--- pinned/agent_models
+++ observed/agent_models
  {
    "description": "harnessが今返すmodelとreasoning effortの候補を、そのharnessの公式の一覧から取得する。promptもturnも送らず推論を消費しない。Codexはapp-server model/list、Claude Codeはstream-json initializeのmodels、Grokはagent stdio initializeのmodelState、Cursorはcursor-agent modelsを素のmodel IDとeffortへ分けたもの。Antigravityはagy modelsのeffortを含むIDをそのまま返す。返るidとeffortsはagent_launch/agent_configureへそのまま渡せる。modelごとのfastは、そのmodelでfastへ切り替えられるか(harnessが返す値)。fast_unavailableは、アカウントの都合でどのmodelでも使えない時の訳。取得不能はMODEL_CATALOG_UNAVAILABLE、形式異常はMODEL_CATALOG_INVALIDのエラーで返し、別の一覧へfallbackしない。remoteを付けると別端末のharnessの候補を返す。",
    "execution": {
+           "codex-machine",
            "grok-cli",
+           "grok-machine",
            "cursor-cli",
-           "antigravity-cli"
+           "cursor-machine",
+           "antigravity-cli",
+           "antigravity-machine"
          ],
          "type": "string"
        },
+           "codex-machine",
            "grok-cli",
+           "grok-machine",
            "cursor-cli",
-           "antigravity-cli"
+           "cursor-machine",
+           "antigravity-cli",
+           "antigravity-machine"
          ],
          "type": "string"
        },
--- pinned/pty_list
+++ observed/pty_list
  {
    "description": "握っているセッション一覧(名前 / 現在の前面コマンド / attach 状態 / サイズ / agent 情報)。",
    "execution": {
+                     "codex-machine",
                      "grok-cli",
+                     "grok-machine",
                      "cursor-cli",
-                     "antigravity-cli"
+                     "cursor-machine",
+                     "antigravity-cli",
+                     "antigravity-machine"
                    ],
                    "type": "string"
                  },
--- pinned/pty_observe
+++ observed/pty_observe
  {
    "description": "指定sessionの存在、paneとharnessの生存、状態と理由、native process identity、画面変化とCPU活動を構造化して観測する。画面本文と生argvは返さない。",
    "execution": {
+               "codex-machine",
                "grok-cli",
+               "grok-machine",
                "cursor-cli",
-               "antigravity-cli"
+               "cursor-machine",
+               "antigravity-cli",
+               "antigravity-machine"
              ],
              "type": "string"
            },
--- pinned/pty_read
+++ observed/pty_read
  {
    "description": "セッションの出力をトークン削減して読む(既定は前回読取位置からの増分)。削減: 制御文字除去 / 反復圧縮 / head+tail 折りたたみ+復元ヒント+メタ併記。agent_transcript:true は agent session の直近完了ターンの最終 assistant メッセージを公開されたharness記録から平文で返す。回答が空で終わったターンは誤りにせず、空のtextとanswer_empty:trueを返す。長い回答が screen tail で切れた時の回収用。",
    "execution": {
+               "codex-machine",
                "grok-cli",
+               "grok-machine",
                "cursor-cli",
-               "antigravity-cli"
+               "cursor-machine",
+               "antigravity-cli",
+               "antigravity-machine"
              ],
              "type": "string"
            },
--- pinned/pty_send
+++ observed/pty_send
  {
    "description": "セッションへテキストを送る。通常PTYへは送信のみ(出力は pty_read で取得)。agent session(launcher起動)への送信はこのtoolだけで行い、子の状態はAitermが送る時点で見て振り分ける。子のturnが実行中なら各harness標準の操作で現在のturnへ差し込み(mode=agent_steer)、完了は差し込み後の作業の終わりに元の依頼への1回だけ届く。新しいevent_cursorと配送は作らない。それ以外は新しいturnとしてdispatchし(mode=agent_dispatch)、TUI の ready gate と submit 分離を通して即返り、receipt の event_cursor を返す。dispatch した子は投げっぱなしでよい=親はここで待たない。Codex親とClaude Code親にはAitermが回答本文を自動配送する。parent_deliveryがある場合はwait起動も通常の回答回収も不要。親は作業を続けるかターンを終える。Cursor親にはparent_deliveryとwait_processが付く。作業を続ければ次のツール返りに回答が差し込まれ、ターンを終える前にwait_processを背景で起動するとidle中の完了でも起きられる。ポーリングとpty_read(agent_transcript:true)は不要。その他の親では、完了通知をreceiptの `wait_process.executable` と `wait_process.args` をそのまま親のターンを塞がない別プロセスAPIへ渡して受け、PowerShell 7のStart-Processだけは `windows_start_process_argument_list` を単一文字列として渡す。exit を完了通知として扱う(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要)。`wait_command` は人間向け互換表示でありprocess境界へ使わない。foreground実行で親のターンを塞がない。自動配送以外の結果回収は pty_read(agent_transcript:true)、Claude の durable turn は claude_turn を使う。require_agent:true はagent登録が無いsessionへ打鍵せず、AGENT_SESSION_REQUIREDで未送信を返す。preface はagent sessionへの送信で本文の前に置く1行。Claude Codeの席では貼り付けの印なしで入れ、本文だけを貼る(前置きが貼り付けの包みの外へ出る)。他のharnessでは前置き・空行・本文を1つで貼る。force:true は非Claude agent sessionへの手動介入用の素送信。aiterm相関付きClaudeの承認UIはclaude_approvalを使う。",
    "execution": {
+               "codex-machine",
                "grok-cli",
+               "grok-machine",
                "cursor-cli",
-               "antigravity-cli"
+               "cursor-machine",
+               "antigravity-cli",
+               "antigravity-machine"
              ],
              "type": "string"
            },
--- pinned/stream_read
+++ observed/stream_read
  {
-   "description": "machine席(agent_launch harness:claude-machine のClaude席)の出力をデータで読む。claude -p stream-json のstdoutの行を、解釈も整形もせず、そのまま返す(assistant・user・system・result・rate_limit_event・control_request(can_use_tool、AskUserQuestionを含む)など)。cursorは前回の返りのcursor(省略はこの起動のstreamの先頭)。wait_msを付けると、新しい行か状態の変化まで待つ。state.pendingは答えを待つ要求で、stream_offset/stream_endはその行のstream内の位置(cursorは`<launch_id>:<stream_end>`)。resume・wakeは新しい起動(launch_id)で、前の起動のcursorも、その起動のfileが残る間(席をcloseするまで)は読める。無ければSTREAM_CURSOR_STALE。",
+   "description": "machine席(agent_launch harness:claude-machine のClaude席、またはcodex-machineのCodex席)の出力をデータで読む。claude -p stream-json(Codexは codex app-server のJSON-RPC)のstdoutの行を、解釈も整形もせず、そのまま返す(assistant・user・system・result・rate_limit_event・control_request(can_use_tool、AskUserQuestionを含む)など)。cursorは前回の返りのcursor(省略はこの起動のstreamの先頭)。wait_msを付けると、新しい行か状態の変化まで待つ。state.pendingは答えを待つ要求で、stream_offset/stream_endはその行のstream内の位置(cursorは`<launch_id>:<stream_end>`)。resume・wakeは新しい起動(launch_id)で、前の起動のcursorも、その起動のfileが残る間(席をcloseするまで)は読める。無ければSTREAM_CURSOR_STALE。vendorとharnessは返した起動の値。",
    "execution": {
      "taskSupport": "forbidden"
    },
+       "harness": {
+         "description": "Harness of the returned launch; absent on old remotes",
+         "type": "string"
+       },
        "launch_id": {
          "type": "string"
        },
+                 "method": {
+                   "type": "string"
+                 },
                  "request_id": {
                    "type": "string"
                  },
+       },
+       "vendor": {
+         "description": "Vendor of the returned launch; absent on old remotes",
+         "enum": [
+           "claude",
+           "codex",
+           "cursor",
+           "grok",
+           "antigravity"
+         ],
+         "type": "string"
        }
      },
      "required": [
--- pinned/stream_send
+++ observed/stream_send
  {
-   "description": "machine席のclaudeへデータを送る。許す形は3つだけで、中身は書き換えない(無いuuid/request_idだけ補う): user(message {role:user, content}。実行中なら同じturnへ入る。/goal もここ)、control_request(request.subtype は interrupt・set_model・apply_flag_settings・set_permission_mode・set_max_thinking_tokens)、control_response(response {subtype:success|error, request_id, response}。state.pendingにあるrequest_idの時だけ。can_use_toolへの答え: AskUserQuestionの選択は response.response.updatedInput.answers)。1回に1〜20行。",
+   "description": "machine席のclaudeへデータを送る(codex-machine席は user・control{request.subtype: interrupt・set_overrides・goal}・response{request_id, result|error} の3つ。docs/architecture/codex-machine-stream.md)。Claudeの許す形は3つだけで、中身は書き換えない(無いuuid/request_idだけ補う): user(message {role:user, content}。実行中なら同じturnへ入る。/goal もここ)、control_request(request.subtype は interrupt・set_model・apply_flag_settings・set_permission_mode・set_max_thinking_tokens)、control_response(response {subtype:success|error, request_id, response}。state.pendingにあるrequest_idの時だけ。expected_launch_idを指定すれば、その起動以外には書き込まない。can_use_toolへの答え: AskUserQuestionの選択は response.response.updatedInput.answers)。1回に1〜20行。",
    "execution": {
      "taskSupport": "forbidden"
    },
+       "expected_launch_id": {
+         "description": "Bind this write to the launch that owns the pending answer",
+         "pattern": "^[a-f0-9]{32}$",
+         "type": "string"
+       },
        "lines": {
          "items": {
            "additionalProperties": {},

Changed 2026-11-26 16:46 UTC

1 schema or annotation change with the description left byte-identical.

--- pinned/pty_list
+++ observed/pty_list
  {
    "description": "握っているセッション一覧(名前 / 現在の前面コマンド / attach 状態 / サイズ / agent 情報)。",
    "execution": {
+                         },
+                         "wait_process": {
+                           "anyOf": [
+                             {
+                               "additionalProperties": false,
+                               "properties": {
+                                 "args": {
+                                   "items": {
+                                     "type": "string"
+                                   },
+                                   "type": "array"
+                                 },
+                                 "executable": {
+                                   "type": "string"
+                                 },
+                                 "windows_start_process_argument_list": {
+                                   "type": [
+                                     "string",
+                                     "null"
+                                   ]
+                                 }
+                               },
+                               "required": [
+                                 "executable",
+                                 "args",
+                                 "windows_start_process_argument_list"
+                               ],
+                               "type": "object"
+                             },
+                             {
+                               "type": "null"
+                             }
+                           ]
                          }
                        },
                        "required": [

Changed 2026-11-23 17:55 UTC

1 description rewritten, 16 schema or annotation changes with the description left byte-identical, 6 tools added.

--- pinned/agent_approval
+++ observed/agent_approval
  {
    "description": "Codexの現在の承認をinspectし、digestへ束縛した単発許可または拒否をrespondする。恒久許可は選ばない。Claudeは既存claude_approvalを使う。未知dialogはblockedのtyped errorで返す。",
    "execution": {
+           "ssh": {
+             "additionalProperties": false,
+             "description": "Pinned ssh: {known_hosts_file, host_key_alias?, identity_agent | identity_file, strict_host_key?: true} (absolute paths). Strict host checking against that file with that one identity, no user ssh config. Not combinable with identity_file, ssh_options, passphrase or passphrase_env. Needs Aiterm 0.70.101 on the other computer.",
+             "properties": {
+               "host_key_alias": {
+                 "pattern": "^(?!-)[A-Za-z0-9._%:\\[\\]-]{1,255}$",
+                 "type": "string"
+               },
+               "identity_agent": {
+                 "pattern": "^(\\/|[A-Za-z]:[\\\\/])[^\\s\"'`]*$",
+                 "type": "string"
+               },
+               "identity_file": {
+                 "pattern": "^(\\/|[A-Za-z]:[\\\\/])[^\\s\"'`]*$",
+                 "type": "string"
+               },
+               "known_hosts_file": {
+                 "pattern": "^(\\/|[A-Za-z]:[\\\\/])[^\\s\"'`]*$",
+                 "type": "string"
+               },
+               "strict_host_key": {
+                 "const": true,
+                 "type": "boolean"
+               }
+             },
+             "required": [
+               "known_hosts_file"
+             ],
+             "type": "object"
+           },
            "ssh_options": {
              "items": {
                "pattern": "^[A-Za-z][A-Za-z0-9]*=[^\\r\\n]*$",
--- pinned/agent_auth
+++ observed/agent_auth
  {
    "description": "各harnessの公式CLI認証を開始・確認・取消する。CLIごとのコマンドと認証URL/codeの抽出はAitermが所有し、資格情報は各CLIだけが保存する。auth_uiの段階と公式URL・選択肢を表示する。入力はrespondで同じbindingへ送り、pty_send/pty_keyへ認証コードを渡さない。authenticatedは認証の結果であり、agent_launchの起動準備完了とは別。remoteは他toolと同じ標準対応。startは公式の状態が認証済みなら何も起こさずauthenticatedを返す。relogin:trueを付けると、認証済みに見えても公式ログインを開始する(別のアカウントへ入り直す時、ログインの期限切れを状態から見抜けない時)。Aitermは資格情報を消さず、置き換えは公式CLIが行う。Codexの公式ログインは、始めた時点で元のログインを消す(途中でcancelしても戻らない)。Antigravityのreloginは未対応を返す。",
    "execution": {
+           "ssh": {
+             "additionalProperties": false,
+             "description": "Pinned ssh: {known_hosts_file, host_key_alias?, identity_agent | identity_file, strict_host_key?: true} (absolute paths). Strict host checking against that file with that one identity, no user ssh config. Not combinable with identity_file, ssh_options, passphrase or passphrase_env. Needs Aiterm 0.70.101 on the other computer.",
+             "properties": {
+               "host_key_alias": {
+                 "pattern": "^(?!-)[A-Za-z0-9._%:\\[\\]-]{1,255}$",
+                 "type": "string"
+               },
+               "identity_agent": {
+                 "pattern": "^(\\/|[A-Za-z]:[\\\\/])[^\\s\"'`]*$",
+                 "type": "string"
+               },
+               "identity_file": {
+                 "pattern": "^(\\/|[A-Za-z]:[\\\\/])[^\\s\"'`]*$",
+                 "type": "string"
+               },
+               "known_hosts_file": {
+                 "pattern": "^(\\/|[A-Za-z]:[\\\\/])[^\\s\"'`]*$",
+                 "type": "string"
+               },
+               "strict_host_key": {
+                 "const": true,
+                 "type": "boolean"
+               }
+             },
+             "required": [
+               "known_hosts_file"
+             ],
+             "type": "object"
+           },
            "ssh_options": {
              "items": {
                "pattern": "^[A-Za-z][A-Za-z0-9]*=[^\\r\\n]*$",
-         "description": "login:\"oauth_token\"の書き先。HOME配下の決まった形のslotのoauth-tokenだけを受け、他はAGENT_AUTH_TOKEN_FILE_REJECTED(開始しない)",
+         "description": "login:\"oauth_token\"の書き先。許可したfolder(環境変数AITERM_CLAUDE_TOKEN_ROOTS。未設定なら<HOME>/.aiterm/claude-accounts。0.70.99までは従来の固定の置き場も受ける)の<slot>/oauth-tokenだけを受け、他はAGENT_AUTH_TOKEN_FILE_REJECTED(開始しない)",
          "minLength": 1,
          "type": "string"
        }
--- pinned/agent_configure
+++ observed/agent_configure
  {
    "description": "起動済みのClaude/Codex/Grok/Cursor/Antigravity agent sessionを再起動せず、会話contextを保ったままmodel/reasoning effort/fastを変更する。各harnessのCLI標準model操作を使う。Cursorのreasoning_effort変更はmodelと同時指定する。Claude Codeの席では /model の選ぶ画面の「この会話だけ」(s)で替え、端末の ~/.claude/settings.json の既定は書き換えない。その選び方が無い版、選ぶ画面に無いmodel、そのmodelで選べないeffortは、何も変えずに断る。fastだけの指定も受ける。ファスト(harnessの高速の応答。費用や利用量が増える)。席は必ず通常の速度で起きる。trueはその席をfastへ切り替え、falseは通常の速度にする(fastに対応していないmodelでもfalseは受ける)。切り替えは席だけに留め、harnessが利用者の既定へ書いた分は切り替えの直前の値へ戻す。断りは文の先頭の符号で分かる: FAST_MODE_NOT_SUPPORTED(そのmodelは対応していない)、FAST_MODE_UNAVAILABLE(アカウントや契約で使えない)、FAST_MODE_MODEL_CONFLICT(modelへfast版のIDを書いてfalseを渡した)、FAST_MODE_UNCONFIRMED(切り替えた後の状態を確かめられない)。",
    "execution": {
+           "ssh": {
+             "additionalProperties": false,
+             "description": "Pinned ssh: {known_hosts_file, host_key_alias?, identity_agent | identity_file, strict_host_key?: true} (absolute paths). Strict host checking against that file with that one identity, no user ssh config. Not combinable with identity_file, ssh_options, passphrase or passphrase_env. Needs Aiterm 0.70.101 on the other computer.",
+             "properties": {
+               "host_key_alias": {
+                 "pattern": "^(?!-)[A-Za-z0-9._%:\\[\\]-]{1,255}$",
+                 "type": "string"
+               },
+               "identity_agent": {
+                 "pattern": "^(\\/|[A-Za-z]:[\\\\/])[^\\s\"'`]*$",
+                 "type": "string"
+               },
+               "identity_file": {
+                 "pattern": "^(\\/|[A-Za-z]:[\\\\/])[^\\s\"'`]*$",
+                 "type": "string"
+               },
+               "known_hosts_file": {
+                 "pattern": "^(\\/|[A-Za-z]:[\\\\/])[^\\s\"'`]*$",
+                 "type": "string"
+               },
+               "strict_host_key": {
+                 "const": true,
+                 "type": "boolean"
+               }
+             },
+             "required": [
+               "known_hosts_file"
+             ],
+             "type": "object"
+           },
            "ssh_options": {
              "items": {
                "pattern": "^[A-Za-z][A-Za-z0-9]*=[^\\r\\n]*$",
--- pinned/agent_launch
+++ observed/agent_launch
  {
    "description": "エージェントを単一の標準入口から永続sessionへ起動する。harnessはagent loop・認証・hook・transcriptを所有する実行基盤、modelはそのharnessが選ぶ推論モデルであり別軸。Cursor harnessからGPT/Claude/Grok等を選んでも完了相関はCursor方式のまま。ComposerはCursorのmodelの一つで、harnessでもGrokのmodelでもない。harness=cursor-cli と model=composer-2.5-fast(またはcomposer-2.5)で指定する。remoteを付けると、SSHで入った別端末のAitermで同じ起動を行い、完了は同じ形で親へ届く。通常CLIと同じHOME・cwd・project/user/local設定・MCP・plugin・skill・permission/trustを共有する。aitermは完了相関stateだけをlaunch単位で所有する。起動されたagentにはsub-agent自己認識、親session、delegation depth/lineage、delegation_allowed=trueを注入し、必要な追加委譲は許可する。別のcomputer(登録済みの端末)で起こす時は、この起動にterminal(端末の登録元が渡す値をそのまま)とcwd(その端末のproject folder)を付ける。ここで起こしてからcd・sshしない。秘密の値はどの引数・prompt・送信文にも書かず、env_varsに名前だけを書く。dispatch した子は投げっぱなしでよい=親はここで待たない。Codex親とClaude Code親にはAitermが回答本文を自動配送する。parent_deliveryがある場合はwait起動も通常の回答回収も不要。親は作業を続けるかターンを終える。Cursor親にはparent_deliveryとwait_processが付く。作業を続ければ次のツール返りに回答が差し込まれ、ターンを終える前にwait_processを背景で起動するとidle中の完了でも起きられる。ポーリングとpty_read(agent_transcript:true)は不要。その他の親では、完了通知をreceiptの `wait_process.executable` と `wait_process.args` をそのまま親のターンを塞がない別プロセスAPIへ渡して受け、PowerShell 7のStart-Processだけは `windows_start_process_argument_list` を単一文字列として渡す。exit を完了通知として扱う(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要)。`wait_command` は人間向け互換表示でありprocess境界へ使わない。foreground実行で親のターンを塞がない。自動配送以外の結果回収は pty_read(agent_transcript:true)。",
    "execution": {
+       "post_launch": {
+         "additionalProperties": false,
+         "description": "A command {command: string[]} run once after every launch and resume of this seat, by the Aiterm that created the native seat (a terminal-bound launch: the terminal's), as the seat's user in its cwd, no shell, 10 s (argv[0] \"node\" = the Node this Aiterm runs on). Environment: AITERM_SESSION_ID, AITERM_HOOK_EVENT (launch/resume), AITERM_SEAT_FORWARD_PORT (terminal-bound, when the seat has a route back), AITERM_SESSION_ALIVE (JSON argv of aiterm-session-alive), and the private values this launch consumed (env_vars, ${NAME} header references): never argv. It never fails the launch; the result carries post_launch {status, exit_code}. Not saved: send it on every launch and resume. Needs Aiterm 0.70.100 on the terminal.",
+         "properties": {
+           "command": {
+             "items": {
+               "minLength": 1,
+               "type": "string"
+             },
+             "maxItems": 16,
+             "minItems": 1,
+             "type": "array"
+           }
+         },
+         "required": [
+           "command"
+         ],
+         "type": "object"
+       },
        "prompt": {
          "description": "起動時に渡す初手プロンプト(任意)。送信後は待たずに即返る",
          "type": [
+           "ssh": {
+             "additionalProperties": false,
+             "description": "Pinned ssh: {known_hosts_file, host_key_alias?, identity_agent | identity_file, strict_host_key?: true} (absolute paths). Strict host checking against that file with that one identity, no user ssh config. Not combinable with identity_file, ssh_options, passphrase or passphrase_env. Needs Aiterm 0.70.101 on the other computer.",
+             "properties": {
+               "host_key_alias": {
+                 "pattern": "^(?!-)[A-Za-z0-9._%:\\[\\]-]{1,255}$",
+                 "type": "string"
+               },
+               "identity_agent": {
+                 "pattern": "^(\\/|[A-Za-z]:[\\\\/])[^\\s\"'`]*$",
+                 "type": "string"
+               },
+               "identity_file": {
+                 "pattern": "^(\\/|[A-Za-z]:[\\\\/])[^\\s\"'`]*$",
+                 "type": "string"
+               },
+               "known_hosts_file": {
+                 "pattern": "^(\\/|[A-Za-z]:[\\\\/])[^\\s\"'`]*$",
+                 "type": "string"
+               },
+               "strict_host_key": {
+                 "const": true,
+                 "type": "boolean"
+               }
+             },
+             "required": [
+               "known_hosts_file"
+             ],
+             "type": "object"
+           },
            "ssh_options": {
              "items": {
                "pattern": "^[A-Za-z][A-Za-z0-9]*=[^\\r\\n]*$",
+       "post_launch": {
+         "additionalProperties": false,
+         "description": "The result of the caller's post_launch command (absent when none was given)",
+         "properties": {
+           "exit_code": {
+             "anyOf": [
+               {
+                 "maximum": 9007199254740991,
+                 "minimum": -9007199254740991,
+                 "type": "integer"
+               },
+               {
+                 "type": "null"
+               }
+             ]
+           },
+           "status": {
+             "enum": [
+               "ok",
+               "failed",
+               "timeout"
+             ],
+             "type": "string"
+           }
+         },
+         "required": [
+           "status",
+           "exit_code"
+         ],
+         "type": "object"
+       },
        "provider": {
          "description": "旧互換field。新規連携はharnessを使う",
          "enum": [
--- pinned/agent_models
+++ observed/agent_models
  {
    "description": "harnessが今返すmodelとreasoning effortの候補を、そのharnessの公式の一覧から取得する。promptもturnも送らず推論を消費しない。Codexはapp-server model/list、Claude Codeはstream-json initializeのmodels、Grokはagent stdio initializeのmodelState、Cursorはcursor-agent modelsを素のmodel IDとeffortへ分けたもの。Antigravityはagy modelsのeffortを含むIDをそのまま返す。返るidとeffortsはagent_launch/agent_configureへそのまま渡せる。modelごとのfastは、そのmodelでfastへ切り替えられるか(harnessが返す値)。fast_unavailableは、アカウントの都合でどのmodelでも使えない時の訳。取得不能はMODEL_CATALOG_UNAVAILABLE、形式異常はMODEL_CATALOG_INVALIDのエラーで返し、別の一覧へfallbackしない。remoteを付けると別端末のharnessの候補を返す。",
    "execution": {
+           "ssh": {
+             "additionalProperties": false,
+             "description": "Pinned ssh: {known_hosts_file, host_key_alias?, identity_agent | identity_file, strict_host_key?: true} (absolute paths). Strict host checking against that file with that one identity, no user ssh config. Not combinable with identity_file, ssh_options, passphrase or passphrase_env. Needs Aiterm 0.70.101 on the other computer.",
+             "properties": {
+               "host_key_alias": {
+                 "pattern": "^(?!-)[A-Za-z0-9._%:\\[\\]-]{1,255}$",
+                 "type": "string"
+               },
+               "identity_agent": {
+                 "pattern": "^(\\/|[A-Za-z]:[\\\\/])[^\\s\"'`]*$",
+                 "type": "string"
+               },
+               "identity_file": {
+                 "pattern": "^(\\/|[A-Za-z]:[\\\\/])[^\\s\"'`]*$",
+                 "type": "string"
+               },
+               "known_hosts_file": {
+                 "pattern": "^(\\/|[A-Za-z]:[\\\\/])[^\\s\"'`]*$",
+                 "type": "string"
+               },
+               "strict_host_key": {
+                 "const": true,
+                 "type": "boolean"
+               }
+             },
+             "required": [
+               "known_hosts_file"
+             ],
+             "type": "object"
+           },
            "ssh_options": {
              "items": {
                "pattern": "^[A-Za-z][A-Za-z0-9]*=[^\\r\\n]*$",

+ tool added: agent_stop

--- pinned/claude_approval
+++ observed/claude_approval
  {
    "description": "aiterm相関付きClaudeのactive turn中に表示された権限確認UIを、turn相関を保ったまま検査・応答する専用面。inspectで画面digestと安全な単発Yes/Noだけを取得し、respondは同じoperation・同じdigestが現在も表示中の場合だけ送信する。",
    "execution": {
+           "ssh": {
+             "additionalProperties": false,
+             "description": "Pinned ssh: {known_hosts_file, host_key_alias?, identity_agent | identity_file, strict_host_key?: true} (absolute paths). Strict host checking against that file with that one identity, no user ssh config. Not combinable with identity_file, ssh_options, passphrase or passphrase_env. Needs Aiterm 0.70.101 on the other computer.",
+             "properties": {
+               "host_key_alias": {
+                 "pattern": "^(?!-)[A-Za-z0-9._%:\\[\\]-]{1,255}$",
+                 "type": "string"
+               },
+               "identity_agent": {
+                 "pattern": "^(\\/|[A-Za-z]:[\\\\/])[^\\s\"'`]*$",
+                 "type": "string"
+               },
+               "identity_file": {
+                 "pattern": "^(\\/|[A-Za-z]:[\\\\/])[^\\s\"'`]*$",
+                 "type": "string"
+               },
+               "known_hosts_file": {
+                 "pattern": "^(\\/|[A-Za-z]:[\\\\/])[^\\s\"'`]*$",
+                 "type": "string"
+               },
+               "strict_host_key": {
+                 "const": true,
+                 "type": "boolean"
+               }
+             },
+             "required": [
+               "known_hosts_file"
+             ],
+             "type": "object"
+           },
            "ssh_options": {
              "items": {
                "pattern": "^[A-Za-z][A-Za-z0-9]*=[^\\r\\n]*$",
--- pinned/claude_turn
+++ observed/claude_turn
  {
    "description": "aiterm相関付きClaude sessionのdurable operationを構造化issue/recoverするmachine-caller専用面。pending/unknown/completedを人間向けerror文字列の解析なしで返し、Observer固有ロジックは持たない。",
    "execution": {
+           "ssh": {
+             "additionalProperties": false,
+             "description": "Pinned ssh: {known_hosts_file, host_key_alias?, identity_agent | identity_file, strict_host_key?: true} (absolute paths). Strict host checking against that file with that one identity, no user ssh config. Not combinable with identity_file, ssh_options, passphrase or passphrase_env. Needs Aiterm 0.70.101 on the other computer.",
+             "properties": {
+               "host_key_alias": {
+                 "pattern": "^(?!-)[A-Za-z0-9._%:\\[\\]-]{1,255}$",
+                 "type": "string"
+               },
+               "identity_agent": {
+                 "pattern": "^(\\/|[A-Za-z]:[\\\\/])[^\\s\"'`]*$",
+                 "type": "string"
+               },
+               "identity_file": {
+                 "pattern": "^(\\/|[A-Za-z]:[\\\\/])[^\\s\"'`]*$",
+                 "type": "string"
+               },
+               "known_hosts_file": {
+                 "pattern": "^(\\/|[A-Za-z]:[\\\\/])[^\\s\"'`]*$",
+                 "type": "string"
+               },
+               "strict_host_key": {
+                 "const": true,
+                 "type": "boolean"
+               }
+             },
+             "required": [
+               "known_hosts_file"
+             ],
+             "type": "object"
+           },
            "ssh_options": {
              "items": {
                "pattern": "^[A-Za-z][A-Za-z0-9]*=[^\\r\\n]*$",
--- pinned/diagnostics
+++ observed/diagnostics
  {
-   "description": "Factory 向け read-only 診断。安全な状態語彙だけを機械可読 JSON で返す(PTY 内容・認証情報・path・環境値は返さない)。2つ目のtextは親配送hook(Claude Code・Cursor)の登録状態で、caller_status が setup_required なら呼出元からのagent送信は拒否される。aiterm-setup を実行する。",
+   "description": "監視・自動化向けの read-only 診断。安全な状態語彙だけを機械可読 JSON で返す(PTY 内容・認証情報・path・環境値は返さない)。2つ目のtextは親配送hook(Claude Code・Cursor)の登録状態で、caller_status が setup_required なら呼出元からのagent送信は拒否される。aiterm-setup を実行する。",
    "execution": {
      "taskSupport": "forbidden"
    },

+ tool added: ensure_forward

+ tool added: forward_status

+ tool added: image_put

+ tool added: image_read

--- pinned/pty_close
+++ observed/pty_close
  {
    "description": "セッションを閉じ、ログ/読取位置を破棄する。同じsession_idへの再試行は安全で、closed/already_closedのstructured receiptを返す。hibernate:trueはClaude・Codexのagent席を今すぐ休止し(idle時計と同じ手順)、会話と再開情報を残してhibernatedを返す。次のagent_launch(session_name)が同じ会話へ、保存した設定(起動時のmodel等。席の中で替えた物は持ち越さない)で再開する。turn・子process・子への配送が動いている間はAGENT_BUSYで断る(終わってから呼び直す)。Claudeの席が利用上限でturnを終えている時(最後の入力の後の会話記録がrate_limited)は、上限の待ち画面のままでも休止できる。他の理由で休止できない時はAGENT_HIBERNATE_UNAVAILABLE、席は触らない。",
    "execution": {
+           "ssh": {
+             "additionalProperties": false,
+             "description": "Pinned ssh: {known_hosts_file, host_key_alias?, identity_agent | identity_file, strict_host_key?: true} (absolute paths). Strict host checking against that file with that one identity, no user ssh config. Not combinable with identity_file, ssh_options, passphrase or passphrase_env. Needs Aiterm 0.70.101 on the other computer.",
+             "properties": {
+               "host_key_alias": {
+                 "pattern": "^(?!-)[A-Za-z0-9._%:\\[\\]-]{1,255}$",
+                 "type": "string"
+               },
+               "identity_agent": {
+                 "pattern": "^(\\/|[A-Za-z]:[\\\\/])[^\\s\"'`]*$",
+                 "type": "string"
+               },
+               "identity_file": {
+                 "pattern": "^(\\/|[A-Za-z]:[\\\\/])[^\\s\"'`]*$",
+                 "type": "string"
+               },
+               "known_hosts_file": {
+                 "pattern": "^(\\/|[A-Za-z]:[\\\\/])[^\\s\"'`]*$",
+                 "type": "string"
+               },
+               "strict_host_key": {
+                 "const": true,
+                 "type": "boolean"
+               }
+             },
+             "required": [
+               "known_hosts_file"
+             ],
+             "type": "object"
+           },
            "ssh_options": {
              "items": {
                "pattern": "^[A-Za-z][A-Za-z0-9]*=[^\\r\\n]*$",
--- pinned/pty_key
+++ observed/pty_key
  {
    "description": "制御キーを送る(C-c, C-d, Enter, Tab, Up, Down... の別名に対応)。acceptedは入力受付であり処理中断/会話維持の確認ではない。aiterm相関付きClaudeではC-cだけを許可し、承認UIはclaude_approvalで操作する。",
    "execution": {
+           "ssh": {
+             "additionalProperties": false,
+             "description": "Pinned ssh: {known_hosts_file, host_key_alias?, identity_agent | identity_file, strict_host_key?: true} (absolute paths). Strict host checking against that file with that one identity, no user ssh config. Not combinable with identity_file, ssh_options, passphrase or passphrase_env. Needs Aiterm 0.70.101 on the other computer.",
+             "properties": {
+               "host_key_alias": {
+                 "pattern": "^(?!-)[A-Za-z0-9._%:\\[\\]-]{1,255}$",
+                 "type": "string"
+               },
+               "identity_agent": {
+                 "pattern": "^(\\/|[A-Za-z]:[\\\\/])[^\\s\"'`]*$",
+                 "type": "string"
+               },
+               "identity_file": {
+                 "pattern": "^(\\/|[A-Za-z]:[\\\\/])[^\\s\"'`]*$",
+                 "type": "string"
+               },
+               "known_hosts_file": {
+                 "pattern": "^(\\/|[A-Za-z]:[\\\\/])[^\\s\"'`]*$",
+                 "type": "string"
+               },
+               "strict_host_key": {
+                 "const": true,
+                 "type": "boolean"
+               }
+             },
+             "required": [
+               "known_hosts_file"
+             ],
+             "type": "object"
+           },
            "ssh_options": {
              "items": {
                "pattern": "^[A-Za-z][A-Za-z0-9]*=[^\\r\\n]*$",
--- pinned/pty_list
+++ observed/pty_list
  {
    "description": "握っているセッション一覧(名前 / 現在の前面コマンド / attach 状態 / サイズ / agent 情報)。",
    "execution": {
+       "include": {
+         "description": "agent席の行へ足す事実。turn: 席の今の番(running/idle/読めない時はnull)。own_work: 席が自分で始めて終わっていない仕事(processes、child_results、tasks)。省略した呼び出しは従来どおりで、計算しない(版の確認などで呼ぶ時に重くしない)",
+         "items": {
+           "enum": [
+             "turn",
+             "own_work"
+           ],
+           "type": "string"
+         },
+         "maxItems": 2,
+         "type": "array"
+       },
        "remote": {
          "additionalProperties": false,
          "description": "別端末のAitermで実行する時のSSH接続情報。hostだけならssh_configの接続名として使う。Aitermは接続情報を保存・管理しない。passphraseは会話記録に残るため、ssh-agentかpassphrase_env(環境変数名)を推奨する。",
+           "ssh": {
+             "additionalProperties": false,
+             "description": "Pinned ssh: {known_hosts_file, host_key_alias?, identity_agent | identity_file, strict_host_key?: true} (absolute paths). Strict host checking against that file with that one identity, no user ssh config. Not combinable with identity_file, ssh_options, passphrase or passphrase_env. Needs Aiterm 0.70.101 on the other computer.",
+             "properties": {
+               "host_key_alias": {
+                 "pattern": "^(?!-)[A-Za-z0-9._%:\\[\\]-]{1,255}$",
+                 "type": "string"
+               },
+               "identity_agent": {
+                 "pattern": "^(\\/|[A-Za-z]:[\\\\/])[^\\s\"'`]*$",
+                 "type": "string"
+               },
+               "identity_file": {
+                 "pattern": "^(\\/|[A-Za-z]:[\\\\/])[^\\s\"'`]*$",
+                 "type": "string"
+               },
+               "known_hosts_file": {
+                 "pattern": "^(\\/|[A-Za-z]:[\\\\/])[^\\s\"'`]*$",
+                 "type": "string"
+               },
+               "strict_host_key": {
+                 "const": true,
+                 "type": "boolean"
+               }
+             },
+             "required": [
+               "known_hosts_file"
+             ],
+             "type": "object"
+           },
            "ssh_options": {
              "items": {
                "pattern": "^[A-Za-z][A-Za-z0-9]*=[^\\r\\n]*$",
+             "own_work": {
+               "additionalProperties": false,
+               "description": "include:[\"own_work\"]のagent行だけ。席が自分で始めて終わっていない仕事。nullは根拠が無い",
+               "properties": {
+                 "child_results": {
+                   "type": [
+                     "number",
+                     "null"
+                   ]
+                 },
+                 "excluded": {
+                   "type": "number"
+                 },
+                 "exclusions_digest": {
+                   "type": [
+                     "string",
+                     "null"
+                   ]
+                 },
+                 "oldest": {
+                   "anyOf": [
+                     {
+                       "additionalProperties": false,
+                       "properties": {
+                         "args": {
+                           "items": {
+                             "type": "string"
+                           },
+                           "type": "array"
+                         },
+                         "exe": {
+                           "type": "string"
+                         },
+                         "since": {
+                           "type": "string"
+                         }
+                       },
+                       "required": [
+                         "exe",
+                         "args",
+                         "since"
+                       ],
+                       "type": "object"
+                     },
+                     {
+                       "type": "null"
+                     }
+                   ]
+                 },
+                 "processes": {
+                   "type": [
+                     "number",
+                     "null"
+                   ]
+                 },
+                 "task": {
+                   "anyOf": [
+                     {
+                       "additionalProperties": false,
+                       "properties": {
+                         "kind": {
+                           "type": "string"
+                         },
+                         "label": {
+                           "type": "string"
+                         },
+                         "since": {
+                           "type": "string"
+                         }
+                       },
+                       "required": [
+                         "kind",
+                         "label",
+                         "since"
+                       ],
+                       "type": "object"
+                     },
+                     {
+                       "type": "null"
+                     }
+                   ]
+                 },
+                 "tasks": {
+                   "type": [
+                     "number",
+                     "null"
+                   ]
+                 }
+               },
+               "required": [
+                 "processes",
+                 "excluded",
+                 "child_results",
+                 "exclusions_digest",
+                 "oldest",
+                 "tasks",
+                 "task"
+               ],
+               "type": "object"
+             },
              "session_id": {
                "type": "string"
              },
+             "turn": {
+               "anyOf": [
+                 {
+                   "anyOf": [
+                     {
+                       "additionalProperties": false,
+                       "properties": {
+                         "event_cursor": {
+                           "type": [
+                             "number",
+                             "null"
+                           ]
+                         },
+                         "interim_from": {
+                           "type": [
+                             "string",
+                             "null"
+                           ]
+                         },
+                         "started_at": {
+                           "type": [
+                             "string",
+                             "null"
+                           ]
+                         },
+                         "state": {
+                           "const": "running",
+                           "type": "string"
+                         },
+                         "turn_id": {
+                           "type": [
+                             "string",
+                             "null"
+                           ]
+                         }
+                       },
+                       "required": [
+                         "state",
+                         "turn_id",
+                         "started_at",
+                         "event_cursor",
+                         "interim_from"
+                       ],
+                       "type": "object"
+                     },
+                     {
+                       "additionalProperties": false,
+                       "properties": {
+                         "state": {
+                           "const": "idle",
+                           "type": "string"
+                         }
+                       },
+                       "required": [
+                         "state"
+                       ],
+                       "type": "object"
+                     }
+                   ]
+                 },
+                 {
+                   "type": "null"
+                 }
+               ],
+               "description": "include:[\"turn\"]のagent行だけ。席の今の番。nullは今は読めない"
+             },
              "vendor_session_id": {
                "description": "agent sessionのharness側の会話ID。Claude CodeとGrokは起動時に--session-idで渡した値(席の中で会話を移した後は追わない)、CodexとCursorは分かった後の値。通常PTYと、まだ分からない席はnull",
                "type": [
--- pinned/pty_observe
+++ observed/pty_observe
  {
    "description": "指定sessionの存在、paneとharnessの生存、状態と理由、native process identity、画面変化とCPU活動を構造化して観測する。画面本文と生argvは返さない。",
    "execution": {
+           "ssh": {
+             "additionalProperties": false,
+             "description": "Pinned ssh: {known_hosts_file, host_key_alias?, identity_agent | identity_file, strict_host_key?: true} (absolute paths). Strict host checking against that file with that one identity, no user ssh config. Not combinable with identity_file, ssh_options, passphrase or passphrase_env. Needs Aiterm 0.70.101 on the other computer.",
+             "properties": {
+               "host_key_alias": {
+                 "pattern": "^(?!-)[A-Za-z0-9._%:\\[\\]-]{1,255}$",
+                 "type": "string"
+               },
+               "identity_agent": {
+                 "pattern": "^(\\/|[A-Za-z]:[\\\\/])[^\\s\"'`]*$",
+                 "type": "string"
+               },
+               "identity_file": {
+                 "pattern": "^(\\/|[A-Za-z]:[\\\\/])[^\\s\"'`]*$",
+                 "type": "string"
+               },
+               "known_hosts_file": {
+                 "pattern": "^(\\/|[A-Za-z]:[\\\\/])[^\\s\"'`]*$",
+                 "type": "string"
+               },
+               "strict_host_key": {
+                 "const": true,
+                 "type": "boolean"
+               }
+             },
+             "required": [
+               "known_hosts_file"
+             ],
+             "type": "object"
+           },
            "ssh_options": {
              "items": {
                "pattern": "^[A-Za-z][A-Za-z0-9]*=[^\\r\\n]*$",
--- pinned/pty_open
+++ observed/pty_open
  {
    "description": "ローカル永続端末(POSIXはtmux、Windows nativeはpsmux 3.3.8以上)を1個開き、session_id を返す。backend server常駐ゆえ本サーバや クライアントが再起動してもセッションは生存する。リモート操作は専用ツールにせず、開いた端末の中で pty_send(session_id, \"ssh host\") と打って入る。",
    "execution": {
+           "ssh": {
+             "additionalProperties": false,
+             "description": "Pinned ssh: {known_hosts_file, host_key_alias?, identity_agent | identity_file, strict_host_key?: true} (absolute paths). Strict host checking against that file with that one identity, no user ssh config. Not combinable with identity_file, ssh_options, passphrase or passphrase_env. Needs Aiterm 0.70.101 on the other computer.",
+             "properties": {
+               "host_key_alias": {
+                 "pattern": "^(?!-)[A-Za-z0-9._%:\\[\\]-]{1,255}$",
+                 "type": "string"
+               },
+               "identity_agent": {
+                 "pattern": "^(\\/|[A-Za-z]:[\\\\/])[^\\s\"'`]*$",
+                 "type": "string"
+               },
+               "identity_file": {
+                 "pattern": "^(\\/|[A-Za-z]:[\\\\/])[^\\s\"'`]*$",
+                 "type": "string"
+               },
+               "known_hosts_file": {
+                 "pattern": "^(\\/|[A-Za-z]:[\\\\/])[^\\s\"'`]*$",
+                 "type": "string"
+               },
+               "strict_host_key": {
+                 "const": true,
+                 "type": "boolean"
+               }
+             },
+             "required": [
+               "known_hosts_file"
+             ],
+             "type": "object"
+           },
            "ssh_options": {
              "items": {
                "pattern": "^[A-Za-z][A-Za-z0-9]*=[^\\r\\n]*$",
--- pinned/pty_read
+++ observed/pty_read
  {
    "description": "セッションの出力をトークン削減して読む(既定は前回読取位置からの増分)。削減: 制御文字除去 / 反復圧縮 / head+tail 折りたたみ+復元ヒント+メタ併記。agent_transcript:true は agent session の直近完了ターンの最終 assistant メッセージを公開されたharness記録から平文で返す。回答が空で終わったターンは誤りにせず、空のtextとanswer_empty:trueを返す。長い回答が screen tail で切れた時の回収用。",
    "execution": {
+       "input_ref": {
+         "anyOf": [
+           {
+             "pattern": "^[0-9a-f]{16}$",
+             "type": "string"
+           },
+           {
+             "type": "null"
+           }
+         ],
+         "description": "差し込みが始めた番の回答を読むID。もう1つの同じ意味の引数と同じ値で、両方を渡す時は同じ値にする。agent_transcript:true時だけ指定する"
+       },
        "line_range": {
          "description": "全文からの行範囲 \"A:B\"",
          "type": [
+           "ssh": {
+             "additionalProperties": false,
+             "description": "Pinned ssh: {known_hosts_file, host_key_alias?, identity_agent | identity_file, strict_host_key?: true} (absolute paths). Strict host checking against that file with that one identity, no user ssh config. Not combinable with identity_file, ssh_options, passphrase or passphrase_env. Needs Aiterm 0.70.101 on the other computer.",
+             "properties": {
+               "host_key_alias": {
+                 "pattern": "^(?!-)[A-Za-z0-9._%:\\[\\]-]{1,255}$",
+                 "type": "string"
+               },
+               "identity_agent": {
+                 "pattern": "^(\\/|[A-Za-z]:[\\\\/])[^\\s\"'`]*$",
+                 "type": "string"
+               },
+               "identity_file": {
+                 "pattern": "^(\\/|[A-Za-z]:[\\\\/])[^\\s\"'`]*$",
+                 "type": "string"
+               },
+               "known_hosts_file": {
+                 "pattern": "^(\\/|[A-Za-z]:[\\\\/])[^\\s\"'`]*$",
+                 "type": "string"
+               },
+               "strict_host_key": {
+                 "const": true,
+                 "type": "boolean"
+               }
+             },
+             "required": [
+               "known_hosts_file"
+             ],
+             "type": "object"
+           },
            "ssh_options": {
              "items": {
                "pattern": "^[A-Za-z][A-Za-z0-9]*=[^\\r\\n]*$",
-       "steer_id": {
-         "anyOf": [
-           {
-             "pattern": "^[0-9a-f]{16}$",
-             "type": "string"
-           },
-           {
-             "type": "null"
-           }
-         ],
-         "description": "Claudeの差し込みが始めた番の回答を読むID。agent_transcript:true時だけ指定する。後の番が動いていても拒否しない。未完了はAITERM_TRANSCRIPT_INPUT_PENDING、置換済みはAITERM_TRANSCRIPT_INPUT_REPLACED、動いていた番が取った差し込みはAITERM_TRANSCRIPT_STEER_SAME_TURN、控え無しはSTEER_NOT_FOUND。operation_id・input_idと併用不可"
-       },
        "timeout": {
          "default": 10,
          "description": "wait の最大待ち秒数",
--- pinned/pty_send
+++ observed/pty_send
  {
    "description": "セッションへテキストを送る。通常PTYへは送信のみ(出力は pty_read で取得)。agent session(launcher起動)への送信はこのtoolだけで行い、子の状態はAitermが送る時点で見て振り分ける。子のturnが実行中なら各harness標準の操作で現在のturnへ差し込み(mode=agent_steer)、完了は差し込み後の作業の終わりに元の依頼への1回だけ届く。新しいevent_cursorと配送は作らない。それ以外は新しいturnとしてdispatchし(mode=agent_dispatch)、TUI の ready gate と submit 分離を通して即返り、receipt の event_cursor を返す。dispatch した子は投げっぱなしでよい=親はここで待たない。Codex親とClaude Code親にはAitermが回答本文を自動配送する。parent_deliveryがある場合はwait起動も通常の回答回収も不要。親は作業を続けるかターンを終える。Cursor親にはparent_deliveryとwait_processが付く。作業を続ければ次のツール返りに回答が差し込まれ、ターンを終える前にwait_processを背景で起動するとidle中の完了でも起きられる。ポーリングとpty_read(agent_transcript:true)は不要。その他の親では、完了通知をreceiptの `wait_process.executable` と `wait_process.args` をそのまま親のターンを塞がない別プロセスAPIへ渡して受け、PowerShell 7のStart-Processだけは `windows_start_process_argument_list` を単一文字列として渡す。exit を完了通知として扱う(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要)。`wait_command` は人間向け互換表示でありprocess境界へ使わない。foreground実行で親のターンを塞がない。自動配送以外の結果回収は pty_read(agent_transcript:true)、Claude の durable turn は claude_turn を使う。require_agent:true はagent登録が無いsessionへ打鍵せず、AGENT_SESSION_REQUIREDで未送信を返す。preface はagent sessionへの送信で本文の前に置く1行。Claude Codeの席では貼り付けの印なしで入れ、本文だけを貼る(前置きが貼り付けの包みの外へ出る)。他のharnessでは前置き・空行・本文を1つで貼る。force:true は非Claude agent sessionへの手動介入用の素送信。aiterm相関付きClaudeの承認UIはclaude_approvalを使う。",
    "execution": {
+           "ssh": {
+             "additionalProperties": false,
+             "description": "Pinned ssh: {known_hosts_file, host_key_alias?, identity_agent | identity_file, strict_host_key?: true} (absolute paths). Strict host checking against that file with that one identity, no user ssh config. Not combinable with identity_file, ssh_options, passphrase or passphrase_env. Needs Aiterm 0.70.101 on the other computer.",
+             "properties": {
+               "host_key_alias": {
+                 "pattern": "^(?!-)[A-Za-z0-9._%:\\[\\]-]{1,255}$",
+                 "type": "string"
+               },
+               "identity_agent": {
+                 "pattern": "^(\\/|[A-Za-z]:[\\\\/])[^\\s\"'`]*$",
+                 "type": "string"
+               },
+               "identity_file": {
+                 "pattern": "^(\\/|[A-Za-z]:[\\\\/])[^\\s\"'`]*$",
+                 "type": "string"
+               },
+               "known_hosts_file": {
+                 "pattern": "^(\\/|[A-Za-z]:[\\\\/])[^\\s\"'`]*$",
+                 "type": "string"
+               },
+               "strict_host_key": {
+                 "const": true,
+                 "type": "boolean"
+               }
+             },
+             "required": [
+               "known_hosts_file"
+             ],
+             "type": "object"
+           },
            "ssh_options": {
              "items": {
                "pattern": "^[A-Za-z][A-Za-z0-9]*=[^\\r\\n]*$",

+ tool added: release_forward

--- pinned/stream_read
+++ observed/stream_read
  {
    "description": "machine席(agent_launch harness:claude-machine のClaude席)の出力をデータで読む。claude -p stream-json のstdoutの行を、解釈も整形もせず、そのまま返す(assistant・user・system・result・rate_limit_event・control_request(can_use_tool、AskUserQuestionを含む)など)。cursorは前回の返りのcursor(省略はこの起動のstreamの先頭)。wait_msを付けると、新しい行か状態の変化まで待つ。state.pendingは答えを待つ要求で、stream_offset/stream_endはその行のstream内の位置(cursorは`<launch_id>:<stream_end>`)。resume・wakeは新しい起動(launch_id)で、前の起動のcursorも、その起動のfileが残る間(席をcloseするまで)は読める。無ければSTREAM_CURSOR_STALE。",
    "execution": {
+           "ssh": {
+             "additionalProperties": false,
+             "description": "Pinned ssh: {known_hosts_file, host_key_alias?, identity_agent | identity_file, strict_host_key?: true} (absolute paths). Strict host checking against that file with that one identity, no user ssh config. Not combinable with identity_file, ssh_options, passphrase or passphrase_env. Needs Aiterm 0.70.101 on the other computer.",
+             "properties": {
+               "host_key_alias": {
+                 "pattern": "^(?!-)[A-Za-z0-9._%:\\[\\]-]{1,255}$",
+                 "type": "string"
+               },
+               "identity_agent": {
+                 "pattern": "^(\\/|[A-Za-z]:[\\\\/])[^\\s\"'`]*$",
+                 "type": "string"
+               },
+               "identity_file": {
+                 "pattern": "^(\\/|[A-Za-z]:[\\\\/])[^\\s\"'`]*$",
+                 "type": "string"
+               },
+               "known_hosts_file": {
+                 "pattern": "^(\\/|[A-Za-z]:[\\\\/])[^\\s\"'`]*$",
+                 "type": "string"
+               },
+               "strict_host_key": {
+                 "const": true,
+                 "type": "boolean"
+               }
+             },
+             "required": [
+               "known_hosts_file"
+             ],
+             "type": "object"
+           },
            "ssh_options": {
              "items": {
                "pattern": "^[A-Za-z][A-Za-z0-9]*=[^\\r\\n]*$",
--- pinned/stream_send
+++ observed/stream_send
  {
    "description": "machine席のclaudeへデータを送る。許す形は3つだけで、中身は書き換えない(無いuuid/request_idだけ補う): user(message {role:user, content}。実行中なら同じturnへ入る。/goal もここ)、control_request(request.subtype は interrupt・set_model・apply_flag_settings・set_permission_mode・set_max_thinking_tokens)、control_response(response {subtype:success|error, request_id, response}。state.pendingにあるrequest_idの時だけ。can_use_toolへの答え: AskUserQuestionの選択は response.response.updatedInput.answers)。1回に1〜20行。",
    "execution": {
+           "ssh": {
+             "additionalProperties": false,
+             "description": "Pinned ssh: {known_hosts_file, host_key_alias?, identity_agent | identity_file, strict_host_key?: true} (absolute paths). Strict host checking against that file with that one identity, no user ssh config. Not combinable with identity_file, ssh_options, passphrase or passphrase_env. Needs Aiterm 0.70.101 on the other computer.",
+             "properties": {
+               "host_key_alias": {
+                 "pattern": "^(?!-)[A-Za-z0-9._%:\\[\\]-]{1,255}$",
+                 "type": "string"
+               },
+               "identity_agent": {
+                 "pattern": "^(\\/|[A-Za-z]:[\\\\/])[^\\s\"'`]*$",
+                 "type": "string"
+               },
+               "identity_file": {
+                 "pattern": "^(\\/|[A-Za-z]:[\\\\/])[^\\s\"'`]*$",
+                 "type": "string"
+               },
+               "known_hosts_file": {
+                 "pattern": "^(\\/|[A-Za-z]:[\\\\/])[^\\s\"'`]*$",
+                 "type": "string"
+               },
+               "strict_host_key": {
+                 "const": true,
+                 "type": "boolean"
+               }
+             },
+             "required": [
+               "known_hosts_file"
+             ],
+             "type": "object"
+           },
            "ssh_options": {
              "items": {
                "pattern": "^[A-Za-z][A-Za-z0-9]*=[^\\r\\n]*$",

Changed 2026-11-20 15:16 UTC

11 schema or annotation changes with the description left byte-identical, 2 tools added.

--- pinned/agent_approval
+++ observed/agent_approval
  {
    "description": "Codexの現在の承認をinspectし、digestへ束縛した単発許可または拒否をrespondする。恒久許可は選ばない。Claudeは既存claude_approvalを使う。未知dialogはblockedのtyped errorで返す。",
    "execution": {
+           "claude-machine",
            "codex-cli",
            "grok-cli",
            "cursor-cli",
--- pinned/agent_auth
+++ observed/agent_auth
  {
    "description": "各harnessの公式CLI認証を開始・確認・取消する。CLIごとのコマンドと認証URL/codeの抽出はAitermが所有し、資格情報は各CLIだけが保存する。auth_uiの段階と公式URL・選択肢を表示する。入力はrespondで同じbindingへ送り、pty_send/pty_keyへ認証コードを渡さない。authenticatedは認証の結果であり、agent_launchの起動準備完了とは別。remoteは他toolと同じ標準対応。startは公式の状態が認証済みなら何も起こさずauthenticatedを返す。relogin:trueを付けると、認証済みに見えても公式ログインを開始する(別のアカウントへ入り直す時、ログインの期限切れを状態から見抜けない時)。Aitermは資格情報を消さず、置き換えは公式CLIが行う。Codexの公式ログインは、始めた時点で元のログインを消す(途中でcancelしても戻らない)。Antigravityのreloginは未対応を返す。",
    "execution": {
+           "claude-machine",
            "codex-cli",
            "grok-cli",
            "cursor-cli",
+           "claude-machine",
            "codex-cli",
            "grok-cli",
            "cursor-cli",
--- pinned/agent_configure
+++ observed/agent_configure
  {
    "description": "起動済みのClaude/Codex/Grok/Cursor/Antigravity agent sessionを再起動せず、会話contextを保ったままmodel/reasoning effort/fastを変更する。各harnessのCLI標準model操作を使う。Cursorのreasoning_effort変更はmodelと同時指定する。Claude Codeの席では /model の選ぶ画面の「この会話だけ」(s)で替え、端末の ~/.claude/settings.json の既定は書き換えない。その選び方が無い版、選ぶ画面に無いmodel、そのmodelで選べないeffortは、何も変えずに断る。fastだけの指定も受ける。ファスト(harnessの高速の応答。費用や利用量が増える)。席は必ず通常の速度で起きる。trueはその席をfastへ切り替え、falseは通常の速度にする(fastに対応していないmodelでもfalseは受ける)。切り替えは席だけに留め、harnessが利用者の既定へ書いた分は切り替えの直前の値へ戻す。断りは文の先頭の符号で分かる: FAST_MODE_NOT_SUPPORTED(そのmodelは対応していない)、FAST_MODE_UNAVAILABLE(アカウントや契約で使えない)、FAST_MODE_MODEL_CONFLICT(modelへfast版のIDを書いてfalseを渡した)、FAST_MODE_UNCONFIRMED(切り替えた後の状態を確かめられない)。",
    "execution": {
+           "claude-machine",
            "codex-cli",
            "grok-cli",
            "cursor-cli",
+                   "claude-machine",
                    "codex-cli",
                    "grok-cli",
                    "cursor-cli",
--- pinned/agent_goal
+++ observed/agent_goal
  {
    "description": "Read or manage the CLI's real goal for an exact session/launch. clear removes the goal without stopping its turn; resume requires a paused goal. Editing objective resets native usage accounting. User mutations require trusted host provenance. No goal store or worker is created.",
    "execution": {
+               "claude-machine",
                "codex-cli",
                "grok-cli",
                "cursor-cli",
--- pinned/agent_launch
+++ observed/agent_launch
  {
    "description": "エージェントを単一の標準入口から永続sessionへ起動する。harnessはagent loop・認証・hook・transcriptを所有する実行基盤、modelはそのharnessが選ぶ推論モデルであり別軸。Cursor harnessからGPT/Claude/Grok等を選んでも完了相関はCursor方式のまま。ComposerはCursorのmodelの一つで、harnessでもGrokのmodelでもない。harness=cursor-cli と model=composer-2.5-fast(またはcomposer-2.5)で指定する。remoteを付けると、SSHで入った別端末のAitermで同じ起動を行い、完了は同じ形で親へ届く。通常CLIと同じHOME・cwd・project/user/local設定・MCP・plugin・skill・permission/trustを共有する。aitermは完了相関stateだけをlaunch単位で所有する。起動されたagentにはsub-agent自己認識、親session、delegation depth/lineage、delegation_allowed=trueを注入し、必要な追加委譲は許可する。別のcomputer(登録済みの端末)で起こす時は、この起動にterminal(端末の登録元が渡す値をそのまま)とcwd(その端末のproject folder)を付ける。ここで起こしてからcd・sshしない。秘密の値はどの引数・prompt・送信文にも書かず、env_varsに名前だけを書く。dispatch した子は投げっぱなしでよい=親はここで待たない。Codex親とClaude Code親にはAitermが回答本文を自動配送する。parent_deliveryがある場合はwait起動も通常の回答回収も不要。親は作業を続けるかターンを終える。Cursor親にはparent_deliveryとwait_processが付く。作業を続ければ次のツール返りに回答が差し込まれ、ターンを終える前にwait_processを背景で起動するとidle中の完了でも起きられる。ポーリングとpty_read(agent_transcript:true)は不要。その他の親では、完了通知をreceiptの `wait_process.executable` と `wait_process.args` をそのまま親のターンを塞がない別プロセスAPIへ渡して受け、PowerShell 7のStart-Processだけは `windows_start_process_argument_list` を単一文字列として渡す。exit を完了通知として扱う(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要)。`wait_command` は人間向け互換表示でありprocess境界へ使わない。foreground実行で親のターンを塞がない。自動配送以外の結果回収は pty_read(agent_transcript:true)。",
    "execution": {
+           "claude-machine",
            "codex-cli",
            "grok-cli",
            "cursor-cli",
+           "claude-machine",
            "codex-cli",
            "grok-cli",
            "cursor-cli",
--- pinned/agent_models
+++ observed/agent_models
  {
    "description": "harnessが今返すmodelとreasoning effortの候補を、そのharnessの公式の一覧から取得する。promptもturnも送らず推論を消費しない。Codexはapp-server model/list、Claude Codeはstream-json initializeのmodels、Grokはagent stdio initializeのmodelState、Cursorはcursor-agent modelsを素のmodel IDとeffortへ分けたもの。Antigravityはagy modelsのeffortを含むIDをそのまま返す。返るidとeffortsはagent_launch/agent_configureへそのまま渡せる。modelごとのfastは、そのmodelでfastへ切り替えられるか(harnessが返す値)。fast_unavailableは、アカウントの都合でどのmodelでも使えない時の訳。取得不能はMODEL_CATALOG_UNAVAILABLE、形式異常はMODEL_CATALOG_INVALIDのエラーで返し、別の一覧へfallbackしない。remoteを付けると別端末のharnessの候補を返す。",
    "execution": {
+           "claude-machine",
            "codex-cli",
            "grok-cli",
            "cursor-cli",
+           "claude-machine",
            "codex-cli",
            "grok-cli",
            "cursor-cli",
--- pinned/claude_approval
+++ observed/claude_approval
  {
    "description": "aiterm相関付きClaudeのactive turn中に表示された権限確認UIを、turn相関を保ったまま検査・応答する専用面。inspectで画面digestと安全な単発Yes/Noだけを取得し、respondは同じoperation・同じdigestが現在も表示中の場合だけ送信する。",
    "execution": {
-         "pattern": "^sha256:[0-9a-f]{64}$",
-         "type": "string"
+         "anyOf": [
+           {
+             "pattern": "^sha256:[0-9a-f]{64}$",
+             "type": "string"
+           },
+           {
+             "type": "null"
+           }
+         ]
        },
        "schema": {
          "const": "aiterm.claude-approval-result.v1",
+         "description": "none: a machine-mode seat has no tool permission pending (an AskUserQuestion is answered with stream_send)",
          "enum": [
+           "none",
            "approval_required",
            "submitted"
          ],
--- pinned/pty_list
+++ observed/pty_list
  {
    "description": "握っているセッション一覧(名前 / 現在の前面コマンド / attach 状態 / サイズ / agent 情報)。",
    "execution": {
+                     "claude-machine",
                      "codex-cli",
                      "grok-cli",
                      "cursor-cli",
--- pinned/pty_observe
+++ observed/pty_observe
  {
    "description": "指定sessionの存在、paneとharnessの生存、状態と理由、native process identity、画面変化とCPU活動を構造化して観測する。画面本文と生argvは返さない。",
    "execution": {
+               "claude-machine",
                "codex-cli",
                "grok-cli",
                "cursor-cli",
--- pinned/pty_read
+++ observed/pty_read
  {
    "description": "セッションの出力をトークン削減して読む(既定は前回読取位置からの増分)。削減: 制御文字除去 / 反復圧縮 / head+tail 折りたたみ+復元ヒント+メタ併記。agent_transcript:true は agent session の直近完了ターンの最終 assistant メッセージを公開されたharness記録から平文で返す。回答が空で終わったターンは誤りにせず、空のtextとanswer_empty:trueを返す。長い回答が screen tail で切れた時の回収用。",
    "execution": {
+               "claude-machine",
                "codex-cli",
                "grok-cli",
                "cursor-cli",
--- pinned/pty_send
+++ observed/pty_send
  {
    "description": "セッションへテキストを送る。通常PTYへは送信のみ(出力は pty_read で取得)。agent session(launcher起動)への送信はこのtoolだけで行い、子の状態はAitermが送る時点で見て振り分ける。子のturnが実行中なら各harness標準の操作で現在のturnへ差し込み(mode=agent_steer)、完了は差し込み後の作業の終わりに元の依頼への1回だけ届く。新しいevent_cursorと配送は作らない。それ以外は新しいturnとしてdispatchし(mode=agent_dispatch)、TUI の ready gate と submit 分離を通して即返り、receipt の event_cursor を返す。dispatch した子は投げっぱなしでよい=親はここで待たない。Codex親とClaude Code親にはAitermが回答本文を自動配送する。parent_deliveryがある場合はwait起動も通常の回答回収も不要。親は作業を続けるかターンを終える。Cursor親にはparent_deliveryとwait_processが付く。作業を続ければ次のツール返りに回答が差し込まれ、ターンを終える前にwait_processを背景で起動するとidle中の完了でも起きられる。ポーリングとpty_read(agent_transcript:true)は不要。その他の親では、完了通知をreceiptの `wait_process.executable` と `wait_process.args` をそのまま親のターンを塞がない別プロセスAPIへ渡して受け、PowerShell 7のStart-Processだけは `windows_start_process_argument_list` を単一文字列として渡す。exit を完了通知として扱う(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要)。`wait_command` は人間向け互換表示でありprocess境界へ使わない。foreground実行で親のターンを塞がない。自動配送以外の結果回収は pty_read(agent_transcript:true)、Claude の durable turn は claude_turn を使う。require_agent:true はagent登録が無いsessionへ打鍵せず、AGENT_SESSION_REQUIREDで未送信を返す。preface はagent sessionへの送信で本文の前に置く1行。Claude Codeの席では貼り付けの印なしで入れ、本文だけを貼る(前置きが貼り付けの包みの外へ出る)。他のharnessでは前置き・空行・本文を1つで貼る。force:true は非Claude agent sessionへの手動介入用の素送信。aiterm相関付きClaudeの承認UIはclaude_approvalを使う。",
    "execution": {
+               "claude-machine",
                "codex-cli",
                "grok-cli",
                "cursor-cli",

+ tool added: stream_read

+ tool added: stream_send

Changed 2026-11-19 15:38 UTC

3 schema or annotation changes with the description left byte-identical.

--- pinned/agent_launch
+++ observed/agent_launch
  {
    "description": "エージェントを単一の標準入口から永続sessionへ起動する。harnessはagent loop・認証・hook・transcriptを所有する実行基盤、modelはそのharnessが選ぶ推論モデルであり別軸。Cursor harnessからGPT/Claude/Grok等を選んでも完了相関はCursor方式のまま。ComposerはCursorのmodelの一つで、harnessでもGrokのmodelでもない。harness=cursor-cli と model=composer-2.5-fast(またはcomposer-2.5)で指定する。remoteを付けると、SSHで入った別端末のAitermで同じ起動を行い、完了は同じ形で親へ届く。通常CLIと同じHOME・cwd・project/user/local設定・MCP・plugin・skill・permission/trustを共有する。aitermは完了相関stateだけをlaunch単位で所有する。起動されたagentにはsub-agent自己認識、親session、delegation depth/lineage、delegation_allowed=trueを注入し、必要な追加委譲は許可する。別のcomputer(登録済みの端末)で起こす時は、この起動にterminal(端末の登録元が渡す値をそのまま)とcwd(その端末のproject folder)を付ける。ここで起こしてからcd・sshしない。秘密の値はどの引数・prompt・送信文にも書かず、env_varsに名前だけを書く。dispatch した子は投げっぱなしでよい=親はここで待たない。Codex親とClaude Code親にはAitermが回答本文を自動配送する。parent_deliveryがある場合はwait起動も通常の回答回収も不要。親は作業を続けるかターンを終える。Cursor親にはparent_deliveryとwait_processが付く。作業を続ければ次のツール返りに回答が差し込まれ、ターンを終える前にwait_processを背景で起動するとidle中の完了でも起きられる。ポーリングとpty_read(agent_transcript:true)は不要。その他の親では、完了通知をreceiptの `wait_process.executable` と `wait_process.args` をそのまま親のターンを塞がない別プロセスAPIへ渡して受け、PowerShell 7のStart-Processだけは `windows_start_process_argument_list` を単一文字列として渡す。exit を完了通知として扱う(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要)。`wait_command` は人間向け互換表示でありprocess境界へ使わない。foreground実行で親のターンを塞がない。自動配送以外の結果回収は pty_read(agent_transcript:true)。",
    "execution": {
+       "settings_env": {
+         "additionalProperties": {
+           "type": "string"
+         },
+         "description": "claude-code only. Environment values (name -> value) written into this seat's per-launch Claude settings `env` block on every machine, and again on resume. Nothing is set when omitted. Not for secrets: AITERM_*, CLAUDE_CONFIG_DIR and names ending TOKEN/KEY/SECRET/PASSWORD/CREDENTIAL/AUTH are refused (use env_vars by name). A remote below 0.70.76 refuses with REMOTE_AITERM_TOO_OLD",
+         "propertyNames": {
+           "type": "string"
+         },
+         "type": "object"
+       },
        "terminal": {
          "additionalProperties": false,
          "description": "Run this seat on another computer (a registered terminal) over SSH. Value: exactly the terminal value your host system's terminal registry hands over, {ref, target:{host,user,port}, os?, trustRevision, and credentialRevision or credential {handle, revision}}; copy it unchanged, never invent or edit it, never use a host name or ssh command instead. Omit it to launch on this computer. Give cwd in the same call: the absolute project folder on that terminal in its own form (a POSIX path starting with / on macOS and Linux, a drive path like C:\\folder with backslashes on Windows). Never launch locally and then cd or ssh. Never put tokens, passwords or other secrets in any argument, prompt or typed text; pass secret values only by name in env_vars. After launch, use session_id alone for pty_send, pty_observe, pty_read, pty_key, claude_turn, agent_stop and pty_close; Aiterm routes them to the terminal. Errors and next step: TERMINAL_INVALID = malformed value, missing/relative cwd (or one in the other system's form), or combined with remote: pass the registry's value unchanged with cwd. TARGET_MISMATCH / BINDING_UNKNOWN = the value is not this terminal's binding: ask the terminal registry again. HOST_TRUST_STALE / CREDENTIAL_REVISION_STALE = the binding changed: get the current value from the terminal registry and launch again. HOST_KEY_MISMATCH / HOST_TRUST_MISSING = the terminal's host key is not the trusted one: the Owner must confirm the new host key; do not retry. CREDENTIAL_REQUIRED / CREDENTIAL_NOT_LOADED = this terminal's key comes from a credential handle that the registry must load first; never paste a key anywhere. AUTH_FAILED = the terminal refused the key. UNREACHABLE = the terminal is offline; try later. CONNECTION_REFUSED = the terminal refused the SSH connection (SSH may be off there); try later. REMOTE_AITERM_TOO_OLD = update Aiterm on the terminal. CWD_UNAVAILABLE = the folder does not exist there; do not pick another folder. SEAT_FORWARD_UNAVAILABLE = the seat's MCP route back to this computer is not ready (launch again later), or the seat MCP URLs are not http://127.0.0.1:<one port>/api/seat-mcp. All five harnesses run on a terminal; REMOTE_AITERM_TOO_OLD names the Aiterm version the harness needs there (claude-code 0.65.0, codex-cli 0.70.7, grok-cli / cursor-cli / antigravity-cli 0.70.9). TERMINAL_HARNESS_UNSUPPORTED = the harness name is none of the five. AGENT_LAUNCH_NOT_STARTED with _meta aiterm/launch_error code AGENT_AUTH_REQUIRED = the CLI on the terminal is not logged in; the Owner logs it in there, then launch again. TERMINAL_OS_MISMATCH = the terminal is not the operating system os says: the registry's os is wrong or the binding points at another machine; ask the terminal registry, do not retry. TERMINAL_PLATFORM_UNSUPPORTED = the terminal is not a macOS, Linux or Windows system, so it cannot run seats.",
--- pinned/claude_agent
+++ observed/claude_agent
  {
    "description": "【旧互換alias。新規連携は agent_launch(harness=claude-code)】Claude Codeの対話エージェントTUIを永続端末に起動する。`claude -p`ではなく、同じ利用者可視sessionへpty_sendで継続入力する。通常CLIと同じHOME・cwd・project/user/local設定・MCP・plugin・skill・permission/trustを共有する。aitermは完了相関stateだけをlaunch単位で所有する。起動されたagentにはsub-agent自己認識、親session、delegation depth/lineage、delegation_allowed=trueを注入し、必要な追加委譲は許可する。別のcomputer(登録済みの端末)で起こす時は、この起動にterminal(端末の登録元が渡す値をそのまま)とcwd(その端末のproject folder)を付ける。ここで起こしてからcd・sshしない。秘密の値はどの引数・prompt・送信文にも書かず、env_varsに名前だけを書く。通常settingsへlaunch固有Stop hook settingsを加算する。起動前に共有認証を構造化確認し、未認証ならsessionを作らない。dispatch した子は投げっぱなしでよい=親はここで待たない。Codex親とClaude Code親にはAitermが回答本文を自動配送する。parent_deliveryがある場合はwait起動も通常の回答回収も不要。親は作業を続けるかターンを終える。Cursor親にはparent_deliveryとwait_processが付く。作業を続ければ次のツール返りに回答が差し込まれ、ターンを終える前にwait_processを背景で起動するとidle中の完了でも起きられる。ポーリングとpty_read(agent_transcript:true)は不要。その他の親では、完了通知をreceiptの `wait_process.executable` と `wait_process.args` をそのまま親のターンを塞がない別プロセスAPIへ渡して受け、PowerShell 7のStart-Processだけは `windows_start_process_argument_list` を単一文字列として渡す。exit を完了通知として扱う(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要)。`wait_command` は人間向け互換表示でありprocess境界へ使わない。foreground実行で親のターンを塞がない。自動配送以外の結果回収は pty_read(agent_transcript:true)。Claude の durable turn は claude_turn でも回収できる。",
    "execution": {
+       "settings_env": {
+         "additionalProperties": {
+           "type": "string"
+         },
+         "description": "claude-code only. Environment values (name -> value) written into this seat's per-launch Claude settings `env` block on every machine, and again on resume. Nothing is set when omitted. Not for secrets: AITERM_*, CLAUDE_CONFIG_DIR and names ending TOKEN/KEY/SECRET/PASSWORD/CREDENTIAL/AUTH are refused (use env_vars by name). A remote below 0.70.76 refuses with REMOTE_AITERM_TOO_OLD",
+         "propertyNames": {
+           "type": "string"
+         },
+         "type": "object"
+       },
        "terminal": {
          "additionalProperties": false,
          "description": "Run this seat on another computer (a registered terminal) over SSH. Value: exactly the terminal value your host system's terminal registry hands over, {ref, target:{host,user,port}, os?, trustRevision, and credentialRevision or credential {handle, revision}}; copy it unchanged, never invent or edit it, never use a host name or ssh command instead. Omit it to launch on this computer. Give cwd in the same call: the absolute project folder on that terminal in its own form (a POSIX path starting with / on macOS and Linux, a drive path like C:\\folder with backslashes on Windows). Never launch locally and then cd or ssh. Never put tokens, passwords or other secrets in any argument, prompt or typed text; pass secret values only by name in env_vars. After launch, use session_id alone for pty_send, pty_observe, pty_read, pty_key, claude_turn, agent_stop and pty_close; Aiterm routes them to the terminal. Errors and next step: TERMINAL_INVALID = malformed value, missing/relative cwd (or one in the other system's form), or combined with remote: pass the registry's value unchanged with cwd. TARGET_MISMATCH / BINDING_UNKNOWN = the value is not this terminal's binding: ask the terminal registry again. HOST_TRUST_STALE / CREDENTIAL_REVISION_STALE = the binding changed: get the current value from the terminal registry and launch again. HOST_KEY_MISMATCH / HOST_TRUST_MISSING = the terminal's host key is not the trusted one: the Owner must confirm the new host key; do not retry. CREDENTIAL_REQUIRED / CREDENTIAL_NOT_LOADED = this terminal's key comes from a credential handle that the registry must load first; never paste a key anywhere. AUTH_FAILED = the terminal refused the key. UNREACHABLE = the terminal is offline; try later. CONNECTION_REFUSED = the terminal refused the SSH connection (SSH may be off there); try later. REMOTE_AITERM_TOO_OLD = update Aiterm on the terminal. CWD_UNAVAILABLE = the folder does not exist there; do not pick another folder. SEAT_FORWARD_UNAVAILABLE = the seat's MCP route back to this computer is not ready (launch again later), or the seat MCP URLs are not http://127.0.0.1:<one port>/api/seat-mcp. All five harnesses run on a terminal; REMOTE_AITERM_TOO_OLD names the Aiterm version the harness needs there (claude-code 0.65.0, codex-cli 0.70.7, grok-cli / cursor-cli / antigravity-cli 0.70.9). TERMINAL_HARNESS_UNSUPPORTED = the harness name is none of the five. AGENT_LAUNCH_NOT_STARTED with _meta aiterm/launch_error code AGENT_AUTH_REQUIRED = the CLI on the terminal is not logged in; the Owner logs it in there, then launch again. TERMINAL_OS_MISMATCH = the terminal is not the operating system os says: the registry's os is wrong or the binding points at another machine; ask the terminal registry, do not retry. TERMINAL_PLATFORM_UNSUPPORTED = the terminal is not a macOS, Linux or Windows system, so it cannot run seats.",
--- pinned/pty_read
+++ observed/pty_read
  {
    "description": "セッションの出力をトークン削減して読む(既定は前回読取位置からの増分)。削減: 制御文字除去 / 反復圧縮 / head+tail 折りたたみ+復元ヒント+メタ併記。agent_transcript:true は agent session の直近完了ターンの最終 assistant メッセージを公開されたharness記録から平文で返す。回答が空で終わったターンは誤りにせず、空のtextとanswer_empty:trueを返す。長い回答が screen tail で切れた時の回収用。",
    "execution": {
+       "steer_id": {
+         "anyOf": [
+           {
+             "pattern": "^[0-9a-f]{16}$",
+             "type": "string"
+           },
+           {
+             "type": "null"
+           }
+         ],
+         "description": "Claudeの差し込みが始めた番の回答を読むID。agent_transcript:true時だけ指定する。後の番が動いていても拒否しない。未完了はAITERM_TRANSCRIPT_INPUT_PENDING、置換済みはAITERM_TRANSCRIPT_INPUT_REPLACED、動いていた番が取った差し込みはAITERM_TRANSCRIPT_STEER_SAME_TURN、控え無しはSTEER_NOT_FOUND。operation_id・input_idと併用不可"
+       },
        "timeout": {
          "default": 10,
          "description": "wait の最大待ち秒数",

Changed 2026-11-17 15:50 UTC

1 schema or annotation change with the description left byte-identical.

--- pinned/agent_configure
+++ observed/agent_configure
  {
    "description": "起動済みのClaude/Codex/Grok/Cursor/Antigravity agent sessionを再起動せず、会話contextを保ったままmodel/reasoning effort/fastを変更する。各harnessのCLI標準model操作を使う。Cursorのreasoning_effort変更はmodelと同時指定する。Claude Codeの席では /model の選ぶ画面の「この会話だけ」(s)で替え、端末の ~/.claude/settings.json の既定は書き換えない。その選び方が無い版、選ぶ画面に無いmodel、そのmodelで選べないeffortは、何も変えずに断る。fastだけの指定も受ける。ファスト(harnessの高速の応答。費用や利用量が増える)。席は必ず通常の速度で起きる。trueはその席をfastへ切り替え、falseは通常の速度にする(fastに対応していないmodelでもfalseは受ける)。切り替えは席だけに留め、harnessが利用者の既定へ書いた分は切り替えの直前の値へ戻す。断りは文の先頭の符号で分かる: FAST_MODE_NOT_SUPPORTED(そのmodelは対応していない)、FAST_MODE_UNAVAILABLE(アカウントや契約で使えない)、FAST_MODE_MODEL_CONFLICT(modelへfast版のIDを書いてfalseを渡した)、FAST_MODE_UNCONFIRMED(切り替えた後の状態を確かめられない)。",
    "execution": {
+       "configuration_lock": {
+         "description": "launcher用。席のmodel/effortを固定・解除する。configuration_lock_keyが要り、model・reasoning_effort・fast・request・actionとは併用できない。固定中は、AIのtool呼びとして来るmodel/effortの変更とpty_sendの/model・/effort、pty_keyのAlt+Pを断る(fastは対象外)",
+         "enum": [
+           "lock",
+           "unlock"
+         ],
+         "type": "string"
+       },
+       "configuration_lock_key": {
+         "description": "固定の鍵(記号を含む印字可能なASCII 16〜128文字)。Aitermはそのsha256だけを保存する。固定中の席のmodel/effortを変える呼びにはこの鍵が要る。鍵はlauncherだけが持ち、席のAIへ渡さない",
+         "type": "string"
+       },
        "fast": {
          "description": "変更後のfast。省略時は、その席の今の状態を変えない",
          "type": [
+       "configuration_lock": {
+         "enum": [
+           "locked",
+           "unlocked"
+         ],
+         "type": "string"
+       },
        "current": {
          "additionalProperties": false,
          "properties": {
-           "aiterm.agent-configure-request-result.v1"
+           "aiterm.agent-configure-request-result.v1",
+           "aiterm.agent-configure-lock.v1"
          ],
          "type": "string"
        },

Changed 2026-11-15 13:51 UTC

4 schema or annotation changes with the description left byte-identical.

--- pinned/agent_launch
+++ observed/agent_launch
  {
    "description": "エージェントを単一の標準入口から永続sessionへ起動する。harnessはagent loop・認証・hook・transcriptを所有する実行基盤、modelはそのharnessが選ぶ推論モデルであり別軸。Cursor harnessからGPT/Claude/Grok等を選んでも完了相関はCursor方式のまま。ComposerはCursorのmodelの一つで、harnessでもGrokのmodelでもない。harness=cursor-cli と model=composer-2.5-fast(またはcomposer-2.5)で指定する。remoteを付けると、SSHで入った別端末のAitermで同じ起動を行い、完了は同じ形で親へ届く。通常CLIと同じHOME・cwd・project/user/local設定・MCP・plugin・skill・permission/trustを共有する。aitermは完了相関stateだけをlaunch単位で所有する。起動されたagentにはsub-agent自己認識、親session、delegation depth/lineage、delegation_allowed=trueを注入し、必要な追加委譲は許可する。別のcomputer(登録済みの端末)で起こす時は、この起動にterminal(端末の登録元が渡す値をそのまま)とcwd(その端末のproject folder)を付ける。ここで起こしてからcd・sshしない。秘密の値はどの引数・prompt・送信文にも書かず、env_varsに名前だけを書く。dispatch した子は投げっぱなしでよい=親はここで待たない。Codex親とClaude Code親にはAitermが回答本文を自動配送する。parent_deliveryがある場合はwait起動も通常の回答回収も不要。親は作業を続けるかターンを終える。Cursor親にはparent_deliveryとwait_processが付く。作業を続ければ次のツール返りに回答が差し込まれ、ターンを終える前にwait_processを背景で起動するとidle中の完了でも起きられる。ポーリングとpty_read(agent_transcript:true)は不要。その他の親では、完了通知をreceiptの `wait_process.executable` と `wait_process.args` をそのまま親のターンを塞がない別プロセスAPIへ渡して受け、PowerShell 7のStart-Processだけは `windows_start_process_argument_list` を単一文字列として渡す。exit を完了通知として扱う(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要)。`wait_command` は人間向け互換表示でありprocess境界へ使わない。foreground実行で親のターンを塞がない。自動配送以外の結果回収は pty_read(agent_transcript:true)。",
    "execution": {
-         "description": "Extra MCP servers for this seat. Secret header values: write ${NAME} and list NAME in env_vars. Codex, Grok, Cursor and Antigravity take only http servers {type?: \"http\", url, headers}: a literal header, 'Authorization: Bearer ${NAME}' or a header whose whole value is ${NAME}; other shapes, and a ${NAME} with no value at launch, are refused before the seat starts. Cursor runs a server as plugin-aiterm-caller-<name> beside a same-name user server; Codex, Grok and Antigravity replace a same-name user server for this seat (Codex: a user stdio server of that name runs Aiterm's relay to the given url instead)",
+         "description": "Extra MCP servers for this seat. Secret header values: write ${NAME} and list NAME in env_vars. Codex, Grok, Cursor and Antigravity take only http servers {type?: \"http\", url, headers, replace?: boolean}: a literal header, 'Authorization: Bearer ${NAME}' or a header whose whole value is ${NAME}; other shapes, and a ${NAME} with no value at launch, are refused before the seat starts. A server the seat's own harness config already defines under the same name is dropped for this seat (listed in caller_mcp.dropped) unless its entry has replace: true; then it replaces that server (Codex: a user stdio server of that name runs Aiterm's relay to the given url instead). Cursor runs a server as plugin-aiterm-caller-<name> beside a same-name user server, so nothing is dropped there",
          "properties": {
            "mcpServers": {
              "additionalProperties": {},
+       "caller_mcp": {
+         "additionalProperties": false,
+         "description": "mcp_config only: caller servers dropped because the seat's own harness config defines the name, and those that replaced it (replace: true). A terminal below 0.70.62 does not return it",
+         "properties": {
+           "dropped": {
+             "items": {
+               "type": "string"
+             },
+             "type": "array"
+           },
+           "replaced": {
+             "items": {
+               "type": "string"
+             },
+             "type": "array"
+           }
+         },
+         "required": [
+           "dropped",
+           "replaced"
+         ],
+         "type": "object"
+       },
        "event_cursor": {
          "anyOf": [
            {
--- pinned/claude_agent
+++ observed/claude_agent
  {
    "description": "【旧互換alias。新規連携は agent_launch(harness=claude-code)】Claude Codeの対話エージェントTUIを永続端末に起動する。`claude -p`ではなく、同じ利用者可視sessionへpty_sendで継続入力する。通常CLIと同じHOME・cwd・project/user/local設定・MCP・plugin・skill・permission/trustを共有する。aitermは完了相関stateだけをlaunch単位で所有する。起動されたagentにはsub-agent自己認識、親session、delegation depth/lineage、delegation_allowed=trueを注入し、必要な追加委譲は許可する。別のcomputer(登録済みの端末)で起こす時は、この起動にterminal(端末の登録元が渡す値をそのまま)とcwd(その端末のproject folder)を付ける。ここで起こしてからcd・sshしない。秘密の値はどの引数・prompt・送信文にも書かず、env_varsに名前だけを書く。通常settingsへlaunch固有Stop hook settingsを加算する。起動前に共有認証を構造化確認し、未認証ならsessionを作らない。dispatch した子は投げっぱなしでよい=親はここで待たない。Codex親とClaude Code親にはAitermが回答本文を自動配送する。parent_deliveryがある場合はwait起動も通常の回答回収も不要。親は作業を続けるかターンを終える。Cursor親にはparent_deliveryとwait_processが付く。作業を続ければ次のツール返りに回答が差し込まれ、ターンを終える前にwait_processを背景で起動するとidle中の完了でも起きられる。ポーリングとpty_read(agent_transcript:true)は不要。その他の親では、完了通知をreceiptの `wait_process.executable` と `wait_process.args` をそのまま親のターンを塞がない別プロセスAPIへ渡して受け、PowerShell 7のStart-Processだけは `windows_start_process_argument_list` を単一文字列として渡す。exit を完了通知として扱う(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要)。`wait_command` は人間向け互換表示でありprocess境界へ使わない。foreground実行で親のターンを塞がない。自動配送以外の結果回収は pty_read(agent_transcript:true)。Claude の durable turn は claude_turn でも回収できる。",
    "execution": {
-         "description": "Extra MCP servers for this seat; write secrets as ${ENV} names given in env_vars",
+         "description": "Extra MCP servers for this seat; write secrets as ${ENV} names given in env_vars. A same-name server of the seat's own config wins and the entry is dropped (caller_mcp.dropped) unless it has replace: true",
          "properties": {
            "mcpServers": {
              "additionalProperties": {},
+       "caller_mcp": {
+         "additionalProperties": false,
+         "description": "mcp_config only: caller servers dropped because the seat's own harness config defines the name, and those that replaced it (replace: true). A terminal below 0.70.62 does not return it",
+         "properties": {
+           "dropped": {
+             "items": {
+               "type": "string"
+             },
+             "type": "array"
+           },
+           "replaced": {
+             "items": {
+               "type": "string"
+             },
+             "type": "array"
+           }
+         },
+         "required": [
+           "dropped",
+           "replaced"
+         ],
+         "type": "object"
+       },
        "event_cursor": {
          "anyOf": [
            {
--- pinned/codex_agent
+++ observed/codex_agent
  {
    "description": "【旧互換alias。新規連携は agent_launch(harness=codex-cli)】Codexの対話エージェント TUI を永続端末に起動する。実装・レビュー・調査を対話で回す。通常CLIと同じHOME・cwd・project/user/local設定・MCP・plugin・skill・permission/trustを共有する。aitermは完了相関stateだけをlaunch単位で所有する。起動されたagentにはsub-agent自己認識、親session、delegation depth/lineage、delegation_allowed=trueを注入し、必要な追加委譲は許可する。別のcomputer(登録済みの端末)で起こす時は、この起動にterminal(端末の登録元が渡す値をそのまま)とcwd(その端末のproject folder)を付ける。ここで起こしてからcd・sshしない。秘密の値はどの引数・prompt・送信文にも書かず、env_varsに名前だけを書く。委譲契約を使う完全な呼び出し例: `codex_agent({\"prompt\":\"<依頼>\",\"model\":\"gpt-5.6-sol\",\"reasoning_effort\":\"high\",\"cwd\":\"/absolute/path/to/repo\",\"write_scope\":\"read-only\"})`。turn は pty_send で送る(自動で非ブロック dispatch になる)。dispatch した子は投げっぱなしでよい=親はここで待たない。Codex親とClaude Code親にはAitermが回答本文を自動配送する。parent_deliveryがある場合はwait起動も通常の回答回収も不要。親は作業を続けるかターンを終える。Cursor親にはparent_deliveryとwait_processが付く。作業を続ければ次のツール返りに回答が差し込まれ、ターンを終える前にwait_processを背景で起動するとidle中の完了でも起きられる。ポーリングとpty_read(agent_transcript:true)は不要。その他の親では、完了通知をreceiptの `wait_process.executable` と `wait_process.args` をそのまま親のターンを塞がない別プロセスAPIへ渡して受け、PowerShell 7のStart-Processだけは `windows_start_process_argument_list` を単一文字列として渡す。exit を完了通知として扱う(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要)。`wait_command` は人間向け互換表示でありprocess境界へ使わない。foreground実行で親のターンを塞がない。自動配送以外の結果回収は pty_read(agent_transcript:true)。model / reasoning_effort を引数で指定可(省略時は端末 config/CLI 既定を継承。実効値は起動応答に明示)。",
    "execution": {
+       "caller_mcp": {
+         "additionalProperties": false,
+         "description": "mcp_config only: caller servers dropped because the seat's own harness config defines the name, and those that replaced it (replace: true). A terminal below 0.70.62 does not return it",
+         "properties": {
+           "dropped": {
+             "items": {
+               "type": "string"
+             },
+             "type": "array"
+           },
+           "replaced": {
+             "items": {
+               "type": "string"
+             },
+             "type": "array"
+           }
+         },
+         "required": [
+           "dropped",
+           "replaced"
+         ],
+         "type": "object"
+       },
        "event_cursor": {
          "anyOf": [
            {
--- pinned/grok_agent
+++ observed/grok_agent
  {
    "description": "【旧互換alias。新規連携は agent_launch(harness=grok-cli)】Grok BuildのGrokモデル(既定 grok-4.6)の対話エージェント TUIを永続端末に起動する。通常CLIと同じHOME・cwd・project/user/local設定・MCP・plugin・skill・permission/trustを共有する。aitermは完了相関stateだけをlaunch単位で所有する。起動されたagentにはsub-agent自己認識、親session、delegation depth/lineage、delegation_allowed=trueを注入し、必要な追加委譲は許可する。別のcomputer(登録済みの端末)で起こす時は、この起動にterminal(端末の登録元が渡す値をそのまま)とcwd(その端末のproject folder)を付ける。ここで起こしてからcd・sshしない。秘密の値はどの引数・prompt・送信文にも書かず、env_varsに名前だけを書く。turn は pty_send で送る(自動で非ブロック dispatch になる)。dispatch した子は投げっぱなしでよい=親はここで待たない。Codex親とClaude Code親にはAitermが回答本文を自動配送する。parent_deliveryがある場合はwait起動も通常の回答回収も不要。親は作業を続けるかターンを終える。Cursor親にはparent_deliveryとwait_processが付く。作業を続ければ次のツール返りに回答が差し込まれ、ターンを終える前にwait_processを背景で起動するとidle中の完了でも起きられる。ポーリングとpty_read(agent_transcript:true)は不要。その他の親では、完了通知をreceiptの `wait_process.executable` と `wait_process.args` をそのまま親のターンを塞がない別プロセスAPIへ渡して受け、PowerShell 7のStart-Processだけは `windows_start_process_argument_list` を単一文字列として渡す。exit を完了通知として扱う(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要)。`wait_command` は人間向け互換表示でありprocess境界へ使わない。foreground実行で親のターンを塞がない。自動配送以外の結果回収は pty_read(agent_transcript:true)。model/reasoning_effortを引数で指定可。read-only sandboxとagent_configureに対応。",
    "execution": {
+       "caller_mcp": {
+         "additionalProperties": false,
+         "description": "mcp_config only: caller servers dropped because the seat's own harness config defines the name, and those that replaced it (replace: true). A terminal below 0.70.62 does not return it",
+         "properties": {
+           "dropped": {
+             "items": {
+               "type": "string"
+             },
+             "type": "array"
+           },
+           "replaced": {
+             "items": {
+               "type": "string"
+             },
+             "type": "array"
+           }
+         },
+         "required": [
+           "dropped",
+           "replaced"
+         ],
+         "type": "object"
+       },
        "event_cursor": {
          "anyOf": [
            {

Changed 2026-11-14 13:22 UTC

2 schema or annotation changes with the description left byte-identical.

--- pinned/agent_launch
+++ observed/agent_launch
  {
    "description": "エージェントを単一の標準入口から永続sessionへ起動する。harnessはagent loop・認証・hook・transcriptを所有する実行基盤、modelはそのharnessが選ぶ推論モデルであり別軸。Cursor harnessからGPT/Claude/Grok等を選んでも完了相関はCursor方式のまま。ComposerはCursorのmodelの一つで、harnessでもGrokのmodelでもない。harness=cursor-cli と model=composer-2.5-fast(またはcomposer-2.5)で指定する。remoteを付けると、SSHで入った別端末のAitermで同じ起動を行い、完了は同じ形で親へ届く。通常CLIと同じHOME・cwd・project/user/local設定・MCP・plugin・skill・permission/trustを共有する。aitermは完了相関stateだけをlaunch単位で所有する。起動されたagentにはsub-agent自己認識、親session、delegation depth/lineage、delegation_allowed=trueを注入し、必要な追加委譲は許可する。別のcomputer(登録済みの端末)で起こす時は、この起動にterminal(端末の登録元が渡す値をそのまま)とcwd(その端末のproject folder)を付ける。ここで起こしてからcd・sshしない。秘密の値はどの引数・prompt・送信文にも書かず、env_varsに名前だけを書く。dispatch した子は投げっぱなしでよい=親はここで待たない。Codex親とClaude Code親にはAitermが回答本文を自動配送する。parent_deliveryがある場合はwait起動も通常の回答回収も不要。親は作業を続けるかターンを終える。Cursor親にはparent_deliveryとwait_processが付く。作業を続ければ次のツール返りに回答が差し込まれ、ターンを終える前にwait_processを背景で起動するとidle中の完了でも起きられる。ポーリングとpty_read(agent_transcript:true)は不要。その他の親では、完了通知をreceiptの `wait_process.executable` と `wait_process.args` をそのまま親のターンを塞がない別プロセスAPIへ渡して受け、PowerShell 7のStart-Processだけは `windows_start_process_argument_list` を単一文字列として渡す。exit を完了通知として扱う(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要)。`wait_command` は人間向け互換表示でありprocess境界へ使わない。foreground実行で親のターンを塞がない。自動配送以外の結果回収は pty_read(agent_transcript:true)。",
    "execution": {
-         "description": "Launch instructions added to the system prompt; kept in Aiterm state, not in the project or home. Never put secrets here. Codex: appended to developer_instructions after Aiterm's marker; Grok: appended to --rules; at most 64 KiB for both. Cursor and Antigravity have no system-prompt channel: the text goes in front of the first prompt, or of the first input sent to a promptless seat (at most 64 KiB)",
+         "description": "Launch instructions added to the system prompt; kept in Aiterm state, not in the project or home. Never put secrets here. Codex: appended to developer_instructions after Aiterm's marker; Grok: appended to --rules; Antigravity: an always-on rule in the seat's own --add-dir folder; at most 64 KiB for these. Cursor has no system-prompt channel: the text goes in front of the first prompt, or of the first input sent to a promptless seat (at most 64 KiB)",
          "minLength": 1,
          "type": "string"
        },
--- pinned/pty_observe
+++ observed/pty_observe
  {
    "description": "指定sessionの存在、paneとharnessの生存、状態と理由、native process identity、画面変化とCPU活動を構造化して観測する。画面本文と生argvは返さない。",
    "execution": {
+           "background_tasks": {
+             "type": [
+               "number",
+               "null"
+             ]
+           },
            "cpu_delta_complete": {
              "type": [
                "boolean",

Changed 2026-11-13 14:27 UTC

1 description rewritten.

--- pinned/pty_close
+++ observed/pty_close
  {
-   "description": "セッションを閉じ、ログ/読取位置を破棄する。同じsession_idへの再試行は安全で、closed/already_closedのstructured receiptを返す。hibernate:trueはClaude・Codexのagent席を今すぐ休止し(idle時計と同じ手順)、会話と再開情報を残してhibernatedを返す。次のagent_launch(session_name)が同じ会話へ再開する。turn・子process・子への配送が動いている間はAGENT_BUSYで断る(終わってから呼び直す)。Claudeの席が利用上限でturnを終えている時(最後の入力の後の会話記録がrate_limited)は、上限の待ち画面のままでも休止できる。他の理由で休止できない時はAGENT_HIBERNATE_UNAVAILABLE、席は触らない。",
+   "description": "セッションを閉じ、ログ/読取位置を破棄する。同じsession_idへの再試行は安全で、closed/already_closedのstructured receiptを返す。hibernate:trueはClaude・Codexのagent席を今すぐ休止し(idle時計と同じ手順)、会話と再開情報を残してhibernatedを返す。次のagent_launch(session_name)が同じ会話へ、保存した設定(起動時のmodel等。席の中で替えた物は持ち越さない)で再開する。turn・子process・子への配送が動いている間はAGENT_BUSYで断る(終わってから呼び直す)。Claudeの席が利用上限でturnを終えている時(最後の入力の後の会話記録がrate_limited)は、上限の待ち画面のままでも休止できる。他の理由で休止できない時はAGENT_HIBERNATE_UNAVAILABLE、席は触らない。",
    "execution": {
      "taskSupport": "forbidden"
    },

Changed 2026-11-12 15:01 UTC

3 schema or annotation changes with the description left byte-identical.

--- pinned/agent_goal
+++ observed/agent_goal
  {
    "description": "Read or manage the CLI's real goal for an exact session/launch. clear removes the goal without stopping its turn; resume requires a paused goal. Editing objective resets native usage accounting. User mutations require trusted host provenance. No goal store or worker is created.",
    "execution": {
-                             "enum": [
-                               "active",
-                               "user_paused"
-                             ],
+                             "minLength": 1,
                              "type": "string"
                            },
                            "strategist_cap_bonus": {
-                       "native",
-                       "current_status"
+                       "native"
                      ],
                      "type": "object"
                    }
--- pinned/agent_models
+++ observed/agent_models
  {
    "description": "harnessが今返すmodelとreasoning effortの候補を、そのharnessの公式の一覧から取得する。promptもturnも送らず推論を消費しない。Codexはapp-server model/list、Claude Codeはstream-json initializeのmodels、Grokはagent stdio initializeのmodelState、Cursorはcursor-agent modelsを素のmodel IDとeffortへ分けたもの。Antigravityはagy modelsのeffortを含むIDをそのまま返す。返るidとeffortsはagent_launch/agent_configureへそのまま渡せる。modelごとのfastは、そのmodelでfastへ切り替えられるか(harnessが返す値)。fast_unavailableは、アカウントの都合でどのmodelでも使えない時の訳。取得不能はMODEL_CATALOG_UNAVAILABLE、形式異常はMODEL_CATALOG_INVALIDのエラーで返し、別の一覧へfallbackしない。remoteを付けると別端末のharnessの候補を返す。",
    "execution": {
+       "claude_login": {
+         "description": "claude-code harnessだけ。一覧を読むlogin(slot名、例 1st)。AITERM_CLAUDE_CONFIG_ROOTSの下の<slot>/oauth-tokenを、席の起動と同じCLAUDE_CODE_OAUTH_TOKENとして使う。tokenはAitermの外へ出さない。読めない時はCLAUDE_LOGIN_UNAVAILABLE。省略はこのAitermのenvのlogin",
+         "minLength": 1,
+         "type": "string"
+       },
        "configuration_root": {
          "description": "claude-code harnessだけ。一覧を読むアカウントの設定root(CLAUDE_CONFIG_DIR)。受ける範囲はagent_launchと同じ(既定のroot、またはAITERM_CLAUDE_CONFIG_ROOTSに並べた親の直下)。他はAGENT_CONFIGURATION_ROOT_REJECTED。省略は既定のroot",
          "minLength": 1,
--- pinned/pty_list
+++ observed/pty_list
  {
    "description": "握っているセッション一覧(名前 / 現在の前面コマンド / attach 状態 / サイズ / agent 情報)。",
    "execution": {
+               "description": "前面コマンド。休止などの席は状態名(hibernated等)、端末が消えたClaudeの席(コンテナ再起動等)は\"vanished\"。次の送信で再開する",
                "type": "string"
              },
              "environment": {
+             "last_input_at": {
+               "description": "Claude agent rows: the last input Aiterm typed into this launch",
+               "type": [
+                 "string",
+                 "null"
+               ]
+             },
              "launch_id": {
                "description": "一覧取得時のmanaged起動ID。通常PTYやmetadata不明時はnull、旧remote版は省略。操作時のfresh binding検証の代わりにはしない",
                "type": [
+             "limit_end": {
+               "anyOf": [
+                 {
+                   "additionalProperties": false,
+                   "properties": {
+                     "at": {
+                       "type": "string"
+                     },
+                     "continued": {
+                       "type": "boolean"
+                     },
+                     "hold": {
+                       "anyOf": [
+                         {
+                           "enum": [
+                             "armed",
+                             "cancelled"
+                           ],
+                           "type": "string"
+                         },
+                         {
+                           "type": "null"
+                         }
+                       ]
+                     },
+                     "reset_at": {
+                       "type": [
+                         "string",
+                         "null"
+                       ]
+                     }
+                   },
+                   "required": [
+                     "at",
+                     "reset_at",
+                     "continued",
+                     "hold"
+                   ],
+                   "type": "object"
+                 },
+                 {
+                   "type": "null"
+                 }
+               ],
+               "description": "Claude agent rows: the usage limit that ended the turn after last_input_at (that turn is over; no Stop follows). continued: Claude recorded work after it. hold: Claude's automatic continue is armed, or was cancelled (pty_key Escape cancels an armed hold)"
+             },
              "session_id": {
                "type": "string"
              },

Changed 2026-11-11 13:59 UTC

8 schema or annotation changes with the description left byte-identical.

--- pinned/agent_auth
+++ observed/agent_auth
  {
    "description": "各harnessの公式CLI認証を開始・確認・取消する。CLIごとのコマンドと認証URL/codeの抽出はAitermが所有し、資格情報は各CLIだけが保存する。auth_uiの段階と公式URL・選択肢を表示する。入力はrespondで同じbindingへ送り、pty_send/pty_keyへ認証コードを渡さない。authenticatedは認証の結果であり、agent_launchの起動準備完了とは別。remoteは他toolと同じ標準対応。startは公式の状態が認証済みなら何も起こさずauthenticatedを返す。relogin:trueを付けると、認証済みに見えても公式ログインを開始する(別のアカウントへ入り直す時、ログインの期限切れを状態から見抜けない時)。Aitermは資格情報を消さず、置き換えは公式CLIが行う。Codexの公式ログインは、始めた時点で元のログインを消す(途中でcancelしても戻らない)。Antigravityのreloginは未対応を返す。",
    "execution": {
+       "login": {
+         "description": "claude-code harnessだけ、token_fileと組。startは状態を聞かずに必ず `claude setup-token` を起こし、出たtokenをAitermがtoken_fileへ書く(本人・0600・置き換え)。statusはtoken_fileが本人の0600の空でない通常fileの時だけauthenticated(.credentials.jsonは見ない)。失敗・取消では書かない。receiptはloginを返す",
+         "enum": [
+           "oauth_token"
+         ],
+         "type": "string"
+       },
        "relogin": {
          "description": "startで、公式の状態が認証済みでも公式ログインを開始する。既定false。trueの時、authenticatedかつsession_idがnullの結果は返さない",
          "type": "boolean"
+       },
+       "token_file": {
+         "description": "login:\"oauth_token\"の書き先。HOME配下の決まった形のslotのoauth-tokenだけを受け、他はAGENT_AUTH_TOKEN_FILE_REJECTED(開始しない)",
+         "minLength": 1,
+         "type": "string"
        }
      },
      "required": [
+       "login": {
+         "description": "login:\"oauth_token\"で扱った時だけ。無ければ、このAitermはそのmodeを知らない",
+         "enum": [
+           "oauth_token"
+         ],
+         "type": "string"
+       },
        "message": {
          "type": [
            "string",
--- pinned/agent_launch
+++ observed/agent_launch
  {
    "description": "エージェントを単一の標準入口から永続sessionへ起動する。harnessはagent loop・認証・hook・transcriptを所有する実行基盤、modelはそのharnessが選ぶ推論モデルであり別軸。Cursor harnessからGPT/Claude/Grok等を選んでも完了相関はCursor方式のまま。ComposerはCursorのmodelの一つで、harnessでもGrokのmodelでもない。harness=cursor-cli と model=composer-2.5-fast(またはcomposer-2.5)で指定する。remoteを付けると、SSHで入った別端末のAitermで同じ起動を行い、完了は同じ形で親へ届く。通常CLIと同じHOME・cwd・project/user/local設定・MCP・plugin・skill・permission/trustを共有する。aitermは完了相関stateだけをlaunch単位で所有する。起動されたagentにはsub-agent自己認識、親session、delegation depth/lineage、delegation_allowed=trueを注入し、必要な追加委譲は許可する。別のcomputer(登録済みの端末)で起こす時は、この起動にterminal(端末の登録元が渡す値をそのまま)とcwd(その端末のproject folder)を付ける。ここで起こしてからcd・sshしない。秘密の値はどの引数・prompt・送信文にも書かず、env_varsに名前だけを書く。dispatch した子は投げっぱなしでよい=親はここで待たない。Codex親とClaude Code親にはAitermが回答本文を自動配送する。parent_deliveryがある場合はwait起動も通常の回答回収も不要。親は作業を続けるかターンを終える。Cursor親にはparent_deliveryとwait_processが付く。作業を続ければ次のツール返りに回答が差し込まれ、ターンを終える前にwait_processを背景で起動するとidle中の完了でも起きられる。ポーリングとpty_read(agent_transcript:true)は不要。その他の親では、完了通知をreceiptの `wait_process.executable` と `wait_process.args` をそのまま親のターンを塞がない別プロセスAPIへ渡して受け、PowerShell 7のStart-Processだけは `windows_start_process_argument_list` を単一文字列として渡す。exit を完了通知として扱う(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要)。`wait_command` は人間向け互換表示でありprocess境界へ使わない。foreground実行で親のターンを塞がない。自動配送以外の結果回収は pty_read(agent_transcript:true)。",
    "execution": {
-         "description": "claude-code only. Launch instructions added to the system prompt; kept in Aiterm state, not in the project or home. Never put secrets here",
+         "description": "Launch instructions added to the system prompt; kept in Aiterm state, not in the project or home. Never put secrets here. Codex: appended to developer_instructions after Aiterm's marker; Grok: appended to --rules; at most 64 KiB for both. Cursor and Antigravity have no system-prompt channel: the text goes in front of the first prompt, or of the first input sent to a promptless seat (at most 64 KiB)",
          "minLength": 1,
          "type": "string"
        },
+       "fork_from": {
+         "additionalProperties": false,
+         "description": "claude-code and codex-cli. Start a disposable fork of that seat's latest saved conversation, in its cwd, with the main's tools and MCP. Every write inside that cwd (the project folder) is refused below the tools for the whole process tree (Linux Landlock, macOS sandbox-exec, Windows restricted token + folder deny ACE); everything else is allowed. Requires a prompt; no write_scope. Close it after its answer",
+         "properties": {
+           "fork_id": {
+             "description": "Caller's fork ID, passed to the seat as THROUGHLINE_FORK_ID",
+             "maxLength": 200,
+             "minLength": 1,
+             "type": "string"
+           },
+           "session_id": {
+             "description": "The main Aiterm seat on the same machine (the terminal or remote when given)",
+             "pattern": "^[A-Za-z0-9_-]{1,64}$",
+             "type": "string"
+           }
+         },
+         "required": [
+           "session_id"
+         ],
+         "type": "object"
+       },
        "harness": {
          "description": "agent loop・session・hook・transcript・認証を所有する実行基盤",
          "enum": [
-         "description": "claude-code only. Extra MCP servers for this seat. Secret header values: write ${NAME} and list NAME in env_vars",
+         "description": "Extra MCP servers for this seat. Secret header values: write ${NAME} and list NAME in env_vars. Codex, Grok, Cursor and Antigravity take only http servers {type?: \"http\", url, headers}: a literal header, 'Authorization: Bearer ${NAME}' or a header whose whole value is ${NAME}; other shapes, and a ${NAME} with no value at launch, are refused before the seat starts. Cursor runs a server as plugin-aiterm-caller-<name> beside a same-name user server; Codex, Grok and Antigravity replace a same-name user server for this seat (Codex: a user stdio server of that name runs Aiterm's relay to the given url instead)",
          "properties": {
            "mcpServers": {
              "additionalProperties": {},
-         "description": "Run this seat on another computer (a registered terminal) over SSH. Value: exactly the terminal value your host system's terminal registry hands over, {ref, target:{host,user,port}, trustRevision, and credentialRevision or credential {handle, revision}}; copy it unchanged, never invent or edit it, never use a host name or ssh command instead. Omit it to launch on this computer. Give cwd in the same call: the absolute project folder on that terminal. Never launch locally and then cd or ssh. Never put tokens, passwords or other secrets in any argument, prompt or typed text; pass secret values only by name in env_vars. After launch, use session_id alone for pty_send, pty_observe, pty_read, pty_key, claude_turn, agent_stop and pty_close; Aiterm routes them to the terminal. Errors and next step: TERMINAL_INVALID = malformed value, missing/relative cwd, or combined with remote: pass the registry's value unchanged with cwd. TARGET_MISMATCH / BINDING_UNKNOWN = the value is not this terminal's binding: ask the terminal registry again. HOST_TRUST_STALE / CREDENTIAL_REVISION_STALE = the binding changed: get the current value from the terminal registry and launch again. HOST_KEY_MISMATCH / HOST_TRUST_MISSING = the terminal's host key is not the trusted one: the Owner must confirm the new host key; do not retry. CREDENTIAL_REQUIRED / CREDENTIAL_NOT_LOADED = this terminal's key comes from a credential handle that the registry must load first; never paste a key anywhere. AUTH_FAILED = the terminal refused the key. UNREACHABLE = the terminal is offline; try later. CONNECTION_REFUSED = the terminal refused the SSH connection (SSH may be off there); try later. REMOTE_AITERM_TOO_OLD = update Aiterm on the terminal. CWD_UNAVAILABLE = the folder does not exist there; do not pick another folder. SEAT_FORWARD_UNAVAILABLE = the seat's MCP route back to this computer is not ready (launch again later), or the seat MCP URLs are not http://127.0.0.1:<one port>/api/seat-mcp. TERMINAL_HARNESS_UNSUPPORTED = use harness claude-code.",
+         "description": "Run this seat on another computer (a registered terminal) over SSH. Value: exactly the terminal value your host system's terminal registry hands over, {ref, target:{host,user,port}, os?, trustRevision, and credentialRevision or credential {handle, revision}}; copy it unchanged, never invent or edit it, never use a host name or ssh command instead. Omit it to launch on this computer. Give cwd in the same call: the absolute project folder on that terminal in its own form (a POSIX path starting with / on macOS and Linux, a drive path like C:\\folder with backslashes on Windows). Never launch locally and then cd or ssh. Never put tokens, passwords or other secrets in any argument, prompt or typed text; pass secret values only by name in env_vars. After launch, use session_id alone for pty_send, pty_observe, pty_read, pty_key, claude_turn, agent_stop and pty_close; Aiterm routes them to the terminal. Errors and next step: TERMINAL_INVALID = malformed value, missing/relative cwd (or one in the other system's form), or combined with remote: pass the registry's value unchanged with cwd. TARGET_MISMATCH / BINDING_UNKNOWN = the value is not this terminal's binding: ask the terminal registry again. HOST_TRUST_STALE / CREDENTIAL_REVISION_STALE = the binding changed: get the current value from the terminal registry and launch again. HOST_KEY_MISMATCH / HOST_TRUST_MISSING = the terminal's host key is not the trusted one: the Owner must confirm the new host key; do not retry. CREDENTIAL_REQUIRED / CREDENTIAL_NOT_LOADED = this terminal's key comes from a credential handle that the registry must load first; never paste a key anywhere. AUTH_FAILED = the terminal refused the key. UNREACHABLE = the terminal is offline; try later. CONNECTION_REFUSED = the terminal refused the SSH connection (SSH may be off there); try later. REMOTE_AITERM_TOO_OLD = update Aiterm on the terminal. CWD_UNAVAILABLE = the folder does not exist there; do not pick another folder. SEAT_FORWARD_UNAVAILABLE = the seat's MCP route back to this computer is not ready (launch again later), or the seat MCP URLs are not http://127.0.0.1:<one port>/api/seat-mcp. All five harnesses run on a terminal; REMOTE_AITERM_TOO_OLD names the Aiterm version the harness needs there (claude-code 0.65.0, codex-cli 0.70.7, grok-cli / cursor-cli / antigravity-cli 0.70.9). TERMINAL_HARNESS_UNSUPPORTED = the harness name is none of the five. AGENT_LAUNCH_NOT_STARTED with _meta aiterm/launch_error code AGENT_AUTH_REQUIRED = the CLI on the terminal is not logged in; the Owner logs it in there, then launch again. TERMINAL_OS_MISMATCH = the terminal is not the operating system os says: the registry's os is wrong or the binding points at another machine; ask the terminal registry, do not retry. TERMINAL_PLATFORM_UNSUPPORTED = the terminal is not a macOS, Linux or Windows system, so it cannot run seats.",
          "properties": {
            "credential": {
              "additionalProperties": false,
+           "os": {
+             "enum": [
+               "macos",
+               "linux",
+               "windows"
+             ],
+             "type": "string"
+           },
            "ref": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+       "fork_of": {
+         "additionalProperties": false,
+         "description": "The seat this fork copies and the folder it cannot write",
+         "properties": {
+           "session_id": {
+             "type": "string"
+           },
+           "vendor_session_id": {
+             "type": "string"
+           },
+           "write_ban": {
+             "additionalProperties": false,
+             "properties": {
+               "method": {
+                 "enum": [
+                   "landlock",
+                   "seatbelt",
+                   "restricted-token"
+                 ],
+                 "type": "string"
+               },
+               "path": {
+                 "type": "string"
+               }
+             },
+             "required": [
+               "path",
+               "method"
+             ],
+             "type": "object"
+           }
+         },
+         "required": [
+           "session_id",
+           "vendor_session_id",
+           "write_ban"
+         ],
+         "type": "object"
+       },
        "harness": {
          "enum": [
            "claude-code",
+                   "authentication",
                    "other"
                  ],
                  "type": "string"
--- pinned/claude_agent
+++ observed/claude_agent
  {
    "description": "【旧互換alias。新規連携は agent_launch(harness=claude-code)】Claude Codeの対話エージェントTUIを永続端末に起動する。`claude -p`ではなく、同じ利用者可視sessionへpty_sendで継続入力する。通常CLIと同じHOME・cwd・project/user/local設定・MCP・plugin・skill・permission/trustを共有する。aitermは完了相関stateだけをlaunch単位で所有する。起動されたagentにはsub-agent自己認識、親session、delegation depth/lineage、delegation_allowed=trueを注入し、必要な追加委譲は許可する。別のcomputer(登録済みの端末)で起こす時は、この起動にterminal(端末の登録元が渡す値をそのまま)とcwd(その端末のproject folder)を付ける。ここで起こしてからcd・sshしない。秘密の値はどの引数・prompt・送信文にも書かず、env_varsに名前だけを書く。通常settingsへlaunch固有Stop hook settingsを加算する。起動前に共有認証を構造化確認し、未認証ならsessionを作らない。dispatch した子は投げっぱなしでよい=親はここで待たない。Codex親とClaude Code親にはAitermが回答本文を自動配送する。parent_deliveryがある場合はwait起動も通常の回答回収も不要。親は作業を続けるかターンを終える。Cursor親にはparent_deliveryとwait_processが付く。作業を続ければ次のツール返りに回答が差し込まれ、ターンを終える前にwait_processを背景で起動するとidle中の完了でも起きられる。ポーリングとpty_read(agent_transcript:true)は不要。その他の親では、完了通知をreceiptの `wait_process.executable` と `wait_process.args` をそのまま親のターンを塞がない別プロセスAPIへ渡して受け、PowerShell 7のStart-Processだけは `windows_start_process_argument_list` を単一文字列として渡す。exit を完了通知として扱う(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要)。`wait_command` は人間向け互換表示でありprocess境界へ使わない。foreground実行で親のターンを塞がない。自動配送以外の結果回収は pty_read(agent_transcript:true)。Claude の durable turn は claude_turn でも回収できる。",
    "execution": {
-         "description": "Run this seat on another computer (a registered terminal) over SSH. Value: exactly the terminal value your host system's terminal registry hands over, {ref, target:{host,user,port}, trustRevision, and credentialRevision or credential {handle, revision}}; copy it unchanged, never invent or edit it, never use a host name or ssh command instead. Omit it to launch on this computer. Give cwd in the same call: the absolute project folder on that terminal. Never launch locally and then cd or ssh. Never put tokens, passwords or other secrets in any argument, prompt or typed text; pass secret values only by name in env_vars. After launch, use session_id alone for pty_send, pty_observe, pty_read, pty_key, claude_turn, agent_stop and pty_close; Aiterm routes them to the terminal. Errors and next step: TERMINAL_INVALID = malformed value, missing/relative cwd, or combined with remote: pass the registry's value unchanged with cwd. TARGET_MISMATCH / BINDING_UNKNOWN = the value is not this terminal's binding: ask the terminal registry again. HOST_TRUST_STALE / CREDENTIAL_REVISION_STALE = the binding changed: get the current value from the terminal registry and launch again. HOST_KEY_MISMATCH / HOST_TRUST_MISSING = the terminal's host key is not the trusted one: the Owner must confirm the new host key; do not retry. CREDENTIAL_REQUIRED / CREDENTIAL_NOT_LOADED = this terminal's key comes from a credential handle that the registry must load first; never paste a key anywhere. AUTH_FAILED = the terminal refused the key. UNREACHABLE = the terminal is offline; try later. CONNECTION_REFUSED = the terminal refused the SSH connection (SSH may be off there); try later. REMOTE_AITERM_TOO_OLD = update Aiterm on the terminal. CWD_UNAVAILABLE = the folder does not exist there; do not pick another folder. SEAT_FORWARD_UNAVAILABLE = the seat's MCP route back to this computer is not ready (launch again later), or the seat MCP URLs are not http://127.0.0.1:<one port>/api/seat-mcp. TERMINAL_HARNESS_UNSUPPORTED = use harness claude-code.",
+         "description": "Run this seat on another computer (a registered terminal) over SSH. Value: exactly the terminal value your host system's terminal registry hands over, {ref, target:{host,user,port}, os?, trustRevision, and credentialRevision or credential {handle, revision}}; copy it unchanged, never invent or edit it, never use a host name or ssh command instead. Omit it to launch on this computer. Give cwd in the same call: the absolute project folder on that terminal in its own form (a POSIX path starting with / on macOS and Linux, a drive path like C:\\folder with backslashes on Windows). Never launch locally and then cd or ssh. Never put tokens, passwords or other secrets in any argument, prompt or typed text; pass secret values only by name in env_vars. After launch, use session_id alone for pty_send, pty_observe, pty_read, pty_key, claude_turn, agent_stop and pty_close; Aiterm routes them to the terminal. Errors and next step: TERMINAL_INVALID = malformed value, missing/relative cwd (or one in the other system's form), or combined with remote: pass the registry's value unchanged with cwd. TARGET_MISMATCH / BINDING_UNKNOWN = the value is not this terminal's binding: ask the terminal registry again. HOST_TRUST_STALE / CREDENTIAL_REVISION_STALE = the binding changed: get the current value from the terminal registry and launch again. HOST_KEY_MISMATCH / HOST_TRUST_MISSING = the terminal's host key is not the trusted one: the Owner must confirm the new host key; do not retry. CREDENTIAL_REQUIRED / CREDENTIAL_NOT_LOADED = this terminal's key comes from a credential handle that the registry must load first; never paste a key anywhere. AUTH_FAILED = the terminal refused the key. UNREACHABLE = the terminal is offline; try later. CONNECTION_REFUSED = the terminal refused the SSH connection (SSH may be off there); try later. REMOTE_AITERM_TOO_OLD = update Aiterm on the terminal. CWD_UNAVAILABLE = the folder does not exist there; do not pick another folder. SEAT_FORWARD_UNAVAILABLE = the seat's MCP route back to this computer is not ready (launch again later), or the seat MCP URLs are not http://127.0.0.1:<one port>/api/seat-mcp. All five harnesses run on a terminal; REMOTE_AITERM_TOO_OLD names the Aiterm version the harness needs there (claude-code 0.65.0, codex-cli 0.70.7, grok-cli / cursor-cli / antigravity-cli 0.70.9). TERMINAL_HARNESS_UNSUPPORTED = the harness name is none of the five. AGENT_LAUNCH_NOT_STARTED with _meta aiterm/launch_error code AGENT_AUTH_REQUIRED = the CLI on the terminal is not logged in; the Owner logs it in there, then launch again. TERMINAL_OS_MISMATCH = the terminal is not the operating system os says: the registry's os is wrong or the binding points at another machine; ask the terminal registry, do not retry. TERMINAL_PLATFORM_UNSUPPORTED = the terminal is not a macOS, Linux or Windows system, so it cannot run seats.",
          "properties": {
            "credential": {
              "additionalProperties": false,
+           "os": {
+             "enum": [
+               "macos",
+               "linux",
+               "windows"
+             ],
+             "type": "string"
+           },
            "ref": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+                   "authentication",
                    "other"
                  ],
                  "type": "string"
--- pinned/claude_turn
+++ observed/claude_turn
  {
    "description": "aiterm相関付きClaude sessionのdurable operationを構造化issue/recoverするmachine-caller専用面。pending/unknown/completedを人間向けerror文字列の解析なしで返し、Observer固有ロジックは持たない。",
    "execution": {
+                   "authentication",
                    "other"
                  ],
                  "type": "string"
--- pinned/codex_agent
+++ observed/codex_agent
  {
    "description": "【旧互換alias。新規連携は agent_launch(harness=codex-cli)】Codexの対話エージェント TUI を永続端末に起動する。実装・レビュー・調査を対話で回す。通常CLIと同じHOME・cwd・project/user/local設定・MCP・plugin・skill・permission/trustを共有する。aitermは完了相関stateだけをlaunch単位で所有する。起動されたagentにはsub-agent自己認識、親session、delegation depth/lineage、delegation_allowed=trueを注入し、必要な追加委譲は許可する。別のcomputer(登録済みの端末)で起こす時は、この起動にterminal(端末の登録元が渡す値をそのまま)とcwd(その端末のproject folder)を付ける。ここで起こしてからcd・sshしない。秘密の値はどの引数・prompt・送信文にも書かず、env_varsに名前だけを書く。委譲契約を使う完全な呼び出し例: `codex_agent({\"prompt\":\"<依頼>\",\"model\":\"gpt-5.6-sol\",\"reasoning_effort\":\"high\",\"cwd\":\"/absolute/path/to/repo\",\"write_scope\":\"read-only\"})`。turn は pty_send で送る(自動で非ブロック dispatch になる)。dispatch した子は投げっぱなしでよい=親はここで待たない。Codex親とClaude Code親にはAitermが回答本文を自動配送する。parent_deliveryがある場合はwait起動も通常の回答回収も不要。親は作業を続けるかターンを終える。Cursor親にはparent_deliveryとwait_processが付く。作業を続ければ次のツール返りに回答が差し込まれ、ターンを終える前にwait_processを背景で起動するとidle中の完了でも起きられる。ポーリングとpty_read(agent_transcript:true)は不要。その他の親では、完了通知をreceiptの `wait_process.executable` と `wait_process.args` をそのまま親のターンを塞がない別プロセスAPIへ渡して受け、PowerShell 7のStart-Processだけは `windows_start_process_argument_list` を単一文字列として渡す。exit を完了通知として扱う(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要)。`wait_command` は人間向け互換表示でありprocess境界へ使わない。foreground実行で親のターンを塞がない。自動配送以外の結果回収は pty_read(agent_transcript:true)。model / reasoning_effort を引数で指定可(省略時は端末 config/CLI 既定を継承。実効値は起動応答に明示)。",
    "execution": {
-         "description": "Run this seat on another computer (a registered terminal) over SSH. Value: exactly the terminal value your host system's terminal registry hands over, {ref, target:{host,user,port}, trustRevision, and credentialRevision or credential {handle, revision}}; copy it unchanged, never invent or edit it, never use a host name or ssh command instead. Omit it to launch on this computer. Give cwd in the same call: the absolute project folder on that terminal. Never launch locally and then cd or ssh. Never put tokens, passwords or other secrets in any argument, prompt or typed text; pass secret values only by name in env_vars. After launch, use session_id alone for pty_send, pty_observe, pty_read, pty_key, claude_turn, agent_stop and pty_close; Aiterm routes them to the terminal. Errors and next step: TERMINAL_INVALID = malformed value, missing/relative cwd, or combined with remote: pass the registry's value unchanged with cwd. TARGET_MISMATCH / BINDING_UNKNOWN = the value is not this terminal's binding: ask the terminal registry again. HOST_TRUST_STALE / CREDENTIAL_REVISION_STALE = the binding changed: get the current value from the terminal registry and launch again. HOST_KEY_MISMATCH / HOST_TRUST_MISSING = the terminal's host key is not the trusted one: the Owner must confirm the new host key; do not retry. CREDENTIAL_REQUIRED / CREDENTIAL_NOT_LOADED = this terminal's key comes from a credential handle that the registry must load first; never paste a key anywhere. AUTH_FAILED = the terminal refused the key. UNREACHABLE = the terminal is offline; try later. CONNECTION_REFUSED = the terminal refused the SSH connection (SSH may be off there); try later. REMOTE_AITERM_TOO_OLD = update Aiterm on the terminal. CWD_UNAVAILABLE = the folder does not exist there; do not pick another folder. SEAT_FORWARD_UNAVAILABLE = the seat's MCP route back to this computer is not ready (launch again later), or the seat MCP URLs are not http://127.0.0.1:<one port>/api/seat-mcp. TERMINAL_HARNESS_UNSUPPORTED = use harness claude-code.",
+         "description": "Run this seat on another computer (a registered terminal) over SSH. Value: exactly the terminal value your host system's terminal registry hands over, {ref, target:{host,user,port}, os?, trustRevision, and credentialRevision or credential {handle, revision}}; copy it unchanged, never invent or edit it, never use a host name or ssh command instead. Omit it to launch on this computer. Give cwd in the same call: the absolute project folder on that terminal in its own form (a POSIX path starting with / on macOS and Linux, a drive path like C:\\folder with backslashes on Windows). Never launch locally and then cd or ssh. Never put tokens, passwords or other secrets in any argument, prompt or typed text; pass secret values only by name in env_vars. After launch, use session_id alone for pty_send, pty_observe, pty_read, pty_key, claude_turn, agent_stop and pty_close; Aiterm routes them to the terminal. Errors and next step: TERMINAL_INVALID = malformed value, missing/relative cwd (or one in the other system's form), or combined with remote: pass the registry's value unchanged with cwd. TARGET_MISMATCH / BINDING_UNKNOWN = the value is not this terminal's binding: ask the terminal registry again. HOST_TRUST_STALE / CREDENTIAL_REVISION_STALE = the binding changed: get the current value from the terminal registry and launch again. HOST_KEY_MISMATCH / HOST_TRUST_MISSING = the terminal's host key is not the trusted one: the Owner must confirm the new host key; do not retry. CREDENTIAL_REQUIRED / CREDENTIAL_NOT_LOADED = this terminal's key comes from a credential handle that the registry must load first; never paste a key anywhere. AUTH_FAILED = the terminal refused the key. UNREACHABLE = the terminal is offline; try later. CONNECTION_REFUSED = the terminal refused the SSH connection (SSH may be off there); try later. REMOTE_AITERM_TOO_OLD = update Aiterm on the terminal. CWD_UNAVAILABLE = the folder does not exist there; do not pick another folder. SEAT_FORWARD_UNAVAILABLE = the seat's MCP route back to this computer is not ready (launch again later), or the seat MCP URLs are not http://127.0.0.1:<one port>/api/seat-mcp. All five harnesses run on a terminal; REMOTE_AITERM_TOO_OLD names the Aiterm version the harness needs there (claude-code 0.65.0, codex-cli 0.70.7, grok-cli / cursor-cli / antigravity-cli 0.70.9). TERMINAL_HARNESS_UNSUPPORTED = the harness name is none of the five. AGENT_LAUNCH_NOT_STARTED with _meta aiterm/launch_error code AGENT_AUTH_REQUIRED = the CLI on the terminal is not logged in; the Owner logs it in there, then launch again. TERMINAL_OS_MISMATCH = the terminal is not the operating system os says: the registry's os is wrong or the binding points at another machine; ask the terminal registry, do not retry. TERMINAL_PLATFORM_UNSUPPORTED = the terminal is not a macOS, Linux or Windows system, so it cannot run seats.",
          "properties": {
            "credential": {
              "additionalProperties": false,
+           "os": {
+             "enum": [
+               "macos",
+               "linux",
+               "windows"
+             ],
+             "type": "string"
+           },
            "ref": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+                   "authentication",
                    "other"
                  ],
                  "type": "string"
--- pinned/grok_agent
+++ observed/grok_agent
  {
    "description": "【旧互換alias。新規連携は agent_launch(harness=grok-cli)】Grok BuildのGrokモデル(既定 grok-4.6)の対話エージェント TUIを永続端末に起動する。通常CLIと同じHOME・cwd・project/user/local設定・MCP・plugin・skill・permission/trustを共有する。aitermは完了相関stateだけをlaunch単位で所有する。起動されたagentにはsub-agent自己認識、親session、delegation depth/lineage、delegation_allowed=trueを注入し、必要な追加委譲は許可する。別のcomputer(登録済みの端末)で起こす時は、この起動にterminal(端末の登録元が渡す値をそのまま)とcwd(その端末のproject folder)を付ける。ここで起こしてからcd・sshしない。秘密の値はどの引数・prompt・送信文にも書かず、env_varsに名前だけを書く。turn は pty_send で送る(自動で非ブロック dispatch になる)。dispatch した子は投げっぱなしでよい=親はここで待たない。Codex親とClaude Code親にはAitermが回答本文を自動配送する。parent_deliveryがある場合はwait起動も通常の回答回収も不要。親は作業を続けるかターンを終える。Cursor親にはparent_deliveryとwait_processが付く。作業を続ければ次のツール返りに回答が差し込まれ、ターンを終える前にwait_processを背景で起動するとidle中の完了でも起きられる。ポーリングとpty_read(agent_transcript:true)は不要。その他の親では、完了通知をreceiptの `wait_process.executable` と `wait_process.args` をそのまま親のターンを塞がない別プロセスAPIへ渡して受け、PowerShell 7のStart-Processだけは `windows_start_process_argument_list` を単一文字列として渡す。exit を完了通知として扱う(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要)。`wait_command` は人間向け互換表示でありprocess境界へ使わない。foreground実行で親のターンを塞がない。自動配送以外の結果回収は pty_read(agent_transcript:true)。model/reasoning_effortを引数で指定可。read-only sandboxとagent_configureに対応。",
    "execution": {
-         "description": "Run this seat on another computer (a registered terminal) over SSH. Value: exactly the terminal value your host system's terminal registry hands over, {ref, target:{host,user,port}, trustRevision, and credentialRevision or credential {handle, revision}}; copy it unchanged, never invent or edit it, never use a host name or ssh command instead. Omit it to launch on this computer. Give cwd in the same call: the absolute project folder on that terminal. Never launch locally and then cd or ssh. Never put tokens, passwords or other secrets in any argument, prompt or typed text; pass secret values only by name in env_vars. After launch, use session_id alone for pty_send, pty_observe, pty_read, pty_key, claude_turn, agent_stop and pty_close; Aiterm routes them to the terminal. Errors and next step: TERMINAL_INVALID = malformed value, missing/relative cwd, or combined with remote: pass the registry's value unchanged with cwd. TARGET_MISMATCH / BINDING_UNKNOWN = the value is not this terminal's binding: ask the terminal registry again. HOST_TRUST_STALE / CREDENTIAL_REVISION_STALE = the binding changed: get the current value from the terminal registry and launch again. HOST_KEY_MISMATCH / HOST_TRUST_MISSING = the terminal's host key is not the trusted one: the Owner must confirm the new host key; do not retry. CREDENTIAL_REQUIRED / CREDENTIAL_NOT_LOADED = this terminal's key comes from a credential handle that the registry must load first; never paste a key anywhere. AUTH_FAILED = the terminal refused the key. UNREACHABLE = the terminal is offline; try later. CONNECTION_REFUSED = the terminal refused the SSH connection (SSH may be off there); try later. REMOTE_AITERM_TOO_OLD = update Aiterm on the terminal. CWD_UNAVAILABLE = the folder does not exist there; do not pick another folder. SEAT_FORWARD_UNAVAILABLE = the seat's MCP route back to this computer is not ready (launch again later), or the seat MCP URLs are not http://127.0.0.1:<one port>/api/seat-mcp. TERMINAL_HARNESS_UNSUPPORTED = use harness claude-code.",
+         "description": "Run this seat on another computer (a registered terminal) over SSH. Value: exactly the terminal value your host system's terminal registry hands over, {ref, target:{host,user,port}, os?, trustRevision, and credentialRevision or credential {handle, revision}}; copy it unchanged, never invent or edit it, never use a host name or ssh command instead. Omit it to launch on this computer. Give cwd in the same call: the absolute project folder on that terminal in its own form (a POSIX path starting with / on macOS and Linux, a drive path like C:\\folder with backslashes on Windows). Never launch locally and then cd or ssh. Never put tokens, passwords or other secrets in any argument, prompt or typed text; pass secret values only by name in env_vars. After launch, use session_id alone for pty_send, pty_observe, pty_read, pty_key, claude_turn, agent_stop and pty_close; Aiterm routes them to the terminal. Errors and next step: TERMINAL_INVALID = malformed value, missing/relative cwd (or one in the other system's form), or combined with remote: pass the registry's value unchanged with cwd. TARGET_MISMATCH / BINDING_UNKNOWN = the value is not this terminal's binding: ask the terminal registry again. HOST_TRUST_STALE / CREDENTIAL_REVISION_STALE = the binding changed: get the current value from the terminal registry and launch again. HOST_KEY_MISMATCH / HOST_TRUST_MISSING = the terminal's host key is not the trusted one: the Owner must confirm the new host key; do not retry. CREDENTIAL_REQUIRED / CREDENTIAL_NOT_LOADED = this terminal's key comes from a credential handle that the registry must load first; never paste a key anywhere. AUTH_FAILED = the terminal refused the key. UNREACHABLE = the terminal is offline; try later. CONNECTION_REFUSED = the terminal refused the SSH connection (SSH may be off there); try later. REMOTE_AITERM_TOO_OLD = update Aiterm on the terminal. CWD_UNAVAILABLE = the folder does not exist there; do not pick another folder. SEAT_FORWARD_UNAVAILABLE = the seat's MCP route back to this computer is not ready (launch again later), or the seat MCP URLs are not http://127.0.0.1:<one port>/api/seat-mcp. All five harnesses run on a terminal; REMOTE_AITERM_TOO_OLD names the Aiterm version the harness needs there (claude-code 0.65.0, codex-cli 0.70.7, grok-cli / cursor-cli / antigravity-cli 0.70.9). TERMINAL_HARNESS_UNSUPPORTED = the harness name is none of the five. AGENT_LAUNCH_NOT_STARTED with _meta aiterm/launch_error code AGENT_AUTH_REQUIRED = the CLI on the terminal is not logged in; the Owner logs it in there, then launch again. TERMINAL_OS_MISMATCH = the terminal is not the operating system os says: the registry's os is wrong or the binding points at another machine; ask the terminal registry, do not retry. TERMINAL_PLATFORM_UNSUPPORTED = the terminal is not a macOS, Linux or Windows system, so it cannot run seats.",
          "properties": {
            "credential": {
              "additionalProperties": false,
+           "os": {
+             "enum": [
+               "macos",
+               "linux",
+               "windows"
+             ],
+             "type": "string"
+           },
            "ref": {
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+                   "authentication",
                    "other"
                  ],
                  "type": "string"
--- pinned/pty_observe
+++ observed/pty_observe
  {
    "description": "指定sessionの存在、paneとharnessの生存、状態と理由、native process identity、画面変化とCPU活動を構造化して観測する。画面本文と生argvは返さない。",
    "execution": {
+                     "authentication",
                      "other"
                    ],
                    "type": "string"
--- pinned/pty_send
+++ observed/pty_send
  {
    "description": "セッションへテキストを送る。通常PTYへは送信のみ(出力は pty_read で取得)。agent session(launcher起動)への送信はこのtoolだけで行い、子の状態はAitermが送る時点で見て振り分ける。子のturnが実行中なら各harness標準の操作で現在のturnへ差し込み(mode=agent_steer)、完了は差し込み後の作業の終わりに元の依頼への1回だけ届く。新しいevent_cursorと配送は作らない。それ以外は新しいturnとしてdispatchし(mode=agent_dispatch)、TUI の ready gate と submit 分離を通して即返り、receipt の event_cursor を返す。dispatch した子は投げっぱなしでよい=親はここで待たない。Codex親とClaude Code親にはAitermが回答本文を自動配送する。parent_deliveryがある場合はwait起動も通常の回答回収も不要。親は作業を続けるかターンを終える。Cursor親にはparent_deliveryとwait_processが付く。作業を続ければ次のツール返りに回答が差し込まれ、ターンを終える前にwait_processを背景で起動するとidle中の完了でも起きられる。ポーリングとpty_read(agent_transcript:true)は不要。その他の親では、完了通知をreceiptの `wait_process.executable` と `wait_process.args` をそのまま親のターンを塞がない別プロセスAPIへ渡して受け、PowerShell 7のStart-Processだけは `windows_start_process_argument_list` を単一文字列として渡す。exit を完了通知として扱う(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要)。`wait_command` は人間向け互換表示でありprocess境界へ使わない。foreground実行で親のターンを塞がない。自動配送以外の結果回収は pty_read(agent_transcript:true)、Claude の durable turn は claude_turn を使う。require_agent:true はagent登録が無いsessionへ打鍵せず、AGENT_SESSION_REQUIREDで未送信を返す。preface はagent sessionへの送信で本文の前に置く1行。Claude Codeの席では貼り付けの印なしで入れ、本文だけを貼る(前置きが貼り付けの包みの外へ出る)。他のharnessでは前置き・空行・本文を1つで貼る。force:true は非Claude agent sessionへの手動介入用の素送信。aiterm相関付きClaudeの承認UIはclaude_approvalを使う。",
    "execution": {
+                   "authentication",
                    "other"
                  ],
                  "type": "string"

Changed 2026-11-10 14:43 UTC

5 schema or annotation changes with the description left byte-identical.

--- pinned/agent_launch
+++ observed/agent_launch
  {
    "description": "エージェントを単一の標準入口から永続sessionへ起動する。harnessはagent loop・認証・hook・transcriptを所有する実行基盤、modelはそのharnessが選ぶ推論モデルであり別軸。Cursor harnessからGPT/Claude/Grok等を選んでも完了相関はCursor方式のまま。ComposerはCursorのmodelの一つで、harnessでもGrokのmodelでもない。harness=cursor-cli と model=composer-2.5-fast(またはcomposer-2.5)で指定する。remoteを付けると、SSHで入った別端末のAitermで同じ起動を行い、完了は同じ形で親へ届く。通常CLIと同じHOME・cwd・project/user/local設定・MCP・plugin・skill・permission/trustを共有する。aitermは完了相関stateだけをlaunch単位で所有する。起動されたagentにはsub-agent自己認識、親session、delegation depth/lineage、delegation_allowed=trueを注入し、必要な追加委譲は許可する。別のcomputer(登録済みの端末)で起こす時は、この起動にterminal(端末の登録元が渡す値をそのまま)とcwd(その端末のproject folder)を付ける。ここで起こしてからcd・sshしない。秘密の値はどの引数・prompt・送信文にも書かず、env_varsに名前だけを書く。dispatch した子は投げっぱなしでよい=親はここで待たない。Codex親とClaude Code親にはAitermが回答本文を自動配送する。parent_deliveryがある場合はwait起動も通常の回答回収も不要。親は作業を続けるかターンを終える。Cursor親にはparent_deliveryとwait_processが付く。作業を続ければ次のツール返りに回答が差し込まれ、ターンを終える前にwait_processを背景で起動するとidle中の完了でも起きられる。ポーリングとpty_read(agent_transcript:true)は不要。その他の親では、完了通知をreceiptの `wait_process.executable` と `wait_process.args` をそのまま親のターンを塞がない別プロセスAPIへ渡して受け、PowerShell 7のStart-Processだけは `windows_start_process_argument_list` を単一文字列として渡す。exit を完了通知として扱う(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要)。`wait_command` は人間向け互換表示でありprocess境界へ使わない。foreground実行で親のターンを塞がない。自動配送以外の結果回収は pty_read(agent_transcript:true)。",
    "execution": {
-         "description": "Run this seat on another computer (a registered terminal) over SSH. Value: exactly the terminal value your host system's terminal registry hands over, {ref, target:{host,user,port}, trustRevision, and credentialRevision or credential {handle, revision}}; copy it unchanged, never invent or edit it, never use a host name or ssh command instead. Omit it to launch on this computer. Give cwd in the same call: the absolute project folder on that terminal. Never launch locally and then cd or ssh. Never put tokens, passwords or other secrets in any argument, prompt or typed text; pass secret values only by name in env_vars. After launch, use session_id alone for pty_send, pty_observe, pty_read, pty_key, claude_turn, agent_stop and pty_close; Aiterm routes them to the terminal. Errors and next step: TERMINAL_INVALID = malformed value, missing/relative cwd, or combined with remote: pass the registry's value unchanged with cwd. TARGET_MISMATCH / BINDING_UNKNOWN = the value is not this terminal's binding: ask the terminal registry again. HOST_TRUST_STALE / CREDENTIAL_REVISION_STALE = the binding changed: get the current value from the terminal registry and launch again. HOST_KEY_MISMATCH / HOST_TRUST_MISSING = the terminal's host key is not the trusted one: the Owner must confirm the new host key; do not retry. CREDENTIAL_REQUIRED / CREDENTIAL_NOT_LOADED = this terminal's key comes from a credential handle that the registry must load first; never paste a key anywhere. AUTH_FAILED = the terminal refused the key. UNREACHABLE = the terminal is offline; try later. REMOTE_AITERM_TOO_OLD = update Aiterm on the terminal. CWD_UNAVAILABLE = the folder does not exist there; do not pick another folder. SEAT_FORWARD_UNAVAILABLE = the seat's MCP route back to this computer is not ready; launch again later. TERMINAL_HARNESS_UNSUPPORTED = use harness claude-code.",
+         "description": "Run this seat on another computer (a registered terminal) over SSH. Value: exactly the terminal value your host system's terminal registry hands over, {ref, target:{host,user,port}, trustRevision, and credentialRevision or credential {handle, revision}}; copy it unchanged, never invent or edit it, never use a host name or ssh command instead. Omit it to launch on this computer. Give cwd in the same call: the absolute project folder on that terminal. Never launch locally and then cd or ssh. Never put tokens, passwords or other secrets in any argument, prompt or typed text; pass secret values only by name in env_vars. After launch, use session_id alone for pty_send, pty_observe, pty_read, pty_key, claude_turn, agent_stop and pty_close; Aiterm routes them to the terminal. Errors and next step: TERMINAL_INVALID = malformed value, missing/relative cwd, or combined with remote: pass the registry's value unchanged with cwd. TARGET_MISMATCH / BINDING_UNKNOWN = the value is not this terminal's binding: ask the terminal registry again. HOST_TRUST_STALE / CREDENTIAL_REVISION_STALE = the binding changed: get the current value from the terminal registry and launch again. HOST_KEY_MISMATCH / HOST_TRUST_MISSING = the terminal's host key is not the trusted one: the Owner must confirm the new host key; do not retry. CREDENTIAL_REQUIRED / CREDENTIAL_NOT_LOADED = this terminal's key comes from a credential handle that the registry must load first; never paste a key anywhere. AUTH_FAILED = the terminal refused the key. UNREACHABLE = the terminal is offline; try later. CONNECTION_REFUSED = the terminal refused the SSH connection (SSH may be off there); try later. REMOTE_AITERM_TOO_OLD = update Aiterm on the terminal. CWD_UNAVAILABLE = the folder does not exist there; do not pick another folder. SEAT_FORWARD_UNAVAILABLE = the seat's MCP route back to this computer is not ready (launch again later), or the seat MCP URLs are not http://127.0.0.1:<one port>/api/seat-mcp. TERMINAL_HARNESS_UNSUPPORTED = use harness claude-code.",
          "properties": {
            "credential": {
              "additionalProperties": false,
--- pinned/agent_models
+++ observed/agent_models
  {
    "description": "harnessが今返すmodelとreasoning effortの候補を、そのharnessの公式の一覧から取得する。promptもturnも送らず推論を消費しない。Codexはapp-server model/list、Claude Codeはstream-json initializeのmodels、Grokはagent stdio initializeのmodelState、Cursorはcursor-agent modelsを素のmodel IDとeffortへ分けたもの。Antigravityはagy modelsのeffortを含むIDをそのまま返す。返るidとeffortsはagent_launch/agent_configureへそのまま渡せる。modelごとのfastは、そのmodelでfastへ切り替えられるか(harnessが返す値)。fast_unavailableは、アカウントの都合でどのmodelでも使えない時の訳。取得不能はMODEL_CATALOG_UNAVAILABLE、形式異常はMODEL_CATALOG_INVALIDのエラーで返し、別の一覧へfallbackしない。remoteを付けると別端末のharnessの候補を返す。",
    "execution": {
+       "configuration_root": {
+         "description": "claude-code harnessだけ。一覧を読むアカウントの設定root(CLAUDE_CONFIG_DIR)。受ける範囲はagent_launchと同じ(既定のroot、またはAITERM_CLAUDE_CONFIG_ROOTSに並べた親の直下)。他はAGENT_CONFIGURATION_ROOT_REJECTED。省略は既定のroot",
+         "minLength": 1,
+         "type": "string"
+       },
        "cwd": {
          "description": "CLIを実行する作業ディレクトリ(絶対パス・任意)。project設定で候補が変わるharness向け",
          "type": [
--- pinned/claude_agent
+++ observed/claude_agent
  {
    "description": "【旧互換alias。新規連携は agent_launch(harness=claude-code)】Claude Codeの対話エージェントTUIを永続端末に起動する。`claude -p`ではなく、同じ利用者可視sessionへpty_sendで継続入力する。通常CLIと同じHOME・cwd・project/user/local設定・MCP・plugin・skill・permission/trustを共有する。aitermは完了相関stateだけをlaunch単位で所有する。起動されたagentにはsub-agent自己認識、親session、delegation depth/lineage、delegation_allowed=trueを注入し、必要な追加委譲は許可する。別のcomputer(登録済みの端末)で起こす時は、この起動にterminal(端末の登録元が渡す値をそのまま)とcwd(その端末のproject folder)を付ける。ここで起こしてからcd・sshしない。秘密の値はどの引数・prompt・送信文にも書かず、env_varsに名前だけを書く。通常settingsへlaunch固有Stop hook settingsを加算する。起動前に共有認証を構造化確認し、未認証ならsessionを作らない。dispatch した子は投げっぱなしでよい=親はここで待たない。Codex親とClaude Code親にはAitermが回答本文を自動配送する。parent_deliveryがある場合はwait起動も通常の回答回収も不要。親は作業を続けるかターンを終える。Cursor親にはparent_deliveryとwait_processが付く。作業を続ければ次のツール返りに回答が差し込まれ、ターンを終える前にwait_processを背景で起動するとidle中の完了でも起きられる。ポーリングとpty_read(agent_transcript:true)は不要。その他の親では、完了通知をreceiptの `wait_process.executable` と `wait_process.args` をそのまま親のターンを塞がない別プロセスAPIへ渡して受け、PowerShell 7のStart-Processだけは `windows_start_process_argument_list` を単一文字列として渡す。exit を完了通知として扱う(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要)。`wait_command` は人間向け互換表示でありprocess境界へ使わない。foreground実行で親のターンを塞がない。自動配送以外の結果回収は pty_read(agent_transcript:true)。Claude の durable turn は claude_turn でも回収できる。",
    "execution": {
-         "description": "Run this seat on another computer (a registered terminal) over SSH. Value: exactly the terminal value your host system's terminal registry hands over, {ref, target:{host,user,port}, trustRevision, and credentialRevision or credential {handle, revision}}; copy it unchanged, never invent or edit it, never use a host name or ssh command instead. Omit it to launch on this computer. Give cwd in the same call: the absolute project folder on that terminal. Never launch locally and then cd or ssh. Never put tokens, passwords or other secrets in any argument, prompt or typed text; pass secret values only by name in env_vars. After launch, use session_id alone for pty_send, pty_observe, pty_read, pty_key, claude_turn, agent_stop and pty_close; Aiterm routes them to the terminal. Errors and next step: TERMINAL_INVALID = malformed value, missing/relative cwd, or combined with remote: pass the registry's value unchanged with cwd. TARGET_MISMATCH / BINDING_UNKNOWN = the value is not this terminal's binding: ask the terminal registry again. HOST_TRUST_STALE / CREDENTIAL_REVISION_STALE = the binding changed: get the current value from the terminal registry and launch again. HOST_KEY_MISMATCH / HOST_TRUST_MISSING = the terminal's host key is not the trusted one: the Owner must confirm the new host key; do not retry. CREDENTIAL_REQUIRED / CREDENTIAL_NOT_LOADED = this terminal's key comes from a credential handle that the registry must load first; never paste a key anywhere. AUTH_FAILED = the terminal refused the key. UNREACHABLE = the terminal is offline; try later. REMOTE_AITERM_TOO_OLD = update Aiterm on the terminal. CWD_UNAVAILABLE = the folder does not exist there; do not pick another folder. SEAT_FORWARD_UNAVAILABLE = the seat's MCP route back to this computer is not ready; launch again later. TERMINAL_HARNESS_UNSUPPORTED = use harness claude-code.",
+         "description": "Run this seat on another computer (a registered terminal) over SSH. Value: exactly the terminal value your host system's terminal registry hands over, {ref, target:{host,user,port}, trustRevision, and credentialRevision or credential {handle, revision}}; copy it unchanged, never invent or edit it, never use a host name or ssh command instead. Omit it to launch on this computer. Give cwd in the same call: the absolute project folder on that terminal. Never launch locally and then cd or ssh. Never put tokens, passwords or other secrets in any argument, prompt or typed text; pass secret values only by name in env_vars. After launch, use session_id alone for pty_send, pty_observe, pty_read, pty_key, claude_turn, agent_stop and pty_close; Aiterm routes them to the terminal. Errors and next step: TERMINAL_INVALID = malformed value, missing/relative cwd, or combined with remote: pass the registry's value unchanged with cwd. TARGET_MISMATCH / BINDING_UNKNOWN = the value is not this terminal's binding: ask the terminal registry again. HOST_TRUST_STALE / CREDENTIAL_REVISION_STALE = the binding changed: get the current value from the terminal registry and launch again. HOST_KEY_MISMATCH / HOST_TRUST_MISSING = the terminal's host key is not the trusted one: the Owner must confirm the new host key; do not retry. CREDENTIAL_REQUIRED / CREDENTIAL_NOT_LOADED = this terminal's key comes from a credential handle that the registry must load first; never paste a key anywhere. AUTH_FAILED = the terminal refused the key. UNREACHABLE = the terminal is offline; try later. CONNECTION_REFUSED = the terminal refused the SSH connection (SSH may be off there); try later. REMOTE_AITERM_TOO_OLD = update Aiterm on the terminal. CWD_UNAVAILABLE = the folder does not exist there; do not pick another folder. SEAT_FORWARD_UNAVAILABLE = the seat's MCP route back to this computer is not ready (launch again later), or the seat MCP URLs are not http://127.0.0.1:<one port>/api/seat-mcp. TERMINAL_HARNESS_UNSUPPORTED = use harness claude-code.",
          "properties": {
            "credential": {
              "additionalProperties": false,
--- pinned/codex_agent
+++ observed/codex_agent
  {
    "description": "【旧互換alias。新規連携は agent_launch(harness=codex-cli)】Codexの対話エージェント TUI を永続端末に起動する。実装・レビュー・調査を対話で回す。通常CLIと同じHOME・cwd・project/user/local設定・MCP・plugin・skill・permission/trustを共有する。aitermは完了相関stateだけをlaunch単位で所有する。起動されたagentにはsub-agent自己認識、親session、delegation depth/lineage、delegation_allowed=trueを注入し、必要な追加委譲は許可する。別のcomputer(登録済みの端末)で起こす時は、この起動にterminal(端末の登録元が渡す値をそのまま)とcwd(その端末のproject folder)を付ける。ここで起こしてからcd・sshしない。秘密の値はどの引数・prompt・送信文にも書かず、env_varsに名前だけを書く。委譲契約を使う完全な呼び出し例: `codex_agent({\"prompt\":\"<依頼>\",\"model\":\"gpt-5.6-sol\",\"reasoning_effort\":\"high\",\"cwd\":\"/absolute/path/to/repo\",\"write_scope\":\"read-only\"})`。turn は pty_send で送る(自動で非ブロック dispatch になる)。dispatch した子は投げっぱなしでよい=親はここで待たない。Codex親とClaude Code親にはAitermが回答本文を自動配送する。parent_deliveryがある場合はwait起動も通常の回答回収も不要。親は作業を続けるかターンを終える。Cursor親にはparent_deliveryとwait_processが付く。作業を続ければ次のツール返りに回答が差し込まれ、ターンを終える前にwait_processを背景で起動するとidle中の完了でも起きられる。ポーリングとpty_read(agent_transcript:true)は不要。その他の親では、完了通知をreceiptの `wait_process.executable` と `wait_process.args` をそのまま親のターンを塞がない別プロセスAPIへ渡して受け、PowerShell 7のStart-Processだけは `windows_start_process_argument_list` を単一文字列として渡す。exit を完了通知として扱う(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要)。`wait_command` は人間向け互換表示でありprocess境界へ使わない。foreground実行で親のターンを塞がない。自動配送以外の結果回収は pty_read(agent_transcript:true)。model / reasoning_effort を引数で指定可(省略時は端末 config/CLI 既定を継承。実効値は起動応答に明示)。",
    "execution": {
-         "description": "Run this seat on another computer (a registered terminal) over SSH. Value: exactly the terminal value your host system's terminal registry hands over, {ref, target:{host,user,port}, trustRevision, and credentialRevision or credential {handle, revision}}; copy it unchanged, never invent or edit it, never use a host name or ssh command instead. Omit it to launch on this computer. Give cwd in the same call: the absolute project folder on that terminal. Never launch locally and then cd or ssh. Never put tokens, passwords or other secrets in any argument, prompt or typed text; pass secret values only by name in env_vars. After launch, use session_id alone for pty_send, pty_observe, pty_read, pty_key, claude_turn, agent_stop and pty_close; Aiterm routes them to the terminal. Errors and next step: TERMINAL_INVALID = malformed value, missing/relative cwd, or combined with remote: pass the registry's value unchanged with cwd. TARGET_MISMATCH / BINDING_UNKNOWN = the value is not this terminal's binding: ask the terminal registry again. HOST_TRUST_STALE / CREDENTIAL_REVISION_STALE = the binding changed: get the current value from the terminal registry and launch again. HOST_KEY_MISMATCH / HOST_TRUST_MISSING = the terminal's host key is not the trusted one: the Owner must confirm the new host key; do not retry. CREDENTIAL_REQUIRED / CREDENTIAL_NOT_LOADED = this terminal's key comes from a credential handle that the registry must load first; never paste a key anywhere. AUTH_FAILED = the terminal refused the key. UNREACHABLE = the terminal is offline; try later. REMOTE_AITERM_TOO_OLD = update Aiterm on the terminal. CWD_UNAVAILABLE = the folder does not exist there; do not pick another folder. SEAT_FORWARD_UNAVAILABLE = the seat's MCP route back to this computer is not ready; launch again later. TERMINAL_HARNESS_UNSUPPORTED = use harness claude-code.",
+         "description": "Run this seat on another computer (a registered terminal) over SSH. Value: exactly the terminal value your host system's terminal registry hands over, {ref, target:{host,user,port}, trustRevision, and credentialRevision or credential {handle, revision}}; copy it unchanged, never invent or edit it, never use a host name or ssh command instead. Omit it to launch on this computer. Give cwd in the same call: the absolute project folder on that terminal. Never launch locally and then cd or ssh. Never put tokens, passwords or other secrets in any argument, prompt or typed text; pass secret values only by name in env_vars. After launch, use session_id alone for pty_send, pty_observe, pty_read, pty_key, claude_turn, agent_stop and pty_close; Aiterm routes them to the terminal. Errors and next step: TERMINAL_INVALID = malformed value, missing/relative cwd, or combined with remote: pass the registry's value unchanged with cwd. TARGET_MISMATCH / BINDING_UNKNOWN = the value is not this terminal's binding: ask the terminal registry again. HOST_TRUST_STALE / CREDENTIAL_REVISION_STALE = the binding changed: get the current value from the terminal registry and launch again. HOST_KEY_MISMATCH / HOST_TRUST_MISSING = the terminal's host key is not the trusted one: the Owner must confirm the new host key; do not retry. CREDENTIAL_REQUIRED / CREDENTIAL_NOT_LOADED = this terminal's key comes from a credential handle that the registry must load first; never paste a key anywhere. AUTH_FAILED = the terminal refused the key. UNREACHABLE = the terminal is offline; try later. CONNECTION_REFUSED = the terminal refused the SSH connection (SSH may be off there); try later. REMOTE_AITERM_TOO_OLD = update Aiterm on the terminal. CWD_UNAVAILABLE = the folder does not exist there; do not pick another folder. SEAT_FORWARD_UNAVAILABLE = the seat's MCP route back to this computer is not ready (launch again later), or the seat MCP URLs are not http://127.0.0.1:<one port>/api/seat-mcp. TERMINAL_HARNESS_UNSUPPORTED = use harness claude-code.",
          "properties": {
            "credential": {
              "additionalProperties": false,
--- pinned/grok_agent
+++ observed/grok_agent
  {
    "description": "【旧互換alias。新規連携は agent_launch(harness=grok-cli)】Grok BuildのGrokモデル(既定 grok-4.6)の対話エージェント TUIを永続端末に起動する。通常CLIと同じHOME・cwd・project/user/local設定・MCP・plugin・skill・permission/trustを共有する。aitermは完了相関stateだけをlaunch単位で所有する。起動されたagentにはsub-agent自己認識、親session、delegation depth/lineage、delegation_allowed=trueを注入し、必要な追加委譲は許可する。別のcomputer(登録済みの端末)で起こす時は、この起動にterminal(端末の登録元が渡す値をそのまま)とcwd(その端末のproject folder)を付ける。ここで起こしてからcd・sshしない。秘密の値はどの引数・prompt・送信文にも書かず、env_varsに名前だけを書く。turn は pty_send で送る(自動で非ブロック dispatch になる)。dispatch した子は投げっぱなしでよい=親はここで待たない。Codex親とClaude Code親にはAitermが回答本文を自動配送する。parent_deliveryがある場合はwait起動も通常の回答回収も不要。親は作業を続けるかターンを終える。Cursor親にはparent_deliveryとwait_processが付く。作業を続ければ次のツール返りに回答が差し込まれ、ターンを終える前にwait_processを背景で起動するとidle中の完了でも起きられる。ポーリングとpty_read(agent_transcript:true)は不要。その他の親では、完了通知をreceiptの `wait_process.executable` と `wait_process.args` をそのまま親のターンを塞がない別プロセスAPIへ渡して受け、PowerShell 7のStart-Processだけは `windows_start_process_argument_list` を単一文字列として渡す。exit を完了通知として扱う(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要)。`wait_command` は人間向け互換表示でありprocess境界へ使わない。foreground実行で親のターンを塞がない。自動配送以外の結果回収は pty_read(agent_transcript:true)。model/reasoning_effortを引数で指定可。read-only sandboxとagent_configureに対応。",
    "execution": {
-         "description": "Run this seat on another computer (a registered terminal) over SSH. Value: exactly the terminal value your host system's terminal registry hands over, {ref, target:{host,user,port}, trustRevision, and credentialRevision or credential {handle, revision}}; copy it unchanged, never invent or edit it, never use a host name or ssh command instead. Omit it to launch on this computer. Give cwd in the same call: the absolute project folder on that terminal. Never launch locally and then cd or ssh. Never put tokens, passwords or other secrets in any argument, prompt or typed text; pass secret values only by name in env_vars. After launch, use session_id alone for pty_send, pty_observe, pty_read, pty_key, claude_turn, agent_stop and pty_close; Aiterm routes them to the terminal. Errors and next step: TERMINAL_INVALID = malformed value, missing/relative cwd, or combined with remote: pass the registry's value unchanged with cwd. TARGET_MISMATCH / BINDING_UNKNOWN = the value is not this terminal's binding: ask the terminal registry again. HOST_TRUST_STALE / CREDENTIAL_REVISION_STALE = the binding changed: get the current value from the terminal registry and launch again. HOST_KEY_MISMATCH / HOST_TRUST_MISSING = the terminal's host key is not the trusted one: the Owner must confirm the new host key; do not retry. CREDENTIAL_REQUIRED / CREDENTIAL_NOT_LOADED = this terminal's key comes from a credential handle that the registry must load first; never paste a key anywhere. AUTH_FAILED = the terminal refused the key. UNREACHABLE = the terminal is offline; try later. REMOTE_AITERM_TOO_OLD = update Aiterm on the terminal. CWD_UNAVAILABLE = the folder does not exist there; do not pick another folder. SEAT_FORWARD_UNAVAILABLE = the seat's MCP route back to this computer is not ready; launch again later. TERMINAL_HARNESS_UNSUPPORTED = use harness claude-code.",
+         "description": "Run this seat on another computer (a registered terminal) over SSH. Value: exactly the terminal value your host system's terminal registry hands over, {ref, target:{host,user,port}, trustRevision, and credentialRevision or credential {handle, revision}}; copy it unchanged, never invent or edit it, never use a host name or ssh command instead. Omit it to launch on this computer. Give cwd in the same call: the absolute project folder on that terminal. Never launch locally and then cd or ssh. Never put tokens, passwords or other secrets in any argument, prompt or typed text; pass secret values only by name in env_vars. After launch, use session_id alone for pty_send, pty_observe, pty_read, pty_key, claude_turn, agent_stop and pty_close; Aiterm routes them to the terminal. Errors and next step: TERMINAL_INVALID = malformed value, missing/relative cwd, or combined with remote: pass the registry's value unchanged with cwd. TARGET_MISMATCH / BINDING_UNKNOWN = the value is not this terminal's binding: ask the terminal registry again. HOST_TRUST_STALE / CREDENTIAL_REVISION_STALE = the binding changed: get the current value from the terminal registry and launch again. HOST_KEY_MISMATCH / HOST_TRUST_MISSING = the terminal's host key is not the trusted one: the Owner must confirm the new host key; do not retry. CREDENTIAL_REQUIRED / CREDENTIAL_NOT_LOADED = this terminal's key comes from a credential handle that the registry must load first; never paste a key anywhere. AUTH_FAILED = the terminal refused the key. UNREACHABLE = the terminal is offline; try later. CONNECTION_REFUSED = the terminal refused the SSH connection (SSH may be off there); try later. REMOTE_AITERM_TOO_OLD = update Aiterm on the terminal. CWD_UNAVAILABLE = the folder does not exist there; do not pick another folder. SEAT_FORWARD_UNAVAILABLE = the seat's MCP route back to this computer is not ready (launch again later), or the seat MCP URLs are not http://127.0.0.1:<one port>/api/seat-mcp. TERMINAL_HARNESS_UNSUPPORTED = use harness claude-code.",
          "properties": {
            "credential": {
              "additionalProperties": false,

Changed 2026-11-09 15:54 UTC

4 descriptions rewritten.

--- pinned/agent_launch
+++ observed/agent_launch
  {
-   "description": "エージェントを単一の標準入口から永続sessionへ起動する。harnessはagent loop・認証・hook・transcriptを所有する実行基盤、modelはそのharnessが選ぶ推論モデルであり別軸。Cursor harnessからGPT/Claude/Grok等を選んでも完了相関はCursor方式のまま。ComposerはCursorのmodelの一つで、harnessでもGrokのmodelでもない。harness=cursor-cli と model=composer-2.5-fast(またはcomposer-2.5)で指定する。remoteを付けると、SSHで入った別端末のAitermで同じ起動を行い、完了は同じ形で親へ届く。通常CLIと同じHOME・cwd・project/user/local設定・MCP・plugin・skill・permission/trustを共有する。aitermは完了相関stateだけをlaunch単位で所有する。起動されたagentにはsub-agent自己認識、親session、delegation depth/lineage、delegation_allowed=trueを注入し、必要な追加委譲は許可する。dispatch した子は投げっぱなしでよい=親はここで待たない。Codex親とClaude Code親にはAitermが回答本文を自動配送する。parent_deliveryがある場合はwait起動も通常の回答回収も不要。親は作業を続けるかターンを終える。Cursor親にはparent_deliveryとwait_processが付く。作業を続ければ次のツール返りに回答が差し込まれ、ターンを終える前にwait_processを背景で起動するとidle中の完了でも起きられる。ポーリングとpty_read(agent_transcript:true)は不要。その他の親では、完了通知をreceiptの `wait_process.executable` と `wait_process.args` をそのまま親のターンを塞がない別プロセスAPIへ渡して受け、PowerShell 7のStart-Processだけは `windows_start_process_argument_list` を単一文字列として渡す。exit を完了通知として扱う(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要)。`wait_command` は人間向け互換表示でありprocess境界へ使わない。foreground実行で親のターンを塞がない。自動配送以外の結果回収は pty_read(agent_transcript:true)。",
+   "description": "エージェントを単一の標準入口から永続sessionへ起動する。harnessはagent loop・認証・hook・transcriptを所有する実行基盤、modelはそのharnessが選ぶ推論モデルであり別軸。Cursor harnessからGPT/Claude/Grok等を選んでも完了相関はCursor方式のまま。ComposerはCursorのmodelの一つで、harnessでもGrokのmodelでもない。harness=cursor-cli と model=composer-2.5-fast(またはcomposer-2.5)で指定する。remoteを付けると、SSHで入った別端末のAitermで同じ起動を行い、完了は同じ形で親へ届く。通常CLIと同じHOME・cwd・project/user/local設定・MCP・plugin・skill・permission/trustを共有する。aitermは完了相関stateだけをlaunch単位で所有する。起動されたagentにはsub-agent自己認識、親session、delegation depth/lineage、delegation_allowed=trueを注入し、必要な追加委譲は許可する。別のcomputer(登録済みの端末)で起こす時は、この起動にterminal(端末の登録元が渡す値をそのまま)とcwd(その端末のproject folder)を付ける。ここで起こしてからcd・sshしない。秘密の値はどの引数・prompt・送信文にも書かず、env_varsに名前だけを書く。dispatch した子は投げっぱなしでよい=親はここで待たない。Codex親とClaude Code親にはAitermが回答本文を自動配送する。parent_deliveryがある場合はwait起動も通常の回答回収も不要。親は作業を続けるかターンを終える。Cursor親にはparent_deliveryとwait_processが付く。作業を続ければ次のツール返りに回答が差し込まれ、ターンを終える前にwait_processを背景で起動するとidle中の完了でも起きられる。ポーリングとpty_read(agent_transcript:true)は不要。その他の親では、完了通知をreceiptの `wait_process.executable` と `wait_process.args` をそのまま親のターンを塞がない別プロセスAPIへ渡して受け、PowerShell 7のStart-Processだけは `windows_start_process_argument_list` を単一文字列として渡す。exit を完了通知として扱う(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要)。`wait_command` は人間向け互換表示でありprocess境界へ使わない。foreground実行で親のターンを塞がない。自動配送以外の結果回収は pty_read(agent_transcript:true)。",
    "execution": {
      "taskSupport": "forbidden"
    },
+       "append_system_prompt": {
+         "description": "claude-code only. Launch instructions added to the system prompt; kept in Aiterm state, not in the project or home. Never put secrets here",
+         "minLength": 1,
+         "type": "string"
+       },
        "configuration_root": {
          "description": "Claude Codeの設定root(CLAUDE_CONFIG_DIR)の絶対パス。既定のroot(~/.claude、CLAUDE_CONFIG_DIRなし)か、AITERM_CLAUDE_CONFIG_ROOTSに並べた親の直下だけ。他はAGENT_CONFIGURATION_ROOT_REJECTED。休止席の再開では、新しいrootに同じ会話の記録がある時だけ替えられる。claude-code harnessだけ",
          "minLength": 1,
-         "description": "作業ディレクトリ(絶対パス・任意)",
+         "description": "作業ディレクトリ(絶対パス・任意)。terminalを付ける時は必須で、その端末上のproject folderの絶対パス",
          "type": [
            "string",
            "null"
+       "mcp_config": {
+         "additionalProperties": false,
+         "description": "claude-code only. Extra MCP servers for this seat. Secret header values: write ${NAME} and list NAME in env_vars",
+         "properties": {
+           "mcpServers": {
+             "additionalProperties": {},
+             "propertyNames": {
+               "type": "string"
+             },
+             "type": "object"
+           }
+         },
+         "required": [
+           "mcpServers"
+         ],
+         "type": "object"
+       },
        "model": {
          "description": "harnessが選ぶモデル。provider名ではなくlive catalog上のmodel ID",
          "type": [
+       "terminal": {
+         "additionalProperties": false,
+         "description": "Run this seat on another computer (a registered terminal) over SSH. Value: exactly the terminal value your host system's terminal registry hands over, {ref, target:{host,user,port}, trustRevision, and credentialRevision or credential {handle, revision}}; copy it unchanged, never invent or edit it, never use a host name or ssh command instead. Omit it to launch on this computer. Give cwd in the same call: the absolute project folder on that terminal. Never launch locally and then cd or ssh. Never put tokens, passwords or other secrets in any argument, prompt or typed text; pass secret values only by name in env_vars. After launch, use session_id alone for pty_send, pty_observe, pty_read, pty_key, claude_turn, agent_stop and pty_close; Aiterm routes them to the terminal. Errors and next step: TERMINAL_INVALID = malformed value, missing/relative cwd, or combined with remote: pass the registry's value unchanged with cwd. TARGET_MISMATCH / BINDING_UNKNOWN = the value is not this terminal's binding: ask the terminal registry again. HOST_TRUST_STALE / CREDENTIAL_REVISION_STALE = the binding changed: get the current value from the terminal registry and launch again. HOST_KEY_MISMATCH / HOST_TRUST_MISSING = the terminal's host key is not the trusted one: the Owner must confirm the new host key; do not retry. CREDENTIAL_REQUIRED / CREDENTIAL_NOT_LOADED = this terminal's key comes from a credential handle that the registry must load first; never paste a key anywhere. AUTH_FAILED = the terminal refused the key. UNREACHABLE = the terminal is offline; try later. REMOTE_AITERM_TOO_OLD = update Aiterm on the terminal. CWD_UNAVAILABLE = the folder does not exist there; do not pick another folder. SEAT_FORWARD_UNAVAILABLE = the seat's MCP route back to this computer is not ready; launch again later. TERMINAL_HARNESS_UNSUPPORTED = use harness claude-code.",
+         "properties": {
+           "credential": {
+             "additionalProperties": false,
+             "properties": {
+               "handle": {
+                 "format": "uuid",
+                 "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+                 "type": "string"
+               },
+               "revision": {
+                 "exclusiveMinimum": 0,
+                 "maximum": 9007199254740991,
+                 "type": "integer"
+               }
+             },
+             "required": [
+               "handle",
+               "revision"
+             ],
+             "type": "object"
+           },
+           "credentialRevision": {
+             "pattern": "^sha256:[0-9a-f]{64}$",
+             "type": "string"
+           },
+           "ref": {
+             "format": "uuid",
+             "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+             "type": "string"
+           },
+           "sudoCredential": {
+             "additionalProperties": false,
+             "properties": {
+               "handle": {
+                 "format": "uuid",
+                 "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+                 "type": "string"
+               },
+               "revision": {
+                 "exclusiveMinimum": 0,
+                 "maximum": 9007199254740991,
+                 "type": "integer"
+               }
+             },
+             "required": [
+               "handle",
+               "revision"
+             ],
+             "type": "object"
+           },
+           "target": {
+             "additionalProperties": false,
+             "properties": {
+               "host": {
+                 "minLength": 1,
+                 "type": "string"
+               },
+               "port": {
+                 "maximum": 65535,
+                 "minimum": 1,
+                 "type": "integer"
+               },
+               "user": {
+                 "minLength": 1,
+                 "type": "string"
+               }
+             },
+             "required": [
+               "host",
+               "user",
+               "port"
+             ],
+             "type": "object"
+           },
+           "trustRevision": {
+             "pattern": "^sha256:[0-9a-f]{64}$",
+             "type": "string"
+           }
+         },
+         "required": [
+           "ref",
+           "target",
+           "trustRevision"
+         ],
+         "type": "object"
+       },
        "throughline_source_session": {
          "description": "同一端末のThroughline sessionから読み取り専用contextを初手へ注入する",
          "minLength": 1,
--- pinned/claude_agent
+++ observed/claude_agent
  {
-   "description": "【旧互換alias。新規連携は agent_launch(harness=claude-code)】Claude Codeの対話エージェントTUIを永続端末に起動する。`claude -p`ではなく、同じ利用者可視sessionへpty_sendで継続入力する。通常CLIと同じHOME・cwd・project/user/local設定・MCP・plugin・skill・permission/trustを共有する。aitermは完了相関stateだけをlaunch単位で所有する。起動されたagentにはsub-agent自己認識、親session、delegation depth/lineage、delegation_allowed=trueを注入し、必要な追加委譲は許可する。通常settingsへlaunch固有Stop hook settingsを加算する。起動前に共有認証を構造化確認し、未認証ならsessionを作らない。dispatch した子は投げっぱなしでよい=親はここで待たない。Codex親とClaude Code親にはAitermが回答本文を自動配送する。parent_deliveryがある場合はwait起動も通常の回答回収も不要。親は作業を続けるかターンを終える。Cursor親にはparent_deliveryとwait_processが付く。作業を続ければ次のツール返りに回答が差し込まれ、ターンを終える前にwait_processを背景で起動するとidle中の完了でも起きられる。ポーリングとpty_read(agent_transcript:true)は不要。その他の親では、完了通知をreceiptの `wait_process.executable` と `wait_process.args` をそのまま親のターンを塞がない別プロセスAPIへ渡して受け、PowerShell 7のStart-Processだけは `windows_start_process_argument_list` を単一文字列として渡す。exit を完了通知として扱う(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要)。`wait_command` は人間向け互換表示でありprocess境界へ使わない。foreground実行で親のターンを塞がない。自動配送以外の結果回収は pty_read(agent_transcript:true)。Claude の durable turn は claude_turn でも回収できる。",
+   "description": "【旧互換alias。新規連携は agent_launch(harness=claude-code)】Claude Codeの対話エージェントTUIを永続端末に起動する。`claude -p`ではなく、同じ利用者可視sessionへpty_sendで継続入力する。通常CLIと同じHOME・cwd・project/user/local設定・MCP・plugin・skill・permission/trustを共有する。aitermは完了相関stateだけをlaunch単位で所有する。起動されたagentにはsub-agent自己認識、親session、delegation depth/lineage、delegation_allowed=trueを注入し、必要な追加委譲は許可する。別のcomputer(登録済みの端末)で起こす時は、この起動にterminal(端末の登録元が渡す値をそのまま)とcwd(その端末のproject folder)を付ける。ここで起こしてからcd・sshしない。秘密の値はどの引数・prompt・送信文にも書かず、env_varsに名前だけを書く。通常settingsへlaunch固有Stop hook settingsを加算する。起動前に共有認証を構造化確認し、未認証ならsessionを作らない。dispatch した子は投げっぱなしでよい=親はここで待たない。Codex親とClaude Code親にはAitermが回答本文を自動配送する。parent_deliveryがある場合はwait起動も通常の回答回収も不要。親は作業を続けるかターンを終える。Cursor親にはparent_deliveryとwait_processが付く。作業を続ければ次のツール返りに回答が差し込まれ、ターンを終える前にwait_processを背景で起動するとidle中の完了でも起きられる。ポーリングとpty_read(agent_transcript:true)は不要。その他の親では、完了通知をreceiptの `wait_process.executable` と `wait_process.args` をそのまま親のターンを塞がない別プロセスAPIへ渡して受け、PowerShell 7のStart-Processだけは `windows_start_process_argument_list` を単一文字列として渡す。exit を完了通知として扱う(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要)。`wait_command` は人間向け互換表示でありprocess境界へ使わない。foreground実行で親のターンを塞がない。自動配送以外の結果回収は pty_read(agent_transcript:true)。Claude の durable turn は claude_turn でも回収できる。",
    "execution": {
      "taskSupport": "forbidden"
    },
+       "append_system_prompt": {
+         "description": "Launch instructions added to the system prompt; kept in Aiterm state, not in the project or home",
+         "minLength": 1,
+         "type": "string"
+       },
        "configuration_root": {
          "description": "Claude Codeの設定root(CLAUDE_CONFIG_DIR)の絶対パス。既定のroot(~/.claude、CLAUDE_CONFIG_DIRなし)か、AITERM_CLAUDE_CONFIG_ROOTSに並べた親の直下だけ。他はAGENT_CONFIGURATION_ROOT_REJECTED。休止席の再開では、新しいrootに同じ会話の記録がある時だけ替えられる",
          "minLength": 1,
-         "description": "作業ディレクトリ(対象リポのルート等・任意)",
+         "description": "作業ディレクトリ(対象リポのルート等・任意)。terminalを付ける時は必須で、その端末上のproject folderの絶対パス",
          "type": [
            "string",
            "null"
+       "mcp_config": {
+         "additionalProperties": false,
+         "description": "Extra MCP servers for this seat; write secrets as ${ENV} names given in env_vars",
+         "properties": {
+           "mcpServers": {
+             "additionalProperties": {},
+             "propertyNames": {
+               "type": "string"
+             },
+             "type": "object"
+           }
+         },
+         "required": [
+           "mcpServers"
+         ],
+         "type": "object"
+       },
        "model": {
          "description": "起動モデル(例: claude-sonnet-4-6)。省略時はClaude CLI既定",
          "type": [
+       "terminal": {
+         "additionalProperties": false,
+         "description": "Run this seat on another computer (a registered terminal) over SSH. Value: exactly the terminal value your host system's terminal registry hands over, {ref, target:{host,user,port}, trustRevision, and credentialRevision or credential {handle, revision}}; copy it unchanged, never invent or edit it, never use a host name or ssh command instead. Omit it to launch on this computer. Give cwd in the same call: the absolute project folder on that terminal. Never launch locally and then cd or ssh. Never put tokens, passwords or other secrets in any argument, prompt or typed text; pass secret values only by name in env_vars. After launch, use session_id alone for pty_send, pty_observe, pty_read, pty_key, claude_turn, agent_stop and pty_close; Aiterm routes them to the terminal. Errors and next step: TERMINAL_INVALID = malformed value, missing/relative cwd, or combined with remote: pass the registry's value unchanged with cwd. TARGET_MISMATCH / BINDING_UNKNOWN = the value is not this terminal's binding: ask the terminal registry again. HOST_TRUST_STALE / CREDENTIAL_REVISION_STALE = the binding changed: get the current value from the terminal registry and launch again. HOST_KEY_MISMATCH / HOST_TRUST_MISSING = the terminal's host key is not the trusted one: the Owner must confirm the new host key; do not retry. CREDENTIAL_REQUIRED / CREDENTIAL_NOT_LOADED = this terminal's key comes from a credential handle that the registry must load first; never paste a key anywhere. AUTH_FAILED = the terminal refused the key. UNREACHABLE = the terminal is offline; try later. REMOTE_AITERM_TOO_OLD = update Aiterm on the terminal. CWD_UNAVAILABLE = the folder does not exist there; do not pick another folder. SEAT_FORWARD_UNAVAILABLE = the seat's MCP route back to this computer is not ready; launch again later. TERMINAL_HARNESS_UNSUPPORTED = use harness claude-code.",
+         "properties": {
+           "credential": {
+             "additionalProperties": false,
+             "properties": {
+               "handle": {
+                 "format": "uuid",
+                 "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+                 "type": "string"
+               },
+               "revision": {
+                 "exclusiveMinimum": 0,
+                 "maximum": 9007199254740991,
+                 "type": "integer"
+               }
+             },
+             "required": [
+               "handle",
+               "revision"
+             ],
+             "type": "object"
+           },
+           "credentialRevision": {
+             "pattern": "^sha256:[0-9a-f]{64}$",
+             "type": "string"
+           },
+           "ref": {
+             "format": "uuid",
+             "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+             "type": "string"
+           },
+           "sudoCredential": {
+             "additionalProperties": false,
+             "properties": {
+               "handle": {
+                 "format": "uuid",
+                 "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+                 "type": "string"
+               },
+               "revision": {
+                 "exclusiveMinimum": 0,
+                 "maximum": 9007199254740991,
+                 "type": "integer"
+               }
+             },
+             "required": [
+               "handle",
+               "revision"
+             ],
+             "type": "object"
+           },
+           "target": {
+             "additionalProperties": false,
+             "properties": {
+               "host": {
+                 "minLength": 1,
+                 "type": "string"
+               },
+               "port": {
+                 "maximum": 65535,
+                 "minimum": 1,
+                 "type": "integer"
+               },
+               "user": {
+                 "minLength": 1,
+                 "type": "string"
+               }
+             },
+             "required": [
+               "host",
+               "user",
+               "port"
+             ],
+             "type": "object"
+           },
+           "trustRevision": {
+             "pattern": "^sha256:[0-9a-f]{64}$",
+             "type": "string"
+           }
+         },
+         "required": [
+           "ref",
+           "target",
+           "trustRevision"
+         ],
+         "type": "object"
+       },
        "throughline_source_session": {
          "description": "同一端末のThroughline sessionから所有権を変えずに記憶を読み、promptのmissionより前へ注入する",
          "minLength": 1,
--- pinned/codex_agent
+++ observed/codex_agent
  {
-   "description": "【旧互換alias。新規連携は agent_launch(harness=codex-cli)】Codexの対話エージェント TUI を永続端末に起動する。実装・レビュー・調査を対話で回す。通常CLIと同じHOME・cwd・project/user/local設定・MCP・plugin・skill・permission/trustを共有する。aitermは完了相関stateだけをlaunch単位で所有する。起動されたagentにはsub-agent自己認識、親session、delegation depth/lineage、delegation_allowed=trueを注入し、必要な追加委譲は許可する。委譲契約を使う完全な呼び出し例: `codex_agent({\"prompt\":\"<依頼>\",\"model\":\"gpt-5.6-sol\",\"reasoning_effort\":\"high\",\"cwd\":\"/absolute/path/to/repo\",\"write_scope\":\"read-only\"})`。turn は pty_send で送る(自動で非ブロック dispatch になる)。dispatch した子は投げっぱなしでよい=親はここで待たない。Codex親とClaude Code親にはAitermが回答本文を自動配送する。parent_deliveryがある場合はwait起動も通常の回答回収も不要。親は作業を続けるかターンを終える。Cursor親にはparent_deliveryとwait_processが付く。作業を続ければ次のツール返りに回答が差し込まれ、ターンを終える前にwait_processを背景で起動するとidle中の完了でも起きられる。ポーリングとpty_read(agent_transcript:true)は不要。その他の親では、完了通知をreceiptの `wait_process.executable` と `wait_process.args` をそのまま親のターンを塞がない別プロセスAPIへ渡して受け、PowerShell 7のStart-Processだけは `windows_start_process_argument_list` を単一文字列として渡す。exit を完了通知として扱う(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要)。`wait_command` は人間向け互換表示でありprocess境界へ使わない。foreground実行で親のターンを塞がない。自動配送以外の結果回収は pty_read(agent_transcript:true)。model / reasoning_effort を引数で指定可(省略時は端末 config/CLI 既定を継承。実効値は起動応答に明示)。",
+   "description": "【旧互換alias。新規連携は agent_launch(harness=codex-cli)】Codexの対話エージェント TUI を永続端末に起動する。実装・レビュー・調査を対話で回す。通常CLIと同じHOME・cwd・project/user/local設定・MCP・plugin・skill・permission/trustを共有する。aitermは完了相関stateだけをlaunch単位で所有する。起動されたagentにはsub-agent自己認識、親session、delegation depth/lineage、delegation_allowed=trueを注入し、必要な追加委譲は許可する。別のcomputer(登録済みの端末)で起こす時は、この起動にterminal(端末の登録元が渡す値をそのまま)とcwd(その端末のproject folder)を付ける。ここで起こしてからcd・sshしない。秘密の値はどの引数・prompt・送信文にも書かず、env_varsに名前だけを書く。委譲契約を使う完全な呼び出し例: `codex_agent({\"prompt\":\"<依頼>\",\"model\":\"gpt-5.6-sol\",\"reasoning_effort\":\"high\",\"cwd\":\"/absolute/path/to/repo\",\"write_scope\":\"read-only\"})`。turn は pty_send で送る(自動で非ブロック dispatch になる)。dispatch した子は投げっぱなしでよい=親はここで待たない。Codex親とClaude Code親にはAitermが回答本文を自動配送する。parent_deliveryがある場合はwait起動も通常の回答回収も不要。親は作業を続けるかターンを終える。Cursor親にはparent_deliveryとwait_processが付く。作業を続ければ次のツール返りに回答が差し込まれ、ターンを終える前にwait_processを背景で起動するとidle中の完了でも起きられる。ポーリングとpty_read(agent_transcript:true)は不要。その他の親では、完了通知をreceiptの `wait_process.executable` と `wait_process.args` をそのまま親のターンを塞がない別プロセスAPIへ渡して受け、PowerShell 7のStart-Processだけは `windows_start_process_argument_list` を単一文字列として渡す。exit を完了通知として扱う(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要)。`wait_command` は人間向け互換表示でありprocess境界へ使わない。foreground実行で親のターンを塞がない。自動配送以外の結果回収は pty_read(agent_transcript:true)。model / reasoning_effort を引数で指定可(省略時は端末 config/CLI 既定を継承。実効値は起動応答に明示)。",
    "execution": {
      "taskSupport": "forbidden"
    },
-         "description": "作業ディレクトリ(対象リポのルート等・任意)",
+         "description": "作業ディレクトリ(対象リポのルート等・任意)。terminalを付ける時は必須で、その端末上のproject folderの絶対パス",
          "type": [
            "string",
            "null"
+       "terminal": {
+         "additionalProperties": false,
+         "description": "Run this seat on another computer (a registered terminal) over SSH. Value: exactly the terminal value your host system's terminal registry hands over, {ref, target:{host,user,port}, trustRevision, and credentialRevision or credential {handle, revision}}; copy it unchanged, never invent or edit it, never use a host name or ssh command instead. Omit it to launch on this computer. Give cwd in the same call: the absolute project folder on that terminal. Never launch locally and then cd or ssh. Never put tokens, passwords or other secrets in any argument, prompt or typed text; pass secret values only by name in env_vars. After launch, use session_id alone for pty_send, pty_observe, pty_read, pty_key, claude_turn, agent_stop and pty_close; Aiterm routes them to the terminal. Errors and next step: TERMINAL_INVALID = malformed value, missing/relative cwd, or combined with remote: pass the registry's value unchanged with cwd. TARGET_MISMATCH / BINDING_UNKNOWN = the value is not this terminal's binding: ask the terminal registry again. HOST_TRUST_STALE / CREDENTIAL_REVISION_STALE = the binding changed: get the current value from the terminal registry and launch again. HOST_KEY_MISMATCH / HOST_TRUST_MISSING = the terminal's host key is not the trusted one: the Owner must confirm the new host key; do not retry. CREDENTIAL_REQUIRED / CREDENTIAL_NOT_LOADED = this terminal's key comes from a credential handle that the registry must load first; never paste a key anywhere. AUTH_FAILED = the terminal refused the key. UNREACHABLE = the terminal is offline; try later. REMOTE_AITERM_TOO_OLD = update Aiterm on the terminal. CWD_UNAVAILABLE = the folder does not exist there; do not pick another folder. SEAT_FORWARD_UNAVAILABLE = the seat's MCP route back to this computer is not ready; launch again later. TERMINAL_HARNESS_UNSUPPORTED = use harness claude-code.",
+         "properties": {
+           "credential": {
+             "additionalProperties": false,
+             "properties": {
+               "handle": {
+                 "format": "uuid",
+                 "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+                 "type": "string"
+               },
+               "revision": {
+                 "exclusiveMinimum": 0,
+                 "maximum": 9007199254740991,
+                 "type": "integer"
+               }
+             },
+             "required": [
+               "handle",
+               "revision"
+             ],
+             "type": "object"
+           },
+           "credentialRevision": {
+             "pattern": "^sha256:[0-9a-f]{64}$",
+             "type": "string"
+           },
+           "ref": {
+             "format": "uuid",
+             "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+             "type": "string"
+           },
+           "sudoCredential": {
+             "additionalProperties": false,
+             "properties": {
+               "handle": {
+                 "format": "uuid",
+                 "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+                 "type": "string"
+               },
+               "revision": {
+                 "exclusiveMinimum": 0,
+                 "maximum": 9007199254740991,
+                 "type": "integer"
+               }
+             },
+             "required": [
+               "handle",
+               "revision"
+             ],
+             "type": "object"
+           },
+           "target": {
+             "additionalProperties": false,
+             "properties": {
+               "host": {
+                 "minLength": 1,
+                 "type": "string"
+               },
+               "port": {
+                 "maximum": 65535,
+                 "minimum": 1,
+                 "type": "integer"
+               },
+               "user": {
+                 "minLength": 1,
+                 "type": "string"
+               }
+             },
+             "required": [
+               "host",
+               "user",
+               "port"
+             ],
+             "type": "object"
+           },
+           "trustRevision": {
+             "pattern": "^sha256:[0-9a-f]{64}$",
+             "type": "string"
+           }
+         },
+         "required": [
+           "ref",
+           "target",
+           "trustRevision"
+         ],
+         "type": "object"
+       },
        "throughline_source_session": {
          "description": "同一端末のThroughline sessionから所有権を変えずに記憶を読み、promptのmissionより前へ注入する",
          "minLength": 1,
--- pinned/grok_agent
+++ observed/grok_agent
  {
-   "description": "【旧互換alias。新規連携は agent_launch(harness=grok-cli)】Grok BuildのGrokモデル(既定 grok-4.6)の対話エージェント TUIを永続端末に起動する。通常CLIと同じHOME・cwd・project/user/local設定・MCP・plugin・skill・permission/trustを共有する。aitermは完了相関stateだけをlaunch単位で所有する。起動されたagentにはsub-agent自己認識、親session、delegation depth/lineage、delegation_allowed=trueを注入し、必要な追加委譲は許可する。turn は pty_send で送る(自動で非ブロック dispatch になる)。dispatch した子は投げっぱなしでよい=親はここで待たない。Codex親とClaude Code親にはAitermが回答本文を自動配送する。parent_deliveryがある場合はwait起動も通常の回答回収も不要。親は作業を続けるかターンを終える。Cursor親にはparent_deliveryとwait_processが付く。作業を続ければ次のツール返りに回答が差し込まれ、ターンを終える前にwait_processを背景で起動するとidle中の完了でも起きられる。ポーリングとpty_read(agent_transcript:true)は不要。その他の親では、完了通知をreceiptの `wait_process.executable` と `wait_process.args` をそのまま親のターンを塞がない別プロセスAPIへ渡して受け、PowerShell 7のStart-Processだけは `windows_start_process_argument_list` を単一文字列として渡す。exit を完了通知として扱う(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要)。`wait_command` は人間向け互換表示でありprocess境界へ使わない。foreground実行で親のターンを塞がない。自動配送以外の結果回収は pty_read(agent_transcript:true)。model/reasoning_effortを引数で指定可。read-only sandboxとagent_configureに対応。",
+   "description": "【旧互換alias。新規連携は agent_launch(harness=grok-cli)】Grok BuildのGrokモデル(既定 grok-4.6)の対話エージェント TUIを永続端末に起動する。通常CLIと同じHOME・cwd・project/user/local設定・MCP・plugin・skill・permission/trustを共有する。aitermは完了相関stateだけをlaunch単位で所有する。起動されたagentにはsub-agent自己認識、親session、delegation depth/lineage、delegation_allowed=trueを注入し、必要な追加委譲は許可する。別のcomputer(登録済みの端末)で起こす時は、この起動にterminal(端末の登録元が渡す値をそのまま)とcwd(その端末のproject folder)を付ける。ここで起こしてからcd・sshしない。秘密の値はどの引数・prompt・送信文にも書かず、env_varsに名前だけを書く。turn は pty_send で送る(自動で非ブロック dispatch になる)。dispatch した子は投げっぱなしでよい=親はここで待たない。Codex親とClaude Code親にはAitermが回答本文を自動配送する。parent_deliveryがある場合はwait起動も通常の回答回収も不要。親は作業を続けるかターンを終える。Cursor親にはparent_deliveryとwait_processが付く。作業を続ければ次のツール返りに回答が差し込まれ、ターンを終える前にwait_processを背景で起動するとidle中の完了でも起きられる。ポーリングとpty_read(agent_transcript:true)は不要。その他の親では、完了通知をreceiptの `wait_process.executable` と `wait_process.args` をそのまま親のターンを塞がない別プロセスAPIへ渡して受け、PowerShell 7のStart-Processだけは `windows_start_process_argument_list` を単一文字列として渡す。exit を完了通知として扱う(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要)。`wait_command` は人間向け互換表示でありprocess境界へ使わない。foreground実行で親のターンを塞がない。自動配送以外の結果回収は pty_read(agent_transcript:true)。model/reasoning_effortを引数で指定可。read-only sandboxとagent_configureに対応。",
    "execution": {
      "taskSupport": "forbidden"
    },
-         "description": "作業ディレクトリ(対象リポのルート等・任意)",
+         "description": "作業ディレクトリ(対象リポのルート等・任意)。terminalを付ける時は必須で、その端末上のproject folderの絶対パス",
          "type": [
            "string",
            "null"
+       "terminal": {
+         "additionalProperties": false,
+         "description": "Run this seat on another computer (a registered terminal) over SSH. Value: exactly the terminal value your host system's terminal registry hands over, {ref, target:{host,user,port}, trustRevision, and credentialRevision or credential {handle, revision}}; copy it unchanged, never invent or edit it, never use a host name or ssh command instead. Omit it to launch on this computer. Give cwd in the same call: the absolute project folder on that terminal. Never launch locally and then cd or ssh. Never put tokens, passwords or other secrets in any argument, prompt or typed text; pass secret values only by name in env_vars. After launch, use session_id alone for pty_send, pty_observe, pty_read, pty_key, claude_turn, agent_stop and pty_close; Aiterm routes them to the terminal. Errors and next step: TERMINAL_INVALID = malformed value, missing/relative cwd, or combined with remote: pass the registry's value unchanged with cwd. TARGET_MISMATCH / BINDING_UNKNOWN = the value is not this terminal's binding: ask the terminal registry again. HOST_TRUST_STALE / CREDENTIAL_REVISION_STALE = the binding changed: get the current value from the terminal registry and launch again. HOST_KEY_MISMATCH / HOST_TRUST_MISSING = the terminal's host key is not the trusted one: the Owner must confirm the new host key; do not retry. CREDENTIAL_REQUIRED / CREDENTIAL_NOT_LOADED = this terminal's key comes from a credential handle that the registry must load first; never paste a key anywhere. AUTH_FAILED = the terminal refused the key. UNREACHABLE = the terminal is offline; try later. REMOTE_AITERM_TOO_OLD = update Aiterm on the terminal. CWD_UNAVAILABLE = the folder does not exist there; do not pick another folder. SEAT_FORWARD_UNAVAILABLE = the seat's MCP route back to this computer is not ready; launch again later. TERMINAL_HARNESS_UNSUPPORTED = use harness claude-code.",
+         "properties": {
+           "credential": {
+             "additionalProperties": false,
+             "properties": {
+               "handle": {
+                 "format": "uuid",
+                 "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+                 "type": "string"
+               },
+               "revision": {
+                 "exclusiveMinimum": 0,
+                 "maximum": 9007199254740991,
+                 "type": "integer"
+               }
+             },
+             "required": [
+               "handle",
+               "revision"
+             ],
+             "type": "object"
+           },
+           "credentialRevision": {
+             "pattern": "^sha256:[0-9a-f]{64}$",
+             "type": "string"
+           },
+           "ref": {
+             "format": "uuid",
+             "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+             "type": "string"
+           },
+           "sudoCredential": {
+             "additionalProperties": false,
+             "properties": {
+               "handle": {
+                 "format": "uuid",
+                 "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+                 "type": "string"
+               },
+               "revision": {
+                 "exclusiveMinimum": 0,
+                 "maximum": 9007199254740991,
+                 "type": "integer"
+               }
+             },
+             "required": [
+               "handle",
+               "revision"
+             ],
+             "type": "object"
+           },
+           "target": {
+             "additionalProperties": false,
+             "properties": {
+               "host": {
+                 "minLength": 1,
+                 "type": "string"
+               },
+               "port": {
+                 "maximum": 65535,
+                 "minimum": 1,
+                 "type": "integer"
+               },
+               "user": {
+                 "minLength": 1,
+                 "type": "string"
+               }
+             },
+             "required": [
+               "host",
+               "user",
+               "port"
+             ],
+             "type": "object"
+           },
+           "trustRevision": {
+             "pattern": "^sha256:[0-9a-f]{64}$",
+             "type": "string"
+           }
+         },
+         "required": [
+           "ref",
+           "target",
+           "trustRevision"
+         ],
+         "type": "object"
+       },
        "throughline_source_session": {
          "description": "同一端末のThroughline sessionから所有権を変えずに記憶を読み、promptのmissionより前へ注入する",
          "minLength": 1,

Changed 2026-11-08 13:10 UTC

1 description rewritten, 4 schema or annotation changes with the description left byte-identical.

--- pinned/agent_auth
+++ observed/agent_auth
  {
    "description": "各harnessの公式CLI認証を開始・確認・取消する。CLIごとのコマンドと認証URL/codeの抽出はAitermが所有し、資格情報は各CLIだけが保存する。auth_uiの段階と公式URL・選択肢を表示する。入力はrespondで同じbindingへ送り、pty_send/pty_keyへ認証コードを渡さない。authenticatedは認証の結果であり、agent_launchの起動準備完了とは別。remoteは他toolと同じ標準対応。startは公式の状態が認証済みなら何も起こさずauthenticatedを返す。relogin:trueを付けると、認証済みに見えても公式ログインを開始する(別のアカウントへ入り直す時、ログインの期限切れを状態から見抜けない時)。Aitermは資格情報を消さず、置き換えは公式CLIが行う。Codexの公式ログインは、始めた時点で元のログインを消す(途中でcancelしても戻らない)。Antigravityのreloginは未対応を返す。",
    "execution": {
+       "configuration_root": {
+         "description": "claude-code harnessだけ。認証する設定root(CLAUDE_CONFIG_DIR)。受ける範囲はagent_launchと同じ。startで決めたrootと違う指定はAGENT_CONFIGURATION_ROOT_REJECTED",
+         "minLength": 1,
+         "type": "string"
+       },
        "cwd": {
          "description": "公式CLIを実行する作業ディレクトリの絶対パス",
          "type": "string"
+       "account_label": {
+         "description": "claude-code harnessでauthenticatedの時だけ。公式statusのe-mail(表示用、資格情報ではない)。読めない時はnull",
+         "type": [
+           "string",
+           "null"
+         ]
+       },
        "auth_ui": {
          "additionalProperties": false,
          "properties": {
--- pinned/agent_launch
+++ observed/agent_launch
  {
    "description": "エージェントを単一の標準入口から永続sessionへ起動する。harnessはagent loop・認証・hook・transcriptを所有する実行基盤、modelはそのharnessが選ぶ推論モデルであり別軸。Cursor harnessからGPT/Claude/Grok等を選んでも完了相関はCursor方式のまま。ComposerはCursorのmodelの一つで、harnessでもGrokのmodelでもない。harness=cursor-cli と model=composer-2.5-fast(またはcomposer-2.5)で指定する。remoteを付けると、SSHで入った別端末のAitermで同じ起動を行い、完了は同じ形で親へ届く。通常CLIと同じHOME・cwd・project/user/local設定・MCP・plugin・skill・permission/trustを共有する。aitermは完了相関stateだけをlaunch単位で所有する。起動されたagentにはsub-agent自己認識、親session、delegation depth/lineage、delegation_allowed=trueを注入し、必要な追加委譲は許可する。dispatch した子は投げっぱなしでよい=親はここで待たない。Codex親とClaude Code親にはAitermが回答本文を自動配送する。parent_deliveryがある場合はwait起動も通常の回答回収も不要。親は作業を続けるかターンを終える。Cursor親にはparent_deliveryとwait_processが付く。作業を続ければ次のツール返りに回答が差し込まれ、ターンを終える前にwait_processを背景で起動するとidle中の完了でも起きられる。ポーリングとpty_read(agent_transcript:true)は不要。その他の親では、完了通知をreceiptの `wait_process.executable` と `wait_process.args` をそのまま親のターンを塞がない別プロセスAPIへ渡して受け、PowerShell 7のStart-Processだけは `windows_start_process_argument_list` を単一文字列として渡す。exit を完了通知として扱う(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要)。`wait_command` は人間向け互換表示でありprocess境界へ使わない。foreground実行で親のターンを塞がない。自動配送以外の結果回収は pty_read(agent_transcript:true)。",
    "execution": {
+       "configuration_root": {
+         "description": "Claude Codeの設定root(CLAUDE_CONFIG_DIR)の絶対パス。既定のroot(~/.claude、CLAUDE_CONFIG_DIRなし)か、AITERM_CLAUDE_CONFIG_ROOTSに並べた親の直下だけ。他はAGENT_CONFIGURATION_ROOT_REJECTED。休止席の再開では、新しいrootに同じ会話の記録がある時だけ替えられる。claude-code harnessだけ",
+         "minLength": 1,
+         "type": "string"
+       },
        "cwd": {
          "description": "作業ディレクトリ(絶対パス・任意)",
          "type": [
--- pinned/claude_agent
+++ observed/claude_agent
  {
    "description": "【旧互換alias。新規連携は agent_launch(harness=claude-code)】Claude Codeの対話エージェントTUIを永続端末に起動する。`claude -p`ではなく、同じ利用者可視sessionへpty_sendで継続入力する。通常CLIと同じHOME・cwd・project/user/local設定・MCP・plugin・skill・permission/trustを共有する。aitermは完了相関stateだけをlaunch単位で所有する。起動されたagentにはsub-agent自己認識、親session、delegation depth/lineage、delegation_allowed=trueを注入し、必要な追加委譲は許可する。通常settingsへlaunch固有Stop hook settingsを加算する。起動前に共有認証を構造化確認し、未認証ならsessionを作らない。dispatch した子は投げっぱなしでよい=親はここで待たない。Codex親とClaude Code親にはAitermが回答本文を自動配送する。parent_deliveryがある場合はwait起動も通常の回答回収も不要。親は作業を続けるかターンを終える。Cursor親にはparent_deliveryとwait_processが付く。作業を続ければ次のツール返りに回答が差し込まれ、ターンを終える前にwait_processを背景で起動するとidle中の完了でも起きられる。ポーリングとpty_read(agent_transcript:true)は不要。その他の親では、完了通知をreceiptの `wait_process.executable` と `wait_process.args` をそのまま親のターンを塞がない別プロセスAPIへ渡して受け、PowerShell 7のStart-Processだけは `windows_start_process_argument_list` を単一文字列として渡す。exit を完了通知として扱う(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要)。`wait_command` は人間向け互換表示でありprocess境界へ使わない。foreground実行で親のターンを塞がない。自動配送以外の結果回収は pty_read(agent_transcript:true)。Claude の durable turn は claude_turn でも回収できる。",
    "execution": {
+       "configuration_root": {
+         "description": "Claude Codeの設定root(CLAUDE_CONFIG_DIR)の絶対パス。既定のroot(~/.claude、CLAUDE_CONFIG_DIRなし)か、AITERM_CLAUDE_CONFIG_ROOTSに並べた親の直下だけ。他はAGENT_CONFIGURATION_ROOT_REJECTED。休止席の再開では、新しいrootに同じ会話の記録がある時だけ替えられる",
+         "minLength": 1,
+         "type": "string"
+       },
        "cwd": {
          "description": "作業ディレクトリ(対象リポのルート等・任意)",
          "type": [
--- pinned/pty_close
+++ observed/pty_close
  {
-   "description": "セッションを閉じ、ログ/読取位置を破棄する。同じsession_idへの再試行は安全で、closed/already_closedのstructured receiptを返す。",
+   "description": "セッションを閉じ、ログ/読取位置を破棄する。同じsession_idへの再試行は安全で、closed/already_closedのstructured receiptを返す。hibernate:trueはClaude・Codexのagent席を今すぐ休止し(idle時計と同じ手順)、会話と再開情報を残してhibernatedを返す。次のagent_launch(session_name)が同じ会話へ再開する。turn・子process・子への配送が動いている間はAGENT_BUSYで断る(終わってから呼び直す)。Claudeの席が利用上限でturnを終えている時(最後の入力の後の会話記録がrate_limited)は、上限の待ち画面のままでも休止できる。他の理由で休止できない時はAGENT_HIBERNATE_UNAVAILABLE、席は触らない。",
    "execution": {
      "taskSupport": "forbidden"
    },
+       "hibernate": {
+         "description": "trueで閉じずに休止する(会話と再開情報を残す)。既定false",
+         "type": "boolean"
+       },
        "remote": {
          "additionalProperties": false,
          "description": "別端末のAitermで実行する時のSSH接続情報。hostだけならssh_configの接続名として使う。Aitermは接続情報を保存・管理しない。passphraseは会話記録に残るため、ssh-agentかpassphrase_env(環境変数名)を推奨する。",
-           "already_closed"
+           "already_closed",
+           "hibernated"
          ],
          "type": "string"
        },
--- pinned/pty_read
+++ observed/pty_read
  {
    "description": "セッションの出力をトークン削減して読む(既定は前回読取位置からの増分)。削減: 制御文字除去 / 反復圧縮 / head+tail 折りたたみ+復元ヒント+メタ併記。agent_transcript:true は agent session の直近完了ターンの最終 assistant メッセージを公開されたharness記録から平文で返す。回答が空で終わったターンは誤りにせず、空のtextとanswer_empty:trueを返す。長い回答が screen tail で切れた時の回収用。",
    "execution": {
+       "input_id": {
+         "anyOf": [
+           {
+             "pattern": "^[a-f0-9]{32}$",
+             "type": "string"
+           },
+           {
+             "type": "null"
+           }
+         ],
+         "description": "Claudeのpty_send dispatch receiptのinput_id。agent_transcript:true時だけ指定し、その入力の番の回答を読む。後の番が動いていても拒否しない。未完了はAITERM_TRANSCRIPT_INPUT_PENDING、後の番の結果で置換済みはAITERM_TRANSCRIPT_INPUT_REPLACED"
+       },
        "line_range": {
          "description": "全文からの行範囲 \"A:B\"",
          "type": [

Changed 2026-11-06 14:09 UTC

1 schema or annotation change with the description left byte-identical.

--- pinned/agent_launch
+++ observed/agent_launch
  {
    "description": "エージェントを単一の標準入口から永続sessionへ起動する。harnessはagent loop・認証・hook・transcriptを所有する実行基盤、modelはそのharnessが選ぶ推論モデルであり別軸。Cursor harnessからGPT/Claude/Grok等を選んでも完了相関はCursor方式のまま。ComposerはCursorのmodelの一つで、harnessでもGrokのmodelでもない。harness=cursor-cli と model=composer-2.5-fast(またはcomposer-2.5)で指定する。remoteを付けると、SSHで入った別端末のAitermで同じ起動を行い、完了は同じ形で親へ届く。通常CLIと同じHOME・cwd・project/user/local設定・MCP・plugin・skill・permission/trustを共有する。aitermは完了相関stateだけをlaunch単位で所有する。起動されたagentにはsub-agent自己認識、親session、delegation depth/lineage、delegation_allowed=trueを注入し、必要な追加委譲は許可する。dispatch した子は投げっぱなしでよい=親はここで待たない。Codex親とClaude Code親にはAitermが回答本文を自動配送する。parent_deliveryがある場合はwait起動も通常の回答回収も不要。親は作業を続けるかターンを終える。Cursor親にはparent_deliveryとwait_processが付く。作業を続ければ次のツール返りに回答が差し込まれ、ターンを終える前にwait_processを背景で起動するとidle中の完了でも起きられる。ポーリングとpty_read(agent_transcript:true)は不要。その他の親では、完了通知をreceiptの `wait_process.executable` と `wait_process.args` をそのまま親のターンを塞がない別プロセスAPIへ渡して受け、PowerShell 7のStart-Processだけは `windows_start_process_argument_list` を単一文字列として渡す。exit を完了通知として扱う(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要)。`wait_command` は人間向け互換表示でありprocess境界へ使わない。foreground実行で親のターンを塞がない。自動配送以外の結果回収は pty_read(agent_transcript:true)。",
    "execution": {
+       "require_existing_resume": {
+         "description": "Resume an existing saved conversation only; missing or unsupported target never creates a new session. Requires session_name and no prompt; local-only.",
+         "type": "boolean"
+       },
        "session_name": {
          "description": "Aiterm session名(省略で自動採番)",
          "type": [

Changed 2026-11-03 14:02 UTC

9 schema or annotation changes with the description left byte-identical.

--- pinned/agent_configure
+++ observed/agent_configure
  {
    "description": "起動済みのClaude/Codex/Grok/Cursor/Antigravity agent sessionを再起動せず、会話contextを保ったままmodel/reasoning effort/fastを変更する。各harnessのCLI標準model操作を使う。Cursorのreasoning_effort変更はmodelと同時指定する。Claude Codeの席では /model の選ぶ画面の「この会話だけ」(s)で替え、端末の ~/.claude/settings.json の既定は書き換えない。その選び方が無い版、選ぶ画面に無いmodel、そのmodelで選べないeffortは、何も変えずに断る。fastだけの指定も受ける。ファスト(harnessの高速の応答。費用や利用量が増える)。席は必ず通常の速度で起きる。trueはその席をfastへ切り替え、falseは通常の速度にする(fastに対応していないmodelでもfalseは受ける)。切り替えは席だけに留め、harnessが利用者の既定へ書いた分は切り替えの直前の値へ戻す。断りは文の先頭の符号で分かる: FAST_MODE_NOT_SUPPORTED(そのmodelは対応していない)、FAST_MODE_UNAVAILABLE(アカウントや契約で使えない)、FAST_MODE_MODEL_CONFLICT(modelへfast版のIDを書いてfalseを渡した)、FAST_MODE_UNCONFIRMED(切り替えた後の状態を確かめられない)。",
    "execution": {
+       "action": {
+         "description": "省略は従来apply。reconcileはrequestへ固定した保存結果だけを読み、入力や再適用を行わない",
+         "enum": [
+           "apply",
+           "reconcile"
+         ],
+         "type": "string"
+       },
        "fast": {
          "description": "変更後のfast。省略時は、その席の今の状態を変えない",
          "type": [
+       "request": {
+         "additionalProperties": false,
+         "description": "追跡する新規apply/reconcileの原要求。idは初回発行前に保存するUUID、launch_idは期待世代、digestは正規化した要求値のSHA256。旧事故への後付け不可",
+         "properties": {
+           "digest": {
+             "pattern": "^[a-f0-9]{64}$",
+             "type": "string"
+           },
+           "id": {
+             "format": "uuid",
+             "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+             "type": "string"
+           },
+           "launch_id": {
+             "pattern": "^[a-f0-9]{32}$",
+             "type": "string"
+           }
+         },
+         "required": [
+           "id",
+           "launch_id",
+           "digest"
+         ],
+         "type": "object"
+       },
        "session_id": {
          "pattern": "^[A-Za-z0-9_-]{1,64}$",
          "type": "string"
+       "binding": {
+         "additionalProperties": false,
+         "properties": {
+           "digest": {
+             "pattern": "^[a-f0-9]{64}$",
+             "type": "string"
+           },
+           "id": {
+             "format": "uuid",
+             "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+             "type": "string"
+           },
+           "launch_id": {
+             "pattern": "^[a-f0-9]{32}$",
+             "type": "string"
+           },
+           "session_id": {
+             "pattern": "^[A-Za-z0-9_-]{1,64}$",
+             "type": "string"
+           }
+         },
+         "required": [
+           "id",
+           "launch_id",
+           "digest",
+           "session_id"
+         ],
+         "type": "object"
+       },
+       "current": {
+         "additionalProperties": false,
+         "properties": {
+           "availability": {
+             "const": "unsupported",
+             "type": "string"
+           }
+         },
+         "required": [
+           "availability"
+         ],
+         "type": "object"
+       },
+       "effect": {
+         "enum": [
+           "not_started",
+           "possible"
+         ],
+         "type": "string"
+       },
        "fast": {
-         "description": "切り替えた後の、席のfastの状態。Aitermが確かめた事の無い席(前の版が起こした席)はnull",
          "type": [
            "boolean",
            "null"
+       "later_effect": {
+         "enum": [
+           "excluded",
+           "unconfirmed"
+         ],
+         "type": "string"
+       },
        "model": {
          "type": [
            "string",
+       "observed_at": {
+         "format": "date-time",
+         "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
+         "type": "string"
+       },
+       "outcome": {
+         "enum": [
+           "applied",
+           "not_applied",
+           "outcome_unknown"
+         ],
+         "type": "string"
+       },
        "provider": {
          "enum": [
            "claude",
+       "request_state": {
+         "enum": [
+           "not_recorded",
+           "unavailable",
+           "pending_or_unknown",
+           "terminal"
+         ],
+         "type": "string"
+       },
+       "result": {
+         "anyOf": [
+           {
+             "additionalProperties": false,
+             "properties": {
+               "fast": {
+                 "type": [
+                   "boolean",
+                   "null"
+                 ]
+               },
+               "harness": {
+                 "enum": [
+                   "claude-code",
+                   "codex-cli",
+                   "grok-cli",
+                   "cursor-cli",
+                   "antigravity-cli"
+                 ],
+                 "type": "string"
+               },
+               "model": {
+                 "type": [
+                   "string",
+                   "null"
+                 ]
+               },
+               "provider": {
+                 "enum": [
+                   "claude",
+                   "codex",
+                   "grok",
+                   "cursor",
+                   "antigravity"
+                 ],
+                 "type": "string"
+               },
+               "reasoning_effort": {
+                 "type": [
+                   "string",
+                   "null"
+                 ]
+               },
+               "schema": {
+                 "const": "aiterm.agent-configure-result.v1",
+                 "type": "string"
+               },
+               "session_id": {
+                 "type": "string"
+               }
+             },
+             "required": [
+               "schema",
+               "session_id",
+               "provider",
+               "harness",
+               "model",
+               "reasoning_effort",
+               "fast"
+             ],
+             "type": "object"
+           },
+           {
+             "type": "null"
+           }
+         ]
+       },
        "schema": {
-         "const": "aiterm.agent-configure-result.v1",
+         "enum": [
+           "aiterm.agent-configure-result.v1",
+           "aiterm.agent-configure-error.v1",
+           "aiterm.agent-configure-request-result.v1"
+         ],
          "type": "string"
        },
        "session_id": {
-         "pattern": "^[A-Za-z0-9_-]{1,64}$",
          "type": "string"
+       },
+       "terminal_at": {
+         "anyOf": [
+           {
+             "format": "date-time",
+             "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
+             "type": "string"
+           },
+           {
+             "type": "null"
+           }
+         ]
        }
      },
      "required": [
-       "schema",
-       "session_id",
-       "provider",
-       "harness",
-       "model",
-       "reasoning_effort"
+       "schema"
      ],
      "type": "object"
    }
--- pinned/agent_launch
+++ observed/agent_launch
  {
    "description": "エージェントを単一の標準入口から永続sessionへ起動する。harnessはagent loop・認証・hook・transcriptを所有する実行基盤、modelはそのharnessが選ぶ推論モデルであり別軸。Cursor harnessからGPT/Claude/Grok等を選んでも完了相関はCursor方式のまま。ComposerはCursorのmodelの一つで、harnessでもGrokのmodelでもない。harness=cursor-cli と model=composer-2.5-fast(またはcomposer-2.5)で指定する。remoteを付けると、SSHで入った別端末のAitermで同じ起動を行い、完了は同じ形で親へ届く。通常CLIと同じHOME・cwd・project/user/local設定・MCP・plugin・skill・permission/trustを共有する。aitermは完了相関stateだけをlaunch単位で所有する。起動されたagentにはsub-agent自己認識、親session、delegation depth/lineage、delegation_allowed=trueを注入し、必要な追加委譲は許可する。dispatch した子は投げっぱなしでよい=親はここで待たない。Codex親とClaude Code親にはAitermが回答本文を自動配送する。parent_deliveryがある場合はwait起動も通常の回答回収も不要。親は作業を続けるかターンを終える。Cursor親にはparent_deliveryとwait_processが付く。作業を続ければ次のツール返りに回答が差し込まれ、ターンを終える前にwait_processを背景で起動するとidle中の完了でも起きられる。ポーリングとpty_read(agent_transcript:true)は不要。その他の親では、完了通知をreceiptの `wait_process.executable` と `wait_process.args` をそのまま親のターンを塞がない別プロセスAPIへ渡して受け、PowerShell 7のStart-Processだけは `windows_start_process_argument_list` を単一文字列として渡す。exit を完了通知として扱う(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要)。`wait_command` は人間向け互換表示でありprocess境界へ使わない。foreground実行で親のターンを塞がない。自動配送以外の結果回収は pty_read(agent_transcript:true)。",
    "execution": {
+       "input_id": {
+         "pattern": "^[a-f0-9]{32}$",
+         "type": "string"
+       },
        "managed_completion": {
          "type": "boolean"
        },
+           "child_error_kind": {
+             "type": [
+               "string",
+               "null"
+             ]
+           },
+           "child_failure": {
+             "additionalProperties": false,
+             "properties": {
+               "boundary": {
+                 "anyOf": [
+                   {
+                     "additionalProperties": false,
+                     "properties": {
+                       "event_cursor": {
+                         "maximum": 9007199254740991,
+                         "minimum": 0,
+                         "type": "integer"
+                       },
+                       "input_id": {
+                         "pattern": "^[a-f0-9]{32}$",
+                         "type": "string"
+                       },
+                       "operation_id": {
+                         "type": [
+                           "string",
+                           "null"
+                         ]
+                       },
+                       "turn_id": {
+                         "type": [
+                           "string",
+                           "null"
+                         ]
+                       }
+                     },
+                     "required": [
+                       "event_cursor",
+                       "operation_id",
+                       "turn_id"
+                     ],
+                     "type": "object"
+                   },
+                   {
+                     "type": "null"
+                   }
+                 ]
+               },
+               "category": {
+                 "enum": [
+                   "capacity",
+                   "rate_limited",
+                   "transient",
+                   "other"
+                 ],
+                 "type": "string"
+               },
+               "execution": {
+                 "enum": [
+                   "not_started",
+                   "started",
+                   "unknown"
+                 ],
+                 "type": "string"
+               },
+               "future_effects": {
+                 "const": "unknown",
+                 "type": "string"
+               },
+               "terminal": {
+                 "type": "boolean"
+               }
+             },
+             "required": [
+               "category",
+               "execution",
+               "boundary",
+               "terminal",
+               "future_effects"
+             ],
+             "type": "object"
+           },
            "child_outcome": {
              "anyOf": [
                {
+           "child_vendor_session_id": {
+             "type": [
+               "string",
+               "null"
+             ]
+           },
            "delivery_id": {
              "type": "string"
            },
--- pinned/claude_agent
+++ observed/claude_agent
  {
    "description": "【旧互換alias。新規連携は agent_launch(harness=claude-code)】Claude Codeの対話エージェントTUIを永続端末に起動する。`claude -p`ではなく、同じ利用者可視sessionへpty_sendで継続入力する。通常CLIと同じHOME・cwd・project/user/local設定・MCP・plugin・skill・permission/trustを共有する。aitermは完了相関stateだけをlaunch単位で所有する。起動されたagentにはsub-agent自己認識、親session、delegation depth/lineage、delegation_allowed=trueを注入し、必要な追加委譲は許可する。通常settingsへlaunch固有Stop hook settingsを加算する。起動前に共有認証を構造化確認し、未認証ならsessionを作らない。dispatch した子は投げっぱなしでよい=親はここで待たない。Codex親とClaude Code親にはAitermが回答本文を自動配送する。parent_deliveryがある場合はwait起動も通常の回答回収も不要。親は作業を続けるかターンを終える。Cursor親にはparent_deliveryとwait_processが付く。作業を続ければ次のツール返りに回答が差し込まれ、ターンを終える前にwait_processを背景で起動するとidle中の完了でも起きられる。ポーリングとpty_read(agent_transcript:true)は不要。その他の親では、完了通知をreceiptの `wait_process.executable` と `wait_process.args` をそのまま親のターンを塞がない別プロセスAPIへ渡して受け、PowerShell 7のStart-Processだけは `windows_start_process_argument_list` を単一文字列として渡す。exit を完了通知として扱う(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要)。`wait_command` は人間向け互換表示でありprocess境界へ使わない。foreground実行で親のターンを塞がない。自動配送以外の結果回収は pty_read(agent_transcript:true)。Claude の durable turn は claude_turn でも回収できる。",
    "execution": {
+       "input_id": {
+         "pattern": "^[a-f0-9]{32}$",
+         "type": "string"
+       },
        "managed_completion": {
          "description": "後方互換field。trueはaiterm完了相関が有効という意味で、project/user環境の隔離を意味しない",
          "type": "boolean"
+           "child_error_kind": {
+             "type": [
+               "string",
+               "null"
+             ]
+           },
+           "child_failure": {
+             "additionalProperties": false,
+             "properties": {
+               "boundary": {
+                 "anyOf": [
+                   {
+                     "additionalProperties": false,
+                     "properties": {
+                       "event_cursor": {
+                         "maximum": 9007199254740991,
+                         "minimum": 0,
+                         "type": "integer"
+                       },
+                       "input_id": {
+                         "pattern": "^[a-f0-9]{32}$",
+                         "type": "string"
+                       },
+                       "operation_id": {
+                         "type": [
+                           "string",
+                           "null"
+                         ]
+                       },
+                       "turn_id": {
+                         "type": [
+                           "string",
+                           "null"
+                         ]
+                       }
+                     },
+                     "required": [
+                       "event_cursor",
+                       "operation_id",
+                       "turn_id"
+                     ],
+                     "type": "object"
+                   },
+                   {
+                     "type": "null"
+                   }
+                 ]
+               },
+               "category": {
+                 "enum": [
+                   "capacity",
+                   "rate_limited",
+                   "transient",
+                   "other"
+                 ],
+                 "type": "string"
+               },
+               "execution": {
+                 "enum": [
+                   "not_started",
+                   "started",
+                   "unknown"
+                 ],
+                 "type": "string"
+               },
+               "future_effects": {
+                 "const": "unknown",
+                 "type": "string"
+               },
+               "terminal": {
+                 "type": "boolean"
+               }
+             },
+             "required": [
+               "category",
+               "execution",
+               "boundary",
+               "terminal",
+               "future_effects"
+             ],
+             "type": "object"
+           },
            "child_outcome": {
              "anyOf": [
                {
+           "child_vendor_session_id": {
+             "type": [
+               "string",
+               "null"
+             ]
+           },
            "delivery_id": {
              "type": "string"
            },
--- pinned/claude_turn
+++ observed/claude_turn
  {
    "description": "aiterm相関付きClaude sessionのdurable operationを構造化issue/recoverするmachine-caller専用面。pending/unknown/completedを人間向けerror文字列の解析なしで返し、Observer固有ロジックは持たない。",
    "execution": {
+           "child_error_kind": {
+             "type": [
+               "string",
+               "null"
+             ]
+           },
+           "child_failure": {
+             "additionalProperties": false,
+             "properties": {
+               "boundary": {
+                 "anyOf": [
+                   {
+                     "additionalProperties": false,
+                     "properties": {
+                       "event_cursor": {
+                         "maximum": 9007199254740991,
+                         "minimum": 0,
+                         "type": "integer"
+                       },
+                       "input_id": {
+                         "pattern": "^[a-f0-9]{32}$",
+                         "type": "string"
+                       },
+                       "operation_id": {
+                         "type": [
+                           "string",
+                           "null"
+                         ]
+                       },
+                       "turn_id": {
+                         "type": [
+                           "string",
+                           "null"
+                         ]
+                       }
+                     },
+                     "required": [
+                       "event_cursor",
+                       "operation_id",
+                       "turn_id"
+                     ],
+                     "type": "object"
+                   },
+                   {
+                     "type": "null"
+                   }
+                 ]
+               },
+               "category": {
+                 "enum": [
+                   "capacity",
+                   "rate_limited",
+                   "transient",
+                   "other"
+                 ],
+                 "type": "string"
+               },
+               "execution": {
+                 "enum": [
+                   "not_started",
+                   "started",
+                   "unknown"
+                 ],
+                 "type": "string"
+               },
+               "future_effects": {
+                 "const": "unknown",
+                 "type": "string"
+               },
+               "terminal": {
+                 "type": "boolean"
+               }
+             },
+             "required": [
+               "category",
+               "execution",
+               "boundary",
+               "terminal",
+               "future_effects"
+             ],
+             "type": "object"
+           },
            "child_outcome": {
              "anyOf": [
                {
+           "child_vendor_session_id": {
+             "type": [
+               "string",
+               "null"
+             ]
+           },
            "delivery_id": {
              "type": "string"
            },
--- pinned/codex_agent
+++ observed/codex_agent
  {
    "description": "【旧互換alias。新規連携は agent_launch(harness=codex-cli)】Codexの対話エージェント TUI を永続端末に起動する。実装・レビュー・調査を対話で回す。通常CLIと同じHOME・cwd・project/user/local設定・MCP・plugin・skill・permission/trustを共有する。aitermは完了相関stateだけをlaunch単位で所有する。起動されたagentにはsub-agent自己認識、親session、delegation depth/lineage、delegation_allowed=trueを注入し、必要な追加委譲は許可する。委譲契約を使う完全な呼び出し例: `codex_agent({\"prompt\":\"<依頼>\",\"model\":\"gpt-5.6-sol\",\"reasoning_effort\":\"high\",\"cwd\":\"/absolute/path/to/repo\",\"write_scope\":\"read-only\"})`。turn は pty_send で送る(自動で非ブロック dispatch になる)。dispatch した子は投げっぱなしでよい=親はここで待たない。Codex親とClaude Code親にはAitermが回答本文を自動配送する。parent_deliveryがある場合はwait起動も通常の回答回収も不要。親は作業を続けるかターンを終える。Cursor親にはparent_deliveryとwait_processが付く。作業を続ければ次のツール返りに回答が差し込まれ、ターンを終える前にwait_processを背景で起動するとidle中の完了でも起きられる。ポーリングとpty_read(agent_transcript:true)は不要。その他の親では、完了通知をreceiptの `wait_process.executable` と `wait_process.args` をそのまま親のターンを塞がない別プロセスAPIへ渡して受け、PowerShell 7のStart-Processだけは `windows_start_process_argument_list` を単一文字列として渡す。exit を完了通知として扱う(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要)。`wait_command` は人間向け互換表示でありprocess境界へ使わない。foreground実行で親のターンを塞がない。自動配送以外の結果回収は pty_read(agent_transcript:true)。model / reasoning_effort を引数で指定可(省略時は端末 config/CLI 既定を継承。実効値は起動応答に明示)。",
    "execution": {
+       "input_id": {
+         "pattern": "^[a-f0-9]{32}$",
+         "type": "string"
+       },
        "managed_completion": {
          "description": "後方互換field。trueはaiterm完了相関が有効という意味で、project/user環境の隔離を意味しない",
          "type": "boolean"
+           "child_error_kind": {
+             "type": [
+               "string",
+               "null"
+             ]
+           },
+           "child_failure": {
+             "additionalProperties": false,
+             "properties": {
+               "boundary": {
+                 "anyOf": [
+                   {
+                     "additionalProperties": false,
+                     "properties": {
+                       "event_cursor": {
+                         "maximum": 9007199254740991,
+                         "minimum": 0,
+                         "type": "integer"
+                       },
+                       "input_id": {
+                         "pattern": "^[a-f0-9]{32}$",
+                         "type": "string"
+                       },
+                       "operation_id": {
+                         "type": [
+                           "string",
+                           "null"
+                         ]
+                       },
+                       "turn_id": {
+                         "type": [
+                           "string",
+                           "null"
+                         ]
+                       }
+                     },
+                     "required": [
+                       "event_cursor",
+                       "operation_id",
+                       "turn_id"
+                     ],
+                     "type": "object"
+                   },
+                   {
+                     "type": "null"
+                   }
+                 ]
+               },
+               "category": {
+                 "enum": [
+                   "capacity",
+                   "rate_limited",
+                   "transient",
+                   "other"
+                 ],
+                 "type": "string"
+               },
+               "execution": {
+                 "enum": [
+                   "not_started",
+                   "started",
+                   "unknown"
+                 ],
+                 "type": "string"
+               },
+               "future_effects": {
+                 "const": "unknown",
+                 "type": "string"
+               },
+               "terminal": {
+                 "type": "boolean"
+               }
+             },
+             "required": [
+               "category",
+               "execution",
+               "boundary",
+               "terminal",
+               "future_effects"
+             ],
+             "type": "object"
+           },
            "child_outcome": {
              "anyOf": [
                {
+           "child_vendor_session_id": {
+             "type": [
+               "string",
+               "null"
+             ]
+           },
            "delivery_id": {
              "type": "string"
            },
--- pinned/diagnostics
+++ observed/diagnostics
  {
    "description": "Factory 向け read-only 診断。安全な状態語彙だけを機械可読 JSON で返す(PTY 内容・認証情報・path・環境値は返さない)。2つ目のtextは親配送hook(Claude Code・Cursor)の登録状態で、caller_status が setup_required なら呼出元からのagent送信は拒否される。aiterm-setup を実行する。",
    "execution": {
-     "properties": {},
+     "properties": {
+       "format": {
+         "description": "既定v1は既存の固定fieldを維持。v2はPTY診断の安全なreason_codeを含む。",
+         "enum": [
+           "v1",
+           "v2"
+         ],
+         "type": "string"
+       }
+     },
      "type": "object"
    },
    "name": "diagnostics"
--- pinned/grok_agent
+++ observed/grok_agent
  {
    "description": "【旧互換alias。新規連携は agent_launch(harness=grok-cli)】Grok BuildのGrokモデル(既定 grok-4.6)の対話エージェント TUIを永続端末に起動する。通常CLIと同じHOME・cwd・project/user/local設定・MCP・plugin・skill・permission/trustを共有する。aitermは完了相関stateだけをlaunch単位で所有する。起動されたagentにはsub-agent自己認識、親session、delegation depth/lineage、delegation_allowed=trueを注入し、必要な追加委譲は許可する。turn は pty_send で送る(自動で非ブロック dispatch になる)。dispatch した子は投げっぱなしでよい=親はここで待たない。Codex親とClaude Code親にはAitermが回答本文を自動配送する。parent_deliveryがある場合はwait起動も通常の回答回収も不要。親は作業を続けるかターンを終える。Cursor親にはparent_deliveryとwait_processが付く。作業を続ければ次のツール返りに回答が差し込まれ、ターンを終える前にwait_processを背景で起動するとidle中の完了でも起きられる。ポーリングとpty_read(agent_transcript:true)は不要。その他の親では、完了通知をreceiptの `wait_process.executable` と `wait_process.args` をそのまま親のターンを塞がない別プロセスAPIへ渡して受け、PowerShell 7のStart-Processだけは `windows_start_process_argument_list` を単一文字列として渡す。exit を完了通知として扱う(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要)。`wait_command` は人間向け互換表示でありprocess境界へ使わない。foreground実行で親のターンを塞がない。自動配送以外の結果回収は pty_read(agent_transcript:true)。model/reasoning_effortを引数で指定可。read-only sandboxとagent_configureに対応。",
    "execution": {
+       "input_id": {
+         "pattern": "^[a-f0-9]{32}$",
+         "type": "string"
+       },
        "managed_completion": {
          "description": "後方互換field。trueはaiterm完了相関が有効という意味で、project/user環境の隔離を意味しない",
          "type": "boolean"
+           "child_error_kind": {
+             "type": [
+               "string",
+               "null"
+             ]
+           },
+           "child_failure": {
+             "additionalProperties": false,
+             "properties": {
+               "boundary": {
+                 "anyOf": [
+                   {
+                     "additionalProperties": false,
+                     "properties": {
+                       "event_cursor": {
+                         "maximum": 9007199254740991,
+                         "minimum": 0,
+                         "type": "integer"
+                       },
+                       "input_id": {
+                         "pattern": "^[a-f0-9]{32}$",
+                         "type": "string"
+                       },
+                       "operation_id": {
+                         "type": [
+                           "string",
+                           "null"
+                         ]
+                       },
+                       "turn_id": {
+                         "type": [
+                           "string",
+                           "null"
+                         ]
+                       }
+                     },
+                     "required": [
+                       "event_cursor",
+                       "operation_id",
+                       "turn_id"
+                     ],
+                     "type": "object"
+                   },
+                   {
+                     "type": "null"
+                   }
+                 ]
+               },
+               "category": {
+                 "enum": [
+                   "capacity",
+                   "rate_limited",
+                   "transient",
+                   "other"
+                 ],
+                 "type": "string"
+               },
+               "execution": {
+                 "enum": [
+                   "not_started",
+                   "started",
+                   "unknown"
+                 ],
+                 "type": "string"
+               },
+               "future_effects": {
+                 "const": "unknown",
+                 "type": "string"
+               },
+               "terminal": {
+                 "type": "boolean"
+               }
+             },
+             "required": [
+               "category",
+               "execution",
+               "boundary",
+               "terminal",
+               "future_effects"
+             ],
+             "type": "object"
+           },
            "child_outcome": {
              "anyOf": [
                {
+           "child_vendor_session_id": {
+             "type": [
+               "string",
+               "null"
+             ]
+           },
            "delivery_id": {
              "type": "string"
            },
--- pinned/pty_observe
+++ observed/pty_observe
  {
    "description": "指定sessionの存在、paneとharnessの生存、状態と理由、native process identity、画面変化とCPU活動を構造化して観測する。画面本文と生argvは返さない。",
    "execution": {
+             "child_error_kind": {
+               "type": [
+                 "string",
+                 "null"
+               ]
+             },
+             "child_failure": {
+               "additionalProperties": false,
+               "properties": {
+                 "boundary": {
+                   "anyOf": [
+                     {
+                       "additionalProperties": false,
+                       "properties": {
+                         "event_cursor": {
+                           "maximum": 9007199254740991,
+                           "minimum": 0,
+                           "type": "integer"
+                         },
+                         "input_id": {
+                           "pattern": "^[a-f0-9]{32}$",
+                           "type": "string"
+                         },
+                         "operation_id": {
+                           "type": [
+                             "string",
+                             "null"
+                           ]
+                         },
+                         "turn_id": {
+                           "type": [
+                             "string",
+                             "null"
+                           ]
+                         }
+                       },
+                       "required": [
+                         "event_cursor",
+                         "operation_id",
+                         "turn_id"
+                       ],
+                       "type": "object"
+                     },
+                     {
+                       "type": "null"
+                     }
+                   ]
+                 },
+                 "category": {
+                   "enum": [
+                     "capacity",
+                     "rate_limited",
+                     "transient",
+                     "other"
+                   ],
+                   "type": "string"
+                 },
+                 "execution": {
+                   "enum": [
+                     "not_started",
+                     "started",
+                     "unknown"
+                   ],
+                   "type": "string"
+                 },
+                 "future_effects": {
+                   "const": "unknown",
+                   "type": "string"
+                 },
+                 "terminal": {
+                   "type": "boolean"
+                 }
+               },
+               "required": [
+                 "category",
+                 "execution",
+                 "boundary",
+                 "terminal",
+                 "future_effects"
+               ],
+               "type": "object"
+             },
              "child_outcome": {
                "anyOf": [
                  {
+             "child_vendor_session_id": {
+               "type": [
+                 "string",
+                 "null"
+               ]
+             },
              "delivery_id": {
                "type": "string"
              },
--- pinned/pty_send
+++ observed/pty_send
  {
    "description": "セッションへテキストを送る。通常PTYへは送信のみ(出力は pty_read で取得)。agent session(launcher起動)への送信はこのtoolだけで行い、子の状態はAitermが送る時点で見て振り分ける。子のturnが実行中なら各harness標準の操作で現在のturnへ差し込み(mode=agent_steer)、完了は差し込み後の作業の終わりに元の依頼への1回だけ届く。新しいevent_cursorと配送は作らない。それ以外は新しいturnとしてdispatchし(mode=agent_dispatch)、TUI の ready gate と submit 分離を通して即返り、receipt の event_cursor を返す。dispatch した子は投げっぱなしでよい=親はここで待たない。Codex親とClaude Code親にはAitermが回答本文を自動配送する。parent_deliveryがある場合はwait起動も通常の回答回収も不要。親は作業を続けるかターンを終える。Cursor親にはparent_deliveryとwait_processが付く。作業を続ければ次のツール返りに回答が差し込まれ、ターンを終える前にwait_processを背景で起動するとidle中の完了でも起きられる。ポーリングとpty_read(agent_transcript:true)は不要。その他の親では、完了通知をreceiptの `wait_process.executable` と `wait_process.args` をそのまま親のターンを塞がない別プロセスAPIへ渡して受け、PowerShell 7のStart-Processだけは `windows_start_process_argument_list` を単一文字列として渡す。exit を完了通知として扱う(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要)。`wait_command` は人間向け互換表示でありprocess境界へ使わない。foreground実行で親のターンを塞がない。自動配送以外の結果回収は pty_read(agent_transcript:true)、Claude の durable turn は claude_turn を使う。require_agent:true はagent登録が無いsessionへ打鍵せず、AGENT_SESSION_REQUIREDで未送信を返す。preface はagent sessionへの送信で本文の前に置く1行。Claude Codeの席では貼り付けの印なしで入れ、本文だけを貼る(前置きが貼り付けの包みの外へ出る)。他のharnessでは前置き・空行・本文を1つで貼る。force:true は非Claude agent sessionへの手動介入用の素送信。aiterm相関付きClaudeの承認UIはclaude_approvalを使う。",
    "execution": {
+       "input_id": {
+         "pattern": "^[a-f0-9]{32}$",
+         "type": "string"
+       },
        "launch_id": {
          "type": [
            "string",
+           "child_error_kind": {
+             "type": [
+               "string",
+               "null"
+             ]
+           },
+           "child_failure": {
+             "additionalProperties": false,
+             "properties": {
+               "boundary": {
+                 "anyOf": [
+                   {
+                     "additionalProperties": false,
+                     "properties": {
+                       "event_cursor": {
+                         "maximum": 9007199254740991,
+                         "minimum": 0,
+                         "type": "integer"
+                       },
+                       "input_id": {
+                         "pattern": "^[a-f0-9]{32}$",
+                         "type": "string"
+                       },
+                       "operation_id": {
+                         "type": [
+                           "string",
+                           "null"
+                         ]
+                       },
+                       "turn_id": {
+                         "type": [
+                           "string",
+                           "null"
+                         ]
+                       }
+                     },
+                     "required": [
+                       "event_cursor",
+                       "operation_id",
+                       "turn_id"
+                     ],
+                     "type": "object"
+                   },
+                   {
+                     "type": "null"
+                   }
+                 ]
+               },
+               "category": {
+                 "enum": [
+                   "capacity",
+                   "rate_limited",
+                   "transient",
+                   "other"
+                 ],
+                 "type": "string"
+               },
+               "execution": {
+                 "enum": [
+                   "not_started",
+                   "started",
+                   "unknown"
+                 ],
+                 "type": "string"
+               },
+               "future_effects": {
+                 "const": "unknown",
+                 "type": "string"
+               },
+               "terminal": {
+                 "type": "boolean"
+               }
+             },
+             "required": [
+               "category",
+               "execution",
+               "boundary",
+               "terminal",
+               "future_effects"
+             ],
+             "type": "object"
+           },
            "child_outcome": {
              "anyOf": [
                {
+           "child_vendor_session_id": {
+             "type": [
+               "string",
+               "null"
+             ]
+           },
            "delivery_id": {
              "type": "string"
            },

Changed 2026-11-02 15:29 UTC

1 schema or annotation change with the description left byte-identical.

--- pinned/pty_observe
+++ observed/pty_observe
  {
    "description": "指定sessionの存在、paneとharnessの生存、状態と理由、native process identity、画面変化とCPU活動を構造化して観測する。画面本文と生argvは返さない。",
    "execution": {
-           "unknown"
+           "unknown",
+           "hibernated"
          ],
          "type": "string"
        },

Changed 2026-11-01 13:07 UTC

1 schema or annotation change with the description left byte-identical.

--- pinned/pty_list
+++ observed/pty_list
  {
    "description": "握っているセッション一覧(名前 / 現在の前面コマンド / attach 状態 / サイズ / agent 情報)。",
    "execution": {
+             "launch_id": {
+               "description": "一覧取得時のmanaged起動ID。通常PTYやmetadata不明時はnull、旧remote版は省略。操作時のfresh binding検証の代わりにはしない",
+               "type": [
+                 "string",
+                 "null"
+               ]
+             },
              "session_id": {
                "type": "string"
              },

Changed 2026-10-30 12:40 UTC

3 descriptions rewritten, 7 schema or annotation changes with the description left byte-identical.

--- pinned/agent_approval
+++ observed/agent_approval
  {
    "description": "Codexの現在の承認をinspectし、digestへ束縛した単発許可または拒否をrespondする。恒久許可は選ばない。Claudeは既存claude_approvalを使う。未知dialogはblockedのtyped errorで返す。",
    "execution": {
-           "cursor-cli"
+           "cursor-cli",
+           "antigravity-cli"
          ],
          "type": "string"
        },
--- pinned/agent_auth
+++ observed/agent_auth
  {
-   "description": "各harnessの公式CLI認証を開始・確認・取消する。CLIごとのコマンドと認証URL/codeの抽出はAitermが所有し、資格情報は各CLIだけが保存する。auth_uiの段階と公式URL・選択肢を表示する。入力はrespondで同じbindingへ送り、pty_send/pty_keyへ認証コードを渡さない。authenticatedは認証の結果であり、agent_launchの起動準備完了とは別。remoteは他toolと同じ標準対応。startは公式の状態が認証済みなら何も起こさずauthenticatedを返す。relogin:trueを付けると、認証済みに見えても公式ログインを開始する(別のアカウントへ入り直す時、ログインの期限切れを状態から見抜けない時)。Aitermは資格情報を消さず、置き換えは公式CLIが行う。Codexの公式ログインは、始めた時点で元のログインを消す(途中でcancelしても戻らない)。",
+   "description": "各harnessの公式CLI認証を開始・確認・取消する。CLIごとのコマンドと認証URL/codeの抽出はAitermが所有し、資格情報は各CLIだけが保存する。auth_uiの段階と公式URL・選択肢を表示する。入力はrespondで同じbindingへ送り、pty_send/pty_keyへ認証コードを渡さない。authenticatedは認証の結果であり、agent_launchの起動準備完了とは別。remoteは他toolと同じ標準対応。startは公式の状態が認証済みなら何も起こさずauthenticatedを返す。relogin:trueを付けると、認証済みに見えても公式ログインを開始する(別のアカウントへ入り直す時、ログインの期限切れを状態から見抜けない時)。Aitermは資格情報を消さず、置き換えは公式CLIが行う。Codexの公式ログインは、始めた時点で元のログインを消す(途中でcancelしても戻らない)。Antigravityのreloginは未対応を返す。",
    "execution": {
      "taskSupport": "forbidden"
    },
-           "cursor-cli"
+           "cursor-cli",
+           "antigravity-cli"
          ],
          "type": "string"
        },
-           "cursor-cli"
+           "cursor-cli",
+           "antigravity-cli"
          ],
          "type": "string"
        },
--- pinned/agent_configure
+++ observed/agent_configure
  {
-   "description": "起動済みのClaude/Codex/Grok/Cursor agent sessionを再起動せず、会話contextを保ったままmodel/reasoning effort/fastを変更する。各harnessのCLI標準model操作を使う。Cursorのreasoning_effort変更はmodelと同時指定する。Claude Codeの席では /model の選ぶ画面の「この会話だけ」(s)で替え、端末の ~/.claude/settings.json の既定は書き換えない。その選び方が無い版、選ぶ画面に無いmodel、そのmodelで選べないeffortは、何も変えずに断る。fastだけの指定も受ける。ファスト(harnessの高速の応答。費用や利用量が増える)。席は必ず通常の速度で起きる。trueはその席をfastへ切り替え、falseは通常の速度にする(fastに対応していないmodelでもfalseは受ける)。切り替えは席だけに留め、harnessが利用者の既定へ書いた分は切り替えの直前の値へ戻す。断りは文の先頭の符号で分かる: FAST_MODE_NOT_SUPPORTED(そのmodelは対応していない)、FAST_MODE_UNAVAILABLE(アカウントや契約で使えない)、FAST_MODE_MODEL_CONFLICT(modelへfast版のIDを書いてfalseを渡した)、FAST_MODE_UNCONFIRMED(切り替えた後の状態を確かめられない)。",
+   "description": "起動済みのClaude/Codex/Grok/Cursor/Antigravity agent sessionを再起動せず、会話contextを保ったままmodel/reasoning effort/fastを変更する。各harnessのCLI標準model操作を使う。Cursorのreasoning_effort変更はmodelと同時指定する。Claude Codeの席では /model の選ぶ画面の「この会話だけ」(s)で替え、端末の ~/.claude/settings.json の既定は書き換えない。その選び方が無い版、選ぶ画面に無いmodel、そのmodelで選べないeffortは、何も変えずに断る。fastだけの指定も受ける。ファスト(harnessの高速の応答。費用や利用量が増える)。席は必ず通常の速度で起きる。trueはその席をfastへ切り替え、falseは通常の速度にする(fastに対応していないmodelでもfalseは受ける)。切り替えは席だけに留め、harnessが利用者の既定へ書いた分は切り替えの直前の値へ戻す。断りは文の先頭の符号で分かる: FAST_MODE_NOT_SUPPORTED(そのmodelは対応していない)、FAST_MODE_UNAVAILABLE(アカウントや契約で使えない)、FAST_MODE_MODEL_CONFLICT(modelへfast版のIDを書いてfalseを渡した)、FAST_MODE_UNCONFIRMED(切り替えた後の状態を確かめられない)。",
    "execution": {
      "taskSupport": "forbidden"
    },
-           "cursor-cli"
+           "cursor-cli",
+           "antigravity-cli"
          ],
          "type": "string"
        },
-           "cursor"
+           "cursor",
+           "antigravity"
          ],
          "type": "string"
        },
--- pinned/agent_goal
+++ observed/agent_goal
  {
    "description": "Read or manage the CLI's real goal for an exact session/launch. clear removes the goal without stopping its turn; resume requires a paused goal. Editing objective resets native usage accounting. User mutations require trusted host provenance. No goal store or worker is created.",
    "execution": {
-               "cursor-cli"
+               "cursor-cli",
+               "antigravity-cli"
              ],
              "type": "string"
            },
--- pinned/agent_launch
+++ observed/agent_launch
  {
    "description": "エージェントを単一の標準入口から永続sessionへ起動する。harnessはagent loop・認証・hook・transcriptを所有する実行基盤、modelはそのharnessが選ぶ推論モデルであり別軸。Cursor harnessからGPT/Claude/Grok等を選んでも完了相関はCursor方式のまま。ComposerはCursorのmodelの一つで、harnessでもGrokのmodelでもない。harness=cursor-cli と model=composer-2.5-fast(またはcomposer-2.5)で指定する。remoteを付けると、SSHで入った別端末のAitermで同じ起動を行い、完了は同じ形で親へ届く。通常CLIと同じHOME・cwd・project/user/local設定・MCP・plugin・skill・permission/trustを共有する。aitermは完了相関stateだけをlaunch単位で所有する。起動されたagentにはsub-agent自己認識、親session、delegation depth/lineage、delegation_allowed=trueを注入し、必要な追加委譲は許可する。dispatch した子は投げっぱなしでよい=親はここで待たない。Codex親とClaude Code親にはAitermが回答本文を自動配送する。parent_deliveryがある場合はwait起動も通常の回答回収も不要。親は作業を続けるかターンを終える。Cursor親にはparent_deliveryとwait_processが付く。作業を続ければ次のツール返りに回答が差し込まれ、ターンを終える前にwait_processを背景で起動するとidle中の完了でも起きられる。ポーリングとpty_read(agent_transcript:true)は不要。その他の親では、完了通知をreceiptの `wait_process.executable` と `wait_process.args` をそのまま親のターンを塞がない別プロセスAPIへ渡して受け、PowerShell 7のStart-Processだけは `windows_start_process_argument_list` を単一文字列として渡す。exit を完了通知として扱う(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要)。`wait_command` は人間向け互換表示でありprocess境界へ使わない。foreground実行で親のターンを塞がない。自動配送以外の結果回収は pty_read(agent_transcript:true)。",
    "execution": {
-           "cursor-cli"
+           "cursor-cli",
+           "antigravity-cli"
          ],
          "type": "string"
        },
-           "cursor-cli"
+           "cursor-cli",
+           "antigravity-cli"
          ],
          "type": "string"
        },
-           "cursor"
+           "cursor",
+           "antigravity"
          ],
          "type": "string"
        },
--- pinned/agent_models
+++ observed/agent_models
  {
-   "description": "harnessが今返すmodelとreasoning effortの候補を、そのharnessの公式の一覧から取得する。promptもturnも送らず推論を消費しない。Codexはapp-server model/list、Claude Codeはstream-json initializeのmodels、Grokはagent stdio initializeのmodelState、Cursorはcursor-agent modelsを素のmodel IDとeffortへ分けたもの。返るidとeffortsはagent_launch/agent_configureへそのまま渡せる。modelごとのfastは、そのmodelでfastへ切り替えられるか(harnessが返す値)。fast_unavailableは、アカウントの都合でどのmodelでも使えない時の訳。取得不能はMODEL_CATALOG_UNAVAILABLE、形式異常はMODEL_CATALOG_INVALIDのエラーで返し、別の一覧へfallbackしない。remoteを付けると別端末のharnessの候補を返す。",
+   "description": "harnessが今返すmodelとreasoning effortの候補を、そのharnessの公式の一覧から取得する。promptもturnも送らず推論を消費しない。Codexはapp-server model/list、Claude Codeはstream-json initializeのmodels、Grokはagent stdio initializeのmodelState、Cursorはcursor-agent modelsを素のmodel IDとeffortへ分けたもの。Antigravityはagy modelsのeffortを含むIDをそのまま返す。返るidとeffortsはagent_launch/agent_configureへそのまま渡せる。modelごとのfastは、そのmodelでfastへ切り替えられるか(harnessが返す値)。fast_unavailableは、アカウントの都合でどのmodelでも使えない時の訳。取得不能はMODEL_CATALOG_UNAVAILABLE、形式異常はMODEL_CATALOG_INVALIDのエラーで返し、別の一覧へfallbackしない。remoteを付けると別端末のharnessの候補を返す。",
    "execution": {
      "taskSupport": "forbidden"
    },
-           "cursor-cli"
+           "cursor-cli",
+           "antigravity-cli"
          ],
          "type": "string"
        },
-           "cursor-cli"
+           "cursor-cli",
+           "antigravity-cli"
          ],
          "type": "string"
        },
--- pinned/pty_list
+++ observed/pty_list
  {
    "description": "握っているセッション一覧(名前 / 現在の前面コマンド / attach 状態 / サイズ / agent 情報)。",
    "execution": {
-                     "cursor-cli"
+                     "cursor-cli",
+                     "antigravity-cli"
                    ],
                    "type": "string"
                  },
--- pinned/pty_observe
+++ observed/pty_observe
  {
    "description": "指定sessionの存在、paneとharnessの生存、状態と理由、native process identity、画面変化とCPU活動を構造化して観測する。画面本文と生argvは返さない。",
    "execution": {
-               "cursor-cli"
+               "cursor-cli",
+               "antigravity-cli"
              ],
              "type": "string"
            },
--- pinned/pty_read
+++ observed/pty_read
  {
    "description": "セッションの出力をトークン削減して読む(既定は前回読取位置からの増分)。削減: 制御文字除去 / 反復圧縮 / head+tail 折りたたみ+復元ヒント+メタ併記。agent_transcript:true は agent session の直近完了ターンの最終 assistant メッセージを公開されたharness記録から平文で返す。回答が空で終わったターンは誤りにせず、空のtextとanswer_empty:trueを返す。長い回答が screen tail で切れた時の回収用。",
    "execution": {
-               "cursor-cli"
+               "cursor-cli",
+               "antigravity-cli"
              ],
              "type": "string"
            },
-               "cursor"
+               "cursor",
+               "antigravity"
              ],
              "type": "string"
            },
--- pinned/pty_send
+++ observed/pty_send
  {
    "description": "セッションへテキストを送る。通常PTYへは送信のみ(出力は pty_read で取得)。agent session(launcher起動)への送信はこのtoolだけで行い、子の状態はAitermが送る時点で見て振り分ける。子のturnが実行中なら各harness標準の操作で現在のturnへ差し込み(mode=agent_steer)、完了は差し込み後の作業の終わりに元の依頼への1回だけ届く。新しいevent_cursorと配送は作らない。それ以外は新しいturnとしてdispatchし(mode=agent_dispatch)、TUI の ready gate と submit 分離を通して即返り、receipt の event_cursor を返す。dispatch した子は投げっぱなしでよい=親はここで待たない。Codex親とClaude Code親にはAitermが回答本文を自動配送する。parent_deliveryがある場合はwait起動も通常の回答回収も不要。親は作業を続けるかターンを終える。Cursor親にはparent_deliveryとwait_processが付く。作業を続ければ次のツール返りに回答が差し込まれ、ターンを終える前にwait_processを背景で起動するとidle中の完了でも起きられる。ポーリングとpty_read(agent_transcript:true)は不要。その他の親では、完了通知をreceiptの `wait_process.executable` と `wait_process.args` をそのまま親のターンを塞がない別プロセスAPIへ渡して受け、PowerShell 7のStart-Processだけは `windows_start_process_argument_list` を単一文字列として渡す。exit を完了通知として扱う(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要)。`wait_command` は人間向け互換表示でありprocess境界へ使わない。foreground実行で親のターンを塞がない。自動配送以外の結果回収は pty_read(agent_transcript:true)、Claude の durable turn は claude_turn を使う。require_agent:true はagent登録が無いsessionへ打鍵せず、AGENT_SESSION_REQUIREDで未送信を返す。preface はagent sessionへの送信で本文の前に置く1行。Claude Codeの席では貼り付けの印なしで入れ、本文だけを貼る(前置きが貼り付けの包みの外へ出る)。他のharnessでは前置き・空行・本文を1つで貼る。force:true は非Claude agent sessionへの手動介入用の素送信。aiterm相関付きClaudeの承認UIはclaude_approvalを使う。",
    "execution": {
-         "description": "agent session への送信(forceなし)で、本文の前に置く1行。送る文は「preface・空行・text」の並びになる。Claude Codeの席ではprefaceを貼り付けの印なしで入れ、textだけを貼る。Codex/Grok/Cursorの席では1つで貼る。1行・200字以内・制御文字なしで、行頭が記号や空白でなく、@ を含まない文。外れた時と通常PTY送信・force送信・remote付きでは、打鍵前に拒否する",
+         "description": "agent session への送信(forceなし)で、本文の前に置く1行。送る文は「preface・空行・text」の並びになる。Claude Codeの席ではprefaceを貼り付けの印なしで入れ、textだけを貼る。Codex/Grok/Cursor/Antigravityの席では1つで貼る。1行・200字以内・制御文字なしで、行頭が記号や空白でなく、@ を含まない文。外れた時と通常PTY送信・force送信・remote付きでは、打鍵前に拒否する",
          "type": "string"
        },
        "raw": {
-               "cursor-cli"
+               "cursor-cli",
+               "antigravity-cli"
              ],
              "type": "string"
            },
-               "cursor"
+               "cursor",
+               "antigravity"
              ],
              "type": "string"
            },

Changed 2026-10-26 12:45 UTC

1 description rewritten, 1 tool added.

--- pinned/agent_auth
+++ observed/agent_auth
  {
-   "description": "各harnessの公式CLI認証を開始・確認・取消する。CLIごとのコマンドと認証URL/codeの抽出はAitermが所有し、資格情報は各CLIだけが保存する。waitingのURL/codeを人へ表示し、input_requiredなら同じsessionのpty_send/pty_keyで公式画面へ入力する。authenticatedは認証の結果であり、agent_launchの起動準備完了とは別。remoteは他toolと同じ標準対応。startは公式の状態が認証済みなら何も起こさずauthenticatedを返す。relogin:trueを付けると、認証済みに見えても公式ログインを開始する(別のアカウントへ入り直す時、ログインの期限切れを状態から見抜けない時)。Aitermは資格情報を消さず、置き換えは公式CLIが行う。Codexの公式ログインは、始めた時点で元のログインを消す(途中でcancelしても戻らない)。",
+   "description": "各harnessの公式CLI認証を開始・確認・取消する。CLIごとのコマンドと認証URL/codeの抽出はAitermが所有し、資格情報は各CLIだけが保存する。auth_uiの段階と公式URL・選択肢を表示する。入力はrespondで同じbindingへ送り、pty_send/pty_keyへ認証コードを渡さない。authenticatedは認証の結果であり、agent_launchの起動準備完了とは別。remoteは他toolと同じ標準対応。startは公式の状態が認証済みなら何も起こさずauthenticatedを返す。relogin:trueを付けると、認証済みに見えても公式ログインを開始する(別のアカウントへ入り直す時、ログインの期限切れを状態から見抜けない時)。Aitermは資格情報を消さず、置き換えは公式CLIが行う。Codexの公式ログインは、始めた時点で元のログインを消す(途中でcancelしても戻らない)。",
    "execution": {
      "taskSupport": "forbidden"
    },
-           "cancel"
+           "cancel",
+           "respond"
          ],
          "type": "string"
        },
+       "expected_binding": {
+         "additionalProperties": false,
+         "properties": {
+           "launch_id": {
+             "type": [
+               "string",
+               "null"
+             ]
+           },
+           "metadata_identity": {
+             "type": "string"
+           },
+           "native_id": {
+             "type": "string"
+           },
+           "pane_id": {
+             "type": "string"
+           },
+           "pane_pid": {
+             "exclusiveMinimum": 0,
+             "maximum": 9007199254740991,
+             "type": "integer"
+           },
+           "pane_started": {
+             "type": "string"
+           },
+           "server_pid": {
+             "exclusiveMinimum": 0,
+             "maximum": 9007199254740991,
+             "type": "integer"
+           },
+           "server_started": {
+             "type": "string"
+           },
+           "session_id": {
+             "type": "string"
+           }
+         },
+         "required": [
+           "session_id",
+           "launch_id",
+           "metadata_identity",
+           "native_id",
+           "pane_id",
+           "server_pid",
+           "server_started",
+           "pane_pid",
+           "pane_started"
+         ],
+         "type": "object"
+       },
+       "expected_prompt_digest": {
+         "pattern": "^[a-f0-9]{64}$",
+         "type": "string"
+       },
        "harness": {
          "enum": [
            "claude-code",
+       "response": {
+         "oneOf": [
+           {
+             "additionalProperties": false,
+             "properties": {
+               "kind": {
+                 "const": "authorization_code",
+                 "type": "string"
+               },
+               "value": {
+                 "maxLength": 8192,
+                 "minLength": 1,
+                 "pattern": "^[!-~]+$",
+                 "type": "string"
+               }
+             },
+             "required": [
+               "kind",
+               "value"
+             ],
+             "type": "object"
+           },
+           {
+             "additionalProperties": false,
+             "properties": {
+               "id": {
+                 "pattern": "^option-[1-9]$",
+                 "type": "string"
+               },
+               "kind": {
+                 "const": "choice",
+                 "type": "string"
+               }
+             },
+             "required": [
+               "kind",
+               "id"
+             ],
+             "type": "object"
+           }
+         ]
+       },
        "session_id": {
          "pattern": "^[A-Za-z0-9_-]{1,64}$",
          "type": "string"
+       "auth_ui": {
+         "additionalProperties": false,
+         "properties": {
+           "binding": {
+             "anyOf": [
+               {
+                 "additionalProperties": false,
+                 "properties": {
+                   "launch_id": {
+                     "type": [
+                       "string",
+                       "null"
+                     ]
+                   },
+                   "metadata_identity": {
+                     "type": "string"
+                   },
+                   "native_id": {
+                     "type": "string"
+                   },
+                   "pane_id": {
+                     "type": "string"
+                   },
+                   "pane_pid": {
+                     "exclusiveMinimum": 0,
+                     "maximum": 9007199254740991,
+                     "type": "integer"
+                   },
+                   "pane_started": {
+                     "type": "string"
+                   },
+                   "server_pid": {
+                     "exclusiveMinimum": 0,
+                     "maximum": 9007199254740991,
+                     "type": "integer"
+                   },
+                   "server_started": {
+                     "type": "string"
+                   },
+                   "session_id": {
+                     "type": "string"
+                   }
+                 },
+                 "required": [
+                   "session_id",
+                   "launch_id",
+                   "metadata_identity",
+                   "native_id",
+                   "pane_id",
+                   "server_pid",
+                   "server_started",
+                   "pane_pid",
+                   "pane_started"
+                 ],
+                 "type": "object"
+               },
+               {
+                 "type": "null"
+               }
+             ]
+           },
+           "choices": {
+             "items": {
+               "additionalProperties": false,
+               "properties": {
+                 "id": {
+                   "type": "string"
+                 },
+                 "label": {
+                   "type": "string"
+                 }
+               },
+               "required": [
+                 "id",
+                 "label"
+               ],
+               "type": "object"
+             },
+             "type": "array"
+           },
+           "input": {
+             "anyOf": [
+               {
+                 "enum": [
+                   "authorization_code",
+                   "choice"
+                 ],
+                 "type": "string"
+               },
+               {
+                 "type": "null"
+               }
+             ]
+           },
+           "message": {
+             "type": "string"
+           },
+           "prompt_digest": {
+             "type": [
+               "string",
+               "null"
+             ]
+           },
+           "schema": {
+             "const": "aiterm.auth-ui.v1",
+             "type": "string"
+           },
+           "stage": {
+             "enum": [
+               "open_url",
+               "device_code",
+               "paste_code",
+               "select",
+               "waiting",
+               "complete",
+               "failed",
+               "unavailable"
+             ],
+             "type": "string"
+           },
+           "title": {
+             "type": "string"
+           },
+           "url": {
+             "type": [
+               "string",
+               "null"
+             ]
+           },
+           "user_code": {
+             "type": [
+               "string",
+               "null"
+             ]
+           }
+         },
+         "required": [
+           "schema",
+           "stage",
+           "title",
+           "message",
+           "binding",
+           "url",
+           "user_code",
+           "input",
+           "prompt_digest",
+           "choices"
+         ],
+         "type": "object"
+       },
        "harness": {
          "enum": [
            "claude-code",

+ tool added: agent_goal

Changed 2026-10-22 11:40 UTC

1 description rewritten.

--- pinned/pty_key
+++ observed/pty_key
  {
-   "description": "制御キーを送る(C-c, C-d, Enter, Tab, Up, Down... の別名に対応)。aiterm相関付きClaude sessionではturn相関を守るためC-cだけを許可し、承認UIはclaude_approvalで操作する。",
+   "description": "制御キーを送る(C-c, C-d, Enter, Tab, Up, Down... の別名に対応)。acceptedは入力受付であり処理中断/会話維持の確認ではない。aiterm相関付きClaudeではC-cだけを許可し、承認UIはclaude_approvalで操作する。",
    "execution": {
      "taskSupport": "forbidden"
    },

Changed 2026-10-13 14:01 UTC

2 descriptions rewritten, 4 schema or annotation changes with the description left byte-identical.

--- pinned/agent_configure
+++ observed/agent_configure
  {
-   "description": "起動済みのClaude/Codex/Grok/Cursor agent sessionを再起動せず、会話contextを保ったままmodel/reasoning effortを変更する。各harnessのCLI標準model操作を使う。Cursorのreasoning_effort変更はmodelと同時指定する。Claude Codeの席では /model の選ぶ画面の「この会話だけ」(s)で替え、端末の ~/.claude/settings.json の既定は書き換えない。その選び方が無い版、選ぶ画面に無いmodel、そのmodelで選べないeffortは、何も変えずに断る。",
+   "description": "起動済みのClaude/Codex/Grok/Cursor agent sessionを再起動せず、会話contextを保ったままmodel/reasoning effort/fastを変更する。各harnessのCLI標準model操作を使う。Cursorのreasoning_effort変更はmodelと同時指定する。Claude Codeの席では /model の選ぶ画面の「この会話だけ」(s)で替え、端末の ~/.claude/settings.json の既定は書き換えない。その選び方が無い版、選ぶ画面に無いmodel、そのmodelで選べないeffortは、何も変えずに断る。fastだけの指定も受ける。ファスト(harnessの高速の応答。費用や利用量が増える)。席は必ず通常の速度で起きる。trueはその席をfastへ切り替え、falseは通常の速度にする(fastに対応していないmodelでもfalseは受ける)。切り替えは席だけに留め、harnessが利用者の既定へ書いた分は切り替えの直前の値へ戻す。断りは文の先頭の符号で分かる: FAST_MODE_NOT_SUPPORTED(そのmodelは対応していない)、FAST_MODE_UNAVAILABLE(アカウントや契約で使えない)、FAST_MODE_MODEL_CONFLICT(modelへfast版のIDを書いてfalseを渡した)、FAST_MODE_UNCONFIRMED(切り替えた後の状態を確かめられない)。",
    "execution": {
      "taskSupport": "forbidden"
    },
+       "fast": {
+         "description": "変更後のfast。省略時は、その席の今の状態を変えない",
+         "type": [
+           "boolean",
+           "null"
+         ]
+       },
        "model": {
          "anyOf": [
            {
+       "fast": {
+         "description": "切り替えた後の、席のfastの状態。Aitermが確かめた事の無い席(前の版が起こした席)はnull",
+         "type": [
+           "boolean",
+           "null"
+         ]
+       },
        "harness": {
          "enum": [
            "claude-code",
--- pinned/agent_launch
+++ observed/agent_launch
  {
    "description": "エージェントを単一の標準入口から永続sessionへ起動する。harnessはagent loop・認証・hook・transcriptを所有する実行基盤、modelはそのharnessが選ぶ推論モデルであり別軸。Cursor harnessからGPT/Claude/Grok等を選んでも完了相関はCursor方式のまま。ComposerはCursorのmodelの一つで、harnessでもGrokのmodelでもない。harness=cursor-cli と model=composer-2.5-fast(またはcomposer-2.5)で指定する。remoteを付けると、SSHで入った別端末のAitermで同じ起動を行い、完了は同じ形で親へ届く。通常CLIと同じHOME・cwd・project/user/local設定・MCP・plugin・skill・permission/trustを共有する。aitermは完了相関stateだけをlaunch単位で所有する。起動されたagentにはsub-agent自己認識、親session、delegation depth/lineage、delegation_allowed=trueを注入し、必要な追加委譲は許可する。dispatch した子は投げっぱなしでよい=親はここで待たない。Codex親とClaude Code親にはAitermが回答本文を自動配送する。parent_deliveryがある場合はwait起動も通常の回答回収も不要。親は作業を続けるかターンを終える。Cursor親にはparent_deliveryとwait_processが付く。作業を続ければ次のツール返りに回答が差し込まれ、ターンを終える前にwait_processを背景で起動するとidle中の完了でも起きられる。ポーリングとpty_read(agent_transcript:true)は不要。その他の親では、完了通知をreceiptの `wait_process.executable` と `wait_process.args` をそのまま親のターンを塞がない別プロセスAPIへ渡して受け、PowerShell 7のStart-Processだけは `windows_start_process_argument_list` を単一文字列として渡す。exit を完了通知として扱う(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要)。`wait_command` は人間向け互換表示でありprocess境界へ使わない。foreground実行で親のターンを塞がない。自動配送以外の結果回収は pty_read(agent_transcript:true)。",
    "execution": {
+       "fast": {
+         "description": "ファスト(harnessの高速の応答。費用や利用量が増える)。省略とfalseは通常の速度で起こす(利用者の設定にfastが残っていても通常)。trueは通常で起こしてから、その席をfastへ切り替える。modelがfastに対応していない時(FAST_MODE_NOT_SUPPORTED)と、modelへfast版のIDを書いてfalseを渡した時(FAST_MODE_MODEL_CONFLICT)は起動を断る。アカウントの都合で使えない時・確かめられない時は、起動を断らずに通常の速度で起こし、返りの fast を false、fast_error に訳を入れる。modelへfast版のIDを直に書いて省略した時だけ、そのIDのまま起こす(返りの fast は true)。",
+         "type": [
+           "boolean",
+           "null"
+         ]
+       },
        "harness": {
          "description": "agent loop・session・hook・transcript・認証を所有する実行基盤",
          "enum": [
+       "fast": {
+         "description": "起こした後の、席のfastの状態(この項目を返さない版の別端末では無い)",
+         "type": "boolean"
+       },
+       "fast_error": {
+         "anyOf": [
+           {
+             "additionalProperties": false,
+             "properties": {
+               "code": {
+                 "enum": [
+                   "FAST_MODE_NOT_SUPPORTED",
+                   "FAST_MODE_UNAVAILABLE",
+                   "FAST_MODE_MODEL_CONFLICT",
+                   "FAST_MODE_UNCONFIRMED"
+                 ],
+                 "type": "string"
+               },
+               "message": {
+                 "type": "string"
+               }
+             },
+             "required": [
+               "code",
+               "message"
+             ],
+             "type": "object"
+           },
+           {
+             "type": "null"
+           }
+         ],
+         "description": "fastを頼まれたが、通常の速度で起こした時の訳"
+       },
        "harness": {
          "enum": [
            "claude-code",
--- pinned/agent_models
+++ observed/agent_models
  {
-   "description": "harnessが今返すmodelとreasoning effortの候補を、そのharnessの公式の一覧から取得する。promptもturnも送らず推論を消費しない。Codexはapp-server model/list、Claude Codeはstream-json initializeのmodels、Grokはagent stdio initializeのmodelState、Cursorはcursor-agent modelsを素のmodel IDとeffortへ分けたもの。返るidとeffortsはagent_launch/agent_configureへそのまま渡せる。取得不能はMODEL_CATALOG_UNAVAILABLE、形式異常はMODEL_CATALOG_INVALIDのエラーで返し、別の一覧へfallbackしない。remoteを付けると別端末のharnessの候補を返す。",
+   "description": "harnessが今返すmodelとreasoning effortの候補を、そのharnessの公式の一覧から取得する。promptもturnも送らず推論を消費しない。Codexはapp-server model/list、Claude Codeはstream-json initializeのmodels、Grokはagent stdio initializeのmodelState、Cursorはcursor-agent modelsを素のmodel IDとeffortへ分けたもの。返るidとeffortsはagent_launch/agent_configureへそのまま渡せる。modelごとのfastは、そのmodelでfastへ切り替えられるか(harnessが返す値)。fast_unavailableは、アカウントの都合でどのmodelでも使えない時の訳。取得不能はMODEL_CATALOG_UNAVAILABLE、形式異常はMODEL_CATALOG_INVALIDのエラーで返し、別の一覧へfallbackしない。remoteを付けると別端末のharnessの候補を返す。",
    "execution": {
      "taskSupport": "forbidden"
    },
+       "fast_unavailable": {
+         "anyOf": [
+           {
+             "additionalProperties": false,
+             "properties": {
+               "code": {
+                 "enum": [
+                   "FAST_MODE_NOT_SUPPORTED",
+                   "FAST_MODE_UNAVAILABLE",
+                   "FAST_MODE_MODEL_CONFLICT",
+                   "FAST_MODE_UNCONFIRMED"
+                 ],
+                 "type": "string"
+               },
+               "message": {
+                 "type": "string"
+               }
+             },
+             "required": [
+               "code",
+               "message"
+             ],
+             "type": "object"
+           },
+           {
+             "type": "null"
+           }
+         ],
+         "description": "このアカウント・この端末では、どのmodelでもfastを使えない時の訳(harnessが先に答えられる時だけ。今はClaude Code)。使える・分からない時はnull"
+       },
        "harness": {
          "enum": [
            "claude-code",
+             "fast": {
+               "description": "このharness・このmodelでfastへ切り替えられるか(agent_launch/agent_configureのfast: true)。fastが別のmodel IDのharness(Cursor・Grok)は、fast版を別のmodelとして並べず、元のmodelのここがtrueになる",
+               "type": "boolean"
+             },
              "hidden": {
                "description": "harnessが一覧で隠すmodel(Codexのinclude_hidden時だけtrueがある)",
                "type": "boolean"
-             "hidden"
+             "hidden",
+             "fast"
            ],
            "type": "object"
          },
--- pinned/claude_agent
+++ observed/claude_agent
  {
    "description": "【旧互換alias。新規連携は agent_launch(harness=claude-code)】Claude Codeの対話エージェントTUIを永続端末に起動する。`claude -p`ではなく、同じ利用者可視sessionへpty_sendで継続入力する。通常CLIと同じHOME・cwd・project/user/local設定・MCP・plugin・skill・permission/trustを共有する。aitermは完了相関stateだけをlaunch単位で所有する。起動されたagentにはsub-agent自己認識、親session、delegation depth/lineage、delegation_allowed=trueを注入し、必要な追加委譲は許可する。通常settingsへlaunch固有Stop hook settingsを加算する。起動前に共有認証を構造化確認し、未認証ならsessionを作らない。dispatch した子は投げっぱなしでよい=親はここで待たない。Codex親とClaude Code親にはAitermが回答本文を自動配送する。parent_deliveryがある場合はwait起動も通常の回答回収も不要。親は作業を続けるかターンを終える。Cursor親にはparent_deliveryとwait_processが付く。作業を続ければ次のツール返りに回答が差し込まれ、ターンを終える前にwait_processを背景で起動するとidle中の完了でも起きられる。ポーリングとpty_read(agent_transcript:true)は不要。その他の親では、完了通知をreceiptの `wait_process.executable` と `wait_process.args` をそのまま親のターンを塞がない別プロセスAPIへ渡して受け、PowerShell 7のStart-Processだけは `windows_start_process_argument_list` を単一文字列として渡す。exit を完了通知として扱う(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要)。`wait_command` は人間向け互換表示でありprocess境界へ使わない。foreground実行で親のターンを塞がない。自動配送以外の結果回収は pty_read(agent_transcript:true)。Claude の durable turn は claude_turn でも回収できる。",
    "execution": {
+       "fast": {
+         "description": "ファスト(harnessの高速の応答。費用や利用量が増える)。省略とfalseは通常の速度で起こす(利用者の設定にfastが残っていても通常)。trueは通常で起こしてから、その席をfastへ切り替える。modelがfastに対応していない時(FAST_MODE_NOT_SUPPORTED)と、modelへfast版のIDを書いてfalseを渡した時(FAST_MODE_MODEL_CONFLICT)は起動を断る。アカウントの都合で使えない時・確かめられない時は、起動を断らずに通常の速度で起こし、返りの fast を false、fast_error に訳を入れる。modelへfast版のIDを直に書いて省略した時だけ、そのIDのまま起こす(返りの fast は true)。",
+         "type": [
+           "boolean",
+           "null"
+         ]
+       },
        "launch_operation_id": {
          "description": "promptなしClaude launchのexact replay相関ID。session_name必須",
          "pattern": "^sha256:[0-9a-f]{64}$",
+       "fast": {
+         "description": "起こした後の、席のfastの状態",
+         "type": "boolean"
+       },
+       "fast_error": {
+         "anyOf": [
+           {
+             "additionalProperties": false,
+             "properties": {
+               "code": {
+                 "enum": [
+                   "FAST_MODE_NOT_SUPPORTED",
+                   "FAST_MODE_UNAVAILABLE",
+                   "FAST_MODE_MODEL_CONFLICT",
+                   "FAST_MODE_UNCONFIRMED"
+                 ],
+                 "type": "string"
+               },
+               "message": {
+                 "type": "string"
+               }
+             },
+             "required": [
+               "code",
+               "message"
+             ],
+             "type": "object"
+           },
+           {
+             "type": "null"
+           }
+         ],
+         "description": "fastを頼まれたが、通常の速度で起こした時の訳"
+       },
        "harness": {
          "const": "claude-code",
          "type": "string"
--- pinned/codex_agent
+++ observed/codex_agent
  {
    "description": "【旧互換alias。新規連携は agent_launch(harness=codex-cli)】Codexの対話エージェント TUI を永続端末に起動する。実装・レビュー・調査を対話で回す。通常CLIと同じHOME・cwd・project/user/local設定・MCP・plugin・skill・permission/trustを共有する。aitermは完了相関stateだけをlaunch単位で所有する。起動されたagentにはsub-agent自己認識、親session、delegation depth/lineage、delegation_allowed=trueを注入し、必要な追加委譲は許可する。委譲契約を使う完全な呼び出し例: `codex_agent({\"prompt\":\"<依頼>\",\"model\":\"gpt-5.6-sol\",\"reasoning_effort\":\"high\",\"cwd\":\"/absolute/path/to/repo\",\"write_scope\":\"read-only\"})`。turn は pty_send で送る(自動で非ブロック dispatch になる)。dispatch した子は投げっぱなしでよい=親はここで待たない。Codex親とClaude Code親にはAitermが回答本文を自動配送する。parent_deliveryがある場合はwait起動も通常の回答回収も不要。親は作業を続けるかターンを終える。Cursor親にはparent_deliveryとwait_processが付く。作業を続ければ次のツール返りに回答が差し込まれ、ターンを終える前にwait_processを背景で起動するとidle中の完了でも起きられる。ポーリングとpty_read(agent_transcript:true)は不要。その他の親では、完了通知をreceiptの `wait_process.executable` と `wait_process.args` をそのまま親のターンを塞がない別プロセスAPIへ渡して受け、PowerShell 7のStart-Processだけは `windows_start_process_argument_list` を単一文字列として渡す。exit を完了通知として扱う(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要)。`wait_command` は人間向け互換表示でありprocess境界へ使わない。foreground実行で親のターンを塞がない。自動配送以外の結果回収は pty_read(agent_transcript:true)。model / reasoning_effort を引数で指定可(省略時は端末 config/CLI 既定を継承。実効値は起動応答に明示)。",
    "execution": {
+       "fast": {
+         "description": "ファスト(harnessの高速の応答。費用や利用量が増える)。省略とfalseは通常の速度で起こす(利用者の設定にfastが残っていても通常)。trueは通常で起こしてから、その席をfastへ切り替える。modelがfastに対応していない時(FAST_MODE_NOT_SUPPORTED)と、modelへfast版のIDを書いてfalseを渡した時(FAST_MODE_MODEL_CONFLICT)は起動を断る。アカウントの都合で使えない時・確かめられない時は、起動を断らずに通常の速度で起こし、返りの fast を false、fast_error に訳を入れる。modelへfast版のIDを直に書いて省略した時だけ、そのIDのまま起こす(返りの fast は true)。",
+         "type": [
+           "boolean",
+           "null"
+         ]
+       },
        "model": {
          "description": "起動モデル(例: gpt-5.6-sol / gpt-5.6-terra / gpt-5.6-luna)。省略時は端末 config/CLI 既定を継承(端末側のピンがそのまま効く。実効値は起動応答に明示される)",
          "type": [
+       "fast": {
+         "description": "起こした後の、席のfastの状態",
+         "type": "boolean"
+       },
+       "fast_error": {
+         "anyOf": [
+           {
+             "additionalProperties": false,
+             "properties": {
+               "code": {
+                 "enum": [
+                   "FAST_MODE_NOT_SUPPORTED",
+                   "FAST_MODE_UNAVAILABLE",
+                   "FAST_MODE_MODEL_CONFLICT",
+                   "FAST_MODE_UNCONFIRMED"
+                 ],
+                 "type": "string"
+               },
+               "message": {
+                 "type": "string"
+               }
+             },
+             "required": [
+               "code",
+               "message"
+             ],
+             "type": "object"
+           },
+           {
+             "type": "null"
+           }
+         ],
+         "description": "fastを頼まれたが、通常の速度で起こした時の訳"
+       },
        "harness": {
          "const": "codex-cli",
          "type": "string"
--- pinned/grok_agent
+++ observed/grok_agent
  {
    "description": "【旧互換alias。新規連携は agent_launch(harness=grok-cli)】Grok BuildのGrokモデル(既定 grok-4.6)の対話エージェント TUIを永続端末に起動する。通常CLIと同じHOME・cwd・project/user/local設定・MCP・plugin・skill・permission/trustを共有する。aitermは完了相関stateだけをlaunch単位で所有する。起動されたagentにはsub-agent自己認識、親session、delegation depth/lineage、delegation_allowed=trueを注入し、必要な追加委譲は許可する。turn は pty_send で送る(自動で非ブロック dispatch になる)。dispatch した子は投げっぱなしでよい=親はここで待たない。Codex親とClaude Code親にはAitermが回答本文を自動配送する。parent_deliveryがある場合はwait起動も通常の回答回収も不要。親は作業を続けるかターンを終える。Cursor親にはparent_deliveryとwait_processが付く。作業を続ければ次のツール返りに回答が差し込まれ、ターンを終える前にwait_processを背景で起動するとidle中の完了でも起きられる。ポーリングとpty_read(agent_transcript:true)は不要。その他の親では、完了通知をreceiptの `wait_process.executable` と `wait_process.args` をそのまま親のターンを塞がない別プロセスAPIへ渡して受け、PowerShell 7のStart-Processだけは `windows_start_process_argument_list` を単一文字列として渡す。exit を完了通知として扱う(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要)。`wait_command` は人間向け互換表示でありprocess境界へ使わない。foreground実行で親のターンを塞がない。自動配送以外の結果回収は pty_read(agent_transcript:true)。model/reasoning_effortを引数で指定可。read-only sandboxとagent_configureに対応。",
    "execution": {
+       "fast": {
+         "description": "ファスト(harnessの高速の応答。費用や利用量が増える)。省略とfalseは通常の速度で起こす(利用者の設定にfastが残っていても通常)。trueは通常で起こしてから、その席をfastへ切り替える。modelがfastに対応していない時(FAST_MODE_NOT_SUPPORTED)と、modelへfast版のIDを書いてfalseを渡した時(FAST_MODE_MODEL_CONFLICT)は起動を断る。アカウントの都合で使えない時・確かめられない時は、起動を断らずに通常の速度で起こし、返りの fast を false、fast_error に訳を入れる。modelへfast版のIDを直に書いて省略した時だけ、そのIDのまま起こす(返りの fast は true)。",
+         "type": [
+           "boolean",
+           "null"
+         ]
+       },
        "model": {
          "description": "起動モデル。省略時は grok-4.6。explicit modelを起動前にlive catalogへ照合し、不在ならfallbackせずエラー",
          "type": [
+       "fast": {
+         "description": "起こした後の、席のfastの状態",
+         "type": "boolean"
+       },
+       "fast_error": {
+         "anyOf": [
+           {
+             "additionalProperties": false,
+             "properties": {
+               "code": {
+                 "enum": [
+                   "FAST_MODE_NOT_SUPPORTED",
+                   "FAST_MODE_UNAVAILABLE",
+                   "FAST_MODE_MODEL_CONFLICT",
+                   "FAST_MODE_UNCONFIRMED"
+                 ],
+                 "type": "string"
+               },
+               "message": {
+                 "type": "string"
+               }
+             },
+             "required": [
+               "code",
+               "message"
+             ],
+             "type": "object"
+           },
+           {
+             "type": "null"
+           }
+         ],
+         "description": "fastを頼まれたが、通常の速度で起こした時の訳"
+       },
        "harness": {
          "const": "grok-cli",
          "type": "string"

Changed 2026-10-12 15:08 UTC

1 description rewritten, 1 schema or annotation change with the description left byte-identical.

--- pinned/agent_configure
+++ observed/agent_configure
  {
-   "description": "起動済みのClaude/Codex/Grok/Cursor agent sessionを再起動せず、会話contextを保ったままmodel/reasoning effortを変更する。各harnessのCLI標準model操作を使う。Cursorのreasoning_effort変更はmodelと同時指定する。",
+   "description": "起動済みのClaude/Codex/Grok/Cursor agent sessionを再起動せず、会話contextを保ったままmodel/reasoning effortを変更する。各harnessのCLI標準model操作を使う。Cursorのreasoning_effort変更はmodelと同時指定する。Claude Codeの席では /model の選ぶ画面の「この会話だけ」(s)で替え、端末の ~/.claude/settings.json の既定は書き換えない。その選び方が無い版、選ぶ画面に無いmodel、そのmodelで選べないeffortは、何も変えずに断る。",
    "execution": {
      "taskSupport": "forbidden"
    },
--- pinned/pty_list
+++ observed/pty_list
  {
    "description": "握っているセッション一覧(名前 / 現在の前面コマンド / attach 状態 / サイズ / agent 情報)。",
    "execution": {
+             "vendor_session_id": {
+               "description": "agent sessionのharness側の会話ID。Claude CodeとGrokは起動時に--session-idで渡した値(席の中で会話を移した後は追わない)、CodexとCursorは分かった後の値。通常PTYと、まだ分からない席はnull",
+               "type": [
+                 "string",
+                 "null"
+               ]
+             },
              "width": {
                "type": "number"
              }

Changed 2026-10-07 13:08 UTC

1 description rewritten.

--- pinned/pty_send
+++ observed/pty_send
  {
-   "description": "セッションへテキストを送る。通常PTYへは送信のみ(出力は pty_read で取得)。agent session(launcher起動)への送信はこのtoolだけで行い、子の状態はAitermが送る時点で見て振り分ける。子のturnが実行中なら各harness標準の操作で現在のturnへ差し込み(mode=agent_steer)、完了は差し込み後の作業の終わりに元の依頼への1回だけ届く。新しいevent_cursorと配送は作らない。それ以外は新しいturnとしてdispatchし(mode=agent_dispatch)、TUI の ready gate と submit 分離を通して即返り、receipt の event_cursor を返す。dispatch した子は投げっぱなしでよい=親はここで待たない。Codex親とClaude Code親にはAitermが回答本文を自動配送する。parent_deliveryがある場合はwait起動も通常の回答回収も不要。親は作業を続けるかターンを終える。Cursor親にはparent_deliveryとwait_processが付く。作業を続ければ次のツール返りに回答が差し込まれ、ターンを終える前にwait_processを背景で起動するとidle中の完了でも起きられる。ポーリングとpty_read(agent_transcript:true)は不要。その他の親では、完了通知をreceiptの `wait_process.executable` と `wait_process.args` をそのまま親のターンを塞がない別プロセスAPIへ渡して受け、PowerShell 7のStart-Processだけは `windows_start_process_argument_list` を単一文字列として渡す。exit を完了通知として扱う(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要)。`wait_command` は人間向け互換表示でありprocess境界へ使わない。foreground実行で親のターンを塞がない。自動配送以外の結果回収は pty_read(agent_transcript:true)、Claude の durable turn は claude_turn を使う。require_agent:true はagent登録が無いsessionへ打鍵せず、AGENT_SESSION_REQUIREDで未送信を返す。force:true は非Claude agent sessionへの手動介入用の素送信。aiterm相関付きClaudeの承認UIはclaude_approvalを使う。",
+   "description": "セッションへテキストを送る。通常PTYへは送信のみ(出力は pty_read で取得)。agent session(launcher起動)への送信はこのtoolだけで行い、子の状態はAitermが送る時点で見て振り分ける。子のturnが実行中なら各harness標準の操作で現在のturnへ差し込み(mode=agent_steer)、完了は差し込み後の作業の終わりに元の依頼への1回だけ届く。新しいevent_cursorと配送は作らない。それ以外は新しいturnとしてdispatchし(mode=agent_dispatch)、TUI の ready gate と submit 分離を通して即返り、receipt の event_cursor を返す。dispatch した子は投げっぱなしでよい=親はここで待たない。Codex親とClaude Code親にはAitermが回答本文を自動配送する。parent_deliveryがある場合はwait起動も通常の回答回収も不要。親は作業を続けるかターンを終える。Cursor親にはparent_deliveryとwait_processが付く。作業を続ければ次のツール返りに回答が差し込まれ、ターンを終える前にwait_processを背景で起動するとidle中の完了でも起きられる。ポーリングとpty_read(agent_transcript:true)は不要。その他の親では、完了通知をreceiptの `wait_process.executable` と `wait_process.args` をそのまま親のターンを塞がない別プロセスAPIへ渡して受け、PowerShell 7のStart-Processだけは `windows_start_process_argument_list` を単一文字列として渡す。exit を完了通知として扱う(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要)。`wait_command` は人間向け互換表示でありprocess境界へ使わない。foreground実行で親のターンを塞がない。自動配送以外の結果回収は pty_read(agent_transcript:true)、Claude の durable turn は claude_turn を使う。require_agent:true はagent登録が無いsessionへ打鍵せず、AGENT_SESSION_REQUIREDで未送信を返す。preface はagent sessionへの送信で本文の前に置く1行。Claude Codeの席では貼り付けの印なしで入れ、本文だけを貼る(前置きが貼り付けの包みの外へ出る)。他のharnessでは前置き・空行・本文を1つで貼る。force:true は非Claude agent sessionへの手動介入用の素送信。aiterm相関付きClaudeの承認UIはclaude_approvalを使う。",
    "execution": {
      "taskSupport": "forbidden"
    },
+       "preface": {
+         "description": "agent session への送信(forceなし)で、本文の前に置く1行。送る文は「preface・空行・text」の並びになる。Claude Codeの席ではprefaceを貼り付けの印なしで入れ、textだけを貼る。Codex/Grok/Cursorの席では1つで貼る。1行・200字以内・制御文字なしで、行頭が記号や空白でなく、@ を含まない文。外れた時と通常PTY送信・force送信・remote付きでは、打鍵前に拒否する",
+         "type": "string"
+       },
        "raw": {
          "default": false,
          "description": "送信前サニタイズを無効化",

Changed 2026-10-06 13:11 UTC

2 descriptions rewritten.

--- pinned/agent_auth
+++ observed/agent_auth
  {
-   "description": "各harnessの公式CLI認証を開始・確認・取消する。CLIごとのコマンドと認証URL/codeの抽出はAitermが所有し、資格情報は各CLIだけが保存する。waitingのURL/codeを人へ表示し、input_requiredなら同じsessionのpty_send/pty_keyで公式画面へ入力する。authenticatedは認証の結果であり、agent_launchの起動準備完了とは別。remoteは他toolと同じ標準対応。",
+   "description": "各harnessの公式CLI認証を開始・確認・取消する。CLIごとのコマンドと認証URL/codeの抽出はAitermが所有し、資格情報は各CLIだけが保存する。waitingのURL/codeを人へ表示し、input_requiredなら同じsessionのpty_send/pty_keyで公式画面へ入力する。authenticatedは認証の結果であり、agent_launchの起動準備完了とは別。remoteは他toolと同じ標準対応。startは公式の状態が認証済みなら何も起こさずauthenticatedを返す。relogin:trueを付けると、認証済みに見えても公式ログインを開始する(別のアカウントへ入り直す時、ログインの期限切れを状態から見抜けない時)。Aitermは資格情報を消さず、置き換えは公式CLIが行う。Codexの公式ログインは、始めた時点で元のログインを消す(途中でcancelしても戻らない)。",
    "execution": {
      "taskSupport": "forbidden"
    },
+       "relogin": {
+         "description": "startで、公式の状態が認証済みでも公式ログインを開始する。既定false。trueの時、authenticatedかつsession_idがnullの結果は返さない",
+         "type": "boolean"
+       },
        "remote": {
          "additionalProperties": false,
          "description": "別端末のAitermで実行する時のSSH接続情報。hostだけならssh_configの接続名として使う。Aitermは接続情報を保存・管理しない。passphraseは会話記録に残るため、ssh-agentかpassphrase_env(環境変数名)を推奨する。",
--- pinned/pty_read
+++ observed/pty_read
  {
-   "description": "セッションの出力をトークン削減して読む(既定は前回読取位置からの増分)。削減: 制御文字除去 / 反復圧縮 / head+tail 折りたたみ+復元ヒント+メタ併記。agent_transcript:true は agent session の直近完了ターンの最終 assistant メッセージを公開されたharness記録から平文で返す。長い回答が screen tail で切れた時の回収用。",
+   "description": "セッションの出力をトークン削減して読む(既定は前回読取位置からの増分)。削減: 制御文字除去 / 反復圧縮 / head+tail 折りたたみ+復元ヒント+メタ併記。agent_transcript:true は agent session の直近完了ターンの最終 assistant メッセージを公開されたharness記録から平文で返す。回答が空で終わったターンは誤りにせず、空のtextとanswer_empty:trueを返す。長い回答が screen tail で切れた時の回収用。",
    "execution": {
      "taskSupport": "forbidden"
    },
+       "answer_empty": {
+         "description": "agent_transcriptで、完了したturnの回答が空だった時だけtrue(textは空文字列)。回答を読めなかった時は誤りを返す。terminalではnull",
+         "type": [
+           "boolean",
+           "null"
+         ]
+       },
        "harness": {
          "anyOf": [
            {

Changed 2026-10-05 14:18 UTC

7 descriptions rewritten, 7 schema or annotation changes with the description left byte-identical, 4 tools added, 2 tools removed.

+ tool added: agent_approval

+ tool added: agent_auth

--- pinned/agent_configure
+++ observed/agent_configure
  {
-   "description": "起動済みのClaude/Codex/Grok/Composer/Cursor agent sessionを再起動せず、会話contextを保ったままmodel/reasoning effortを変更する。各harnessのCLI標準model操作を使う。Cursorのreasoning_effort変更はmodelと同時指定する。",
+   "description": "起動済みのClaude/Codex/Grok/Cursor agent sessionを再起動せず、会話contextを保ったままmodel/reasoning effortを変更する。各harnessのCLI標準model操作を使う。Cursorのreasoning_effort変更はmodelと同時指定する。",
    "execution": {
      "taskSupport": "forbidden"
    },
+       "remote": {
+         "additionalProperties": false,
+         "description": "別端末のAitermで実行する時のSSH接続情報。hostだけならssh_configの接続名として使う。Aitermは接続情報を保存・管理しない。passphraseは会話記録に残るため、ssh-agentかpassphrase_env(環境変数名)を推奨する。",
+         "properties": {
+           "host": {
+             "pattern": "^(?!-)[A-Za-z0-9._%:\\[\\]-]{1,255}$",
+             "type": "string"
+           },
+           "identity_file": {
+             "minLength": 1,
+             "type": "string"
+           },
+           "passphrase": {
+             "minLength": 1,
+             "type": "string"
+           },
+           "passphrase_env": {
+             "pattern": "^[A-Za-z_][A-Za-z0-9_]*$",
+             "type": "string"
+           },
+           "port": {
+             "maximum": 65535,
+             "minimum": 1,
+             "type": "integer"
+           },
+           "ssh_options": {
+             "items": {
+               "pattern": "^[A-Za-z][A-Za-z0-9]*=[^\\r\\n]*$",
+               "type": "string"
+             },
+             "maxItems": 32,
+             "type": "array"
+           },
+           "user": {
+             "pattern": "^(?!-)[A-Za-z0-9._@\\\\-]{1,128}$",
+             "type": "string"
+           }
+         },
+         "required": [
+           "host"
+         ],
+         "type": "object"
+       },
        "session_id": {
          "pattern": "^[A-Za-z0-9_-]{1,64}$",
          "type": "string"
-           "composer",
            "cursor"
          ],
          "type": "string"
--- pinned/agent_launch
+++ observed/agent_launch
  {
-   "description": "エージェントを単一の標準入口から永続sessionへ起動する。harnessはagent loop・認証・hook・transcriptを所有する実行基盤、modelはそのharnessが選ぶ推論モデルであり別軸。Cursor harnessからGPT/Claude/Grok等を選んでも完了相関はCursor方式のまま。Grok Composerは別harnessではなく harness=grok-cli と model=grok-composer-2.5-fast で指定する。通常CLIと同じHOME・cwd・project/user/local設定・MCP・plugin・skill・permission/trustを共有する。aitermは完了相関stateだけをlaunch単位で所有する。起動されたagentにはsub-agent自己認識、親session、delegation depth/lineage、delegation_allowed=trueを注入し、必要な追加委譲は許可する。起動して投げたら投げっぱなしでよい=親はここで待たない。完了通知は起動応答またはpty_send dispatch receiptの wait_processを、親のターンを塞がない別プロセスAPIへexecutable/argsの境界を保ったまま渡して受ける(PowerShell 7のStart-Processはwindows_start_process_argument_listを使う)(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要・foreground実行はしない)。wait_commandは人間向け互換表示。結果回収は pty_read(agent_transcript:true)。",
+   "description": "エージェントを単一の標準入口から永続sessionへ起動する。harnessはagent loop・認証・hook・transcriptを所有する実行基盤、modelはそのharnessが選ぶ推論モデルであり別軸。Cursor harnessからGPT/Claude/Grok等を選んでも完了相関はCursor方式のまま。ComposerはCursorのmodelの一つで、harnessでもGrokのmodelでもない。harness=cursor-cli と model=composer-2.5-fast(またはcomposer-2.5)で指定する。remoteを付けると、SSHで入った別端末のAitermで同じ起動を行い、完了は同じ形で親へ届く。通常CLIと同じHOME・cwd・project/user/local設定・MCP・plugin・skill・permission/trustを共有する。aitermは完了相関stateだけをlaunch単位で所有する。起動されたagentにはsub-agent自己認識、親session、delegation depth/lineage、delegation_allowed=trueを注入し、必要な追加委譲は許可する。dispatch した子は投げっぱなしでよい=親はここで待たない。Codex親とClaude Code親にはAitermが回答本文を自動配送する。parent_deliveryがある場合はwait起動も通常の回答回収も不要。親は作業を続けるかターンを終える。Cursor親にはparent_deliveryとwait_processが付く。作業を続ければ次のツール返りに回答が差し込まれ、ターンを終える前にwait_processを背景で起動するとidle中の完了でも起きられる。ポーリングとpty_read(agent_transcript:true)は不要。その他の親では、完了通知をreceiptの `wait_process.executable` と `wait_process.args` をそのまま親のターンを塞がない別プロセスAPIへ渡して受け、PowerShell 7のStart-Processだけは `windows_start_process_argument_list` を単一文字列として渡す。exit を完了通知として扱う(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要)。`wait_command` は人間向け互換表示でありprocess境界へ使わない。foreground実行で親のターンを塞がない。自動配送以外の結果回収は pty_read(agent_transcript:true)。",
    "execution": {
      "taskSupport": "forbidden"
    },
+       "remote": {
+         "additionalProperties": false,
+         "description": "別端末のAitermで実行する時のSSH接続情報。hostだけならssh_configの接続名として使う。Aitermは接続情報を保存・管理しない。passphraseは会話記録に残るため、ssh-agentかpassphrase_env(環境変数名)を推奨する。",
+         "properties": {
+           "host": {
+             "pattern": "^(?!-)[A-Za-z0-9._%:\\[\\]-]{1,255}$",
+             "type": "string"
+           },
+           "identity_file": {
+             "minLength": 1,
+             "type": "string"
+           },
+           "passphrase": {
+             "minLength": 1,
+             "type": "string"
+           },
+           "passphrase_env": {
+             "pattern": "^[A-Za-z_][A-Za-z0-9_]*$",
+             "type": "string"
+           },
+           "port": {
+             "maximum": 65535,
+             "minimum": 1,
+             "type": "integer"
+           },
+           "ssh_options": {
+             "items": {
+               "pattern": "^[A-Za-z][A-Za-z0-9]*=[^\\r\\n]*$",
+               "type": "string"
+             },
+             "maxItems": 32,
+             "type": "array"
+           },
+           "user": {
+             "pattern": "^(?!-)[A-Za-z0-9._@\\\\-]{1,128}$",
+             "type": "string"
+           }
+         },
+         "required": [
+           "host"
+         ],
+         "type": "object"
+       },
        "session_name": {
          "description": "Aiterm session名(省略で自動採番)",
          "type": [
+       "trust_project": {
+         "description": "対象projectを信頼し、既知のworkspace・project hooks・MCP初期同意を起動中に進める",
+         "type": "boolean"
+       },
        "write_scope": {
          "description": "能力宣言。read-onlyは対応harnessの標準read-only面で実効禁止する",
          "minLength": 1,
+       "initial_prompt": {
+         "additionalProperties": false,
+         "properties": {
+           "reason": {
+             "type": "string"
+           },
+           "status": {
+             "enum": [
+               "not_requested",
+               "not_sent",
+               "submitted_unconfirmed",
+               "started"
+             ],
+             "type": "string"
+           },
+           "turn_started": {
+             "type": [
+               "boolean",
+               "null"
+             ]
+           }
+         },
+         "required": [
+           "status",
+           "reason",
+           "turn_started"
+         ],
+         "type": "object"
+       },
        "managed_completion": {
          "type": "boolean"
        },
+       "parent_delivery": {
+         "additionalProperties": false,
+         "properties": {
+           "child_outcome": {
+             "anyOf": [
+               {
+                 "enum": [
+                   "done",
+                   "closed",
+                   "rate_limited",
+                   "error"
+                 ],
+                 "type": "string"
+               },
+               {
+                 "type": "null"
+               }
+             ]
+           },
+           "child_turn_id": {
+             "type": [
+               "string",
+               "null"
+             ]
+           },
+           "delivery_id": {
+             "type": "string"
+           },
+           "error_code": {
+             "type": [
+               "string",
+               "null"
+             ]
+           },
+           "queued_submission_id": {
+             "type": [
+               "string",
+               "null"
+             ]
+           },
+           "state": {
+             "enum": [
+               "waiting",
+               "ready",
+               "sending",
+               "submitted",
+               "failed",
+               "unknown"
+             ],
+             "type": "string"
+           }
+         },
+         "required": [
+           "delivery_id",
+           "state",
+           "child_outcome",
+           "child_turn_id",
+           "queued_submission_id",
+           "error_code"
+         ],
+         "type": "object"
+       },
        "provider": {
          "description": "旧互換field。新規連携はharnessを使う",
          "enum": [
-           "composer",
            "cursor"
          ],
          "type": "string"
+       "remote_host": {
+         "description": "別端末で起動した時の接続先",
+         "type": "string"
+       },
+       "remote_version": {
+         "description": "別端末のAiterm版",
+         "type": [
+           "string",
+           "null"
+         ]
+       },
        "schema": {
          "const": "aiterm.agent-launch-result.v1",
          "type": "string"
+       "startup": {
+         "additionalProperties": false,
+         "properties": {
+           "reason": {
+             "type": "string"
+           },
+           "status": {
+             "enum": [
+               "ready",
+               "not_checked",
+               "blocked"
+             ],
+             "type": "string"
+           }
+         },
+         "required": [
+           "status",
+           "reason"
+         ],
+         "type": "object"
+       },
        "submit_residue": {
          "type": [
            "boolean",
+       "initial_prompt",
+       "startup",
        "harness",
        "provider",
        "session_id",

+ tool added: agent_models

--- pinned/claude_agent
+++ observed/claude_agent
  {
-   "description": "【旧互換alias。新規連携は agent_launch(harness=claude-code)】Claude Codeの対話エージェントTUIを永続端末に起動する。`claude -p`ではなく、同じ利用者可視sessionへpty_sendで継続入力する。通常CLIと同じHOME・cwd・project/user/local設定・MCP・plugin・skill・permission/trustを共有する。aitermは完了相関stateだけをlaunch単位で所有する。起動されたagentにはsub-agent自己認識、親session、delegation depth/lineage、delegation_allowed=trueを注入し、必要な追加委譲は許可する。通常settingsへlaunch固有Stop hook settingsを加算する。起動前に共有認証を構造化確認し、未認証ならsessionを作らない。起動して投げたら投げっぱなしでよい=親はここで待たない。完了通知は起動応答またはpty_send dispatch receiptの wait_processを、親のターンを塞がない別プロセスAPIへexecutable/argsの境界を保ったまま渡して受ける(PowerShell 7のStart-Processはwindows_start_process_argument_listを使う)(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要・foreground実行はしない)。wait_commandは人間向け互換表示。結果回収は pty_read(agent_transcript:true)。Claude の durable turn は claude_turn でも回収できる。",
+   "description": "【旧互換alias。新規連携は agent_launch(harness=claude-code)】Claude Codeの対話エージェントTUIを永続端末に起動する。`claude -p`ではなく、同じ利用者可視sessionへpty_sendで継続入力する。通常CLIと同じHOME・cwd・project/user/local設定・MCP・plugin・skill・permission/trustを共有する。aitermは完了相関stateだけをlaunch単位で所有する。起動されたagentにはsub-agent自己認識、親session、delegation depth/lineage、delegation_allowed=trueを注入し、必要な追加委譲は許可する。通常settingsへlaunch固有Stop hook settingsを加算する。起動前に共有認証を構造化確認し、未認証ならsessionを作らない。dispatch した子は投げっぱなしでよい=親はここで待たない。Codex親とClaude Code親にはAitermが回答本文を自動配送する。parent_deliveryがある場合はwait起動も通常の回答回収も不要。親は作業を続けるかターンを終える。Cursor親にはparent_deliveryとwait_processが付く。作業を続ければ次のツール返りに回答が差し込まれ、ターンを終える前にwait_processを背景で起動するとidle中の完了でも起きられる。ポーリングとpty_read(agent_transcript:true)は不要。その他の親では、完了通知をreceiptの `wait_process.executable` と `wait_process.args` をそのまま親のターンを塞がない別プロセスAPIへ渡して受け、PowerShell 7のStart-Processだけは `windows_start_process_argument_list` を単一文字列として渡す。exit を完了通知として扱う(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要)。`wait_command` は人間向け互換表示でありprocess境界へ使わない。foreground実行で親のターンを塞がない。自動配送以外の結果回収は pty_read(agent_transcript:true)。Claude の durable turn は claude_turn でも回収できる。",
    "execution": {
      "taskSupport": "forbidden"
    },
+       },
+       "trust_project": {
+         "description": "対象projectを信頼し、既知のworkspace・project hooks・MCP初期同意を起動中に進める",
+         "type": "boolean"
        }
      },
      "type": "object"
+       "initial_prompt": {
+         "additionalProperties": false,
+         "properties": {
+           "reason": {
+             "type": "string"
+           },
+           "status": {
+             "enum": [
+               "not_requested",
+               "not_sent",
+               "submitted_unconfirmed",
+               "started"
+             ],
+             "type": "string"
+           },
+           "turn_started": {
+             "type": [
+               "boolean",
+               "null"
+             ]
+           }
+         },
+         "required": [
+           "status",
+           "reason",
+           "turn_started"
+         ],
+         "type": "object"
+       },
        "managed_completion": {
          "description": "後方互換field。trueはaiterm完了相関が有効という意味で、project/user環境の隔離を意味しない",
          "type": "boolean"
+       "parent_delivery": {
+         "additionalProperties": false,
+         "properties": {
+           "child_outcome": {
+             "anyOf": [
+               {
+                 "enum": [
+                   "done",
+                   "closed",
+                   "rate_limited",
+                   "error"
+                 ],
+                 "type": "string"
+               },
+               {
+                 "type": "null"
+               }
+             ]
+           },
+           "child_turn_id": {
+             "type": [
+               "string",
+               "null"
+             ]
+           },
+           "delivery_id": {
+             "type": "string"
+           },
+           "error_code": {
+             "type": [
+               "string",
+               "null"
+             ]
+           },
+           "queued_submission_id": {
+             "type": [
+               "string",
+               "null"
+             ]
+           },
+           "state": {
+             "enum": [
+               "waiting",
+               "ready",
+               "sending",
+               "submitted",
+               "failed",
+               "unknown"
+             ],
+             "type": "string"
+           }
+         },
+         "required": [
+           "delivery_id",
+           "state",
+           "child_outcome",
+           "child_turn_id",
+           "queued_submission_id",
+           "error_code"
+         ],
+         "type": "object"
+       },
        "provider": {
          "const": "claude",
          "type": "string"
+       "startup": {
+         "additionalProperties": false,
+         "properties": {
+           "reason": {
+             "type": "string"
+           },
+           "status": {
+             "enum": [
+               "ready",
+               "not_checked",
+               "blocked"
+             ],
+             "type": "string"
+           }
+         },
+         "required": [
+           "status",
+           "reason"
+         ],
+         "type": "object"
+       },
        "submit_residue": {
          "type": [
            "boolean",
+       "initial_prompt",
+       "startup",
        "provider",
        "harness",
        "session_id",
--- pinned/claude_approval
+++ observed/claude_approval
  {
    "description": "aiterm相関付きClaudeのactive turn中に表示された権限確認UIを、turn相関を保ったまま検査・応答する専用面。inspectで画面digestと安全な単発Yes/Noだけを取得し、respondは同じoperation・同じdigestが現在も表示中の場合だけ送信する。",
    "execution": {
+       "remote": {
+         "additionalProperties": false,
+         "description": "別端末のAitermで実行する時のSSH接続情報。hostだけならssh_configの接続名として使う。Aitermは接続情報を保存・管理しない。passphraseは会話記録に残るため、ssh-agentかpassphrase_env(環境変数名)を推奨する。",
+         "properties": {
+           "host": {
+             "pattern": "^(?!-)[A-Za-z0-9._%:\\[\\]-]{1,255}$",
+             "type": "string"
+           },
+           "identity_file": {
+             "minLength": 1,
+             "type": "string"
+           },
+           "passphrase": {
+             "minLength": 1,
+             "type": "string"
+           },
+           "passphrase_env": {
+             "pattern": "^[A-Za-z_][A-Za-z0-9_]*$",
+             "type": "string"
+           },
+           "port": {
+             "maximum": 65535,
+             "minimum": 1,
+             "type": "integer"
+           },
+           "ssh_options": {
+             "items": {
+               "pattern": "^[A-Za-z][A-Za-z0-9]*=[^\\r\\n]*$",
+               "type": "string"
+             },
+             "maxItems": 32,
+             "type": "array"
+           },
+           "user": {
+             "pattern": "^(?!-)[A-Za-z0-9._@\\\\-]{1,128}$",
+             "type": "string"
+           }
+         },
+         "required": [
+           "host"
+         ],
+         "type": "object"
+       },
        "session_id": {
          "type": "string"
        }
--- pinned/claude_turn
+++ observed/claude_turn
  {
    "description": "aiterm相関付きClaude sessionのdurable operationを構造化issue/recoverするmachine-caller専用面。pending/unknown/completedを人間向けerror文字列の解析なしで返し、Observer固有ロジックは持たない。",
    "execution": {
+       "remote": {
+         "additionalProperties": false,
+         "description": "別端末のAitermで実行する時のSSH接続情報。hostだけならssh_configの接続名として使う。Aitermは接続情報を保存・管理しない。passphraseは会話記録に残るため、ssh-agentかpassphrase_env(環境変数名)を推奨する。",
+         "properties": {
+           "host": {
+             "pattern": "^(?!-)[A-Za-z0-9._%:\\[\\]-]{1,255}$",
+             "type": "string"
+           },
+           "identity_file": {
+             "minLength": 1,
+             "type": "string"
+           },
+           "passphrase": {
+             "minLength": 1,
+             "type": "string"
+           },
+           "passphrase_env": {
+             "pattern": "^[A-Za-z_][A-Za-z0-9_]*$",
+             "type": "string"
+           },
+           "port": {
+             "maximum": 65535,
+             "minimum": 1,
+             "type": "integer"
+           },
+           "ssh_options": {
+             "items": {
+               "pattern": "^[A-Za-z][A-Za-z0-9]*=[^\\r\\n]*$",
+               "type": "string"
+             },
+             "maxItems": 32,
+             "type": "array"
+           },
+           "user": {
+             "pattern": "^(?!-)[A-Za-z0-9._@\\\\-]{1,128}$",
+             "type": "string"
+           }
+         },
+         "required": [
+           "host"
+         ],
+         "type": "object"
+       },
        "session_id": {
          "type": "string"
        },
+       "parent_delivery": {
+         "additionalProperties": false,
+         "properties": {
+           "child_outcome": {
+             "anyOf": [
+               {
+                 "enum": [
+                   "done",
+                   "closed",
+                   "rate_limited",
+                   "error"
+                 ],
+                 "type": "string"
+               },
+               {
+                 "type": "null"
+               }
+             ]
+           },
+           "child_turn_id": {
+             "type": [
+               "string",
+               "null"
+             ]
+           },
+           "delivery_id": {
+             "type": "string"
+           },
+           "error_code": {
+             "type": [
+               "string",
+               "null"
+             ]
+           },
+           "queued_submission_id": {
+             "type": [
+               "string",
+               "null"
+             ]
+           },
+           "state": {
+             "enum": [
+               "waiting",
+               "ready",
+               "sending",
+               "submitted",
+               "failed",
+               "unknown"
+             ],
+             "type": "string"
+           }
+         },
+         "required": [
+           "delivery_id",
+           "state",
+           "child_outcome",
+           "child_turn_id",
+           "queued_submission_id",
+           "error_code"
+         ],
+         "type": "object"
+       },
        "raw_output": {
          "type": [
            "string",
--- pinned/codex_agent
+++ observed/codex_agent
  {
-   "description": "【旧互換alias。新規連携は agent_launch(harness=codex-cli)】Codexの対話エージェント TUI を永続端末に起動する。実装・レビュー・調査を対話で回す。通常CLIと同じHOME・cwd・project/user/local設定・MCP・plugin・skill・permission/trustを共有する。aitermは完了相関stateだけをlaunch単位で所有する。起動されたagentにはsub-agent自己認識、親session、delegation depth/lineage、delegation_allowed=trueを注入し、必要な追加委譲は許可する。委譲契約を使う完全な呼び出し例: `codex_agent({\"prompt\":\"<依頼>\",\"model\":\"gpt-5.6-sol\",\"reasoning_effort\":\"high\",\"cwd\":\"/absolute/path/to/repo\",\"write_scope\":\"read-only\"})`。turn は pty_send で送る(自動で非ブロック dispatch になる)。起動して投げたら投げっぱなしでよい=親はここで待たない。完了通知は起動応答またはpty_send dispatch receiptの wait_processを、親のターンを塞がない別プロセスAPIへexecutable/argsの境界を保ったまま渡して受ける(PowerShell 7のStart-Processはwindows_start_process_argument_listを使う)(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要・foreground実行はしない)。wait_commandは人間向け互換表示。結果回収は pty_read(agent_transcript:true)。model / reasoning_effort を引数で指定可(省略時は端末 config/CLI 既定を継承。実効値は起動応答に明示)。",
+   "description": "【旧互換alias。新規連携は agent_launch(harness=codex-cli)】Codexの対話エージェント TUI を永続端末に起動する。実装・レビュー・調査を対話で回す。通常CLIと同じHOME・cwd・project/user/local設定・MCP・plugin・skill・permission/trustを共有する。aitermは完了相関stateだけをlaunch単位で所有する。起動されたagentにはsub-agent自己認識、親session、delegation depth/lineage、delegation_allowed=trueを注入し、必要な追加委譲は許可する。委譲契約を使う完全な呼び出し例: `codex_agent({\"prompt\":\"<依頼>\",\"model\":\"gpt-5.6-sol\",\"reasoning_effort\":\"high\",\"cwd\":\"/absolute/path/to/repo\",\"write_scope\":\"read-only\"})`。turn は pty_send で送る(自動で非ブロック dispatch になる)。dispatch した子は投げっぱなしでよい=親はここで待たない。Codex親とClaude Code親にはAitermが回答本文を自動配送する。parent_deliveryがある場合はwait起動も通常の回答回収も不要。親は作業を続けるかターンを終える。Cursor親にはparent_deliveryとwait_processが付く。作業を続ければ次のツール返りに回答が差し込まれ、ターンを終える前にwait_processを背景で起動するとidle中の完了でも起きられる。ポーリングとpty_read(agent_transcript:true)は不要。その他の親では、完了通知をreceiptの `wait_process.executable` と `wait_process.args` をそのまま親のターンを塞がない別プロセスAPIへ渡して受け、PowerShell 7のStart-Processだけは `windows_start_process_argument_list` を単一文字列として渡す。exit を完了通知として扱う(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要)。`wait_command` は人間向け互換表示でありprocess境界へ使わない。foreground実行で親のターンを塞がない。自動配送以外の結果回収は pty_read(agent_transcript:true)。model / reasoning_effort を引数で指定可(省略時は端末 config/CLI 既定を継承。実効値は起動応答に明示)。",
    "execution": {
      "taskSupport": "forbidden"
    },
+       "trust_project": {
+         "description": "対象projectを信頼し、既知のworkspace・project hooks・MCP初期同意を起動中に進める",
+         "type": "boolean"
+       },
        "write_scope": {
          "description": "能力宣言。read-only、または書込みを許可するパスの説明文字列。対応harnessのread-onlyはCLI標準のread-only面で実効禁止する",
          "minLength": 1,
+       "initial_prompt": {
+         "additionalProperties": false,
+         "properties": {
+           "reason": {
+             "type": "string"
+           },
+           "status": {
+             "enum": [
+               "not_requested",
+               "not_sent",
+               "submitted_unconfirmed",
+               "started"
+             ],
+             "type": "string"
+           },
+           "turn_started": {
+             "type": [
+               "boolean",
+               "null"
+             ]
+           }
+         },
+         "required": [
+           "status",
+           "reason",
+           "turn_started"
+         ],
+         "type": "object"
+       },
        "managed_completion": {
          "description": "後方互換field。trueはaiterm完了相関が有効という意味で、project/user環境の隔離を意味しない",
          "type": "boolean"
+       "parent_delivery": {
+         "additionalProperties": false,
+         "properties": {
+           "child_outcome": {
+             "anyOf": [
+               {
+                 "enum": [
+                   "done",
+                   "closed",
+                   "rate_limited",
+                   "error"
+                 ],
+                 "type": "string"
+               },
+               {
+                 "type": "null"
+               }
+             ]
+           },
+           "child_turn_id": {
+             "type": [
+               "string",
+               "null"
+             ]
+           },
+           "delivery_id": {
+             "type": "string"
+           },
+           "error_code": {
+             "type": [
+               "string",
+               "null"
+             ]
+           },
+           "queued_submission_id": {
+             "type": [
+               "string",
+               "null"
+             ]
+           },
+           "state": {
+             "enum": [
+               "waiting",
+               "ready",
+               "sending",
+               "submitted",
+               "failed",
+               "unknown"
+             ],
+             "type": "string"
+           }
+         },
+         "required": [
+           "delivery_id",
+           "state",
+           "child_outcome",
+           "child_turn_id",
+           "queued_submission_id",
+           "error_code"
+         ],
+         "type": "object"
+       },
        "provider": {
          "const": "codex",
          "type": "string"
+       "startup": {
+         "additionalProperties": false,
+         "properties": {
+           "reason": {
+             "type": "string"
+           },
+           "status": {
+             "enum": [
+               "ready",
+               "not_checked",
+               "blocked"
+             ],
+             "type": "string"
+           }
+         },
+         "required": [
+           "status",
+           "reason"
+         ],
+         "type": "object"
+       },
        "submit_residue": {
          "type": [
            "boolean",
+       "initial_prompt",
+       "startup",
        "provider",
        "harness",
        "session_id",
--- pinned/diagnostics
+++ observed/diagnostics
  {
-   "description": "Factory 向け read-only 診断。安全な状態語彙だけを機械可読 JSON で返す(PTY 内容・認証情報・path・環境値は返さない)。",
+   "description": "Factory 向け read-only 診断。安全な状態語彙だけを機械可読 JSON で返す(PTY 内容・認証情報・path・環境値は返さない)。2つ目のtextは親配送hook(Claude Code・Cursor)の登録状態で、caller_status が setup_required なら呼出元からのagent送信は拒否される。aiterm-setup を実行する。",
    "execution": {
      "taskSupport": "forbidden"
    },
--- pinned/grok_agent
+++ observed/grok_agent
  {
-   "description": "【旧互換alias。新規連携は agent_launch(harness=grok-cli)】Grok BuildのGrokモデル(既定 grok-4.6)の対話エージェント TUIを永続端末に起動する。通常CLIと同じHOME・cwd・project/user/local設定・MCP・plugin・skill・permission/trustを共有する。aitermは完了相関stateだけをlaunch単位で所有する。起動されたagentにはsub-agent自己認識、親session、delegation depth/lineage、delegation_allowed=trueを注入し、必要な追加委譲は許可する。turn は pty_send で送る(自動で非ブロック dispatch になる)。起動して投げたら投げっぱなしでよい=親はここで待たない。完了通知は起動応答またはpty_send dispatch receiptの wait_processを、親のターンを塞がない別プロセスAPIへexecutable/argsの境界を保ったまま渡して受ける(PowerShell 7のStart-Processはwindows_start_process_argument_listを使う)(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要・foreground実行はしない)。wait_commandは人間向け互換表示。結果回収は pty_read(agent_transcript:true)。model/reasoning_effortを引数で指定可。read-only sandboxとagent_configureに対応。",
+   "description": "【旧互換alias。新規連携は agent_launch(harness=grok-cli)】Grok BuildのGrokモデル(既定 grok-4.6)の対話エージェント TUIを永続端末に起動する。通常CLIと同じHOME・cwd・project/user/local設定・MCP・plugin・skill・permission/trustを共有する。aitermは完了相関stateだけをlaunch単位で所有する。起動されたagentにはsub-agent自己認識、親session、delegation depth/lineage、delegation_allowed=trueを注入し、必要な追加委譲は許可する。turn は pty_send で送る(自動で非ブロック dispatch になる)。dispatch した子は投げっぱなしでよい=親はここで待たない。Codex親とClaude Code親にはAitermが回答本文を自動配送する。parent_deliveryがある場合はwait起動も通常の回答回収も不要。親は作業を続けるかターンを終える。Cursor親にはparent_deliveryとwait_processが付く。作業を続ければ次のツール返りに回答が差し込まれ、ターンを終える前にwait_processを背景で起動するとidle中の完了でも起きられる。ポーリングとpty_read(agent_transcript:true)は不要。その他の親では、完了通知をreceiptの `wait_process.executable` と `wait_process.args` をそのまま親のターンを塞がない別プロセスAPIへ渡して受け、PowerShell 7のStart-Processだけは `windows_start_process_argument_list` を単一文字列として渡す。exit を完了通知として扱う(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要)。`wait_command` は人間向け互換表示でありprocess境界へ使わない。foreground実行で親のターンを塞がない。自動配送以外の結果回収は pty_read(agent_transcript:true)。model/reasoning_effortを引数で指定可。read-only sandboxとagent_configureに対応。",
    "execution": {
      "taskSupport": "forbidden"
    },
+       "trust_project": {
+         "description": "対象projectを信頼し、既知のworkspace・project hooks・MCP初期同意を起動中に進める",
+         "type": "boolean"
+       },
        "write_scope": {
          "description": "能力宣言。read-only、または書込みを許可するパスの説明文字列。対応harnessのread-onlyはCLI標準のread-only面で実効禁止する",
          "minLength": 1,
+       "initial_prompt": {
+         "additionalProperties": false,
+         "properties": {
+           "reason": {
+             "type": "string"
+           },
+           "status": {
+             "enum": [
+               "not_requested",
+               "not_sent",
+               "submitted_unconfirmed",
+               "started"
+             ],
+             "type": "string"
+           },
+           "turn_started": {
+             "type": [
+               "boolean",
+               "null"
+             ]
+           }
+         },
+         "required": [
+           "status",
+           "reason",
+           "turn_started"
+         ],
+         "type": "object"
+       },
        "managed_completion": {
          "description": "後方互換field。trueはaiterm完了相関が有効という意味で、project/user環境の隔離を意味しない",
          "type": "boolean"
+       "parent_delivery": {
+         "additionalProperties": false,
+         "properties": {
+           "child_outcome": {
+             "anyOf": [
+               {
+                 "enum": [
+                   "done",
+                   "closed",
+                   "rate_limited",
+                   "error"
+                 ],
+                 "type": "string"
+               },
+               {
+                 "type": "null"
+               }
+             ]
+           },
+           "child_turn_id": {
+             "type": [
+               "string",
+               "null"
+             ]
+           },
+           "delivery_id": {
+             "type": "string"
+           },
+           "error_code": {
+             "type": [
+               "string",
+               "null"
+             ]
+           },
+           "queued_submission_id": {
+             "type": [
+               "string",
+               "null"
+             ]
+           },
+           "state": {
+             "enum": [
+               "waiting",
+               "ready",
+               "sending",
+               "submitted",
+               "failed",
+               "unknown"
+             ],
+             "type": "string"
+           }
+         },
+         "required": [
+           "delivery_id",
+           "state",
+           "child_outcome",
+           "child_turn_id",
+           "queued_submission_id",
+           "error_code"
+         ],
+         "type": "object"
+       },
        "provider": {
          "const": "grok",
          "type": "string"
+       "startup": {
+         "additionalProperties": false,
+         "properties": {
+           "reason": {
+             "type": "string"
+           },
+           "status": {
+             "enum": [
+               "ready",
+               "not_checked",
+               "blocked"
+             ],
+             "type": "string"
+           }
+         },
+         "required": [
+           "status",
+           "reason"
+         ],
+         "type": "object"
+       },
        "submit_residue": {
          "type": [
            "boolean",
+       "initial_prompt",
+       "startup",
        "provider",
        "harness",
        "session_id",
--- pinned/pty_close
+++ observed/pty_close
  {
    "description": "セッションを閉じ、ログ/読取位置を破棄する。同じsession_idへの再試行は安全で、closed/already_closedのstructured receiptを返す。",
    "execution": {
+       "remote": {
+         "additionalProperties": false,
+         "description": "別端末のAitermで実行する時のSSH接続情報。hostだけならssh_configの接続名として使う。Aitermは接続情報を保存・管理しない。passphraseは会話記録に残るため、ssh-agentかpassphrase_env(環境変数名)を推奨する。",
+         "properties": {
+           "host": {
+             "pattern": "^(?!-)[A-Za-z0-9._%:\\[\\]-]{1,255}$",
+             "type": "string"
+           },
+           "identity_file": {
+             "minLength": 1,
+             "type": "string"
+           },
+           "passphrase": {
+             "minLength": 1,
+             "type": "string"
+           },
+           "passphrase_env": {
+             "pattern": "^[A-Za-z_][A-Za-z0-9_]*$",
+             "type": "string"
+           },
+           "port": {
+             "maximum": 65535,
+             "minimum": 1,
+             "type": "integer"
+           },
+           "ssh_options": {
+             "items": {
+               "pattern": "^[A-Za-z][A-Za-z0-9]*=[^\\r\\n]*$",
+               "type": "string"
+             },
+             "maxItems": 32,
+             "type": "array"
+           },
+           "user": {
+             "pattern": "^(?!-)[A-Za-z0-9._@\\\\-]{1,128}$",
+             "type": "string"
+           }
+         },
+         "required": [
+           "host"
+         ],
+         "type": "object"
+       },
        "session_id": {
          "type": "string"
        }
--- pinned/pty_key
+++ observed/pty_key
  {
    "description": "制御キーを送る(C-c, C-d, Enter, Tab, Up, Down... の別名に対応)。aiterm相関付きClaude sessionではturn相関を守るためC-cだけを許可し、承認UIはclaude_approvalで操作する。",
    "execution": {
+       "remote": {
+         "additionalProperties": false,
+         "description": "別端末のAitermで実行する時のSSH接続情報。hostだけならssh_configの接続名として使う。Aitermは接続情報を保存・管理しない。passphraseは会話記録に残るため、ssh-agentかpassphrase_env(環境変数名)を推奨する。",
+         "properties": {
+           "host": {
+             "pattern": "^(?!-)[A-Za-z0-9._%:\\[\\]-]{1,255}$",
+             "type": "string"
+           },
+           "identity_file": {
+             "minLength": 1,
+             "type": "string"
+           },
+           "passphrase": {
+             "minLength": 1,
+             "type": "string"
+           },
+           "passphrase_env": {
+             "pattern": "^[A-Za-z_][A-Za-z0-9_]*$",
+             "type": "string"
+           },
+           "port": {
+             "maximum": 65535,
+             "minimum": 1,
+             "type": "integer"
+           },
+           "ssh_options": {
+             "items": {
+               "pattern": "^[A-Za-z][A-Za-z0-9]*=[^\\r\\n]*$",
+               "type": "string"
+             },
+             "maxItems": 32,
+             "type": "array"
+           },
+           "user": {
+             "pattern": "^(?!-)[A-Za-z0-9._@\\\\-]{1,128}$",
+             "type": "string"
+           }
+         },
+         "required": [
+           "host"
+         ],
+         "type": "object"
+       },
        "session_id": {
          "type": "string"
        }
--- pinned/pty_list
+++ observed/pty_list
  {
    "description": "握っているセッション一覧(名前 / 現在の前面コマンド / attach 状態 / サイズ / agent 情報)。",
    "execution": {
-     "properties": {},
+     "properties": {
+       "env_keys": {
+         "description": "帰属確認用の非秘密環境変数名。指定したキーだけを返す",
+         "items": {
+           "type": "string"
+         },
+         "type": "array"
+       },
+       "remote": {
+         "additionalProperties": false,
+         "description": "別端末のAitermで実行する時のSSH接続情報。hostだけならssh_configの接続名として使う。Aitermは接続情報を保存・管理しない。passphraseは会話記録に残るため、ssh-agentかpassphrase_env(環境変数名)を推奨する。",
+         "properties": {
+           "host": {
+             "pattern": "^(?!-)[A-Za-z0-9._%:\\[\\]-]{1,255}$",
+             "type": "string"
+           },
+           "identity_file": {
+             "minLength": 1,
+             "type": "string"
+           },
+           "passphrase": {
+             "minLength": 1,
+             "type": "string"
+           },
+           "passphrase_env": {
+             "pattern": "^[A-Za-z_][A-Za-z0-9_]*$",
+             "type": "string"
+           },
+           "port": {
+             "maximum": 65535,
+             "minimum": 1,
+             "type": "integer"
+           },
+           "ssh_options": {
+             "items": {
+               "pattern": "^[A-Za-z][A-Za-z0-9]*=[^\\r\\n]*$",
+               "type": "string"
+             },
+             "maxItems": 32,
+             "type": "array"
+           },
+           "user": {
+             "pattern": "^(?!-)[A-Za-z0-9._@\\\\-]{1,128}$",
+             "type": "string"
+           }
+         },
+         "required": [
+           "host"
+         ],
+         "type": "object"
+       }
+     },
      "type": "object"
    },
-   "name": "pty_list"
+   "name": "pty_list",
+   "outputSchema": {
+     "$schema": "http://json-schema.org/draft-07/schema#",
+     "additionalProperties": false,
+     "properties": {
+       "observed_at": {
+         "type": "string"
+       },
+       "schema": {
+         "const": "aiterm.pty-list-result.v1",
+         "type": "string"
+       },
+       "sessions": {
+         "items": {
+           "additionalProperties": false,
+           "properties": {
+             "attached": {
+               "type": "boolean"
+             },
+             "current_command": {
+               "type": "string"
+             },
+             "environment": {
+               "additionalProperties": {
+                 "type": [
+                   "string",
+                   "null"
+                 ]
+               },
+               "propertyNames": {
+                 "type": "string"
+               },
+               "type": "object"
+             },
+             "harness": {
+               "anyOf": [
+                 {
+                   "enum": [
+                     "claude-code",
+                     "codex-cli",
+                     "grok-cli",
+                     "cursor-cli"
+                   ],
+                   "type": "string"
+                 },
+                 {
+                   "type": "null"
+                 }
+               ]
+             },
+             "height": {
+               "type": "number"
+             },
+             "session_id": {
+               "type": "string"
+             },
+             "width": {
+               "type": "number"
+             }
+           },
+           "required": [
+             "session_id",
+             "current_command",
+             "attached",
+             "width",
+             "height",
+             "harness",
+             "environment"
+           ],
+           "type": "object"
+         },
+         "type": "array"
+       }
+     },
+     "required": [
+       "schema",
+       "observed_at",
+       "sessions"
+     ],
+     "type": "object"
+   }
  }

+ tool added: pty_observe

--- pinned/pty_open
+++ observed/pty_open
  {
    "description": "ローカル永続端末(POSIXはtmux、Windows nativeはpsmux 3.3.8以上)を1個開き、session_id を返す。backend server常駐ゆえ本サーバや クライアントが再起動してもセッションは生存する。リモート操作は専用ツールにせず、開いた端末の中で pty_send(session_id, \"ssh host\") と打って入る。",
    "execution": {
+       "env_vars": {
+         "description": "sessionへ登録する環境変数名(値は現在のMCP processから読む。pty_listのenv_keysで読める)。端末の環境は、名指ししなくても現在のMCP processの環境を継ぐ",
+         "items": {
+           "type": "string"
+         },
+         "type": "array"
+       },
        "name": {
          "description": "セッション名(省略時は t1, t2... を自動採番)",
          "type": [
+       "remote": {
+         "additionalProperties": false,
+         "description": "別端末のAitermで実行する時のSSH接続情報。hostだけならssh_configの接続名として使う。Aitermは接続情報を保存・管理しない。passphraseは会話記録に残るため、ssh-agentかpassphrase_env(環境変数名)を推奨する。",
+         "properties": {
+           "host": {
+             "pattern": "^(?!-)[A-Za-z0-9._%:\\[\\]-]{1,255}$",
+             "type": "string"
+           },
+           "identity_file": {
+             "minLength": 1,
+             "type": "string"
+           },
+           "passphrase": {
+             "minLength": 1,
+             "type": "string"
+           },
+           "passphrase_env": {
+             "pattern": "^[A-Za-z_][A-Za-z0-9_]*$",
+             "type": "string"
+           },
+           "port": {
+             "maximum": 65535,
+             "minimum": 1,
+             "type": "integer"
+           },
+           "ssh_options": {
+             "items": {
+               "pattern": "^[A-Za-z][A-Za-z0-9]*=[^\\r\\n]*$",
+               "type": "string"
+             },
+             "maxItems": 32,
+             "type": "array"
+           },
+           "user": {
+             "pattern": "^(?!-)[A-Za-z0-9._@\\\\-]{1,128}$",
+             "type": "string"
+           }
+         },
+         "required": [
+           "host"
+         ],
+         "type": "object"
+       },
        "shell": {
          "default": "bash",
          "description": "起動シェル(既定 bash)",
--- pinned/pty_read
+++ observed/pty_read
  {
    "description": "セッションの出力をトークン削減して読む(既定は前回読取位置からの増分)。削減: 制御文字除去 / 反復圧縮 / head+tail 折りたたみ+復元ヒント+メタ併記。agent_transcript:true は agent session の直近完了ターンの最終 assistant メッセージを公開されたharness記録から平文で返す。長い回答が screen tail で切れた時の回収用。",
    "execution": {
+       "remote": {
+         "additionalProperties": false,
+         "description": "別端末のAitermで実行する時のSSH接続情報。hostだけならssh_configの接続名として使う。Aitermは接続情報を保存・管理しない。passphraseは会話記録に残るため、ssh-agentかpassphrase_env(環境変数名)を推奨する。",
+         "properties": {
+           "host": {
+             "pattern": "^(?!-)[A-Za-z0-9._%:\\[\\]-]{1,255}$",
+             "type": "string"
+           },
+           "identity_file": {
+             "minLength": 1,
+             "type": "string"
+           },
+           "passphrase": {
+             "minLength": 1,
+             "type": "string"
+           },
+           "passphrase_env": {
+             "pattern": "^[A-Za-z_][A-Za-z0-9_]*$",
+             "type": "string"
+           },
+           "port": {
+             "maximum": 65535,
+             "minimum": 1,
+             "type": "integer"
+           },
+           "ssh_options": {
+             "items": {
+               "pattern": "^[A-Za-z][A-Za-z0-9]*=[^\\r\\n]*$",
+               "type": "string"
+             },
+             "maxItems": 32,
+             "type": "array"
+           },
+           "user": {
+             "pattern": "^(?!-)[A-Za-z0-9._@\\\\-]{1,128}$",
+             "type": "string"
+           }
+         },
+         "required": [
+           "host"
+         ],
+         "type": "object"
+       },
        "rtk": {
          "default": false,
          "description": "直前コマンド別の自前 reducer(git/grep/pytest 等)で縮約",
-               "composer",
                "cursor"
              ],
              "type": "string"
--- pinned/pty_send
+++ observed/pty_send
  {
-   "description": "セッションへテキストを送る。通常PTYへは送信のみ(出力は pty_read で取得)。agent session(launcher起動)への send は自動で dispatch になる: TUI の ready gate と submit 分離を通して即返り、receipt の event_cursor を返す。dispatch した子は投げっぱなしでよい=親はここで待たない。完了通知はreceiptの `wait_process.executable` と `wait_process.args` をそのまま親のターンを塞がない別プロセスAPIへ渡して受け、PowerShell 7のStart-Processだけは `windows_start_process_argument_list` を単一文字列として渡す。exit を完了通知として扱う(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要)。`wait_command` は人間向け互換表示でありprocess境界へ使わない。foreground実行で親のターンを塞がない。結果回収は pty_read(agent_transcript:true)、Claude の durable turn は claude_turn を使う。force:true は非Claude agent sessionへの手動介入用の素送信。aiterm相関付きClaudeの承認UIはclaude_approvalを使う。",
+   "description": "セッションへテキストを送る。通常PTYへは送信のみ(出力は pty_read で取得)。agent session(launcher起動)への送信はこのtoolだけで行い、子の状態はAitermが送る時点で見て振り分ける。子のturnが実行中なら各harness標準の操作で現在のturnへ差し込み(mode=agent_steer)、完了は差し込み後の作業の終わりに元の依頼への1回だけ届く。新しいevent_cursorと配送は作らない。それ以外は新しいturnとしてdispatchし(mode=agent_dispatch)、TUI の ready gate と submit 分離を通して即返り、receipt の event_cursor を返す。dispatch した子は投げっぱなしでよい=親はここで待たない。Codex親とClaude Code親にはAitermが回答本文を自動配送する。parent_deliveryがある場合はwait起動も通常の回答回収も不要。親は作業を続けるかターンを終える。Cursor親にはparent_deliveryとwait_processが付く。作業を続ければ次のツール返りに回答が差し込まれ、ターンを終える前にwait_processを背景で起動するとidle中の完了でも起きられる。ポーリングとpty_read(agent_transcript:true)は不要。その他の親では、完了通知をreceiptの `wait_process.executable` と `wait_process.args` をそのまま親のターンを塞がない別プロセスAPIへ渡して受け、PowerShell 7のStart-Processだけは `windows_start_process_argument_list` を単一文字列として渡す。exit を完了通知として扱う(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要)。`wait_command` は人間向け互換表示でありprocess境界へ使わない。foreground実行で親のターンを塞がない。自動配送以外の結果回収は pty_read(agent_transcript:true)、Claude の durable turn は claude_turn を使う。require_agent:true はagent登録が無いsessionへ打鍵せず、AGENT_SESSION_REQUIREDで未送信を返す。force:true は非Claude agent sessionへの手動介入用の素送信。aiterm相関付きClaudeの承認UIはclaude_approvalを使う。",
    "execution": {
      "taskSupport": "forbidden"
    },
-         "description": "完了 sentinel(終了コード付き)で包む。pty_read(wait:true) が until 無しでも自動検出して完了確定する(POSIX shell と PowerShell に対応。PowerShell の rc は成功0/失敗1。fish/csh/tcsh は未対応として送信前に拒否)。 enter:false と併用すると sentinel が実行されず完了検出が発火しない(送信後に pty_key(\"Enter\") で実行される)。",
+         "description": "完了 sentinel(終了コード付き)で包む。pty_read(wait:true) が until 無しでも自動検出して完了確定する(POSIX shell と PowerShell に対応。SSH先の現在の標準PS promptも自動判定。PowerShell の rc は成功0/失敗1。fish/csh/tcsh は未対応として送信前に拒否)。 enter:false と併用すると sentinel が実行されず完了検出が発火しない(送信後に pty_key(\"Enter\") で実行される)。",
          "type": "boolean"
        },
        "raw": {
+       "remote": {
+         "additionalProperties": false,
+         "description": "別端末のAitermで実行する時のSSH接続情報。hostだけならssh_configの接続名として使う。Aitermは接続情報を保存・管理しない。passphraseは会話記録に残るため、ssh-agentかpassphrase_env(環境変数名)を推奨する。",
+         "properties": {
+           "host": {
+             "pattern": "^(?!-)[A-Za-z0-9._%:\\[\\]-]{1,255}$",
+             "type": "string"
+           },
+           "identity_file": {
+             "minLength": 1,
+             "type": "string"
+           },
+           "passphrase": {
+             "minLength": 1,
+             "type": "string"
+           },
+           "passphrase_env": {
+             "pattern": "^[A-Za-z_][A-Za-z0-9_]*$",
+             "type": "string"
+           },
+           "port": {
+             "maximum": 65535,
+             "minimum": 1,
+             "type": "integer"
+           },
+           "ssh_options": {
+             "items": {
+               "pattern": "^[A-Za-z][A-Za-z0-9]*=[^\\r\\n]*$",
+               "type": "string"
+             },
+             "maxItems": 32,
+             "type": "array"
+           },
+           "user": {
+             "pattern": "^(?!-)[A-Za-z0-9._@\\\\-]{1,128}$",
+             "type": "string"
+           }
+         },
+         "required": [
+           "host"
+         ],
+         "type": "object"
+       },
+       "require_agent": {
+         "default": false,
+         "description": "agent登録が無いsessionは打鍵前に拒否する。force:trueとは併用できない",
+         "type": "boolean"
+       },
        "rtk": {
          "default": false,
          "description": "既知コマンドを rtk 形へ委譲して送る(rtk 不在なら素通し)",
-           "agent_dispatch"
+           "agent_dispatch",
+           "agent_steer"
          ],
          "type": "string"
        },
+       "parent_delivery": {
+         "additionalProperties": false,
+         "properties": {
+           "child_outcome": {
+             "anyOf": [
+               {
+                 "enum": [
+                   "done",
+                   "closed",
+                   "rate_limited",
+                   "error"
+                 ],
+                 "type": "string"
+               },
+               {
+                 "type": "null"
+               }
+             ]
+           },
+           "child_turn_id": {
+             "type": [
+               "string",
+               "null"
+             ]
+           },
+           "delivery_id": {
+             "type": "string"
+           },
+           "error_code": {
+             "type": [
+               "string",
+               "null"
+             ]
+           },
+           "queued_submission_id": {
+             "type": [
+               "string",
+               "null"
+             ]
+           },
+           "state": {
+             "enum": [
+               "waiting",
+               "ready",
+               "sending",
+               "submitted",
+               "failed",
+               "unknown"
+             ],
+             "type": "string"
+           }
+         },
+         "required": [
+           "delivery_id",
+           "state",
+           "child_outcome",
+           "child_turn_id",
+           "queued_submission_id",
+           "error_code"
+         ],
+         "type": "object"
+       },
        "schema": {
          "const": "aiterm.pty-send-result.v1",
          "type": "string"
-               "composer",
                "cursor"
              ],
              "type": "string"

tool removed: agent_steer

tool removed: composer_agent

Changed 2026-09-04 10:22 UTC

6 descriptions rewritten, 1 schema or annotation change with the description left byte-identical.

--- pinned/agent_launch
+++ observed/agent_launch
  {
-   "description": "エージェントを単一の標準入口から永続sessionへ起動する。harnessはagent loop・認証・hook・transcriptを所有する実行基盤、modelはそのharnessが選ぶ推論モデルであり別軸。Cursor harnessからGPT/Claude/Grok等を選んでも完了相関はCursor方式のまま。Grok Composerは別harnessではなく harness=grok-cli と model=grok-composer-2.5-fast で指定する。通常CLIと同じHOME・cwd・project/user/local設定・MCP・plugin・skill・permission/trustを共有する。aitermは完了相関stateだけをlaunch単位で所有する。起動されたagentにはsub-agent自己認識、親session、delegation depth/lineage、delegation_allowed=trueを注入し、必要な追加委譲は許可する。起動して投げたら投げっぱなしでよい=親はここで待たない。完了通知は起動応答またはpty_send dispatch receiptの wait_processを、親のターンを塞がない別プロセスAPIへexecutable/argsの境界を保ったまま渡して受ける(PowerShell 7のStart-Processはwindows_start_process_argument_listを使う)(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed。receiptのoutcomeが正で、done以外は未完了。ポーリング不要・foreground実行はしない)。wait_commandは人間向け互換表示。結果回収は pty_read(agent_transcript:true)。",
+   "description": "エージェントを単一の標準入口から永続sessionへ起動する。harnessはagent loop・認証・hook・transcriptを所有する実行基盤、modelはそのharnessが選ぶ推論モデルであり別軸。Cursor harnessからGPT/Claude/Grok等を選んでも完了相関はCursor方式のまま。Grok Composerは別harnessではなく harness=grok-cli と model=grok-composer-2.5-fast で指定する。通常CLIと同じHOME・cwd・project/user/local設定・MCP・plugin・skill・permission/trustを共有する。aitermは完了相関stateだけをlaunch単位で所有する。起動されたagentにはsub-agent自己認識、親session、delegation depth/lineage、delegation_allowed=trueを注入し、必要な追加委譲は許可する。起動して投げたら投げっぱなしでよい=親はここで待たない。完了通知は起動応答またはpty_send dispatch receiptの wait_processを、親のターンを塞がない別プロセスAPIへexecutable/argsの境界を保ったまま渡して受ける(PowerShell 7のStart-Processはwindows_start_process_argument_listを使う)(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要・foreground実行はしない)。wait_commandは人間向け互換表示。結果回収は pty_read(agent_transcript:true)。",
    "execution": {
      "taskSupport": "forbidden"
    },
+       "image": {
+         "description": "初手プロンプトへ添付する画像ファイルの絶対パス(png/jpg/jpeg/gif/webp)",
+         "items": {
+           "type": "string"
+         },
+         "type": "array"
+       },
        "launch_operation_id": {
          "description": "Claude Codeのpromptなしexact replay相関だけで使用",
          "pattern": "^sha256:[0-9a-f]{64}$",
--- pinned/agent_steer
+++ observed/agent_steer
  {
    "description": "実行中のCodex/Grok agentへ追加メッセージを差し込み、現在のターンを誘導する。独立した次ターンを始める用途ではなく、idle時は文字を送らずdelivery=idleを返す。",
    "execution": {
+       "image": {
+         "description": "添付する画像ファイルの絶対パス(png/jpg/jpeg/gif/webp)",
+         "items": {
+           "type": "string"
+         },
+         "type": "array"
+       },
        "session_id": {
          "type": "string"
        },
--- pinned/claude_agent
+++ observed/claude_agent
  {
-   "description": "【旧互換alias。新規連携は agent_launch(harness=claude-code)】Claude Codeの対話エージェントTUIを永続端末に起動する。`claude -p`ではなく、同じ利用者可視sessionへpty_sendで継続入力する。通常CLIと同じHOME・cwd・project/user/local設定・MCP・plugin・skill・permission/trustを共有する。aitermは完了相関stateだけをlaunch単位で所有する。起動されたagentにはsub-agent自己認識、親session、delegation depth/lineage、delegation_allowed=trueを注入し、必要な追加委譲は許可する。通常settingsへlaunch固有Stop hook settingsを加算する。起動前に共有認証を構造化確認し、未認証ならsessionを作らない。起動して投げたら投げっぱなしでよい=親はここで待たない。完了通知は起動応答またはpty_send dispatch receiptの wait_processを、親のターンを塞がない別プロセスAPIへexecutable/argsの境界を保ったまま渡して受ける(PowerShell 7のStart-Processはwindows_start_process_argument_listを使う)(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed。receiptのoutcomeが正で、done以外は未完了。ポーリング不要・foreground実行はしない)。wait_commandは人間向け互換表示。結果回収は pty_read(agent_transcript:true)。Claude の durable turn は claude_turn でも回収できる。",
+   "description": "【旧互換alias。新規連携は agent_launch(harness=claude-code)】Claude Codeの対話エージェントTUIを永続端末に起動する。`claude -p`ではなく、同じ利用者可視sessionへpty_sendで継続入力する。通常CLIと同じHOME・cwd・project/user/local設定・MCP・plugin・skill・permission/trustを共有する。aitermは完了相関stateだけをlaunch単位で所有する。起動されたagentにはsub-agent自己認識、親session、delegation depth/lineage、delegation_allowed=trueを注入し、必要な追加委譲は許可する。通常settingsへlaunch固有Stop hook settingsを加算する。起動前に共有認証を構造化確認し、未認証ならsessionを作らない。起動して投げたら投げっぱなしでよい=親はここで待たない。完了通知は起動応答またはpty_send dispatch receiptの wait_processを、親のターンを塞がない別プロセスAPIへexecutable/argsの境界を保ったまま渡して受ける(PowerShell 7のStart-Processはwindows_start_process_argument_listを使う)(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要・foreground実行はしない)。wait_commandは人間向け互換表示。結果回収は pty_read(agent_transcript:true)。Claude の durable turn は claude_turn でも回収できる。",
    "execution": {
      "taskSupport": "forbidden"
    },
--- pinned/codex_agent
+++ observed/codex_agent
  {
-   "description": "【旧互換alias。新規連携は agent_launch(harness=codex-cli)】Codexの対話エージェント TUI を永続端末に起動する。実装・レビュー・調査を対話で回す。通常CLIと同じHOME・cwd・project/user/local設定・MCP・plugin・skill・permission/trustを共有する。aitermは完了相関stateだけをlaunch単位で所有する。起動されたagentにはsub-agent自己認識、親session、delegation depth/lineage、delegation_allowed=trueを注入し、必要な追加委譲は許可する。委譲契約を使う完全な呼び出し例: `codex_agent({\"prompt\":\"<依頼>\",\"model\":\"gpt-5.6-sol\",\"reasoning_effort\":\"high\",\"cwd\":\"/absolute/path/to/repo\",\"write_scope\":\"read-only\"})`。turn は pty_send で送る(自動で非ブロック dispatch になる)。起動して投げたら投げっぱなしでよい=親はここで待たない。完了通知は起動応答またはpty_send dispatch receiptの wait_processを、親のターンを塞がない別プロセスAPIへexecutable/argsの境界を保ったまま渡して受ける(PowerShell 7のStart-Processはwindows_start_process_argument_listを使う)(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed。receiptのoutcomeが正で、done以外は未完了。ポーリング不要・foreground実行はしない)。wait_commandは人間向け互換表示。結果回収は pty_read(agent_transcript:true)。model / reasoning_effort を引数で指定可(省略時は端末 config/CLI 既定を継承。実効値は起動応答に明示)。",
+   "description": "【旧互換alias。新規連携は agent_launch(harness=codex-cli)】Codexの対話エージェント TUI を永続端末に起動する。実装・レビュー・調査を対話で回す。通常CLIと同じHOME・cwd・project/user/local設定・MCP・plugin・skill・permission/trustを共有する。aitermは完了相関stateだけをlaunch単位で所有する。起動されたagentにはsub-agent自己認識、親session、delegation depth/lineage、delegation_allowed=trueを注入し、必要な追加委譲は許可する。委譲契約を使う完全な呼び出し例: `codex_agent({\"prompt\":\"<依頼>\",\"model\":\"gpt-5.6-sol\",\"reasoning_effort\":\"high\",\"cwd\":\"/absolute/path/to/repo\",\"write_scope\":\"read-only\"})`。turn は pty_send で送る(自動で非ブロック dispatch になる)。起動して投げたら投げっぱなしでよい=親はここで待たない。完了通知は起動応答またはpty_send dispatch receiptの wait_processを、親のターンを塞がない別プロセスAPIへexecutable/argsの境界を保ったまま渡して受ける(PowerShell 7のStart-Processはwindows_start_process_argument_listを使う)(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要・foreground実行はしない)。wait_commandは人間向け互換表示。結果回収は pty_read(agent_transcript:true)。model / reasoning_effort を引数で指定可(省略時は端末 config/CLI 既定を継承。実効値は起動応答に明示)。",
    "execution": {
      "taskSupport": "forbidden"
    },
--- pinned/composer_agent
+++ observed/composer_agent
  {
-   "description": "【旧互換alias。新規連携は agent_launch(harness=grok-cli, model=grok-composer-2.5-fast)】Grok BuildのComposerモデルを永続端末に起動する。通常CLIと同じHOME・cwd・project/user/local設定・MCP・plugin・skill・permission/trustを共有する。aitermは完了相関stateだけをlaunch単位で所有する。起動されたagentにはsub-agent自己認識、親session、delegation depth/lineage、delegation_allowed=trueを注入し、必要な追加委譲は許可する。turn は pty_send で送る(自動で非ブロック dispatch になる)。起動して投げたら投げっぱなしでよい=親はここで待たない。完了通知は起動応答またはpty_send dispatch receiptの wait_processを、親のターンを塞がない別プロセスAPIへexecutable/argsの境界を保ったまま渡して受ける(PowerShell 7のStart-Processはwindows_start_process_argument_listを使う)(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed。receiptのoutcomeが正で、done以外は未完了。ポーリング不要・foreground実行はしない)。wait_commandは人間向け互換表示。結果回収は pty_read(agent_transcript:true)。model/reasoning_effortを引数で指定可。live catalogにComposer modelがなければGrokへfallbackせず明示エラー。read-only sandboxとagent_configureに対応。",
+   "description": "【旧互換alias。新規連携は agent_launch(harness=grok-cli, model=grok-composer-2.5-fast)】Grok BuildのComposerモデルを永続端末に起動する。通常CLIと同じHOME・cwd・project/user/local設定・MCP・plugin・skill・permission/trustを共有する。aitermは完了相関stateだけをlaunch単位で所有する。起動されたagentにはsub-agent自己認識、親session、delegation depth/lineage、delegation_allowed=trueを注入し、必要な追加委譲は許可する。turn は pty_send で送る(自動で非ブロック dispatch になる)。起動して投げたら投げっぱなしでよい=親はここで待たない。完了通知は起動応答またはpty_send dispatch receiptの wait_processを、親のターンを塞がない別プロセスAPIへexecutable/argsの境界を保ったまま渡して受ける(PowerShell 7のStart-Processはwindows_start_process_argument_listを使う)(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要・foreground実行はしない)。wait_commandは人間向け互換表示。結果回収は pty_read(agent_transcript:true)。model/reasoning_effortを引数で指定可。live catalogにComposer modelがなければGrokへfallbackせず明示エラー。read-only sandboxとagent_configureに対応。",
    "execution": {
      "taskSupport": "forbidden"
    },
--- pinned/grok_agent
+++ observed/grok_agent
  {
-   "description": "【旧互換alias。新規連携は agent_launch(harness=grok-cli)】Grok BuildのGrokモデル(既定 grok-4.6)の対話エージェント TUIを永続端末に起動する。通常CLIと同じHOME・cwd・project/user/local設定・MCP・plugin・skill・permission/trustを共有する。aitermは完了相関stateだけをlaunch単位で所有する。起動されたagentにはsub-agent自己認識、親session、delegation depth/lineage、delegation_allowed=trueを注入し、必要な追加委譲は許可する。turn は pty_send で送る(自動で非ブロック dispatch になる)。起動して投げたら投げっぱなしでよい=親はここで待たない。完了通知は起動応答またはpty_send dispatch receiptの wait_processを、親のターンを塞がない別プロセスAPIへexecutable/argsの境界を保ったまま渡して受ける(PowerShell 7のStart-Processはwindows_start_process_argument_listを使う)(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed。receiptのoutcomeが正で、done以外は未完了。ポーリング不要・foreground実行はしない)。wait_commandは人間向け互換表示。結果回収は pty_read(agent_transcript:true)。model/reasoning_effortを引数で指定可。read-only sandboxとagent_configureに対応。",
+   "description": "【旧互換alias。新規連携は agent_launch(harness=grok-cli)】Grok BuildのGrokモデル(既定 grok-4.6)の対話エージェント TUIを永続端末に起動する。通常CLIと同じHOME・cwd・project/user/local設定・MCP・plugin・skill・permission/trustを共有する。aitermは完了相関stateだけをlaunch単位で所有する。起動されたagentにはsub-agent自己認識、親session、delegation depth/lineage、delegation_allowed=trueを注入し、必要な追加委譲は許可する。turn は pty_send で送る(自動で非ブロック dispatch になる)。起動して投げたら投げっぱなしでよい=親はここで待たない。完了通知は起動応答またはpty_send dispatch receiptの wait_processを、親のターンを塞がない別プロセスAPIへexecutable/argsの境界を保ったまま渡して受ける(PowerShell 7のStart-Processはwindows_start_process_argument_listを使う)(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要・foreground実行はしない)。wait_commandは人間向け互換表示。結果回収は pty_read(agent_transcript:true)。model/reasoning_effortを引数で指定可。read-only sandboxとagent_configureに対応。",
    "execution": {
      "taskSupport": "forbidden"
    },
--- pinned/pty_send
+++ observed/pty_send
  {
-   "description": "セッションへテキストを送る。通常PTYへは送信のみ(出力は pty_read で取得)。agent session(launcher起動)への send は自動で dispatch になる: TUI の ready gate と submit 分離を通して即返り、receipt の event_cursor を返す。dispatch した子は投げっぱなしでよい=親はここで待たない。完了通知はreceiptの `wait_process.executable` と `wait_process.args` をそのまま親のターンを塞がない別プロセスAPIへ渡して受け、PowerShell 7のStart-Processだけは `windows_start_process_argument_list` を単一文字列として渡す。exit を完了通知として扱う(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed。receiptのoutcomeが正で、done以外は未完了。ポーリング不要)。`wait_command` は人間向け互換表示でありprocess境界へ使わない。foreground実行で親のターンを塞がない。結果回収は pty_read(agent_transcript:true)、Claude の durable turn は claude_turn を使う。force:true は非Claude agent sessionへの手動介入用の素送信。aiterm相関付きClaudeの承認UIはclaude_approvalを使う。",
+   "description": "セッションへテキストを送る。通常PTYへは送信のみ(出力は pty_read で取得)。agent session(launcher起動)への send は自動で dispatch になる: TUI の ready gate と submit 分離を通して即返り、receipt の event_cursor を返す。dispatch した子は投げっぱなしでよい=親はここで待たない。完了通知はreceiptの `wait_process.executable` と `wait_process.args` をそのまま親のターンを塞がない別プロセスAPIへ渡して受け、PowerShell 7のStart-Processだけは `windows_start_process_argument_list` を単一文字列として渡す。exit を完了通知として扱う(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要)。`wait_command` は人間向け互換表示でありprocess境界へ使わない。foreground実行で親のターンを塞がない。結果回収は pty_read(agent_transcript:true)、Claude の durable turn は claude_turn を使う。force:true は非Claude agent sessionへの手動介入用の素送信。aiterm相関付きClaudeの承認UIはclaude_approvalを使う。",
    "execution": {
      "taskSupport": "forbidden"
    },
+       "image": {
+         "description": "添付する画像ファイルの絶対パス(png/jpg/jpeg/gif/webp)。agent session への dispatch だけで使え、harness別の添付手順はaitermが吸収する。通常PTY送信やforce送信では指定できない",
+         "items": {
+           "type": "string"
+         },
+         "type": "array"
+       },
        "mark": {
          "default": false,
          "description": "完了 sentinel(終了コード付き)で包む。pty_read(wait:true) が until 無しでも自動検出して完了確定する(POSIX shell と PowerShell に対応。PowerShell の rc は成功0/失敗1。fish/csh/tcsh は未対応として送信前に拒否)。 enter:false と併用すると sentinel が実行されず完了検出が発火しない(送信後に pty_key(\"Enter\") で実行される)。",
+       "pane_input_recovery": {
+         "items": {
+           "type": "string"
+         },
+         "type": "array"
+       },
        "schema": {
          "const": "aiterm.pty-send-result.v1",
          "type": "string"

Current tools

Show all 27 tool fingerprints
agent_approval
7499d4013153b6d4
agent_auth
8520b06e54dd3f55
agent_configure
a306d3b67da7ef7c
agent_goal
fc2d66971c9a4cee
agent_launch
e5cb45c516e78fd5
agent_models
27ce009712528667
agent_stop
c8b236f48962f641
claude_agent
655b72e2fd2903b8
claude_approval
cf368b83d0a1f06f
claude_turn
bfacc92cf6ec6753
codex_agent
b9978fd9eaea24e2
diagnostics
023cd40e2250a29c
ensure_forward
23b09a3126b53619
forward_status
afaf9dfa81461a89
grok_agent
b65363b234d4ae6a
image_put
3a331ea7bb65c6df
image_read
81a46a90c91a2319
pty_close
bcfbfa1f1b4c0dd5
pty_key
1012cb9b0ccd6a59
pty_list
9d379bbb90429940
pty_observe
580667782b64d9e4
pty_open
46191bc39a390520
pty_read
e7ad462795f76067
pty_send
163a508a9ccfccb3
release_forward
7dc5fdc8210dab3c
stream_read
088fba51018a5b01
stream_send
eea32f7d29ceaa02

Watch this server yourself

If you run this server, put the proxy in front of it. It pins these exact fingerprints on first connect and stops the session if they move.

npx -y mcp-pin@0.2.4 -- <your aiterm-mcp command>

Or subscribe to this page's RSS feed to be told when it changes.

Badge

mcp-pin status badge for aiterm-mcp

The badge states one fact about time and nothing else. It never claims a server is safe.

[![mcp-pin](https://mcp-pin.gautamkhosla.com/badge/44524933e873a07e.svg)](https://mcp-pin.gautamkhosla.com/servers/44524933e873a07e.html)