refactor: codex channel full-dependency — executable from pai, governance from codex-pro#265
Merged
Merged
Conversation
…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
|
To use Codex here, create an environment for this repo. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #264
codex 通道完全依賴化(superpowers 形狀)
使用者裁決(2026-07-18):「完全依賴,跟 superpowers 一樣」。Spectra change
codex-channel-dependency。職責三分(尊重各 plugin 既有架構)
PAI_CODEX_CALL前置解析;MIN_PAI→ 2.19.0(pai#22codexModel/codexEffort契約起點,2.18.0 會靜默忽略)profile-contract.md+ 機器可讀defaults.json)MIN_CODEX_PRO=0.7.0gate、defaults.json 起底 + profile.yaml 兩層疊加、缺席 fail-fast + 一步安裝指令,無 soft fallback變更
plugins/issue-driven-dev/bin/codex-call(2.9.0 時代 copy,不留 fork)codexModel/codexEffort;manual fan-out 與 legacy 直呼段帶顯式--model/--effort/--max-timeplugin.jsondependencies 加codex-pro@codex-pro;root marketplaceallowCrossMarketplaceDependenciesOn加codex-promodel-generation-syncsuite 重塑為 v2 契約(vendored 檔不存在 = assertion;RED 17/8 → GREEN 25/0)上游(皆已 ship + 結案)
Verification
全 plugin sweep 36 suites, 0 fail(零連帶回歸);Spectra artifacts validate ✓、analyze 0 findings。issue 結案不由本 PR 觸發 — merge 後走 close ritual。