Skip to content

Save Codex profiles and give reasoning effort its own hold - #42

Merged
isaacslee merged 1 commit into
mainfrom
codex-profiles
Dec 3, 2026
Merged

isaacslee merged 1 commit into
mainfrom
codex-profiles

Conversation

@isaacslee

Copy link
Copy Markdown
Member

What this changes

  • Add named Codex bridge profiles to rdd configure and rdd codex-live. A profile authorizes candidates for one bridge launch. Codex still supplies the catalog and provider for each conversation.
  • Give a held model's reasoning effort its own accepted-request lifetime with --effort-every N. An accepted effort draw stays in effect until the next effort boundary, a model draw, or an upstream catalog change.
  • Let control once start a one-request draw during an existing hold, and restore the prior Codex settings afterward.

Why

Named profiles make longer policies reusable and inspectable. Separate effort holds support walks and other effort policies at a cadence between every request and every model draw.

Verification

  • Rust 1.88 tests, formatting, Clippy, and release build on Linux. Tests cover profile creation and validation, rejection without spending an effort hold, and arming once during a model hold.
  • Codex 0.173.0 in its native Linux TUI with a loopback provider and a named profile in a path containing spaces and Hangul. Catalog discovery and the bridge used the same configured provider. Across six requests on a held model, the provider saw the journaled effort in three pairs. Live control covered pause and one-request restoration. Resumed the same conversation through a new bridge and verified the printed resume options.

Risk

A new bridge starts a new pool and commitment, even when continuing a saved conversation. The generated resume command repeats the original sampling options so later edits to a profile cannot change that command's authorization.

Resolve one authorized profile at bridge launch and keep resume hints independent of later edits. Count accepted requests for separate effort holds and let live one-request activation draw during an existing commitment.
Copilot AI balanced review requested due to automatic review settings December 3, 2026 00:15

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@isaacslee
isaacslee merged commit ebbd9c2 into main Dec 3, 2026
6 checks passed
@isaacslee
isaacslee deleted the codex-profiles branch December 3, 2026 00:19
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.

2 participants