You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Keep action model and effort choices out of Arguments - #34275
Source Control actions could select different models in chat and terminal launches, lose effort when Model stayed at Agent default, or change repository overrides while migrating Arguments. Model and Effort now use the same choice controls on global and repository action cards. Existing model/effort flags move into those controls on load; remaining Arguments stay intact. Save, Discard and removable badges keep the choices and Arguments together. Defaults remain Agent default and Default.
A repository that owns Arguments owns the entire Model/Effort/Arguments group, including an empty override. Other repositories inherit the global group. Permissions retain their separate ownership rules. The shared resolver preserves literal syntax it cannot safely lift, unknown model IDs, independent effort and captured choices through agent selection, complete Save and Start. The terminal path carries effort-only choices through the existing prepared-command delivery to older execution hosts.
The common pattern resolves typed choices before launch projection. Intended adaptations preserve user-owned CLI syntax across supported shells, opaque IDs, repository ownership, independent execution hosts and existing permission behavior. Broader Agents-default and compiler adoption is temporary and remains tracked in STA-11102. Settings → Agents model/effort controls are outside this PR; its existing permission-badge removal behavior is preserved for that follow-up.
Older Orca and phone versions may launch Source Control actions with a different Model, Effort or repository Arguments until they update (accepted).
Validation: the full feature, source-lifetime, migration, renderer, phone/host-contract and performance reviews passed independently. The late raw-edit repair passed a fresh delta review and 130 tests across four named owners. Nine red-before cases reproduced the bug; five additional controls were added afterward and are not claimed red. Normal commit hooks passed. A fixture-only portability completion at 8562de3 then passed independent review and 28 mounted-dialog tests; all executable fixture and production bytes remain unchanged. The authorized main integration at dd1f286 passed 67 tests across six named owners, the required merge hook, and independent integration review. These overlapping executions are not summed. All 19 frozen exported contracts are unchanged. Deliberate raw edits are committed into the submitted selection before Start, Save & start and a surface switch; untouched load conflicts remain raw.
Scoped Windows QA previously passed at 5b22618: both real Claude/Codex explicit and effort-only terminal replies, native remembered-model plus explicit High replies, repository-owned Arguments shadowing, and same-agent Terminal selection with inherited choices through Save & start. One genuine same-profile main-to-branch upgrade and graceful reopen preserved global/repository migration and ownership; all 26 PNGs were personally viewed and hash-verified. The historical permission-only repository fixture was prepared only while the disposable app was stopped before a fresh load, then exercised through ordinary UI actions. Actual CLI argv and executed turn context supplement screenshots. Production-path tests cover current-client delivery to older hosts. All prior owned copies and terminals were cleaned up and real config hashes stayed unchanged. Unchanged evidence carries; the targeted raw-edit result below covers the later repair.
Targeted Windows raw-edit QA passed at dd1f286: both real agents replaced migrated Model choices through terminal Start with Save OFF, and replaced Model/Effort through the same-agent native picker with repository Save & start. Actual CLI argv, provider transcripts, executed Codex turn contexts, canonical disk state and fresh dialog reopens agree. Save OFF retained the original recipes; Save ON retained only the new choices and residual Arguments. All 22 additional original PNGs were personally viewed and hash-verified. All 32 recorded identities are absent, ticket listeners are zero, real config hashes are unchanged, and ticket 3117 is released.
Limits: first-run terminal onboarding required continuing the already-requested harmless prompt once through CDP. This targeted run did not independently seed a remembered native-model/High cache; prior unchanged evidence and production tests carry. Four UI transactions are certified; auxiliary Claude transcript records are not additional scenarios. Historical raw rows were prepared in a stopped disposable profile, so this is not another genuine upgrade.
Current-head CI is green: PR checks, including all ten unit shards, static analysis/typecheck, Mobile verify, packaging, persistence and relay checks. Skipped jobs are not claimed as executions. The reviewed main integration is dd1f286. The only later commit, 8562de3, adds public test-fixture return type annotations; executable AST and production are unchanged, and 28 mounted tests plus independent review passed. Prior QA at 5b22618 carries only unchanged flows.
Against integrated main aa1de42, production is +3,083/−840 lines, plus three locale catalog additions. Raw test/fixture accounting is +5,222/−1,312, plus 377 historical proof additions (5,599 charged proof additions). Whole-file moves include inherited text again at new paths; no relocation or formatter credit is taken. Main’s unrelated changes are excluded. Tests exceed production because the retained contracts cover separate persistence, renderer, phone and execution-host boundaries. All 66 distinct contracts and their nonoverlap are listed below.
Generic terminal Own/Ask/raw adapter semantics are independent of selected current action model group. Existing historical permission contracts were retained, not newly expanded.
Complete/default decode, empty inherit disappearance, empty default retention, nested authority, foreign default, raw ownership and invalid new intent are separate from rendered authoring.
Deliberate complete-recipe Save preserves selected startup meaning
Actual resolve→full Save→resolve→project under permission-only R must retain inherited typed Opus/high when copied raw becomes owned. Incidental sparse writes deliberately differ.
The original renderer bug: sparse null owns only touched key, untouched effort follows later G, last clear cannot resurrect and unchanged Save writes zero.
Accepted create remains created after move/list failure; at547 two same-ID authority attempts/exhaustion yield zero legacy, unlike successful callback.
Historical evidence remains charged377; not relocated or re-executed for current architecture proof.
FC1 executed contracts
All four upstream lifetimes were rerun through the actual dialog owner in final130-pass/4-owner execution; their complete test ASTs are unchanged. Earlier112-pass/9-owner evidence remains historical. The host/compiler/publication/queue owners outside these4 retain their prior receipts only; they were not rerun.
Actual full dialog/AgentCombobox same-agent terminal button and saved-null row dispatch → real hook → selected hint/CLI visibility → complete Save via actual persistence owner with final I/O stubs → real Start orchestration → exact raw/options → fresh central resolution and mount. Includes independent effort without Model. Existing post-pick shared Save, direct Start and static hint contracts do not execute this upstream writer.
Masked-parent discriminator: eligibility at Codex retains R ownership; genuine Claude→Codex retires obsolete R, reveals captured G o3 with no G Own permission; intervening stored G=later cannot alter invocation. Complete Save/Start/fresh canonical reopening agree. Later fresh scope uses then-current G after explicit override reset. Neither same-agent retention nor flattened binding tests can recover the hidden current parent.
Actual migration supplies inherited Claude literal document; genuine Codex→Claude retains matching syntax and exact model/effort launch, complete canonical Save keeps document. Foreign switch demotes current terms once at existing gaps/order; returning does not reconstitute document/hint. Parser/gap tests alone do not execute picker/reset lifetime.
Owned empty Args + null/default Model barrier survives owning reset. Submitted empty raw/absent choices stay fixed through pending failed Save; newer real Input edit survives completion; durable scope remains unchanged; unmount/fresh mount discards unsaved edit. Existing Settings queue/disk failure owners do not own this invocation selection.
TR1: the FP1 row retains the migrated short fixture at agent-launch-choices.test.ts:579 and one short exhaustion invocation at:604, with exact gap0/lowered output. N/10N invalid-secondary/all-valid/exhaustion/two-node controls and operation bounds survive; only erased annotations changed in these performance owners.
Canonical-boundary completions remain runSourceControlAgentActionStart.test.ts:187 and:491. RPC publication remains repo-source-control-ai-publication.test.ts:7 with one repo-rpc fixture, plus25 registrations in repo.test.ts. The settings publication .spec remains imported by runtime-client-settings-projections.test.ts:4. Moved unit entrypoints use existing CI discovery; no config or ratchet-baseline change.
Actual same-agent Chat picker hides pending Args before submission; Claude and recorded Codex syntax; explicit options versus remembered/held precedence.
Distinct from the terminal compiler, and from the unchanged native create-message production fixture run in the same command.
Pending replacement settles in pretransition grammar before genuine owning-agent demotion; return does not restore old nodes. Foreign-syntax Codex row separately keeps hidden foreign text out of residual analysis then lowers it at remapped gaps.
Different from same-agent route preservation and static foreign-agent projection; artificial duplicate prepend would fail the foreign row.
Model-independent high survives; supported raw acceptEdits updates separately bound permission; unsupported plan remains raw with Ask typed unchanged.
Dependent old-model effort retirement is distinct. Plan is not an AgentPermissionChoice; preserving it raw tests grammar refusal without an action gate.
The mounted suite has28cases after compact parameterization; all9 prior registration ASTs remain unchanged. The new cases are registered only in the existing owner; the fixture has no test registrations or copied production policy. Native requested/create options are test evidence, not an agent reply or running-app QA. No contract or assertion was removed for line accounting.
Final main integration carry
All59 retained contracts and RAW1–RAW7 remain; no new contract or deleted proof. Current mounted dialog bytes equal accepted fix-parent fff264a (root removed only three unused imports before that commit). Current targeted execution is67 tests/6owners, not additive/disjoint from historical130/4owners. Incoming saved-review registration is retained and adds no A contract. Lines reflect current integration; earlier execution identities remain historical.
It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.
The change adds shared logic to identify, reconcile, and project agent model, effort, and permission choices from launch arguments and preferences. It updates agent CLI catalogs to declare recognized choice forms and adds settings controls for editing and removing choices. Settings drafts can now carry updated user arguments alongside launch preferences. Tests cover choice parsing, launch resolution, settings edits, and persistence.
Priority: Normal
Merge Risk: Low · up to 758bc
Some choice chips show a misleading Effort tooltip. This is a narrow labeling issue, so the change is mergeable with an acknowledged follow-up.
Pre-merge checks: 4
Check name
Status
Explanation
Title check
The title "Keep action model and effort choices out of Arguments" describes a real and central part of the changeset: the action Model and Effort menus take over choices that previously lived in the r…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Description check
The description is detailed and covers the change scope, rationale, testing, visual proof, compatibility limits, CI results, and review evidence. It does not follow the template structure and omits an…
Full details: Title check
Explanation
The title "Keep action model and effort choices out of Arguments" describes a real and central part of the changeset: the action Model and Effort menus take over choices that previously lived in the raw Arguments text, and the change migrates owned CLI recipes into those choices. It is specific and concise. It does not cover the full scope, which also includes shared choice reconciliation, layering, launch projection, and catalog grammar changes, but that is expected for a title.
Full details: Description check
Explanation
The description is detailed and covers the change scope, rationale, testing, visual proof, compatibility limits, CI results, and review evidence. It does not follow the template structure and omits an explicit ELI5 section, a Fixes # issue link, AI disclosure, agent-skill boundary, and checklist confirmations.
Finishing Touches: 💡 2
📝 Generate docstrings: 💡
Commit to this branch
Create a new PR
⚔️ Resolve merge conflicts: 💡
Resolve merge conflict in branch brennanb2025/sta-11102-model-action
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 5 remain after this review.
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 3 remain after this review.
89-89: Trivial · Maintainability & Code Quality · Low value
Optionally remove the unused helper fields.
sourceControlActionLaunchOptions returns only sessionOptions. Remove its unused Pick member and return property. Update tests that read this helper property.
This is a type-only cleanup. Do not remove yield support from terminalSessionOptionInputs or the general launch request types; those APIs still support that behavior.
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 1 remain after this review.
Reconcile deliberate raw edits once into the submitted action recipe so replacement model and effort flags reach Save and Start together. Preserve captured sources and untouched load conflicts.
Source Control actions previously mixed saved model/effort flags with raw Arguments and could lose inherited choices when changing the launch surface. Global and repository action cards now share Model/Effort dropdowns and removable badges. Loading existing settings lifts safe flags while preserving remaining Arguments and repository ownership. Defaults remain Agent default and Default.
The full review loop finished its feature, source-lifetime, migration, renderer, phone/host-contract and performance review. No open P0/P1 remains. The 19 frozen public contracts are unchanged. The common pattern's central typed-choice mechanism was adopted; intended adaptations preserve arbitrary user CLI syntax, opaque models, independent effort, repository ownership and mixed execution hosts. Broader defaults/compiler adoption stays temporary in the existing follow-up. A deferred P3 tooltip wording nit does not change behavior.
Older Orca and phone versions may launch Source Control actions with a different Model, Effort or repository Arguments until they update (accepted). Updated client behavior and prepared delivery to older execution hosts are covered by production-path integration tests. No carrier, inverse or legacy publication was introduced.
Scoped Windows app verification passed at 5b22618. Both real agents returned replies for explicit model/effort, reset-to-Agent-default with effort-only terminal commands, and native remembered-model plus explicit High effort. The repository-owned Arguments route ignored the global group and returned a real reply. One genuine baseline-main-to-branch profile upgrade lifted global and repository flags, preserved a repository's unrelated owned Arguments, and survived graceful reopen without duplicate badges. The permission-only repository inheritance case kept model/effort through same-agent Terminal selection and repository Save & start, with a real reply and canonical saved meaning.
That last historical sparse state cannot be authored by current Customize UI, which deliberately copies the complete group. It was set up only in the stopped disposable profile before a fresh window load; the launch, selection and Save were ordinary UI actions. All other setup/settings and the upgrade baseline were UI-authored. Actual CLI argv and executed Codex turn context back the screenshots; native create packets were not intercepted. Older execution-host delivery uses integration proof, not an extra app sweep.
All 26 original PNGs were personally viewed and hash-verified. All owned copies stopped through graceful Browser.close plus recorded-descendant cleanup, with zero final survivors/listeners; real config hashes were unchanged. The first local admission exhausted available drivers before any UI action; those failed setup attempts are retained and are not passing evidence.
Targeted Windows raw-edit QA passed at dd1f286: both real agents replaced migrated Model choices through terminal Start with Save OFF, and replaced Model/Effort through the same-agent native picker with repository Save & start. Actual CLI argv, provider transcripts, executed Codex turn contexts, canonical disk state and fresh dialog reopens agree. Save OFF retained the original recipes; Save ON retained only the new choices and residual Arguments. All 22 additional original PNGs were personally viewed and hash-verified. All 32 recorded identities are absent, ticket listeners are zero, real config hashes are unchanged, and ticket 3117 is released.
Limits: first-run terminal onboarding required continuing the already-requested harmless prompt once through CDP. This targeted run did not independently seed a remembered native-model/High cache; prior unchanged evidence and production tests carry. Four UI transactions are certified; auxiliary Claude transcript records are not additional scenarios. Historical raw rows were prepared in a stopped disposable profile, so this is not another genuine upgrade.
Current-head CI is green: PR checks, including all ten unit shards, static analysis/typecheck, Mobile verify, packaging, persistence and relay checks. Skipped jobs are not claimed as executions. The reviewed main integration is dd1f286. The only later commit, 8562de3, adds public test-fixture return type annotations; executable AST and production are unchanged, and 28 mounted tests plus independent review passed. Prior QA at 5b22618 carries only unchanged flows.
…s action selection API
Upstream stablyai#34275 made getLaunchActionRecipe return a SelectedSourceControlActionRecipe
and the saved-start path take a selection instead of a recipe.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…s action selection API
Upstream stablyai#34275 made getLaunchActionRecipe return a SelectedSourceControlActionRecipe
and the saved-start path take a selection instead of a recipe.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
audichuang
added a commit
to audichuang/orca
that referenced
this pull request
Nov 3, 2026
…s action selection API
Upstream stablyai#34275 made getLaunchActionRecipe return a SelectedSourceControlActionRecipe
and the saved-start path take a selection instead of a recipe.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
audichuang
added a commit
to audichuang/orca
that referenced
this pull request
Nov 4, 2026
…s action selection API
Upstream stablyai#34275 made getLaunchActionRecipe return a SelectedSourceControlActionRecipe
and the saved-start path take a selection instead of a recipe.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
audichuang
added a commit
to audichuang/orca
that referenced
this pull request
Nov 5, 2026
…s action selection API
Upstream stablyai#34275 made getLaunchActionRecipe return a SelectedSourceControlActionRecipe
and the saved-start path take a selection instead of a recipe.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
audichuang
added a commit
to audichuang/orca
that referenced
this pull request
Nov 5, 2026
…s action selection API
Upstream stablyai#34275 made getLaunchActionRecipe return a SelectedSourceControlActionRecipe
and the saved-start path take a selection instead of a recipe.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
audichuang
added a commit
to audichuang/orca
that referenced
this pull request
Nov 6, 2026
…s action selection API
Upstream stablyai#34275 made getLaunchActionRecipe return a SelectedSourceControlActionRecipe
and the saved-start path take a selection instead of a recipe.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
audichuang
added a commit
to audichuang/orca
that referenced
this pull request
Nov 7, 2026
…s action selection API
Upstream stablyai#34275 made getLaunchActionRecipe return a SelectedSourceControlActionRecipe
and the saved-start path take a selection instead of a recipe.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
audichuang
added a commit
to audichuang/orca
that referenced
this pull request
Nov 8, 2026
…s action selection API
Upstream stablyai#34275 made getLaunchActionRecipe return a SelectedSourceControlActionRecipe
and the saved-start path take a selection instead of a recipe.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
audichuang
added a commit
to audichuang/orca
that referenced
this pull request
Nov 8, 2026
…s action selection API
Upstream stablyai#34275 made getLaunchActionRecipe return a SelectedSourceControlActionRecipe
and the saved-start path take a selection instead of a recipe.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
audichuang
added a commit
to audichuang/orca
that referenced
this pull request
Nov 10, 2026
…s action selection API
Upstream stablyai#34275 made getLaunchActionRecipe return a SelectedSourceControlActionRecipe
and the saved-start path take a selection instead of a recipe.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
audichuang
added a commit
to audichuang/orca
that referenced
this pull request
Nov 10, 2026
…s action selection API
Upstream stablyai#34275 made getLaunchActionRecipe return a SelectedSourceControlActionRecipe
and the saved-start path take a selection instead of a recipe.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
audichuang
added a commit
to audichuang/orca
that referenced
this pull request
Nov 12, 2026
…s action selection API
Upstream stablyai#34275 made getLaunchActionRecipe return a SelectedSourceControlActionRecipe
and the saved-start path take a selection instead of a recipe.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
audichuang
added a commit
to audichuang/orca
that referenced
this pull request
Nov 13, 2026
…s action selection API
Upstream stablyai#34275 made getLaunchActionRecipe return a SelectedSourceControlActionRecipe
and the saved-start path take a selection instead of a recipe.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
audichuang
added a commit
to audichuang/orca
that referenced
this pull request
Nov 14, 2026
…s action selection API
Upstream stablyai#34275 made getLaunchActionRecipe return a SelectedSourceControlActionRecipe
and the saved-start path take a selection instead of a recipe.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
audichuang
added a commit
to audichuang/orca
that referenced
this pull request
Nov 16, 2026
…s action selection API
Upstream stablyai#34275 made getLaunchActionRecipe return a SelectedSourceControlActionRecipe
and the saved-start path take a selection instead of a recipe.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
audichuang
added a commit
to audichuang/orca
that referenced
this pull request
Nov 18, 2026
…s action selection API
Upstream stablyai#34275 made getLaunchActionRecipe return a SelectedSourceControlActionRecipe
and the saved-start path take a selection instead of a recipe.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
audichuang
added a commit
to audichuang/orca
that referenced
this pull request
Nov 18, 2026
…s action selection API
Upstream stablyai#34275 made getLaunchActionRecipe return a SelectedSourceControlActionRecipe
and the saved-start path take a selection instead of a recipe.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
audichuang
added a commit
to audichuang/orca
that referenced
this pull request
Nov 19, 2026
…s action selection API
Upstream stablyai#34275 made getLaunchActionRecipe return a SelectedSourceControlActionRecipe
and the saved-start path take a selection instead of a recipe.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
audichuang
added a commit
to audichuang/orca
that referenced
this pull request
Nov 20, 2026
…s action selection API
Upstream stablyai#34275 made getLaunchActionRecipe return a SelectedSourceControlActionRecipe
and the saved-start path take a selection instead of a recipe.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
audichuang
added a commit
to audichuang/orca
that referenced
this pull request
Nov 20, 2026
…s action selection API
Upstream stablyai#34275 made getLaunchActionRecipe return a SelectedSourceControlActionRecipe
and the saved-start path take a selection instead of a recipe.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
audichuang
added a commit
to audichuang/orca
that referenced
this pull request
Nov 20, 2026
…s action selection API
Upstream stablyai#34275 made getLaunchActionRecipe return a SelectedSourceControlActionRecipe
and the saved-start path take a selection instead of a recipe.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
audichuang
added a commit
to audichuang/orca
that referenced
this pull request
Nov 21, 2026
…s action selection API
Upstream stablyai#34275 made getLaunchActionRecipe return a SelectedSourceControlActionRecipe
and the saved-start path take a selection instead of a recipe.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
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
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.
Source Control actions could select different models in chat and terminal launches, lose effort when Model stayed at Agent default, or change repository overrides while migrating Arguments. Model and Effort now use the same choice controls on global and repository action cards. Existing model/effort flags move into those controls on load; remaining Arguments stay intact. Save, Discard and removable badges keep the choices and Arguments together. Defaults remain Agent default and Default.
A repository that owns Arguments owns the entire Model/Effort/Arguments group, including an empty override. Other repositories inherit the global group. Permissions retain their separate ownership rules. The shared resolver preserves literal syntax it cannot safely lift, unknown model IDs, independent effort and captured choices through agent selection, complete Save and Start. The terminal path carries effort-only choices through the existing prepared-command delivery to older execution hosts.
The common pattern resolves typed choices before launch projection. Intended adaptations preserve user-owned CLI syntax across supported shells, opaque IDs, repository ownership, independent execution hosts and existing permission behavior. Broader Agents-default and compiler adoption is temporary and remains tracked in STA-11102. Settings → Agents model/effort controls are outside this PR; its existing permission-badge removal behavior is preserved for that follow-up.
Older Orca and phone versions may launch Source Control actions with a different Model, Effort or repository Arguments until they update (accepted).
Validation: the full feature, source-lifetime, migration, renderer, phone/host-contract and performance reviews passed independently. The late raw-edit repair passed a fresh delta review and 130 tests across four named owners. Nine red-before cases reproduced the bug; five additional controls were added afterward and are not claimed red. Normal commit hooks passed. A fixture-only portability completion at 8562de3 then passed independent review and 28 mounted-dialog tests; all executable fixture and production bytes remain unchanged. The authorized main integration at dd1f286 passed 67 tests across six named owners, the required merge hook, and independent integration review. These overlapping executions are not summed. All 19 frozen exported contracts are unchanged. Deliberate raw edits are committed into the submitted selection before Start, Save & start and a surface switch; untouched load conflicts remain raw.
Scoped Windows QA previously passed at 5b22618: both real Claude/Codex explicit and effort-only terminal replies, native remembered-model plus explicit High replies, repository-owned Arguments shadowing, and same-agent Terminal selection with inherited choices through Save & start. One genuine same-profile main-to-branch upgrade and graceful reopen preserved global/repository migration and ownership; all 26 PNGs were personally viewed and hash-verified. The historical permission-only repository fixture was prepared only while the disposable app was stopped before a fresh load, then exercised through ordinary UI actions. Actual CLI argv and executed turn context supplement screenshots. Production-path tests cover current-client delivery to older hosts. All prior owned copies and terminals were cleaned up and real config hashes stayed unchanged. Unchanged evidence carries; the targeted raw-edit result below covers the later repair.
Targeted Windows raw-edit QA passed at dd1f286: both real agents replaced migrated Model choices through terminal Start with Save OFF, and replaced Model/Effort through the same-agent native picker with repository Save & start. Actual CLI argv, provider transcripts, executed Codex turn contexts, canonical disk state and fresh dialog reopens agree. Save OFF retained the original recipes; Save ON retained only the new choices and residual Arguments. All 22 additional original PNGs were personally viewed and hash-verified. All 32 recorded identities are absent, ticket listeners are zero, real config hashes are unchanged, and ticket 3117 is released.
Limits: first-run terminal onboarding required continuing the already-requested harmless prompt once through CDP. This targeted run did not independently seed a remembered native-model/High cache; prior unchanged evidence and production tests carry. Four UI transactions are certified; auxiliary Claude transcript records are not additional scenarios. Historical raw rows were prepared in a stopped disposable profile, so this is not another genuine upgrade.
Current-head CI is green: PR checks, including all ten unit shards, static analysis/typecheck, Mobile verify, packaging, persistence and relay checks. Skipped jobs are not claimed as executions. The reviewed main integration is dd1f286. The only later commit, 8562de3, adds public test-fixture return type annotations; executable AST and production are unchanged, and 28 mounted tests plus independent review passed. Prior QA at 5b22618 carries only unchanged flows.
Visual proof: main global card, branch global card, branch repository card, Chat UI on, Chat UI off. The loop status comment lists route-by-route evidence.
Against integrated main aa1de42, production is +3,083/−840 lines, plus three locale catalog additions. Raw test/fixture accounting is +5,222/−1,312, plus 377 historical proof additions (5,599 charged proof additions). Whole-file moves include inherited text again at new paths; no relocation or formatter credit is taken. Main’s unrelated changes are excluded. Tests exceed production because the retained contracts cover separate persistence, renderer, phone and execution-host boundaries. All 66 distinct contracts and their nonoverlap are listed below.
Retained test contracts and nonoverlap
RAW-COMMIT-1 implementation:59 accepted contracts retained
The59 accepted contract labels/nonoverlap are retained. This follow-up adds the bounded raw-commit contracts below. Carried RAW-COMMIT execution (historical owner identities):130tests/4owners; historical red receipt is9failed/14passed/23tests/one earlier owner identity. Existing9 dialog registration ASTs and complete bodies/assertions/inputs remain identical to HEAD.
src/shared/agent-launch-choices.test.ts:28src/shared/agent-launch-choices.test.ts:58src/shared/agent-launch-choices.test.ts:147src/shared/agent-launch-choices.test.ts:158src/shared/agent-launch-choices.test.ts:206src/shared/agent-launch-choices.test.ts:292src/shared/agent-launch-choices.test.ts:312src/shared/agent-launch-choices.test.ts:359src/shared/agent-launch-choices.test.ts:359src/shared/agent-launch-choices.test.ts:434src/shared/agent-launch-choices.test.ts:497src/shared/agent-launch-choices.test.ts:521src/shared/tui-agent-permission-choice.test.ts:717src/shared/tui-agent-permission-choice.test.ts:111src/shared/source-control-ai-action-recipes.test.ts:46src/shared/source-control-ai-action-recipes.test.ts:217src/shared/source-control-ai-action-recipes.test.ts:576src/shared/source-control-ai-action-recipes.test.ts:642src/shared/source-control-ai-actions.test.ts:41src/shared/source-control-ai-recipe-save.test.ts:26src/main/persistence/persistence-load-repair-durability.test.ts:98src/main/persistence/persistence-load-repair-durability.test.ts:165src/main/persistence/persistence-load-repair-durability.test.ts:165src/main/persistence/persistence-load-repair-durability.test.ts:406src/main/persistence/persistence-load-repair-durability.test.ts:447src/renderer/src/components/settings/source-control-action-permission-draft.test.tsx:136src/renderer/src/components/settings/source-control-action-permission-draft.test.tsx:136src/renderer/src/components/settings/source-control-action-permission-draft.test.tsx:262src/renderer/src/components/settings/source-control-action-permission-draft.test.tsx:341src/renderer/src/components/settings/source-control-action-permission-draft.test.tsx:437src/renderer/src/components/settings/source-control-action-permission-draft.test.tsx:489src/renderer/src/components/settings/source-control-action-permission-draft.test.tsx:526src/renderer/src/components/settings/source-control-action-permission-draft.test.tsx:576src/renderer/src/components/settings/repository/source-control/repository-source-control-ai-global-ux.test.ts:48src/renderer/src/components/settings/repository/source-control/repository-source-control-ai-global-ux.test.ts:274src/renderer/src/components/settings/repository/source-control/repository-source-control-ai-global-ux.test.ts:438src/renderer/src/components/settings/repository/source-control/RepositorySourceControlAiSection.test.ts:46src/renderer/src/components/settings/source-control-action-card-layout.test.tsx:76tests/e2e/source-control-action-phone-launch.unit.test.ts:18tests/e2e/source-control-action-phone-launch.unit.test.ts:78tests/e2e/source-control-action-phone-launch.unit.test.ts:112src/main/runtime/runtime-client-settings-source-control-projection.spec.ts:20src/main/runtime/rpc/methods/repo-source-control-ai-publication.test.ts:7src/main/runtime/runtime-project-host-setup-publication.test.ts:65src/renderer/src/components/right-sidebar/runSourceControlAgentActionStart.test.ts:551src/renderer/src/components/right-sidebar/source-control-action-recipe-match.test.ts:28src/renderer/src/components/right-sidebar/SourceControlAgentActionDialogForm.test.tsx:138src/renderer/src/lib/structured-agent-session-launch-action-effort.test-fixture.ts:17tests/e2e/prepared-action-launch.test-fixture.ts:33tests/e2e/web-runtime-session-terminal-host-authority.unit.test.ts:107tests/e2e/launch-agent-background-session-remote.unit.test.ts:105tests/e2e/web-runtime-session-terminal-host-authority.unit.test.ts:483tests/e2e/launch-agent-background-session-remote.unit.test.ts:175mobile/src/session/pr-ai-triage-launch.test.ts:1; src/renderer/src/components/settings/AgentLaunchDefaultsEditor.test.tsx:1compatibility-feasibility-proof.patch; old-editor-baseline-proof.mdFC1 executed contracts
All four upstream lifetimes were rerun through the actual dialog owner in final130-pass/4-owner execution; their complete test ASTs are unchanged. Earlier112-pass/9-owner evidence remains historical. The host/compiler/publication/queue owners outside these4 retain their prior receipts only; they were not rerun.
src/renderer/src/components/right-sidebar/useSourceControlAgentActionDialog.test.tsx:234src/renderer/src/components/right-sidebar/useSourceControlAgentActionDialog.test.tsx:300src/renderer/src/components/right-sidebar/useSourceControlAgentActionDialog.test.tsx:402src/renderer/src/components/right-sidebar/useSourceControlAgentActionDialog.test.tsx:443TR1: the FP1 row retains the migrated short fixture at agent-launch-choices.test.ts:579 and one short exhaustion invocation at:604, with exact gap0/lowered output. N/10N invalid-secondary/all-valid/exhaustion/two-node controls and operation bounds survive; only erased annotations changed in these performance owners.
Canonical-boundary completions remain runSourceControlAgentActionStart.test.ts:187 and:491. RPC publication remains repo-source-control-ai-publication.test.ts:7 with one repo-rpc fixture, plus25 registrations in repo.test.ts. The settings publication .spec remains imported by runtime-client-settings-projections.test.ts:4. Moved unit entrypoints use existing CI discovery; no config or ratchet-baseline change.
RAW-COMMIT-1 executed contracts
src/renderer/src/components/right-sidebar/useSourceControlAgentActionDialog.test.tsx:505src/renderer/src/components/right-sidebar/useSourceControlAgentActionDialog.test.tsx:587src/renderer/src/components/right-sidebar/useSourceControlAgentActionDialog.test.tsx:558src/renderer/src/components/right-sidebar/useSourceControlAgentActionDialog.test.tsx:677src/renderer/src/components/right-sidebar/useSourceControlAgentActionDialog.test.tsx:703src/renderer/src/components/right-sidebar/useSourceControlAgentActionDialog.test.tsx:752src/renderer/src/components/right-sidebar/useSourceControlAgentActionDialog.test.tsx:780The mounted suite has28cases after compact parameterization; all9 prior registration ASTs remain unchanged. The new cases are registered only in the existing owner; the fixture has no test registrations or copied production policy. Native requested/create options are test evidence, not an agent reply or running-app QA. No contract or assertion was removed for line accounting.
Final main integration carry
All59 retained contracts and RAW1–RAW7 remain; no new contract or deleted proof. Current mounted dialog bytes equal accepted fix-parent fff264a (root removed only three unused imports before that commit). Current targeted execution is67 tests/6owners, not additive/disjoint from historical130/4owners. Incoming saved-review registration is retained and adds no A contract. Lines reflect current integration; earlier execution identities remain historical.