Repository navigation
perf: reduce Codex workflow token overhead - #387
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
Routine Codex edits, tests, and git steps now stay in the current agent; workers are reserved for useful parallel work, context isolation, or independent review. Claude retains Fable → Opus, Opus → Opus, and its existing Sonnet mechanical exceptions.
Reduce the shared workflow reference, shorten four skill descriptions, and provide a safe installer for the workspace delegation policy. Add an explicit-file usage report and a completed-task comparison protocol, with cached input and reasoning counted as subsets rather than additional tokens.
API Changes
None to PyAuto library APIs. New local tools:
python bin/codex_usage.py <rollout.jsonl> [--child <rollout.jsonl>] [--json], andbin/install.sh --write-workspace-policy/--check-workspace-policy.Test Plan
Readiness and activation
Heart reports
install verification FAILED (testpypi; checks F)andrelease validation FAILED (stage integrate), plusmanifest drift: remote-session blocks (generated) — 2 mismatch(es) vs PyAutoMind/repos.yaml.The human explicitly approved the development-only override for task #409 in this session: "yes commit, push and open the PR for", replying to the task-specific request. This permits commit, push, and PR creation after the passed tests, live usage smoke, and independent working-tree review recorded above. Heart remains RED; this authorization does not permit merge, release, or bypassing checks.
After merge and pulling the updated Brain checkout, run the documented workspace-policy writer and checker. The live root instructions have not been switched to references that exist only on this feature branch. No measured subscription saving is claimed.
Refs PyAutoLabs/PyAutoMind#409. The human authorized a separate worktree alongside
codex-hook-parity; its branches and claims are preserved.