Skip to content

fix(agents): keep unavailable saved effort visible - #7374

Open
nathansmithopenclaw-alt wants to merge 1 commit into
block:mainfrom
nathansmithopenclaw-alt:codex/effort-unavailable-value-20260905
Open

fix(agents): keep unavailable saved effort visible#7374
nathansmithopenclaw-alt wants to merge 1 commit into
block:mainfrom
nathansmithopenclaw-alt:codex/effort-unavailable-value-20260905

Conversation

@nathansmithopenclaw-alt

Copy link
Copy Markdown

When an adapter stops advertising an agent’s saved effort value, the edit dialog currently displays “Adapter default” even though the explicit override remains configured.

Keep that saved value selected as a disabled “(unavailable)” option. Users can still choose an advertised value or explicitly clear the override. If discovery advertises the saved value again, the picker returns to the adapter’s label. This changes presentation only; persistence and startup behavior stay unchanged.

Validation: 6,452 desktop tests passed, including 13 focused picker tests. The real component’s rendered trigger is checked for unavailable values, catalog recovery, and an unset override. Restoring the old production helper makes the regression tests fail. Type checking, targeted formatting, the file-size check, and the production build passed.

Full repository check: just ci passed, including Rust/Tauri tests, desktop and web builds, and all 2,072 mobile tests.

Signed-off-by: Codex Desktop <codex@smithcrafts.dev>
@nathansmithopenclaw-alt
nathansmithopenclaw-alt requested a review from a team as a code owner September 5, 2026 08:19
@github-actions

github-actions Bot commented Sep 5, 2026

Copy link
Copy Markdown

🔐 Codex Security Review

Status: review required for the current range.

The current range is f038cbbb0d4092a72ffd93f17916f84d2b39bb43...7626d849286382d6a068c34a176135dc68f1c54a.
A new review must complete for this exact range. When manual authorization
is required, a Block organization member must comment exactly
@buzz-security-review 7626d849286382d6a068c34a176135dc68f1c54a to authorize a new review.
Any previous review applies only to its recorded range.

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.

1 participant