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
fix(agent-launch): resumed sessions apply agentDefaultArgs when no launchConfig is recorded, and persist the composed launchConfig - #37304
If you give Claude default arguments in Settings → Agents → Claude → Arguments (for example --dangerously-skip-permissions), a Claude you launch from Orca gets them. But when Orca restarts a Claude for you, after an account switch or when it restores a slept session, a session Orca had no launch recipe for came back as a bare claude --resume <id> and asked for permissions again. With this change, a resumed session with no recorded recipe starts with the same configured arguments and environment a fresh launch would get. A session with a recorded recipe is replayed unchanged, as before.
What Changed
Before:resolveResumeLaunchRecipe returned an empty recipe when the sleeping record had no launchConfig, and the account-switch restart path carried its own inline copy of that logic with Claude excluded from configured defaults. Restored sessions without a recorded recipe lost the user's defaults on every restore.
After:resolveResumeLaunchRecipe takes the agent, settings, platform and shell. When no launchConfig is recorded, it composes agentArgs and agentEnv through the same resolvers a fresh launch uses (resolveTuiAgentLaunchRawArgs, resolveTuiAgentLaunchEnv). A recorded launchConfig is returned exactly as before. The four resume callers pass those inputs: sleeping-session restore, cold restore, the mobile host restore, and the account-switch restart. Nothing is persisted and no settings file is written.
This applies to every supported agent's resume paths. Two cases change behaviour: a Claude restarted on an account switch now gets its configured defaults, and a Codex cold restore with no recorded recipe now gets its configured non-permission arguments and environment. Codex permission flags are still stripped on resume (#10886). AI Vault resume already used configured defaults and is unchanged.
This applies the configured Claude defaults when Orca has no record of how a session was launched, which covers both the account-switch restart (#34690) and the cold-restore path reported on #32245. It does not recover a hand-started session's own permission mode; #36359 by Nelef captures that from Claude's hooks, and the two compose: with #36359 landed, a recorded mode wins and these defaults apply only when nothing is known.
Why
Users configure defaults because their sessions run unattended. A restart that silently drops them turns an automated session into one that blocks on prompts (#34690, Windows and Linux reporters; #33379). A resume is Orca restarting a session on the user's behalf, so it should honour the same configured defaults as a launch. The alternative, a separate opt-in setting for resumes, adds a second knob for behaviour users already configured once.
N/A. The change is in the command and environment a resumed agent is started with; there is no UI change. The spawned command is asserted in the updated tests.
Testing
On top of upstream main: pnpm typecheck clean, pnpm lint clean, the runtime suite and the --changed Vitest selection against main. Four existing test files encoded the old rule as negative assertions on the configured flag and were updated to the new rule; they also assert the configured environment is applied and that a recorded recipe's own arguments and environment are kept unchanged. Platforms exercised by the tests: macOS host paths, WSL quoting fixtures. Not yet exercised natively on a real multi-host Orca installation for this exact branch.
I manually tested these changes locally (not yet on a real multi-host installation for this exact branch; see above)
Automated tests added/updated, or explained why not below
Risk
A resumed Claude session that had no recorded recipe now receives the configured default arguments, which can include a permission bypass the user configured for fresh launches. Users who rely on resumes staying bare for sessions they started by hand would see those sessions come back with their configured defaults. Nothing crosses the wire or the saved-data boundary: no record format changes and older paired hosts are unaffected. Back-out is a plain revert of the single commit.
Level: Low
AI Disclosure
Authored with OpenAI Codex (GPT-6.1-Sol) under human direction; reviewed by Claude (Fable 5.1) and a second Codex reviewer before submission.
Review
Agent skill upstream boundary
Not applicable, or this change copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.
Notes
Ensure no issues in: Security, Cross-platform support (Linux, Windows, Mac), Remote SSH, Mobile, general backwards compatibility, performance
Checklist
This PR is small and focused
I explained what changed and why (ELI5, the user-facing before/after, the mechanism, and why over the alternatives)
I stated the risk: what could break, for whom, and how to back it out
Before/after screenshots or videos attached for UI changes, or N/A with reason
Self-reviewed for correctness, security, and performance
Cross-platform, SSH/remote, and path/shortcut impact considered (or N/A)
pnpm lint, pnpm typecheck, pnpm test, and pnpm build pass (or CI will cover; local preferred)
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.
Resume startup paths now resolve configured arguments and environment when a sleeping-session record has no launch configuration. Paths that resume from recorded configurations continue to use their recorded values. Sleeping-session handling persists a resolved configuration when needed and uses it for the resumed tab. Tests cover configured defaults and recorded values across account restarts, cold restores, mobile resumes, host-driven resumes, and retry paths.
Severity of issue fixed: Medium
Merge Risk: Moderate · previous review e0ec2
Resumed Codex sessions that have no recorded launch config can now run with approvals and sandboxing disabled if the user configured --yolo as a default, overriding the session's saved permissions. Teach the resume filter to strip this alias before merging. The Claude resume fix itself looks sound.
Pre-merge checks: 5
Check name
Status
Explanation
Title check
The title clearly identifies the main change: applying configured agent defaults to resumed sessions without a recorded launch configuration and persisting the composed recipe.
Description check
The description covers the required sections, explains the behavior change and rationale, links issue #34690, documents testing and risk, and marks visual proof as not applicable. It is sufficiently c…
Linked Issues check
[#34690] The account-switch restart now calls resolveResumeLaunchRecipe with the agent, settings, target platform, and shell. When no launchConfig exists, the resolver applies configured raw argum…
Out of Scope Changes check
The changes centralize resume recipe resolution across account-switch, sleeping-session, cold-restore, and mobile resume paths. The added persistence and test changes support consistent fallback behav…
Docstring Coverage
Docstring coverage is 80.00% which is sufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentati…
Full details: Description check
Explanation
The description covers the required sections, explains the behavior change and rationale, links issue #34690, documents testing and risk, and marks visual proof as not applicable. It is sufficiently complete despite noting that native multi-host testing was not performed.
Full details: Linked Issues check
Explanation
[#34690] The account-switch restart now calls resolveResumeLaunchRecipe with the agent, settings, target platform, and shell. When no launchConfig exists, the resolver applies configured raw arguments and environment. This restores configured Claude arguments such as --dangerously-skip-permissions. When a recipe exists, the resolver preserves its arguments and environment. Updated restart tests cover the configured Claude argument and environment.
Full details: Out of Scope Changes check
Explanation
The changes centralize resume recipe resolution across account-switch, sleeping-session, cold-restore, and mobile resume paths. The added persistence and test changes support consistent fallback behavior and recorded-recipe preservation. The reviewed diff shows no unrelated feature or saved-data format change.
Full details: Docstring Coverage
Explanation
Docstring coverage is 80.00% which is sufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 5 functions across 9 files.
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Tip
🎯 Customize your risk assessments
Guide how CodeRabbit assesses merge risk and security architecture risk. Highlight sensitive changes and explain your security boundaries using Merge Risk Instructions and Security Risk Instructions in your review settings. Security architecture risk assessments require the Advanced plan or above.
✅ Automatic approvals, with your rules
Let CodeRabbit approve pull requests once required threads are resolved, pre-merge checks pass, and your risk limits are met. Enable Automatic approvals in review settings, with overrides for teams or file paths.
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; 9 remain after this review.
The reason will be displayed to describe this comment to others. Learn more.
Caution
Some comments are outside the diff and can’t be posted inline due to GitHub limitations.
⚠️ Outside diff range comments (1)
Minor · Pass the effective startup environment to the… · agent-account-restart-startup.ts:89-105
src/renderer/src/lib/agent-account-restart-startup.ts:89-105 Minor · Functional Correctness · Quick win
Pass the effective startup environment to the replacement spawn.
When an account-switch replacement has no recorded launchConfig, the head stores the configured environment in session.paneStartup. The replacement then calls startFreshSpawn() without an override, so session.transport.connect(...) omits that environment. The resumed agent can therefore start with the host defaults instead of the configured environment.
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.
Unverified finding
Verification ran but could not confirm this finding. It is shown for review, not as a verified issue.
Do not apply launch defaults to untracked hand-started sessions.
When a user starts Claude without bypass permissions, an account restart can find its session without a launchConfig. This fallback then applies Orca’s full-access default, adding --dangerously-skip-permissions to the resumed session. The hand-started test exercises this path. The resumed agent can execute tools without the approvals the user chose. (raw.githubusercontent.com)
Apply defaults only when the session is known to be Orca-launched, or recover the session’s actual permission mode. Preserve the previous safe fallback when its origin is unknown.
Review info
Run configuration
Source mode: Auto
Repository: Unavailable
Branch: Unavailable
File: No configuration file from this repository applied
Commit: Unavailable
Layers: Repository UI
Review profile: CHILL
Plan: Advanced
Run ID: ebd6d41a-2e6f-4bde-a9f1-2671117f3cd0
Commits
Reviewing files that changed from the base of the PR and between 5a5d83d and 92e03e5.
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.
Use configured raw arguments and environment for missing or invalid legacy
recipes across every supported agent's sleep, cold, deferred, main and mobile
resume paths. Include Claude account-switch restarts and Codex cold-restore
non-permission arguments and environment; keep recorded recipes authoritative
with the existing Codex permission filtering.
AI Vault already used configured defaults and remains unchanged.
Fixesstablyai#34690. Related: stablyai#33379.
Co-Authored-By: Codex <[email protected]>
CodeRabbit (unverified Major, resolveResumeLaunchRecipe fallback): "Do not apply launch defaults to untracked hand-started sessions."
Acknowledged, and this is a deliberate scope choice rather than an oversight. The reporter's sessions on #34690 were Orca-launched; restoring configured defaults for an unrecorded launch is the fix for that case and for the cold-restore reports on #32245. Recovering a hand-started session's real permission mode needs Claude's hook data, which #36359 adds; this PR composes with it. Verdict: not changing in this PR. Head: e0ec2a5.
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.
Honor the thread permissions restored by Codex on resume (stablyai#10886).
Address the CodeRabbit finding that recorded aliases such as --yolo and
-s danger-full-access survived the exact-recipe lift and overrode them.
Reuse the picker carrier ranges and preserve recorded text when a safe
cut or command suffix rebuild cannot be proven.
Thanks for this, and for pinning down the cold-restore and account-switch gaps. We took the fix in a slightly different direction in #38998: instead of rebuilding a launch from current settings when no recipe was recorded, Orca now keeps the recipe for every launch it starts and resumes unrecorded sessions without settings Arguments or env. That avoids giving a hand-typed claude a bypass it never had. Your findings are credited in the PR description.
…d bypass
Without a recorded launch, every restart path now resumes with no settings
Arguments, env or permission default; the configured Command still runs. A
session whose root agent last reported bypassPermissions keeps its bypass flag,
so a hand-typed claude --dangerously-skip-permissions keeps it while a bare
hand-typed claude never gains one (#29898).
Account-switch restart used the shared rule only for Claude; it now uses it
for every agent. Thanks to JustinCMR (#37304) for finding the account-switch
and cold-restore gaps.
…d bypass
Without a recorded launch, every restart path now resumes with no settings
Arguments, env or permission default; the configured Command still runs. A
session whose root agent last reported bypassPermissions keeps its bypass flag,
so a hand-typed claude --dangerously-skip-permissions keeps it while a bare
hand-typed claude never gains one (#29898).
Account-switch restart used the shared rule only for Claude; it now uses it
for every agent. Thanks to JustinCMR (#37304) for finding the account-switch
and cold-restore gaps.
…8998)
* feat(agent-session): keep the permission mode a Claude session reports
Claude names its live permission mode on prompt, tool and Stop hooks. Keep the
root agent's latest value on the provider session, next to effort, so a resume
without a recorded launch can tell whether the session ran in bypass.
Ports the capture from #36359 by Nelef.
* fix(agent-launch): resume an unrecorded launch bare unless it reported bypass
Without a recorded launch, every restart path now resumes with no settings
Arguments, env or permission default; the configured Command still runs. A
session whose root agent last reported bypassPermissions keeps its bypass flag,
so a hand-typed claude --dangerously-skip-permissions keeps it while a bare
hand-typed claude never gains one (#29898).
Account-switch restart used the shared rule only for Claude; it now uses it
for every agent. Thanks to JustinCMR (#37304) for finding the account-switch
and cold-restore gaps.
* fix(terminal): keep the launch recipe of a window-started agent in main
A window spawn hands main its recipe, but main kept only the token and agent,
so restarts that main runs (workspace sleep capture, closed-worker reopen)
found no recipe and resumed bare. Keep it with the launch authority, the same
gate that admits the token.
* fix(orchestration): reopen a closed worker with the recipe it launched with
A closed worker's pane record goes away with its tab, so orchestration send
reopened it bare (#37693). The worker row now keeps the recipe Orca launched
the agent with, keeps it when a later capture of the same launch arrives
without one (main loses it on a daemon reattach), and a reopen prefers it over
a pane record that may hold another launch of the conversation.
Adapted from #37757 by Pr1p, without a new column.
* fix(terminal): keep a slept pane's earlier recipe only for the same launch
A host sleep capture without a recipe reused the pane's earlier record for the
same conversation. That is right after a daemon reattach, when Orca's launch
still runs but main lost its recipe, and wrong for an agent typed into the
shell that resumed the conversation: it never ran that launch.
* fix(agent-session): restore a paired pane with the recipe its host recorded
A client restoring a pane on a paired host sends only its recorded Arguments,
and the host filled the rest from its current settings. A saved restore now
replays the host's own record for that pane, or, with none at all, resumes
bare and keeps a bypass only when this host's hooks saw it reported. History
and other user-chosen resumes keep current settings.
* fix(terminal): replay a saved note only for the launch main still holds
A note belongs to the agent in a pane only while main holds that launch's
token: main admits it at spawn and retires it when the launch command
finishes, and a daemon reattach restores neither. Worker, host sleep and
hook/quit captures now take a note only from that attested launch, and no
longer copy an earlier record's note by agent or conversation match, which a
typed resume in the same shell also satisfies. With no attested launch the
unrecorded rule applies.
Replaces the inferred orcaLaunched / recipeLostPaneKeys flags and drops the
mock-only reopen and fixture-echo worker tests.
* fix(agent-status): take a pane's note from the launch main attests
The window carried a pane's saved note into each new record by agent and
conversation match, so an agent typed into the shell that resumed the same
conversation inherited an earlier launch's bypass. Main now sends the note of
the launch it still holds with each status, and the window records only that,
its own launch registration, or, for a restored replay of the very status a
record was written from, that record's note. /clear and compact keep the note
because main still holds the same launch.
* fix(orchestration): reopen a worker with its own recipe or none
A worker without its own note took the note of whichever pane record held the
same conversation. Its reopen now always passes a complete recipe: its own
note, or the unrecorded rule. The unrecorded bypass is also scoped to Claude,
whose hooks are the ones that report a root agent's permission mode.
* fix(agent-session): restore a paired pane from its source pane, never current settings
A saved restore on a paired host looked up the destination pane, which a Wake
opens as a new tab, and fell back to the host's current settings whenever the
client sent its partial Arguments. The client now names the source pane (to
hosts advertising agent-session.restore-source-pane.v1), and the host replays
its note for that pane or, with none, resumes bare keeping only a bypass its
own hooks saw there. Older hosts keep today's behavior.
* fix(terminal): re-arm a launch across a main restart while its agent still runs
The daemon outlives main, so it now keeps main's admitted launch (token and
note) and drops it when that launch's command finishes. On reattach main
re-arms the launch only when the same agent still runs in the foreground:
nothing can be typed into a daemon PTY while main is down, so a running agent
there is the one the unretired note launched. A shell foreground clears the
daemon's note; an unknown read, including every Windows read, declines.
Older daemons keep no note, so restore declines there as before.
* fix(terminal): the daemon retires a launch note when its command finishes
A launch can finish while main is down, so main's own retirement never sees it and a
hand-typed agent in that pane would later pass the reattach foreground check.
* fix(agent-status): a fresh Claude start never inherits the last process's permission mode
A hand-typed resume of the same conversation may run without the bypass the previous
process had, so only /clear and compact carry the mode forward.
* fix(agent-session): name a restore's source pane in the host's own keys
A mirrored pane's key carries the desktop tab prefix, so the host's exact lookup missed
its saved note.
* fix(terminal): retire a daemon launch note by its token from the one retirement owner
A delayed reattach result or a late retire could clear a newer launch's note. Retires now
name the token they retire, the reattach checks its PTY before clearing, and re-arming the
same launch keeps the daemon's completion scanner.
* fix(agent-status): only the launch owner's statement changes a pane's note
Main now states the attested note, or null for none, on every hook status. An OSC or
display update makes no statement, so after a completed turn it no longer erases an Orca
launch's note; a typed resume still drops it through main's null.
* fix(terminal): an attach leaves alone a launch main already holds
The renderer attaches a pane the CLI just launched before its agent starts, so the
attach saw the shell and retired the new launch's daemon note.
* fix(agent-status): a paired client keeps a pane's note only on its host owner's word
The host's session-tabs frame now says whether the Orca launch it admitted still runs on
the published incarnation, and the client applies that fact whichever writer wins the
status. With an owner's word the conversation no longer decides; an older host that says
nothing keeps the same-conversation rule.
* refactor(agent-status): one decision picks a pane's note for every reader
The live entry, quit capture, provider-session updates, account restart and cold
restore now ask the same owner-aware decision. An owner's none is final and, when it
turns, ends the pane's registry entry and saved note, locally and from a paired host's
frame. Cold restore and account restart take that answer for a live invocation and read
the saved record only when none is live. Inlines single-use wrappers.
* refactor(agent-status): a paired retirement test reaches the cold-restore command; trim comments
Replaces the projection and continuity tests with one transition: host frame retires the
launch, the next OSC keeps no note, and the cold-restore command has no old bypass.
* fix(agent-status): an owner's none retires the pane's matched launch registry entry
* chore: satisfy changed-code gates (type guards, SAFETY notes, fixed test clock)
* fix(agent-launch): a teams launch keeps its note; a legacy leaf id restores without throwing
* refactor(daemon): keep the session launch note on the process base so session.ts stays in budget
* fix(agent-launch): a restarted terminal main can't vouch for keeps main's earlier launch rule
* fix(agent-launch): read the pane's current terminal; a finished launch settles an undecided pane
* fix(agent-launch): undecided and held launches end with their process
A finished command, a fresh launch or a replacement process settles an undecided pane;
a newer attach or finish supersedes a foreground read still in flight; a legacy relay
reattach without an incarnation stays undecided; a held launch applies only to the
process it was recorded for.
* refactor(terminal): watch and arm a created terminal's launch in one call
Keeps terminal-create.ts within the 300-line budget after main's growth.
* refactor(terminal): keep main's launch evidence in one immutable record
Replace the undecided flag, the reattach check map and the re-arm's writes
to main's orchestration launch fields with one launchEvidence object
(unknown, gone for an incarnation, or held with its recipe), owned by
launch-evidence.ts.
- A fresh admitted launch is held; any other fresh process is gone.
- A finished command or confirmed exit is gone, sticky for its process:
no reattach, legacy or noted, can revive it.
- A replacement retires its predecessor's evidence without deciding the
newcomer, which may still prove its own launch through a reattach.
- A reattach note is held only after a foreground read sees its agent;
the evidence object fences that read.
- A gone launch clears its recipe and blocks both refill sites; a
deliberate sleep snapshot keeps its recipe past the launch it captured.
- launchToken, launchIncarnationId and launchAgent writes match main.
* fix(terminal): keep launch evidence through a first incarnation and sleep snapshots
- Learning a process's first incarnation binds its held or gone evidence
to it, so a later attach can neither revive a finished launch nor drop
a running one; a known X->Y replacement is fenced as before and now also
clears the predecessor's recipe.
- A status from no Orca launch leaves a sleep snapshot of its session for
the wake and never takes that snapshot's recipe into a live or quit
record.
* fix(terminal): record a runtime split's fresh shell as running no launch
* chore: rerun CI on main with the typecheck fix
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.
ELI5
If you give Claude default arguments in Settings → Agents → Claude → Arguments (for example
--dangerously-skip-permissions), a Claude you launch from Orca gets them. But when Orca restarts a Claude for you, after an account switch or when it restores a slept session, a session Orca had no launch recipe for came back as a bareclaude --resume <id>and asked for permissions again. With this change, a resumed session with no recorded recipe starts with the same configured arguments and environment a fresh launch would get. A session with a recorded recipe is replayed unchanged, as before.What Changed
Before:
resolveResumeLaunchRecipereturned an empty recipe when the sleeping record had nolaunchConfig, and the account-switch restart path carried its own inline copy of that logic with Claude excluded from configured defaults. Restored sessions without a recorded recipe lost the user's defaults on every restore.After:
resolveResumeLaunchRecipetakes the agent, settings, platform and shell. When nolaunchConfigis recorded, it composesagentArgsandagentEnvthrough the same resolvers a fresh launch uses (resolveTuiAgentLaunchRawArgs,resolveTuiAgentLaunchEnv). A recordedlaunchConfigis returned exactly as before. The four resume callers pass those inputs: sleeping-session restore, cold restore, the mobile host restore, and the account-switch restart. Nothing is persisted and no settings file is written.This applies to every supported agent's resume paths. Two cases change behaviour: a Claude restarted on an account switch now gets its configured defaults, and a Codex cold restore with no recorded recipe now gets its configured non-permission arguments and environment. Codex permission flags are still stripped on resume (#10886). AI Vault resume already used configured defaults and is unchanged.
This applies the configured Claude defaults when Orca has no record of how a session was launched, which covers both the account-switch restart (#34690) and the cold-restore path reported on #32245. It does not recover a hand-started session's own permission mode; #36359 by Nelef captures that from Claude's hooks, and the two compose: with #36359 landed, a recorded mode wins and these defaults apply only when nothing is known.
Why
Users configure defaults because their sessions run unattended. A restart that silently drops them turns an automated session into one that blocks on prompts (#34690, Windows and Linux reporters; #33379). A resume is Orca restarting a session on the user's behalf, so it should honour the same configured defaults as a launch. The alternative, a separate opt-in setting for resumes, adds a second knob for behaviour users already configured once.
Linked Issue
Fixes #34690
Related: #33379
Visual Proof
N/A. The change is in the command and environment a resumed agent is started with; there is no UI change. The spawned command is asserted in the updated tests.
Testing
On top of upstream
main:pnpm typecheckclean,pnpm lintclean, the runtime suite and the--changedVitest selection againstmain. Four existing test files encoded the old rule as negative assertions on the configured flag and were updated to the new rule; they also assert the configured environment is applied and that a recorded recipe's own arguments and environment are kept unchanged. Platforms exercised by the tests: macOS host paths, WSL quoting fixtures. Not yet exercised natively on a real multi-host Orca installation for this exact branch.Risk
A resumed Claude session that had no recorded recipe now receives the configured default arguments, which can include a permission bypass the user configured for fresh launches. Users who rely on resumes staying bare for sessions they started by hand would see those sessions come back with their configured defaults. Nothing crosses the wire or the saved-data boundary: no record format changes and older paired hosts are unaffected. Back-out is a plain revert of the single commit.
Level: Low
AI Disclosure
Authored with OpenAI Codex (GPT-6.1-Sol) under human direction; reviewed by Claude (Fable 5.1) and a second Codex reviewer before submission.
Review
Agent skill upstream boundary
Notes
Ensure no issues in: Security, Cross-platform support (Linux, Windows, Mac), Remote SSH, Mobile, general backwards compatibility, performance
Checklist
N/Awith reasonpnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (or CI will cover; local preferred)