Skip to content

Add saved worker roles with verified launch options - #33369

Open
gentslava wants to merge 41 commits into
stablyai:mainfrom
gentslava:gentslava/upstream-worker-roles
Open

gentslava wants to merge 41 commits into
stablyai:mainfrom
gentslava:gentslava/upstream-worker-roles

Conversation

@gentslava

@gentslava gentslava commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

ELI5

Save reusable worker roles with explicit agent, model, effort and Fast choices, then launch them through the existing verified host path.

What Changed

Store role profiles in existing settings and apply their launch options through existing worker admission and model-catalog owners. Preserve account/host invalidation and older-host listing capability boundaries. Adopt upstream removal of an unrelated catalog test while retaining the three role-specific listing and stale-reply regressions.

Why

Repeated worker configurations should be reusable without silently choosing an unsupported model or inheriting another host or account snapshot. This does not introduce automatic quota balancing.

Linked Issue

Fixes #39517, the first piece of #9712 (reusable team presets).

Visual Proof

Earlier artifacts below retain their original source/capture identities. This source refresh does not claim new browser or physical-device acceptance.

Earlier captures below retain their original source and capture context; this update does not claim a fresh rendered run.

The following retains the earlier capture context and artifacts. This base refresh does not claim new rendered or physical-device acceptance.

Before: frozen upstream d58849a7d8d68929bd0e686571678d85e70740af. After: standalone 5e6d518fe6f809263d945ecf05af2eb772518e90. Matched component pairs use identical synthetic data, dark theme and 1280×900 viewport.

Before: roles before desktop

Before: roles before desktop

After: roles after desktop

After: roles after desktop

After: roles after model form

After: roles after model form

Actual Orchestration pane/profile editor with synthetic catalogs and controlled settings. Provider/model/effort/Fast changes and custom roles passed; no worker launch or live account entitlement is claimed. All final component runs had zero page errors and hidden, unfocused windows; captures ran on macOS through approved outside-sandbox execution. No private user screenshot is published and no image is committed to this PR. Full rendered evidence: gentslava#1.

Testing

Current upstream refresh

Head 0a5b044fbfc446e05fe57e0e87f5d8016498b991 includes an ordinary forward merge of main 255b5c22c17ec91d1156db4e90049b754886d47e.

Resolve current CLI module moves while retaining worker-role launch options. Settings copy uses the reactive translation hook, and save handling remains compatible with React Compiler. The existing compiler baseline only shrinks by the improved NativeChatStructuredSession row.

Desktop/runtime/CLI/web types and 78 tests in eight focused suites pass on the merged feature before the final callback cleanup. The final two-file cleanup passes all 37 follow-up checks against dbe6d12, including related units, types, compiler compatibility, lint, formatting and localization. The earlier PR-wide related-unit selection exceeded its local three-minute limit; this scoped follow-up is not claimed as a completed full PR-wide suite.

Existing visual proof retains its capture revisions. No new rendered, hosted-CI, package or physical-device acceptance is claimed by this source refresh.

Current head: 9be993481c1eb123c873e8aaafaa8eff43a0be74, with an ordinary forward merge of upstream 77ab05bfb107036756dc9cdad3ca56f467dc7181. The extracted launch owner follows the new OpenCode module path.

Desktop/runtime typechecks, changed-source lint and formatting, the E2E type ratchet, and localization catalog/extraction checks pass. The 8 focused suites pass 78 tests.

Existing English screenshots retain their original capture source and dimensions. These local checks do not establish new installed Windows/Linux, physical-device, SSH or live-provider acceptance.

Risk

Level: Medium

Unsupported or stale role options could affect a worker launch. Existing host validation remains authoritative; revert this PR to remove role selection while preserving ordinary worker launches.

AI Disclosure

Implemented and checked with OpenAI Codex assistance. The contributor owns the change and its validation.

Review

Reviewed current source and paginated formal/inline/top-level feedback. The current upstream owner moves are preserved; no quality limit or assertion is relaxed. Latest-head external approval is not claimed.

Agent skill upstream boundary

  • Not applicable: no upstream skill-installer material copied or translated.

Notes

Local, remote and mixed-version host boundaries, mobile clients and folder workspaces retain their existing ownership rules. No provider prompts or GUI launches were used in this refresh.

Checklist

  • Focused contribution with linked tracking issue.
  • Behavior, mechanism, risk and backout explained.
  • Complete focused suites and normal source hooks run.
  • Earlier visual proof retains its stated capture scope.
  • Full aggregate lint/typecheck/test/build gates and installed-device acceptance.

@gentslava
gentslava marked this pull request as ready for review October 25, 2026 03:22
@coderabbitai

coderabbitai Bot commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Note

Reviews paused

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.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

No actionable comments were generated in the recent review.

Walkthrough

The change adds saved worker-role profiles to orchestration settings and adds --role and --fast options to worker-start. Launch preparation resolves profile values, applies explicit options, and validates Fast support before startup. Local and federated launch paths carry role and Fast preferences, with remote capability checks and preflight receipts. Launch output includes role and effective configuration details. Tests and documentation cover profile resolution, validation, provider-specific Fast behavior, and federated outcomes.

Merge Risk: Minimal · previous review e6748

The model menu does not offer built-in choices for an unknown host catalog, and a failed capability check no longer leaves it refreshing indefinitely. No actionable merge-blocking issue remains from the supplied evidence.

Pre-merge checks: Passed 4

Check name Status Explanation
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Title check Passed The title clearly summarizes the main change: adding saved worker roles and verified launch options.
Description check Passed The description follows the template's main sections (ELI5, What Changed, Why, Linked Issue, Visual Proof, Testing, Risk, AI Disclosure, Review, Agent skill upstream boundary, Notes, Checklist) and st…
Full details: Description check

Explanation

The description follows the template's main sections (ELI5, What Changed, Why, Linked Issue, Visual Proof, Testing, Risk, AI Disclosure, Review, Agent skill upstream boundary, Notes, Checklist) and states a linked issue (Fixes #39517), a Medium risk level, a revert-based backout, and test runs. It is dense and includes process-heavy wording, and the 'What Changed' section is brief on the user-facing before/after. The Visual Proof section cites external captures and does not clearly show a before/after for the same UI in the PR itself, but it does provide before and after images. Several 'What Changed' and 'Testing' statements refer to upstream refresh mechanics rather than the feature itself, which makes the scope harder to review. The description is mostly complete, so the check passes.

  • 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.

Share

Recent 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: 40534c67-76bb-4a5d-8cae-5f9f748f1f74
Commits

Reviewing files that changed from the base of the PR and between f1b41d3 and e674823.

Files ignored due to path filters: 1

  • src/shared/rpc-contract/rpc-params-catalog.generated.ts is excluded by !**/*.generated.*
Files selected for processing: 2

  • src/renderer/src/components/settings/use-worker-role-model-catalog.test.tsx
  • src/renderer/src/components/settings/use-worker-role-model-catalog.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 0 remain after this review.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🔇 Additional comments: 47
src/shared/orchestration-worker-roles.ts: 1

1-74: LGTM!

src/shared/rpc-contract/orchestration-worker-start-params.ts: 1

3-3: LGTM!

Also applies to: 31-31, 34-34

src/shared/rpc-contract/orchestration-federation-start-params.ts: 1

4-4: LGTM!

Also applies to: 26-26, 29-43

src/shared/agent-session-host-authority.ts: 1

96-97: LGTM!

src/shared/rpc-contract/agent-session-params.ts: 1

68-73: LGTM!

src/shared/orchestration-runtime-capabilities.ts: 1

10-11: LGTM!

Also applies to: 29-29

src/shared/protocol-version.ts: 1

107-107: LGTM!

src/shared/default-global-settings.ts: 1

161-161: LGTM!

src/shared/global-settings-base.ts: 1

7-7: LGTM!

Also applies to: 15-16

src/main/persistence/applying-settings/settings-update.ts: 1

8-8: LGTM!

Also applies to: 86-90

src/main/runtime/runtime-store-contract.ts: 1

114-114: LGTM!

src/renderer/src/components/settings/OrchestrationPane.tsx: 1

31-31: LGTM!

Also applies to: 167-169

src/renderer/src/components/settings/WorkerRoleProfileEditor.tsx: 1

1-165: LGTM!

src/renderer/src/components/settings/WorkerRoleSettings.tsx: 1

1-149: LGTM!

src/renderer/src/components/settings/orchestration-search.ts: 1

22-22: LGTM!

Also applies to: 94-115

src/renderer/src/components/settings/use-worker-role-model-catalog.ts: 1

1-71: LGTM!

src/renderer/src/components/settings/use-worker-role-model-catalog.test.tsx: 1

1-102: LGTM!

src/renderer/src/i18n/locales/en.json: 1

533-566: LGTM!

src/shared/orchestration-worker-roles.test.ts: 1

1-150: LGTM!

src/cli/agent-launch-request.ts: 1

18-18: LGTM!

Also applies to: 39-39

src/cli/flag-help-text.ts: 1

48-49: LGTM!

src/cli/specs/orchestration-worker-specs.ts: 1

8-8: LGTM!

Also applies to: 25-25, 28-28, 38-39

src/cli/handlers/orchestration/worker-launch-handler.ts: 1

6-9: LGTM!

Also applies to: 19-44, 87-87, 90-90

src/cli/handlers/orchestration-worker-role-cli.test.ts: 1

1-76: LGTM!

src/cli/handlers/orchestration/worker-output.ts: 1

12-21: LGTM!

Also applies to: 39-49

src/cli/handlers/orchestration/worker-output.test.ts: 1

45-73: LGTM!

docs/site/content/docs/cli/orchestration.mdx: 1

49-73: LGTM!

src/main/runtime/rpc/methods/orchestration/worker/worker-start-launch-preflight.ts: 1

1-104: LGTM!

src/main/runtime/rpc/methods/orchestration/worker/worker-start-validation.ts: 1

5-5: LGTM!

Also applies to: 56-57, 85-86, 92-93, 99-99, 141-142, 151-152, 158-159, 177-183

src/main/runtime/rpc/methods/orchestration/worker/worker-launch-preferences.ts: 2

3-9: LGTM!

Also applies to: 16-17, 21-22, 27-52, 58-75, 83-84, 87-87, 91-92, 104-107, 112-129, 133-141, 144-149, 157-158, 160-160, 163-163, 171-172, 176-185


202-207: 🗄️ Data Integrity & Integration

The receipt parser preserves launch.role and fastMode.

parseRemoteFederatedWorkerStartReceipt returns the validated receipt object directly. It does not parse launch with Zod or strip fields. The proposed Zod-stripping failure is not supported.

src/main/runtime/rpc/methods/orchestration/worker/worker-opencode-model-preflight.ts: 1

35-47: LGTM!

src/main/runtime/rpc/methods/orchestration/worker/worker-structured-fast-preflight.ts: 1

1-75: LGTM!

src/main/runtime/rpc/methods/orchestration/worker/worker-structured-fast-preflight.test.ts: 1

1-144: LGTM!

src/shared/agent-launch-model-preferences.ts: 1

31-31: LGTM!

Also applies to: 36-38, 81-97, 102-103

src/main/runtime/terminal/launch/orchestration-agent-launch.ts: 1

1-159: LGTM!

src/main/runtime/terminal/wait/terminal-interactive-wait.ts: 1

2-2: LGTM!

Also applies to: 22-22

src/main/runtime/orca-runtime-create-agent-session.ts: 1

78-83: LGTM!

Also applies to: 146-151

src/main/runtime/session-construction/agent-session/get-agent-session-execution-namespace.ts: 1

79-79: LGTM!

Also applies to: 86-88

src/main/runtime/workspaces/workspace-activation.ts: 1

55-55: LGTM!

skill-guides/orchestration/references/coordinator-loop.md: 1

48-74: LGTM!

src/main/runtime/rpc/methods/orchestration/federation/federated-worker-launch-preflight.ts: 1

1-88: LGTM!

src/main/runtime/rpc/methods/orchestration/federation/federated-worker-start.ts: 1

8-8: LGTM!

Also applies to: 33-33, 73-73, 76-78, 91-98, 183-183, 186-186

src/main/runtime/rpc/methods/orchestration/worker/workers.ts: 1

19-21: LGTM!

Also applies to: 29-29, 32-46, 116-134

src/main/runtime/rpc/methods/orchestration/worker/worker-role-routing.test.ts: 1

1-261: LGTM!

src/main/runtime/rpc/methods/orchestration/federation/federation-start-schema.ts: 1

2-6: LGTM!

Also applies to: 9-9

src/main/runtime/rpc/methods/orchestration/worker/local-worker-start.ts: 1

59-59: Trivial · Maintainability & Code Quality · Quick win

⚠️ Unverified finding
Verification ran but could not confirm this finding. It is shown for review, not as a verified issue.

Rename the destructured fastMode mode receipt.

fastMode here is a WorkerStartModeReceipt, not a boolean. Line 103 reads params.fastMode, which is the boolean Fast preference. Two unrelated values share one name in the same routing decision, so a later edit can easily confuse them. Rename the field in the preflightLocalWorkerStartLaunch return value, for example to fastHostMode.

♻️ Proposed rename
-  const { agent, launch, fastWorkspace, fastMode } = await preflightLocalWorkerStartLaunch({
+  const { agent, launch, fastWorkspace, fastHostMode } = await preflightLocalWorkerStartLaunch({
 ...
-  const hostMode =
-    fastMode ?? resolveWorkerStartModeOnHost(runtime, args.mode, resolvedWorktree?.id, agent)
+  const hostMode =
+    fastHostMode ?? resolveWorkerStartModeOnHost(runtime, args.mode, resolvedWorktree?.id, agent)

Also rename it in worker-start-launch-preflight.ts (return { ...prepared, fastWorkspace, fastHostMode }).

Also applies to: 100-101


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: e1003cf6-976d-43cf-a35b-bf02106780be
Commits

Reviewing files that changed from the base of the PR and between 0fa161b and 5e6d518.

Files ignored due to path filters: 1
  • src/shared/rpc-contract/rpc-params-catalog.generated.ts is excluded by !**/*.generated.*
Files selected for processing: 47
  • docs/site/content/docs/cli/orchestration.mdx
  • skill-guides/orchestration/references/coordinator-loop.md
  • src/cli/agent-launch-request.ts
  • src/cli/bundled-skill-guides.ts
  • src/cli/flag-help-text.ts
  • src/cli/handlers/orchestration-worker-role-cli.test.ts
  • src/cli/handlers/orchestration/worker-launch-handler.ts
  • src/cli/handlers/orchestration/worker-output.test.ts
  • src/cli/handlers/orchestration/worker-output.ts
  • src/cli/specs/orchestration-worker-specs.ts
  • src/main/persistence/applying-settings/settings-update.ts
  • src/main/runtime/orca-runtime-create-agent-session.ts
  • src/main/runtime/rpc/methods/orchestration/federation/federated-worker-launch-preflight.ts
  • src/main/runtime/rpc/methods/orchestration/federation/federated-worker-start.ts
  • src/main/runtime/rpc/methods/orchestration/federation/federation-start-schema.ts
  • src/main/runtime/rpc/methods/orchestration/worker/local-worker-start.ts
  • src/main/runtime/rpc/methods/orchestration/worker/worker-launch-preferences.ts
  • src/main/runtime/rpc/methods/orchestration/worker/worker-opencode-model-preflight.ts
  • src/main/runtime/rpc/methods/orchestration/worker/worker-role-routing.test.ts
  • src/main/runtime/rpc/methods/orchestration/worker/worker-start-launch-preflight.ts
  • src/main/runtime/rpc/methods/orchestration/worker/worker-start-validation.ts
  • src/main/runtime/rpc/methods/orchestration/worker/worker-structured-fast-preflight.test.ts
  • src/main/runtime/rpc/methods/orchestration/worker/worker-structured-fast-preflight.ts
  • src/main/runtime/rpc/methods/orchestration/worker/workers.ts
  • src/main/runtime/runtime-store-contract.ts
  • src/main/runtime/session-construction/agent-session/get-agent-session-execution-namespace.ts
  • src/main/runtime/terminal/launch/orchestration-agent-launch.ts
  • src/main/runtime/terminal/wait/terminal-interactive-wait.ts
  • src/main/runtime/workspaces/workspace-activation.ts
  • src/renderer/src/components/settings/OrchestrationPane.tsx
  • src/renderer/src/components/settings/WorkerRoleProfileEditor.tsx
  • src/renderer/src/components/settings/WorkerRoleSettings.tsx
  • src/renderer/src/components/settings/orchestration-search.ts
  • src/renderer/src/components/settings/use-worker-role-model-catalog.test.tsx
  • src/renderer/src/components/settings/use-worker-role-model-catalog.ts
  • src/renderer/src/i18n/locales/en.json
  • src/shared/agent-launch-model-preferences.ts
  • src/shared/agent-session-host-authority.ts
  • src/shared/default-global-settings.ts
  • src/shared/global-settings-base.ts
  • src/shared/orchestration-runtime-capabilities.ts
  • src/shared/orchestration-worker-roles.test.ts
  • src/shared/orchestration-worker-roles.ts
  • src/shared/protocol-version.ts
  • src/shared/rpc-contract/agent-session-params.ts
  • src/shared/rpc-contract/orchestration-federation-start-params.ts
  • src/shared/rpc-contract/orchestration-worker-start-params.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 2 remain after this review.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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 · Preserve and compare the federated serviceTier. · worker-launch-preferences.ts:197-215

src/main/runtime/rpc/methods/orchestration/worker/worker-launch-preferences.ts:197-215
🗄️ Data Integrity & Integration | 🟡 Minor | ⚡ Quick win

Preserve and compare the federated serviceTier.

For Codex Fast, the remote preflight selects an advertised tier and rejects the request when no tier exists. The remote ready receipt preserves that tier, but the coordinator’s preflight schema strips it and resolveFederatedWorkerLaunchReceipt does not compare it. A ready receipt with a different or missing tier can therefore be accepted and attached.

Add serviceTier to the preflight schema and compare it with the ready receipt. A different tier is not a valid provider fallback.

Suggested fix
 const PreflightSelection = z.object({
   agent: z.custom<TuiAgent>((value) => typeof value === 'string' && isTuiAgent(value)),
   model: z.string().nullable(),
   effort: z.string().nullable(),
-  fastMode: z.boolean().optional()
+  fastMode: z.boolean().optional(),
+  serviceTier: z.string().optional()
 })
...
       actual.model !== requested.requested.model ||
       actual.effort !== requested.requested.effort ||
-      actual.fastMode !== requested.requested.fastMode
+      actual.fastMode !== requested.requested.fastMode ||
+      actual.serviceTier !== requested.requested.serviceTier

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: 7327a9c2-1b63-42f1-941f-b2a25bff91dd
Commits

Reviewing files that changed from the base of the PR and between 5e6d518 and 75e954b.

Files selected for processing: 4
  • src/main/runtime/rpc/methods/orchestration/federation/federated-worker-start.ts
  • src/main/runtime/rpc/methods/orchestration/worker/local-worker-start.ts
  • src/main/runtime/rpc/methods/orchestration/worker/worker-role-routing.test.ts
  • src/main/runtime/rpc/methods/orchestration/worker/worker-start-launch-preflight.ts
Files skipped from review as they are similar to previous changes: 3
  • src/main/runtime/rpc/methods/orchestration/worker/worker-start-launch-preflight.ts
  • src/main/runtime/rpc/methods/orchestration/federation/federated-worker-start.ts
  • src/main/runtime/rpc/methods/orchestration/worker/worker-role-routing.test.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 0 remain after this review.

@gentslava

Copy link
Copy Markdown
Contributor Author

Addressed the outside-diff finding from review #33369 (review) in b8c8640. The preflight schema now preserves the execution host's optional serviceTier, and the existing ready-receipt validator compares it with the selected tier.

A durable worker-start regression was red before the fix. It now covers matching priority, wrong auto, and missing ready tiers; mismatches remain outcome_unknown, retain the remote runtime/workspace/terminal identity, and create no duplicate attach or local worker. All 125 focused host/schema/CLI/shared tests, node typecheck, changed-line quality and normal commit hooks passed. The two earlier inline findings are already fixed and resolved; the non-boolean receipt is already named fastWorkerMode.

For the generic docstring warning, this PR follows the repository's AGENTS.md: comments are added when the code cannot express the reason and are kept concise. Adding blanket docstrings to satisfy the generic 80% target would conflict with that guidance and is not part of this correctness fix.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 1


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: 5c211b1c-2da3-40ab-a0a2-baa6f04bfcc1
Commits

Reviewing files that changed from the base of the PR and between b8c8640 and f1b41d3.

Files ignored due to path filters: 1
  • src/shared/rpc-contract/rpc-params-catalog.generated.ts is excluded by !**/*.generated.*
Files selected for processing: 22
  • src/cli/bundled-skill-guides.ts
  • src/main/persistence/applying-settings/settings-update.ts
  • src/main/runtime/orca-runtime-create-agent-session.ts
  • src/main/runtime/rpc/methods/orchestration/federation/federated-worker-start.ts
  • src/main/runtime/rpc/methods/orchestration/worker/workers.ts
  • src/main/runtime/runtime-store-contract.ts
  • src/main/runtime/session-construction/agent-session/get-agent-session-execution-namespace.ts
  • src/main/runtime/workspaces/workspace-activation.ts
  • src/renderer/src/components/settings/WorkerRoleProfileEditor.fixture.tsx
  • src/renderer/src/components/settings/WorkerRoleProfileEditor.test.tsx
  • src/renderer/src/components/settings/WorkerRoleProfileEditor.tsx
  • src/renderer/src/components/settings/WorkerRoleSettings.tsx
  • src/renderer/src/components/settings/use-worker-role-model-catalog.test.tsx
  • src/renderer/src/components/settings/use-worker-role-model-catalog.ts
  • src/renderer/src/i18n/locales/en.json
  • src/renderer/src/runtime/host-model-catalog-snapshots.test.ts
  • src/renderer/src/runtime/host-model-catalog-snapshots.ts
  • src/shared/agent-launch-model-preferences.ts
  • src/shared/default-global-settings.ts
  • src/shared/global-settings-base.ts
  • src/shared/protocol-version.ts
  • src/shared/rpc-contract/agent-session-params.ts
Files skipped from review as they are similar to previous changes: 1
  • src/renderer/src/i18n/locales/en.json

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 7 remain after this review.

gentslava added a commit to gentslava/orca that referenced this pull request Oct 26, 2026
gentslava added a commit to gentslava/orca that referenced this pull request Oct 26, 2026
gentslava added a commit to gentslava/orca that referenced this pull request Oct 27, 2026
gentslava added a commit to gentslava/orca that referenced this pull request Oct 27, 2026
gentslava added a commit to gentslava/orca that referenced this pull request Oct 28, 2026
gentslava added a commit to gentslava/orca that referenced this pull request Oct 28, 2026
gentslava added a commit to gentslava/orca that referenced this pull request Oct 28, 2026
@gentslava
gentslava force-pushed the gentslava/upstream-worker-roles branch from 72c8881 to 32b6b62 Compare October 28, 2026 09:30
@gentslava gentslava changed the title feat: add saved worker roles and verified launch options Add saved worker roles with verified launch options Oct 28, 2026
gentslava added a commit to gentslava/orca that referenced this pull request Oct 30, 2026
@gentslava

gentslava commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor Author

Updated this PR to cd255b3955e9824ab4aa277f50082668ab9377d1 against upstream 84aed85c7c62eac775dcc349b4261d8ab96027d3.

Kept upstream shared startWorker and implicit Run receipts; roles resolve before side effects. Preserved worker auto-release setting and current native-chat preference API, regenerated bundled guides and RPC params.

Validation: 69 initial and 77 follow-up targeted tests; node/CLI/renderer typechecks; targeted lint; generated guide/catalog verification; delta whitespace. Full combined packaging is tracked separately; this update does not claim installation or device acceptance.

Latest follow-up (95f5fc4b1b9): Regenerated the bundled worker-role guide after Markdown formatting so the generated output matches its source byte-for-byte. generate-bundled-skill-guides.mjs --check and the scoped whitespace check passed; this follow-up changes one generated blank line only.

gentslava pushed a commit to gentslava/orca that referenced this pull request Oct 31, 2026
gentslava and others added 21 commits November 7, 2026 22:11
Preserve the agent-server route guard before role validation.
Use the current catalog owner in the profile editor and its mock.
Adapt worker launch preflight to the mandatory orchestration access factory and include its coverage in the access outcome matrix.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…hod module

The remote launch preflight method took worker-start-method.ts to 314 lines on current main, over the 300-line limit. It moves unchanged into worker-launch-preflight-method.ts and is registered right after the worker-start methods, so the method set and its order are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
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.

[Feature]: Saved worker roles for orchestration worker-start

1 participant