Execution architecture

English | 日本語

Current interaction sequence

この view は、interactive request または optional Control wake-up から accepted delivery evidence まで、 誰がどの順序で作用するか、という一つの問いへ答えます。

sequenceDiagram
    actor Human
    participant Control as Optional Control
    participant Codex
    participant AIT as AI Teams
    participant GitHub
    participant Provider as Selected provider

    alt Interactive request
        Human->>Codex: work を依頼し authority を供給
    else Trusted orchestrated wake-up
        Control->>Codex: isolated work を開始
    end
    Codex->>AIT: coordination contract を実行
    AIT->>AIT: Goal、constraint、profile、Bet を確立
    opt Bounded independent challenge が justified
        AIT->>Provider: authorized review primitive を一つ要求
        Provider-->>AIT: bounded evidence を返す
    end
    AIT->>GitHub: Work Item と delivery object を記録
    AIT->>Codex: implementation と focused check を実行
    Codex->>GitHub: exact-head candidate を公開
    GitHub-->>AIT: validation と merge evidence を返す
    AIT-->>Human: delivery readback、outcome evidence、Next Bet を報告

coordinator が product/authority decision を行い、Codex/native tool が workspace の edit/test を 行います。connected provider は選択・承認された primitive だけを実行します。AI Teams は provider credential を移送せず、system of record を黙って置換しません。

Provider resolution

accepted capability inventory の operation は host/platform native、installed Plugin、connected Connector/MCP、standard CLI/service、bundled fallback の順に選択します。一つの operation で 各 provider class を最大1回観測します。unknown/unauthorized capability は bounded handoff です。

machine-readable inventory は生成 capability referenceの source です。詳細 semantics は provider-resolution contractに残ります。

任意の外部 Control

bounded Control MCP client は独立して配布される Qoo257/ai-teams-control に接続できます。 外部 Control は Issue discovery、scheduling、persistent queue/recovery state、worker lifecycle、 任意 provider-event integration を所有します。この Plugin は scheduler、queue、poller、 orchestration runtime を所有しません。GitHub delivery の正本は GitHub Issue/PR であり、外部 Control は repository acceptance や trust boundary を弱められません。