Repository navigation
feat: add Codex workers to the shift orchestrator - #713
Merged
Merged
Conversation
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.
Summary
A brief can explicitly select Codex execution workers while existing briefs retain Claude. The adapter preserves queue selection, Mind's single writer, proof/questions, recovery, shift expiry and merge gates. Independent pre-ship review and close-outs remain Opus; review-helper usage is included in the Codex worker's accounting.
Fixes #712. Companion schema PR: PyAutoLabs/PyAutoMind#599.
API Changes
Adds
worker-backend: codex, requiredcodex-modeland optionalcodex-effortto shift briefs. Codex supportsautoanddontAskworker modes with workspace-write sandboxing. Existing Claude defaults are unchanged. Adds a read-only prerequisite check and explicitly invoked no-op smoke command. See full details below.Test Plan
--scope PyAutoBrain,PyAutoMind --json: GREEN; source generated 2026-11-22T18:27:36Z. The fresh local checkout has no Heart snapshot; published evidence was used explicitly.Token-load aggregate
checkcannot assess missing workspace/Cortex/Memory instruction files in this partial checkout; the CI-required skill budget and discovery checks pass.Full API Changes (for automation & release notes)
Added
worker-backend(defaultclaude),codex-model(required for Codex),codex-effort(defaultmedium).CodexSpawner, durablecodex:<uuid>identities and Linux/WSL supervisor._codex_review.py --task ... --repo ...: synchronous fresh Opus pre-ship review with structured verdict and accounted usage.bin/codex_orchestrator_check.py: read-only CLI/login check;--smoke --model ...explicitly runs one disposable no-op session.Changed behaviour
merge-cap: 0.Migration and limits
No migration for existing briefs. Codex is opt-in and currently Linux/WSL only. Review hook trust with
/hooks; no trust or approval/sandbox bypass is enabled. No OpenAI API fallback. Seedocs/codex_orchestrator.mdfor the local check and pilot.Consequence: judge; merge mode: human /prm. Implementation plan approved in the initiating conversation. No merge or live-run authority is added.
Generated by the PyAutoLabs agent workflow.