Skip to content

feat(plugins): task sources on the Tasks page, and a settings form for plugins - #26282

Open
ggrafhalfbrick wants to merge 85 commits into
stablyai:mainfrom
ggrafhalfbrick:plugin-task-sources
Open

ggrafhalfbrick wants to merge 85 commits into
stablyai:mainfrom
ggrafhalfbrick:plugin-task-sources

Conversation

@ggrafhalfbrick

@ggrafhalfbrick ggrafhalfbrick commented Oct 7, 2026 •

Copy link
Copy Markdown

ELI5

A plugin can now add its own task list to the Tasks page. Each list gets a tab beside GitHub, GitLab, Linear and Jira. Picking a task opens Create workspace already filled in: the name, project, base branch, and an editable prompt for the agent. Nothing is created until you click Create.

Plugins can also declare settings, and Orca shows them on the plugin's page in Settings > Plugins.

What Changed

Before: Tasks only listed the trackers built into Orca. A plugin had no way to add one. A plugin could keep its own settings (settings:own), but users had no way to see or change them in Orca.

After:

  • Task sources. A plugin declares contributes.taskSources and the new tasks:provide capability. The consent shows it as "Add task lists to the Tasks page". In its worker, the plugin calls orca.tasks.registerSource(id, { list, get }). Each source gets a tab on Tasks with search, filters the plugin defines, a list (with Load more when the plugin returns a nextCursor), and a detail sheet.
  • Start recipe. An item can include a start recipe: workspace name, project, base branch, agent prompt and, optionally, session options (model, effort) for one agent. Start opens Create workspace with these filled in. The project can be named by its folder (projectPath) or by where its files come from (projectSource, e.g. a Git remote URL). A Git source matches the project with that remote in any URL form and on any forge, ranking an exact remote above an SSH host alias, and that above a fork's clone. If the recipe names a project Orca doesn't have, Start says which one is missing instead of opening Create workspace on an unrelated project. The prompt goes into a new editable Agent prompt field and is typed into the agent as a draft, never submitted. The model and effort apply to that launch only, ahead of the agent's default arguments, the same way orchestration worker preferences do. Other agents start with their own defaults.
  • Workspace ↔ task link. A workspace started from a plugin task keeps a linkedPluginTask link in its metadata. The sidebar card shows the task and opens it, and the task list and detail show workspaces already started from that task ("Open workspace" / "Start another"). The link is saved after the workspace is created without holding up the agent launch; if the save fails, a toast says so.
  • Filter memory. Each source's search and filters are remembered per device, so the list comes back the way you left it. A remembered value the plugin no longer offers is dropped, so the request, the saved view and the pickers always agree.
  • Plugin settings. A plugin can declare contributes.settings (string, boolean or enum; needs settings:own). They show as a Settings section on the plugin's page in Settings > Plugins, and each change saves on its own. Values go into the plugin's existing settings store, which its worker already reads.

How it works: the plugin only returns data. Orca renders the list and owns workspace creation and agent launch. Everything the worker sends back is untrusted, so the main process validates every request and every answer against strict schemas (size limits, http(s)-only URLs, kebab-case filter ids) before any of it reaches the renderer.

Both points fill keys that Plugin Alpha (#35470) reserved, as additive points with Since 1.4.245 and the policy fields it requires: taskSources needs trusted-worker, settings is data (an inert declaration), and neither adds a catalog type or binds content. tasks:provide is a new capability, and the worker channel gets a taskSource.invoke request beside command.invoke, sharing its ids, cancel-on-timeout and handler signal. The reference docs and the authoring guide describe both points.

Included: an example plugin (examples/plugins/hello-tasks), unit tests for the contracts, worker runtime, validation and state logic, and an e2e spec that covers the whole flow.

Why

Task-source requests keep coming in one tracker at a time: Backlog.md, Gitea, Beads, Paperclip, Businessmap, ClickUp, Basecamp, Lark. Each one built into Orca is code that core then has to maintain. A contribution point lets these live in plugins.

Choices made:

  • Data in, Orca renders. No plugin HTML reaches the Tasks page, so lists look and behave like the built-in providers, and the plugin never gets access to the composer or the terminal.
  • Prefill, don't create. A recipe only fills in the composer, and the user reviews it before anything is created. A plugin cannot start agents or create workspaces by itself.
  • One project matcher per source-control kind. projectSource goes through a small matcher contract (lib/project-source-match.ts), and only Git implements it here. Another kind can add its own matcher without touching the Tasks code.
  • Settings use the existing store. contributes.settings describes fields, and the form writes to the same settings:own store. Plugin workers need no new API for it.

Relation to #22174: that PR adds a similar contribution point together with a host-mediated Azure DevOps capability (~14.5k lines). This PR is only the generic platform piece, with no vendor integration, plus plugin settings. If the maintainers prefer #22174's protocol, I'm happy to adapt.

Linked Issue

Fixes #15655
Fixes #26281

Visual Proof

Before: Tasks has no plugin tabs and a plugin's page has no Settings section. The surfaces below don't exist on main.

After, with the hello-tasks example plugin. The e2e spec captured these in a throwaway profile, so everything shown is sample data:

The plugin's tab on Tasks Task detail
Hello Tasks tab on the Tasks page listing three sample tasks with status, priority and owner, and a Status filter Detail sheet for a sample task with its description and a Start workspace button
Start opens Create workspace, prefilled The plugin's declared settings on its page
Create worktree dialog with the name, agent and an editable Agent prompt filled in from the task Hello Tasks plugin page with a Task list row under Adds to Orca and a Settings section with a Show blocked tasks switch
The task and its workspace point to each other Task detail lists the workspaces started from it
Task row showing a chip for its workspace, and the sidebar card showing the task it came from Task detail with a Workspaces row and Open workspace and Start another buttons

Testing

  • Unit tests for the manifest, contracts, worker runtime, main-process validation, settings store, filter memory and stale-filter handling, link normalization, link-save failure reporting, start-recipe mapping, and project matching by folder and by Git remote (URL forms, alias hosts, forks, Enterprise hosts, missing projects).

  • tests/e2e/plugin-task-source.spec.ts covers: install and consent, list and filter, detail, Start → prefilled composer (nothing created on its own), filters surviving navigation, the settings section on the plugin's page, and the two-way workspace link. Both tests pass on Windows (electron-headless) at the current head.

  • After merging main on 2026-10-29: typecheck (all projects), oxfmt and oxlint (including max-lines) on every changed file, the plugin, task-page, composer and i18n unit suites, and the regenerated plugin schemas and reference docs. Earlier, also anti-slop, the code-quality audits, React Doctor and the RPC params catalog.

  • Full unit suite on Windows before the latest merge of main, compared test by test against a clean checkout of main: every failure on this branch also fails on main on this machine (Windows-only environment gaps), so there were no new failures.

  • Platforms: Windows 11. Not tested on macOS, Linux or a real SSH host.

  • I manually tested these changes locally

  • Automated tests added/updated, or explained why not below

AI Disclosure

Written with Claude Code (Claude Opus 5.5); reviewed and tested by me.

Review

  • Security: worker output is validated in main against strict, size-limited schemas; item URLs must be http(s); the new capability is shown in consent; a recipe only prefills the composer.
  • Cross-platform: plugin entry paths are joined with path.join/pathToFileURL; no platform-specific code.
  • SSH / remote: plugins run on the local host. When several projects match a recipe equally, the active one wins, then a local one over an SSH one. Local and SSH workspaces keep the task link through the normal metadata update. Workspaces on a paired remote Orca server don't keep it yet: worktree.set doesn't carry linkedPluginTask, and adding it would be a wire change best done separately. Without the link, the workspace is created normally but shows no task chip and isn't listed under its task. worktree.set strips the unknown key and reports success, so the link-save failure toast appears only for real failures. plugins.invokeTaskSource is a new runtime RPC method; an older host answers method_not_found.
  • Agents: session options apply only to the agent they're written for, and only to that launch. They go through the existing per-launch session options of buildAgentStartupPlan, so Chat UI's stored defaults still don't reach terminal launches.
  • Performance: list calls are capped at 500 items and time out after 60s for cold workers. A plugin's list loads only while its tab is open, and the built-in provider fetches don't mount on a plugin tab.
  • Mobile: no mobile UI changes. plugins.invokeTaskSource is not on the mobile RPC allowlist.
  • Backwards compatibility: all new manifest and metadata fields are optional; existing plugins are unaffected.

Agent skill upstream boundary

  • Not applicable, or this change follows docs/reference/agent-skill-sharing-upstream-boundary.md and copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.

Notes

Security, cross-platform, SSH/remote, mobile, backwards compatibility and performance are covered under Review above.

Checklist

  • This PR is small and focused (it is not: ~5.2k added lines, about a third of them tests and the example plugin. Task sources and plugin settings could be split if preferred)
  • I explained what changed and why (ELI5, the user-facing before/after, the mechanism, and why over the alternatives)
  • 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)

🤖 Generated with Claude Code

ggrafhalfbrick and others added 8 commits October 7, 2026 09:06
A plugin can now declare contributes.taskSources (with the new tasks:provide
capability, shown in the consent dialog) and register list/get handlers with
orca.tasks.registerSource in its worker. Main validates every request and every
worker answer against strict schemas before anything reaches a renderer.

Each source gets a tab on the Tasks page beside the built-in providers, with
search, plugin-defined filters, a list, and a detail sheet. An item's start
recipe opens Create workspace prefilled with the name, project, base and a new
editable Agent prompt, which is typed into the agent as a draft; nothing is
created until the user clicks Create. The last plugin tab picked is remembered.

Includes the hello-tasks example plugin and an e2e spec for the whole flow.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…n settings

Plugin task sources now:
- remember each source's search and filters per device, so the list comes
  back as the user left it after visiting other pages or restarting;
- link a workspace to the task it was started from: the sidebar card shows
  the task and opens it, and the task list and detail show the workspaces
  already started from a task ("Open workspace" / "Start another");
- let a start recipe pin agent session options (model, effort) for the agent
  they are written for, shown in Create workspace; other agents start with
  their own;
- carry small link metadata that the workspace keeps with its link.

Plugins can declare contributes.settings (string, boolean, enum; needs
settings:own). Settings > Plugins shows a Settings dialog for them, and values
land in the plugin's own settings store that the worker already reads.

Also clears the stale "Enter a plugin folder path" error once a path is typed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The examples were borrowed from a private plugin: a "Read from" setting with
a depot option, Perforce stream base refs, and a project-specific label.
Use a generic "Sort by" setting and a plain branch name instead, and drop the
Perforce mention from the baseRef doc, since main has no Perforce support.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ect.apply

Two worktree merge tests compared whole objects and missed the new
linkedPluginTask field. The task-source activation test called the API
through Reflect.apply, which the anti-slop gate rejects; it now types the
fake plugin's view of the API instead.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The commit hook's formatter wrapped this upstream line during the merge,
which left the cast one line below its oxlint-disable comment.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@coderabbitai

coderabbitai Bot commented Oct 7, 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

This change adds plugin-contributed task lists and settings. Plugins can register task-source handlers, and the Tasks page can list, filter, and show task details. Task start recipes can prefill the workspace composer with project, prompt, and session options. The change also adds a plugin settings dialog and saves links between tasks and created workspaces in worktree metadata.

Fixed issue severity: Medium</fixed_issue_severity>

Merge Risk: Minimal · previous review ba4b0

No actionable issue remains from this review; the change is mergeable after normal checks.

Pre-merge checks: Passed 4

Check name Status Explanation
Linked Issues check Passed The PR meets the coding requirements for [#15655] and [#26281]. For [#15655], it adds validated contributes.settings declarations, requires settings:own, persists declared values, exposes settings…
Out of Scope Changes check Passed The reviewed changes support [#15655] or [#26281]. Supporting changes include plugin protocol and validation, workspace-link metadata, project matching, composer integration, UI state, example-plugin …
Title check Passed The title "feat(plugins): task sources on the Tasks page, and a settings form for plugins" matches the two main changes in the changeset: plugin-contributed task sources shown on the Tasks page, and p…
Description check Passed The description follows the template closely. It has the ELI5, What Changed, Why, Linked Issue (Fixes #15655 and #26281), Visual Proof with before/after images, Testing, AI Disclosure, Review, Agent s…
Full details: Linked Issues check

Explanation

The PR meets the coding requirements for [#15655] and [#26281]. For [#15655], it adds validated contributes.settings declarations, requires settings:own, persists declared values, exposes settings read and write operations, and renders string, boolean, and enum controls in Settings > Plugins. Tests cover validation, persistence, invalid values, and dialog behavior. For [#26281], it adds the consent-visible tasks:provide capability, worker registration, validated list and detail operations, Tasks-page tabs, search, filters, details, start recipes, and workspace creation only after user submission. The start recipe pre-fills the name, project, base branch, and editable agent prompt. Tests cover the reported flows.

Full details: Out of Scope Changes check

Explanation

The reviewed changes support [#15655] or [#26281]. Supporting changes include plugin protocol and validation, workspace-link metadata, project matching, composer integration, UI state, example-plugin code, and automated tests. The previous assessment identified unrelated changes, but the current reviewed change summary does not include those files or other demonstrated unrelated changes.

Full details: Title check

Explanation

The title "feat(plugins): task sources on the Tasks page, and a settings form for plugins" matches the two main changes in the changeset: plugin-contributed task sources shown on the Tasks page, and plugin settings forms. It uses the conventional commit format and names both primary features. It is somewhat long at 78 characters, but it is specific and descriptive.

Full details: Description check

Explanation

The description follows the template closely. It has the ELI5, What Changed, Why, Linked Issue (Fixes #15655 and #26281), Visual Proof with before/after images, Testing, AI Disclosure, Review, Agent skill upstream boundary, Notes, and Checklist sections. The Testing section lists manual testing on Windows 11 and automated test coverage, and it states the platforms not tested. The Review section covers security, cross-platform, SSH/remote, mobile, performance, and backwards compatibility. Some template checkboxes remain unchecked, and the author states the PR is not small, which is disclosed rather than hidden. The Visual Proof section uses images with a before/after structure, though the 'Before' is described in text only.

  • Autopilot · 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

  • Configuration used: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 5d4dbcd8-3fd7-404a-b1a1-24e20f655d21
📥 Commits

Reviewing files that changed from the base of the PR and between 083b003 and ba4b002.

⛔ Files ignored due to path filters (1)

  • src/shared/rpc-contract/rpc-params-catalog.generated.ts is excluded by !**/*.generated.*
📒 Files selected for processing (8)

  • src/main/runtime/rpc/methods/plugins.ts
  • src/renderer/src/hooks/composer-state/composer-submit-model.ts
  • src/renderer/src/hooks/composer-state/quick-creation-execution.ts
  • src/renderer/src/hooks/composer-state/quick-startup-plan.test.ts
  • src/renderer/src/hooks/composer-state/quick-startup-plan.ts
  • src/renderer/src/hooks/composer-state/quick-submit-action.ts
  • src/renderer/src/i18n/locales/en.json
  • src/shared/global-settings-types.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; 9 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


ℹ️ Review info
⚙️ Run configuration
  • Configuration used: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 1bfbeb68-ed9d-4143-aba8-b86c725ee0d7
📥 Commits

Reviewing files that changed from the base of the PR and between 80d4509 and dddac34.

⛔ Files ignored due to path filters (1)
  • src/shared/rpc-contract/rpc-params-catalog.generated.ts is excluded by !**/*.generated.*
📒 Files selected for processing (109)
  • examples/plugins/hello-tasks/main.mjs
  • examples/plugins/hello-tasks/orca-plugin.json
  • src/main/ipc/plugins.ts
  • src/main/ipc/worktree-linked-work-item-metadata.ts
  • src/main/ipc/worktree-logic.test.ts
  • src/main/ipc/worktrees/folder-workspace-model.ts
  • src/main/persistence/loading-store/worktree-meta-write-normalization.test.ts
  • src/main/persistence/loading-store/worktree-meta-write-normalization.ts
  • src/main/persistence/tracking-repos/worktree-metadata-normalization.ts
  • src/main/plugins/plugin-host-entry-path.ts
  • src/main/plugins/plugin-host-process.test.ts
  • src/main/plugins/plugin-host-process.ts
  • src/main/plugins/plugin-host-runtime-task-sources.test.ts
  • src/main/plugins/plugin-host-runtime.ts
  • src/main/plugins/plugin-list-projection.ts
  • src/main/plugins/plugin-service-reconciliation.test.ts
  • src/main/plugins/plugin-service.ts
  • src/main/plugins/plugin-user-settings.test.ts
  • src/main/plugins/plugin-user-settings.ts
  • src/main/plugins/plugin-worker-controller.test.ts
  • src/main/plugins/plugin-worker-controller.ts
  • src/main/plugins/plugin-worker-invocation.test.ts
  • src/main/plugins/plugin-worker-invocation.ts
  • src/main/plugins/plugin-worker-manager.test.ts
  • src/main/plugins/plugin-worker-pending-calls.ts
  • src/main/runtime/rpc/methods/plugins.ts
  • src/main/runtime/runtime-folder-workspace.test.ts
  • src/main/runtime/runtime-folder-workspace.ts
  • src/main/startup/main-process-plugins.ts
  • src/preload/api/plugin-host-api.ts
  • src/preload/api/plugins-bridge.ts
  • src/relay/agent-exec-disposal.test.ts
  • src/renderer/src/components/NewWorkspaceComposerCard.tsx
  • src/renderer/src/components/NewWorkspaceComposerModal.tsx
  • src/renderer/src/components/new-workspace/NewWorkspaceComposerAgentDraftSection.tsx
  • src/renderer/src/components/new-workspace/NewWorkspaceComposerAgentSection.tsx
  • src/renderer/src/components/new-workspace/new-workspace-composer-card-props.ts
  • src/renderer/src/components/right-sidebar/plugin-panel-activity-items.ts
  • src/renderer/src/components/settings/PluginDevelopmentSection.tsx
  • src/renderer/src/components/settings/PluginMarketplaceBrowser.test.tsx
  • src/renderer/src/components/settings/PluginSettingsDialog.tsx
  • src/renderer/src/components/settings/PluginSettingsOverview.tsx
  • src/renderer/src/components/settings/PluginSettingsRow.test.tsx
  • src/renderer/src/components/settings/PluginSettingsRow.tsx
  • src/renderer/src/components/settings/PluginsSettingsSection.tsx
  • src/renderer/src/components/settings/plugin-capability-presentation.ts
  • src/renderer/src/components/sidebar/WorktreeCardPluginTaskLink.tsx
  • src/renderer/src/components/sidebar/worktree-card-secondary-rows.tsx
  • src/renderer/src/components/task-page/SourceBar.tsx
  • src/renderer/src/components/task-page/SourceIconButton.tsx
  • src/renderer/src/components/task-page/TaskPage.tsx
  • src/renderer/src/components/task-page/plugin/PluginSourceButtons.tsx
  • src/renderer/src/components/task-page/plugin/PluginTaskDetailSheet.tsx
  • src/renderer/src/components/task-page/plugin/PluginTaskFilters.tsx
  • src/renderer/src/components/task-page/plugin/PluginTaskList.tsx
  • src/renderer/src/components/task-page/plugin/PluginTaskSourceBar.tsx
  • src/renderer/src/components/task-page/plugin/PluginTaskSourcePage.tsx
  • src/renderer/src/components/task-page/plugin/plugin-task-error-message.ts
  • src/renderer/src/components/task-page/plugin/plugin-task-start.test.ts
  • src/renderer/src/components/task-page/plugin/plugin-task-start.ts
  • src/renderer/src/components/task-page/plugin/plugin-task-status-tone.ts
  • src/renderer/src/components/task-page/plugin/use-active-plugin-task-source.ts
  • src/renderer/src/components/task-page/plugin/use-builtin-task-source-options.ts
  • src/renderer/src/components/task-page/plugin/use-plugin-task-detail.ts
  • src/renderer/src/components/task-page/plugin/use-plugin-task-list.ts
  • src/renderer/src/components/task-page/plugin/use-plugin-task-workspaces.ts
  • src/renderer/src/components/use-task-page-escape-to-close.ts
  • src/renderer/src/components/use-task-page-global-effects.ts
  • src/renderer/src/hooks/composer-state/composer-submit-model.ts
  • src/renderer/src/hooks/composer-state/quick-creation-execution.ts
  • src/renderer/src/hooks/composer-state/quick-creation-request.ts
  • src/renderer/src/hooks/composer-state/quick-startup-plan.ts
  • src/renderer/src/hooks/composer-state/quick-submit-action.ts
  • src/renderer/src/hooks/useComposerState.ts
  • src/renderer/src/i18n/locales/en.json
  • src/renderer/src/lib/linked-work-item-context.test.ts
  • src/renderer/src/lib/linked-work-item-context.ts
  • src/renderer/src/lib/pending-worktree-creation.ts
  • src/renderer/src/lib/plugin-task-page-source.test.ts
  • src/renderer/src/lib/plugin-task-page-source.ts
  • src/renderer/src/lib/plugin-task-session-options.test.ts
  • src/renderer/src/lib/plugin-task-session-options.ts
  • src/renderer/src/lib/plugin-task-source-view-memory.test.ts
  • src/renderer/src/lib/plugin-task-source-view-memory.ts
  • src/renderer/src/lib/plugin-task-workspace-link.ts
  • src/renderer/src/lib/worktree-creation-flow-execute.ts
  • src/renderer/src/store/plugin-task-sources.test.ts
  • src/renderer/src/store/plugin-task-sources.ts
  • src/renderer/src/store/slices/ui/ui-slice-contract-core.ts
  • src/renderer/src/store/slices/ui/ui-slice-task-actions.ts
  • src/shared/default-global-settings.ts
  • src/shared/global-settings-types.ts
  • src/shared/plugins/plugin-capabilities.ts
  • src/shared/plugins/plugin-content-pack-contributions.test.ts
  • src/shared/plugins/plugin-host-protocol.ts
  • src/shared/plugins/plugin-manifest-contribution-validation.ts
  • src/shared/plugins/plugin-manifest.ts
  • src/shared/plugins/plugin-settings-contribution.test.ts
  • src/shared/plugins/plugin-settings-contribution.ts
  • src/shared/plugins/plugin-task-link.test.ts
  • src/shared/plugins/plugin-task-link.ts
  • src/shared/plugins/plugin-task-source-ref.test.ts
  • src/shared/plugins/plugin-task-source-ref.ts
  • src/shared/plugins/plugin-task-source.test.ts
  • src/shared/plugins/plugin-task-source.ts
  • src/shared/rpc-contract/plugins-params.ts
  • src/shared/worktree/meta-types.ts
  • src/shared/worktree/types.ts
  • tests/e2e/plugin-task-source.spec.ts

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

ggrafhalfbrick and others added 4 commits October 8, 2026 06:46
A remembered filter value the source stopped offering showed its picker's
default, while the list request and the saved view kept sending the stale
value. Once a list arrives, selections that are no longer offered (or whose
filter is gone) are dropped, so the request, the saved view and the pickers
agree; the source then applies its own default, as it does for an unset filter.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Saving a new workspace's link to its plugin task discarded the result, so a
failed metadata write lost the link silently. The result is now checked and a
failure shows a toast. The save stays off the creation path so a slow host
never delays opening the workspace or starting its agent.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@ggrafhalfbrick

Copy link
Copy Markdown
Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor
⚠️ Action not completed

Already reviewed the last commit. Use @coderabbitai full review to rerun a review of the entire changeset.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

ggrafhalfbrick and others added 4 commits October 8, 2026 07:37
Start opened Create workspace on the active project whenever a recipe's
projectPath did not match one, so the new workspace could land in an
unrelated repository with a base ref from another.

Start recipes can now name projectSource, where the project's files
come from (for example a Git remote URL). Without projectPath, Orca asks
one matcher per source-control kind; the Git matcher compares the URL
with each project's stored remote identity (any forge, scp/https/ssh
forms, forge alias hosts, SSH host aliases ranked lower) and prefers the
active project, then local over SSH, on ties. When a recipe names a
folder or source that no project matches, Start shows which one is
missing instead of opening another project. Recipes that name neither
keep the composer's usual default.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
A project keeps one remote identity and prefers its upstream remote, so
a task naming a fork's URL found no clone whose upstream is the parent,
and a fork clone without an upstream remote did not match a task naming
the parent. Both now match, ranked below an exact remote and an SSH host
alias: a project whose forge-reported parent is the task's repository,
or one whose identity comes from upstream and shares the host and
repository name.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…okups

A fork parent saved without a host was assumed to be on github.com, so a
GitHub Enterprise fork could match a same-named github.com task, and a mixed-
case host never matched. Like repoUpstreamIdentityKey, the parent now takes
the clone's own host, and the fork match is refused when that is unknown.

Start's project lookup is async and fire-and-forget, so a failing matcher now
shows its error in a toast instead of becoming an unhandled rejection.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

@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
  • Configuration used: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 70cc51b6-9360-4d8b-abd5-de43038783f7
📥 Commits

Reviewing files that changed from the base of the PR and between 6e3d1dd and 481077d.

⛔ Files ignored due to path filters (1)
  • src/shared/rpc-contract/rpc-params-catalog.generated.ts is excluded by !**/*.generated.*
📒 Files selected for processing (19)
  • src/main/ipc/worktree-linked-work-item-metadata.ts
  • src/main/ipc/worktrees/folder-workspace-model.ts
  • src/main/persistence/loading-store/worktree-meta-write-normalization.ts
  • src/main/persistence/tracking-repos/worktree-metadata-normalization.ts
  • src/main/runtime/runtime-folder-workspace.ts
  • src/renderer/src/components/task-page/plugin/PluginTaskSourcePage.tsx
  • src/renderer/src/components/task-page/plugin/plugin-task-project.test.ts
  • src/renderer/src/components/task-page/plugin/plugin-task-project.ts
  • src/renderer/src/components/task-page/plugin/plugin-task-start.test.ts
  • src/renderer/src/components/task-page/plugin/plugin-task-start.ts
  • src/renderer/src/i18n/locales/en.json
  • src/renderer/src/lib/git-remote-project-match.test.ts
  • src/renderer/src/lib/git-remote-project-match.ts
  • src/renderer/src/lib/project-source-match.test.ts
  • src/renderer/src/lib/project-source-match.ts
  • src/shared/plugins/plugin-task-source.test.ts
  • src/shared/plugins/plugin-task-source.ts
  • src/shared/worktree/meta-types.ts
  • src/shared/worktree/types.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.

ggrafhalfbrick and others added 5 commits October 8, 2026 08:05
The load pass only checked a truthy linkedPluginTask, so a stored '', 0 or
false skipped validation and stayed in memory. Every present value is now
validated, as the write path already does.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Clearing the "enter a plugin folder path" error while typing is unrelated to
task sources and plugin settings, so it comes out of this branch.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Upstream dropped the selectedRepo argument from quick submit and stopped
passing Chat UI's stored options into composer launches. A plugin task's
model and effort are explicit choices for one launch, so they now go to the
startup plan as session options that win over the agent's default arguments,
as orchestration worker preferences do. plugins.invokeTaskSource declares the
workspace permission that every runtime method now needs.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
While merging main, the pre-commit formatter rewrapped a line in
src/relay/agent-exec-disposal.test.ts and dropped a blank line in
structured-agent-session-queued-mutations.ts. Neither belongs to this
change, so both go back to upstream's exact content. Committed without the
hook, which would reformat them again; only these two files are touched.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@ggrafhalfbrick

Copy link
Copy Markdown
Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

# Conflicts:
#	src/renderer/src/components/task-page/SourceBar.tsx
#	src/renderer/src/i18n/locales/en.json
# Conflicts:
#	src/main/persistence/tracking-repos/worktree-metadata-normalization.ts
#	src/renderer/src/store/slices/ui/ui-slice-contract-core.ts
#	src/shared/worktree/meta-types.ts
#	src/shared/worktree/types.ts
…ream's settings defaults (2026-11-14)

Upstream keeps default-global-settings.ts at the max-lines limit; the setting
is optional and an absent value behaves exactly like null.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014KMwhLMiKjBxXaQMWR1KF8
# Conflicts:
#	src/main/persistence/tracking-repos/worktree-metadata-normalization.test.ts
#	src/main/plugins/workers/plugin-worker-manager.test.ts
#	src/shared/global-settings-base.ts
Upstream moved repo-types, repo-kind, constants, persisted-state-types and
new-workspace-dialog-repo under src/shared subfolders; point the plugin task
source imports and test mocks at their new homes.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014KMwhMPRne8X2t3Wkqqz1G
# Conflicts:
#	src/main/ipc/plugins/plugins.ts
#	src/renderer/src/components/new-workspace/composer/NewWorkspaceComposerCard.tsx
#	src/renderer/src/components/new-workspace/composer/NewWorkspaceComposerModal.tsx
#	src/renderer/src/components/task-page/SourceBar.tsx
#	src/renderer/src/hooks/composer-state/submission/quick-creation-request.ts
# Conflicts:
#	src/renderer/src/components/task-page/use-task-page-global-effects.ts
# Conflicts:
#	src/main/persistence/loading-store/worktree-metadata/worktree-meta-write-normalization.test.ts
#	src/main/plugins/plugin-service-reconciliation.test.ts
#	src/main/plugins/workers/plugin-worker-controller.test.ts
#	src/main/runtime/rpc/methods/plugins/plugin-dev-request.test.ts
#	src/renderer/src/components/sidebar/workspace-card/surface/worktree-card-secondary-rows.tsx
#	src/renderer/src/lib/work-items/linked-work-item-context.test.ts
#	src/shared/settings/global-settings-base.ts
# Conflicts:
#	docs/reference/plugin-catalog.md
#	docs/reference/plugin-manifest.md
#	docs/schemas/plugins/orca-catalog.v2.schema.json
#	docs/schemas/plugins/orca-plugin.v2.schema.json
#	src/main/plugins/discovery/plugin-list-projection.ts
#	src/renderer/src/components/plugins/presentation/plugin-contributions.ts
#	src/renderer/src/components/plugins/state/use-plugin-contribution-source.ts
#	src/renderer/src/i18n/locales/en.json
#	src/shared/plugins/contributions/plugin-contribution-points.ts
#	src/shared/plugins/manifest/plugin-manifest-contribution-validation.ts
#	src/shared/plugins/plugin-list-entry.ts
# Conflicts:
#	src/shared/plugins/workers/plugin-host-protocol.ts
# Conflicts:
#	src/main/ipc/plugins/plugins.ts
#	src/main/runtime/rpc/methods/rpc-method-registry.ts
#	src/renderer/src/components/plugins/presentation/plugin-capability-presentation.ts
#	src/renderer/src/components/task-page/SourceBar.tsx
#	src/renderer/src/i18n/locales/en.json
#	src/renderer/src/store/slices/ui/ui-slice-task-actions.ts
#	src/shared/settings/global-settings-base.ts
Upstream now loads plugins.* RPC methods through a lazy group, so the
task-source methods must be part of it or they are never routed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014KMwhMZHsMACLbjEVy5g1d
# Conflicts:
#	src/main/ipc/plugins/plugins.ts
#	src/shared/settings/global-settings-base.ts
… (2026-11-29)

Upstream's lazy-rpc-method-groups.ts sits near the max-lines limit; the
task-source method now loads through a branch-owned exact-name group so the
shared file gains two lines instead of three.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014KMwhLA7L5fvRYj7iPy2DY
@greptile-apps

greptile-apps Bot commented Nov 29, 2026

Copy link
Copy Markdown

Want your agent to iterate on Greptile's feedback? Try greploops.

ggrafhalfbrick and others added 3 commits November 30, 2026 08:44
…ted saved filters, list task sources in catalogs (2026-11-30)

- The workspace card template lost the plugin task link in an upstream card
  rewrite; it is a template part again (links.pluginTask), shown under the
  card's identity like before.
- A task source whose plugin rejects a remembered filter value, with no list
  cached yet, retries once without the remembered filters instead of staying
  stuck on the error.
- pluginContributionSummary lists taskSources, so generated catalog listings
  include them and a listing that names them is no longer rejected.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
# Conflicts:
#	src/renderer/src/i18n/locales/en.json
…026-11-30)

Upstream's new plugin-worker-manager test builds a PluginWorkerHandle literal;
give it the task-source members this branch adds to the handle type.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014KMwhQ52qeAwmSHKC9kCHj

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

5 participants