Repository navigation
Suggest Claude model aliases during Setup - #1330
Merged
Merged
Conversation
Merged
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
Setup → Claude Model + show documented aliases as suggestions accept any Model ID Enter keeps the current value or Claude's own default validate a named Model with the existing test callCloses #424
Evidence
Seam under test: the complete Harness Setup interaction through
harness::settings::ask, using scripted terminal input and an isolated fake Claude executable.cargo test --bin thirdshift harness::settings::tests::claude_suggests_aliases_and_checks_a_custom_model_and_effort -- --exactfailed: no suggestions were printed (left: []).After:
cargo test --bin thirdshift harness::settings::testspassed all 27 tests, including suggestions, custom IDs, the exact validation invocation, blank defaults, current-value retention, refusals and interruption.cargo check --bin thirdshiftandcargo fmt --checkpassed./usr/bin/time -p scripts/affected-tests main: 50 site tests passed; the full Rust run stopped after 515 passes ontimed_out_trials_keep_partial_usage_and_exportable_session_ancestry(model Grader session failed). Nextest skipped 66 tests and left 2,506 unrun after the failure. Total selected-run wall time was 826.57s, including 164s Rust compilation and the browser checks.cargo test --test experiments timed_out_trials_keep_partial_usage_and_exportable_session_ancestry -- --exact --nocapture(1 passed, 9.80s test execution). The full local Rust suite is not claimed green.The suggestion list follows Claude Code's documented model settings, checked 2026-10-25. A source comment records the refresh policy; Claude resolves alias versions. The manual and homepage describe the behavior.
Review
Independent
thirdshift-code-reviewagainstmain: Standards 0, Spec 0. Each reviewer read all five changed files, including the generated HTML paragraph. Unread changed files: none. Generated-output exclusions: none.Merge Danger
Door: two-way
Blast Radius: Setup
Unaddressed findings
Command::new(cli).arg("-p").args(model_args(choice)), no shell), and fetches no live catalog.cargo test --bin thirdshift harness::settings::testspasses all 27 tests.Built with codex codex-cli 0.164.0 · gpt-6.1-sol · xhigh
Security review outcome
No unaddressed introduced findings.