跳到內容
Codex Plugin / MCP / SKILL

為真實 Codex 工作提供 Runtime-aware SKILL routing

分類 Single、Phased 與 Managed Goal 工作,保留使用者明確指定的 SKILL 邊界,並揭露下一步可由哪個 runtime 執行。

V2 routing outcome

從 request 到 envelope 與 evidence

大型任務

繼續跨 API、Web 與 docs 的 migration Goal。

V2 routing decision
Envelope

managed-goal

Runtime

bundled-local-r0

Local-ready

plan_work, propose_support_consent, transition_support_consent, get_router_status

Boundary

Scheduling requires verified Host capabilities.

V2 ROUTING FLIGHT RECORDER

逐步檢查 Router 的每個決策

CORE 產生 · UI 唯讀
02

請求

03

MCP 呼叫

04

決策

ENVELOPE
05

工作圖

06

稽核軌跡

    07

    證據邊界

    Routing 前先確認什麼真的能執行

    V2 會分開判斷 installed metadata、Host exposure、authorization、policy eligibility、freshness 與 risk。本機檔案或 cached observation 不會自行變成 runtime authority。

    閱讀 Runtime Capability Discovery
    V2 routing 流程
    01
    工作 envelope

    選擇 Single、Phased 或 Managed Goal

    Router 先判斷 dependencies、verification boundaries、resume needs 與 Goal relation,再選擇 capabilities。

    02
    你的 Skill Tree

    套用 Personal Routing Profile

    Workspace 與 personal 偏好會成為 deterministic intended route,但不會繞過 runtime discovery。

    03
    使用者權威

    保留 Explicit Skill Lock

    使用者指定的 SKILL 維持權威;lock 外的輔助技能在取得同意前保持 inactive。

    04
    Runtime evidence

    只啟用目前證據允許的能力

    每個 selected capability 都保留其 exposure、authorization、policy、freshness 與 risk boundary。

    執行前後都能被檢查

    Router 在工作前宣告預計使用的 SKILL,記錄 typed runtime result,完成後揭露實際使用情況。

    一個 Router,三種工作 envelope

    小型工作保持小型、多階段工作在 phase gate 重新 routing,durable dependency graph 則綁定 Host-owned Goal,不虛構本機 authority。

    比較 routing envelopes
    Single / Phased / Managed Goal

    工作形狀決定 envelope

    Router 不會因為需求很長就強迫使用 Goal,而是依 dependencies、resume needs、risk 與 verification boundaries 做決策。

    Request → Runtime Capability Discovery
    Envelope → Single | Phased | Managed Goal
    Result → plan, gate, evidence, disclosure

    有證據,才提出主張

    Contract fixtures 證明 compatibility,runtime traces 證明 bundled execution。Real Model Evaluation 需要 fresh paired attempts、明確 quota authorization、review 與 attestation。

    證據邊界:36 次 attempts 與 42 次 model turns 是 beta.1 的歷史證據。Personal Routing Profiles 與 beta.2 目前只有 deterministic contract、integration、security 與 package evidence。

    12個型別化 MCP 工具4個本機可用工具36次 beta.1 嘗試 · 42 次模型呼叫
    # 檢查真實 runtime readiness
    python plugins/workflow-skill-router/runtime/workflow_skill_router.pyz doctor
    
    # 驗證 generated MCP contracts 與 V2 docs
    node scripts/build-mcp-reference-data.mjs --check
    python scripts/check-doc-parity.py
    
    # 執行 repository tests
    $env:PYTHONPATH = (Resolve-Path "packages/router-core/src").Path
    python -m unittest discover -s packages/router-core/tests -v
    python -m unittest discover -s tests -v
    查看 evidence contract

    讓 runtime-aware skill routing 成為可重用能力

    環境支援 runtime 時安裝 Plugin + MCP;只有 instructions 的 Host 則載入獨立 SKILL。