Repository navigation
Use disposable clean Codex profiles when Pi is unavailable - #14
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.
When compatible Pi/Node is absent, new studies can now reuse installed native Codex with a disposable, isolated home instead of inheriting the participant's personal instructions and conversation.
study create --execution-profile autoselects installed Pi first, then pinned native Codex CLI 0.166.0, and returns the selected trial command. The adapter and route remain fixed throughout the checkpoint.codex-trialcreates private temporary home/config/workspace directories and an ephemeral app-server thread per task, checks effective settings and exact model/effort, exposes only the declared lookup tool, persists original attempts, and removes temporary files after success, failure, timeout or handled interruption.Validation: frozen dataset verification and diff checks PASS; 149 local tests ran (148 passed, one Linux-only skip). Installed Codex was tested against a synthetic localhost Responses server, including all 35 preflights, max/xhigh wire values, trusted tool rounds, original receipt recording and cleanup on failures/interruption. Existing real ChatGPT sign-in passed a no-inference preflight with the source auth file byte-for-byte unchanged. No real model inference, benchmark campaign or paid API requests were performed.
Hosted CI tests policy/CLI behavior on macOS, Linux and Windows; optional installed-client integration tests skip if their pinned dependencies are absent. Native Codex runtime was exercised locally on macOS. Power loss or an uncatchable kill can leave an orphaned temporary directory.