為真實 Codex 工作提供 Runtime-aware SKILL routing
分類 Single、Phased 與 Managed Goal 工作,保留使用者明確指定的 SKILL 邊界,並揭露下一步可由哪個 runtime 執行。
從 request 到 envelope 與 evidence
繼續跨 API、Web 與 docs 的 migration Goal。
managed-goal
bundled-local-r0
plan_work, propose_support_consent, transition_support_consent, get_router_status
Scheduling requires verified Host capabilities.
逐步檢查 Router 的每個決策
MCP 呼叫
決策
工作圖
稽核軌跡
證據邊界
Routing 前先確認什麼真的能執行
V2 會分開判斷 installed metadata、Host exposure、authorization、policy eligibility、freshness 與 risk。本機檔案或 cached observation 不會自行變成 runtime authority。
閱讀 Runtime Capability Discovery選擇 Single、Phased 或 Managed Goal
Router 先判斷 dependencies、verification boundaries、resume needs 與 Goal relation,再選擇 capabilities。
套用 Personal Routing Profile
Workspace 與 personal 偏好會成為 deterministic intended route,但不會繞過 runtime discovery。
保留 Explicit Skill Lock
使用者指定的 SKILL 維持權威;lock 外的輔助技能在取得同意前保持 inactive。
只啟用目前證據允許的能力
每個 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工作形狀決定 envelope
Router 不會因為需求很長就強迫使用 Goal,而是依 dependencies、resume needs、risk 與 verification boundaries 做決策。
Request → Runtime Capability Discovery
Envelope → Single | Phased | Managed Goal
Result → plan, gate, evidence, disclosure為可信任的成果設計
擁有自己的 route
定義可重複使用的 personal 或 workspace Skill Tree,又不把它變成 executable prompt。
降低上下文噪音
自動 routing 維持最小集合;未指定 SKILL 時不增加多餘 consent ceremony。
誠實降級
Host 或 adapter 能力不可用時回傳 typed fallback,不模擬成功。
可稽核執行
Sanitized traces 呈現 plan、call、reject 與實際使用結果。
有證據,才提出主張
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。
# 檢查真實 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