Repository navigation
feat(plugins): task sources on the Tasks page, and a settings form for plugins - #26282
ggrafhalfbrick wants to merge 85 commits into
Conversation
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]>
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]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Note Reviews pausedIt 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 Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
There was a problem hiding this comment.
Actionable comments posted: 2
ℹ️ Review info
⚙️ Run configuration
- Configuration used: Repository UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
1bfbeb68-ed9d-4143-aba8-b86c725ee0d7
⛔ Files ignored due to path filters (1)
src/shared/rpc-contract/rpc-params-catalog.generated.tsis excluded by!**/*.generated.*
📒 Files selected for processing (109)
examples/plugins/hello-tasks/main.mjsexamples/plugins/hello-tasks/orca-plugin.jsonsrc/main/ipc/plugins.tssrc/main/ipc/worktree-linked-work-item-metadata.tssrc/main/ipc/worktree-logic.test.tssrc/main/ipc/worktrees/folder-workspace-model.tssrc/main/persistence/loading-store/worktree-meta-write-normalization.test.tssrc/main/persistence/loading-store/worktree-meta-write-normalization.tssrc/main/persistence/tracking-repos/worktree-metadata-normalization.tssrc/main/plugins/plugin-host-entry-path.tssrc/main/plugins/plugin-host-process.test.tssrc/main/plugins/plugin-host-process.tssrc/main/plugins/plugin-host-runtime-task-sources.test.tssrc/main/plugins/plugin-host-runtime.tssrc/main/plugins/plugin-list-projection.tssrc/main/plugins/plugin-service-reconciliation.test.tssrc/main/plugins/plugin-service.tssrc/main/plugins/plugin-user-settings.test.tssrc/main/plugins/plugin-user-settings.tssrc/main/plugins/plugin-worker-controller.test.tssrc/main/plugins/plugin-worker-controller.tssrc/main/plugins/plugin-worker-invocation.test.tssrc/main/plugins/plugin-worker-invocation.tssrc/main/plugins/plugin-worker-manager.test.tssrc/main/plugins/plugin-worker-pending-calls.tssrc/main/runtime/rpc/methods/plugins.tssrc/main/runtime/runtime-folder-workspace.test.tssrc/main/runtime/runtime-folder-workspace.tssrc/main/startup/main-process-plugins.tssrc/preload/api/plugin-host-api.tssrc/preload/api/plugins-bridge.tssrc/relay/agent-exec-disposal.test.tssrc/renderer/src/components/NewWorkspaceComposerCard.tsxsrc/renderer/src/components/NewWorkspaceComposerModal.tsxsrc/renderer/src/components/new-workspace/NewWorkspaceComposerAgentDraftSection.tsxsrc/renderer/src/components/new-workspace/NewWorkspaceComposerAgentSection.tsxsrc/renderer/src/components/new-workspace/new-workspace-composer-card-props.tssrc/renderer/src/components/right-sidebar/plugin-panel-activity-items.tssrc/renderer/src/components/settings/PluginDevelopmentSection.tsxsrc/renderer/src/components/settings/PluginMarketplaceBrowser.test.tsxsrc/renderer/src/components/settings/PluginSettingsDialog.tsxsrc/renderer/src/components/settings/PluginSettingsOverview.tsxsrc/renderer/src/components/settings/PluginSettingsRow.test.tsxsrc/renderer/src/components/settings/PluginSettingsRow.tsxsrc/renderer/src/components/settings/PluginsSettingsSection.tsxsrc/renderer/src/components/settings/plugin-capability-presentation.tssrc/renderer/src/components/sidebar/WorktreeCardPluginTaskLink.tsxsrc/renderer/src/components/sidebar/worktree-card-secondary-rows.tsxsrc/renderer/src/components/task-page/SourceBar.tsxsrc/renderer/src/components/task-page/SourceIconButton.tsxsrc/renderer/src/components/task-page/TaskPage.tsxsrc/renderer/src/components/task-page/plugin/PluginSourceButtons.tsxsrc/renderer/src/components/task-page/plugin/PluginTaskDetailSheet.tsxsrc/renderer/src/components/task-page/plugin/PluginTaskFilters.tsxsrc/renderer/src/components/task-page/plugin/PluginTaskList.tsxsrc/renderer/src/components/task-page/plugin/PluginTaskSourceBar.tsxsrc/renderer/src/components/task-page/plugin/PluginTaskSourcePage.tsxsrc/renderer/src/components/task-page/plugin/plugin-task-error-message.tssrc/renderer/src/components/task-page/plugin/plugin-task-start.test.tssrc/renderer/src/components/task-page/plugin/plugin-task-start.tssrc/renderer/src/components/task-page/plugin/plugin-task-status-tone.tssrc/renderer/src/components/task-page/plugin/use-active-plugin-task-source.tssrc/renderer/src/components/task-page/plugin/use-builtin-task-source-options.tssrc/renderer/src/components/task-page/plugin/use-plugin-task-detail.tssrc/renderer/src/components/task-page/plugin/use-plugin-task-list.tssrc/renderer/src/components/task-page/plugin/use-plugin-task-workspaces.tssrc/renderer/src/components/use-task-page-escape-to-close.tssrc/renderer/src/components/use-task-page-global-effects.tssrc/renderer/src/hooks/composer-state/composer-submit-model.tssrc/renderer/src/hooks/composer-state/quick-creation-execution.tssrc/renderer/src/hooks/composer-state/quick-creation-request.tssrc/renderer/src/hooks/composer-state/quick-startup-plan.tssrc/renderer/src/hooks/composer-state/quick-submit-action.tssrc/renderer/src/hooks/useComposerState.tssrc/renderer/src/i18n/locales/en.jsonsrc/renderer/src/lib/linked-work-item-context.test.tssrc/renderer/src/lib/linked-work-item-context.tssrc/renderer/src/lib/pending-worktree-creation.tssrc/renderer/src/lib/plugin-task-page-source.test.tssrc/renderer/src/lib/plugin-task-page-source.tssrc/renderer/src/lib/plugin-task-session-options.test.tssrc/renderer/src/lib/plugin-task-session-options.tssrc/renderer/src/lib/plugin-task-source-view-memory.test.tssrc/renderer/src/lib/plugin-task-source-view-memory.tssrc/renderer/src/lib/plugin-task-workspace-link.tssrc/renderer/src/lib/worktree-creation-flow-execute.tssrc/renderer/src/store/plugin-task-sources.test.tssrc/renderer/src/store/plugin-task-sources.tssrc/renderer/src/store/slices/ui/ui-slice-contract-core.tssrc/renderer/src/store/slices/ui/ui-slice-task-actions.tssrc/shared/default-global-settings.tssrc/shared/global-settings-types.tssrc/shared/plugins/plugin-capabilities.tssrc/shared/plugins/plugin-content-pack-contributions.test.tssrc/shared/plugins/plugin-host-protocol.tssrc/shared/plugins/plugin-manifest-contribution-validation.tssrc/shared/plugins/plugin-manifest.tssrc/shared/plugins/plugin-settings-contribution.test.tssrc/shared/plugins/plugin-settings-contribution.tssrc/shared/plugins/plugin-task-link.test.tssrc/shared/plugins/plugin-task-link.tssrc/shared/plugins/plugin-task-source-ref.test.tssrc/shared/plugins/plugin-task-source-ref.tssrc/shared/plugins/plugin-task-source.test.tssrc/shared/plugins/plugin-task-source.tssrc/shared/rpc-contract/plugins-params.tssrc/shared/worktree/meta-types.tssrc/shared/worktree/types.tstests/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.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
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]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
@coderabbitai review |
|
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]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
There was a problem hiding this comment.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
- Configuration used: Repository UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
70cc51b6-9360-4d8b-abd5-de43038783f7
⛔ Files ignored due to path filters (1)
src/shared/rpc-contract/rpc-params-catalog.generated.tsis excluded by!**/*.generated.*
📒 Files selected for processing (19)
src/main/ipc/worktree-linked-work-item-metadata.tssrc/main/ipc/worktrees/folder-workspace-model.tssrc/main/persistence/loading-store/worktree-meta-write-normalization.tssrc/main/persistence/tracking-repos/worktree-metadata-normalization.tssrc/main/runtime/runtime-folder-workspace.tssrc/renderer/src/components/task-page/plugin/PluginTaskSourcePage.tsxsrc/renderer/src/components/task-page/plugin/plugin-task-project.test.tssrc/renderer/src/components/task-page/plugin/plugin-task-project.tssrc/renderer/src/components/task-page/plugin/plugin-task-start.test.tssrc/renderer/src/components/task-page/plugin/plugin-task-start.tssrc/renderer/src/i18n/locales/en.jsonsrc/renderer/src/lib/git-remote-project-match.test.tssrc/renderer/src/lib/git-remote-project-match.tssrc/renderer/src/lib/project-source-match.test.tssrc/renderer/src/lib/project-source-match.tssrc/shared/plugins/plugin-task-source.test.tssrc/shared/plugins/plugin-task-source.tssrc/shared/worktree/meta-types.tssrc/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.
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]>
…ommand 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]>
|
@coderabbitai review |
✅ Action performedReview finished.
|
# 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
…lugin backend layout (2026-11-14) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_014KMwhLMiKjBxXaQMWR1KF8
…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
…wn moves (2026-11-17) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_014KMwhKNPEYbBUYw5jgcaWa
# 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
|
Want your agent to iterate on Greptile's feedback? Try greploops. |
…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
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:
contributes.taskSourcesand the newtasks:providecapability. The consent shows it as "Add task lists to the Tasks page". In its worker, the plugin callsorca.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 anextCursor), and a detail sheet.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.linkedPluginTasklink 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.contributes.settings(string, boolean or enum; needssettings: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
Since1.4.245 and the policy fields it requires:taskSourcesneedstrusted-worker,settingsisdata(an inert declaration), and neither adds a catalog type or binds content.tasks:provideis a new capability, and the worker channel gets ataskSource.invokerequest besidecommand.invoke, sharing its ids, cancel-on-timeout and handlersignal. 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:
projectSourcegoes 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.contributes.settingsdescribes fields, and the form writes to the samesettings:ownstore. 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-tasksexample plugin. The e2e spec captured these in a throwaway profile, so everything shown is sample data: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.tscovers: 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
mainon 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 ofmain: every failure on this branch also fails onmainon 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
path.join/pathToFileURL; no platform-specific code.worktree.setdoesn't carrylinkedPluginTask, 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.setstrips the unknown key and reports success, so the link-save failure toast appears only for real failures.plugins.invokeTaskSourceis a new runtime RPC method; an older host answersmethod_not_found.buildAgentStartupPlan, so Chat UI's stored defaults still don't reach terminal launches.plugins.invokeTaskSourceis not on the mobile RPC allowlist.Agent skill upstream boundary
docs/reference/agent-skill-sharing-upstream-boundary.mdand 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
N/Awith reasonpnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (or CI will cover; local preferred)🤖 Generated with Claude Code