Skip to content

refactor: codex channel full-dependency — executable from pai, governance from codex-pro#265

Merged
kiki830621 merged 1 commit into
mainfrom
idd/264-codex-channel-dependency
Jul 18, 2026
Merged

refactor: codex channel full-dependency — executable from pai, governance from codex-pro#265
kiki830621 merged 1 commit into
mainfrom
idd/264-codex-channel-dependency

Conversation

@kiki830621

Copy link
Copy Markdown
Member

Refs #264

codex 通道完全依賴化(superpowers 形狀)

使用者裁決(2026-07-18):「完全依賴,跟 superpowers 一樣」。Spectra change codex-channel-dependency

職責三分(尊重各 plugin 既有架構)

職責 歸屬 接線
executable pai(其 2.18.0 版比 vendored copy 多四個安全/正確性修正 — divergence audit 見 issue) PAI_CODEX_CALL 前置解析;MIN_PAI2.19.0(pai#22 codexModel/codexEffort 契約起點,2.18.0 會靜默忽略)
治理(model/effort/max-time) codex-pro(0.7.0 新官方化 EXTERNAL-CONSUMER CONTRACT:profile-contract.md + 機器可讀 defaults.json MIN_CODEX_PRO=0.7.0 gate、defaults.json 起底 + profile.yaml 兩層疊加、缺席 fail-fast + 一步安裝指令,無 soft fallback
IDD 純 consumer 樹內零 model pin — 換代只動 codex-pro 一處

變更

  • plugins/issue-driven-dev/bin/codex-call(2.9.0 時代 copy,不留 fork)
  • idd-verify SKILL:共通前置重排(PAI_DIR 前移兩用 + governance 解析 block);canonical tier Workflow args 加 codexModel/codexEffort;manual fan-out 與 legacy 直呼段帶顯式 --model/--effort/--max-time
  • plugin.json dependencies 加 codex-pro@codex-pro;root marketplace allowCrossMarketplaceDependenciesOncodex-pro
  • model-generation-sync suite 重塑為 v2 契約(vendored 檔不存在 = assertion;RED 17/8 → GREEN 25/0)

上游(皆已 ship + 結案)

  • codex-pro 0.7.0(their issue 7):契約官方化,marketplace 已同步
  • pai 2.19.0(their issue 22):additive 契約 args,未傳參 caller 逐 byte 不變,marketplace 已同步

Verification

全 plugin sweep 36 suites, 0 fail(零連帶回歸);Spectra artifacts validate ✓、analyze 0 findings。issue 結案不由本 PR 觸發 — merge 後走 close ritual。

…leted

Executable now resolves from pai's plugin cache (PAI_CODEX_CALL; the vendored
copy trailed pai 2.18.0 by four security/correctness fixes per the #264
divergence audit — deleting it is a net upgrade). Governance resolves from
codex-pro's profile contract (MIN_CODEX_PRO 0.7.0: defaults.json base +
global/project profile.yaml overlay), passed explicitly — codexModel/
codexEffort Workflow args on the canonical tier (MIN_PAI bumped to 2.19.0,
the pai#22 contract floor; 2.18.0 would silently ignore the args) and
explicit --model/--effort on manual-fan-out and legacy call sites. IDD's
tree now contains ZERO model pins: generation bumps touch codex-pro's
defaults.json only. Dependency wiring mirrors the superpowers shape (#209):
install-time dependencies entry + allowCrossMarketplaceDependenciesOn +
check-plugin-presence pre-flight + fail-fast with a one-step install
instruction, no soft fallback. model-generation-sync suite reshaped to the
v2 contract (RED 17/8 -> GREEN 25/0); sweep 36 suites 0 fail. Upstream:
codex-pro 0.7.0 (their issue 7) + pai 2.19.0 (their issue 22), both shipped.

Refs #264
@chatgpt-codex-connector

Copy link
Copy Markdown

To use Codex here, create an environment for this repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant