Repository navigation
Conversation
Lets a plugin declare it contributes entries to the Tasks list. Enforces unique ids and requires a worker entry (main), since the worker supplies the data.
Adds invokeTaskSource/taskSourceResult messages and a taskSources field on ready so Orca can invoke a task-source method on a plugin worker. plugin-host-runtime.ts now reports an empty taskSources list until worker-side registration lands in a later task.
A plugin's activate(orca) can now call orca.taskSources.register(sourceId, implementation), the worker reports registered ids on ready, and it answers invokeTaskSource with taskSourceResult, mirroring the invokeCommand path.
Adds invokePluginTaskSourceMethod, the single seam between the task-source registry and the plugin worker. It looks up the source before calling the worker, wraps callWorker so a rejection maps to unavailable instead of an empty result, and validates the payload against the method's result schema so a malformed response also maps to unavailable rather than partial data.
Registers a new closed-set capability kind so a later host method can gate reads/updates to Azure Boards work items behind explicit consent.
Pure allowlist deciding what a plugin may ask the host to fetch from Azure DevOps: GET/POST/PATCH only, origin-relative paths under /_apis/wit or /_apis/projects, no percent-encoding, no traversal, no caller-supplied api-version. Electron-free so desktop and relay share one decision.
…the Boards path policy
Extends the request helper with method/body/contentType so Boards writes can send a body, and adds requestAzureDevOpsResponseAtBase to preserve the upstream HTTP status instead of collapsing every failure to null, so the Boards proxy can tell 401/404/429 apart.
A plugin names a method, path and body; the host runs the Boards path policy before any fetch, injects the credential, and returns only the upstream status and body via requestAzureDevOpsResponseAtBase so 401, 404 and 429 stay distinguishable. Missing config is 412; a transport failure is 503, never mistaken for an empty result.
Gate it on the azure-devops:boards capability and keep it worker-only (panel: false) since sandboxed panels have no network scope. Params are validated by a .strict() schema built from the shared BOARDS_PROXY_METHODS allowlist; the handler delegates to executeBoardsProxyRequest without re-implementing its path policy.
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (6)
Included review availability: Your plan provides up to 10 included reviews per hour; 7 remain after this review. 📝 WalkthroughWalkthroughThis PR adds plugin-contributed task sources from shared contracts to the renderer UI. It adds worker protocol, plugin service invocation, IPC and RPC entry points, renderer store state, persistence, and task-page components for listing, filtering, creating, viewing, and commenting on plugin tasks. It also adds Azure DevOps Boards host methods with request policy, multi-organization base-URL handling, and a host-side proxy. Workspace linked items now support Priority: ➖ Normal Merge Risk: 🟡 Moderate · up to Configured HTTP Azure DevOps endpoints can receive credentials without transport encryption, and a failed filter-options request can replace filtered tasks with broader results. Resolve these behaviors before merging. 🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
Full details: Description checkExplanation The description is detailed and covers the requested explanation, changes, rationale, testing, visual proof, AI disclosure, security, compatibility, and performance. However, the required Linked Issue section states “None,” which does not satisfy the template requirement that every PR include an issue link.
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. Comment |
There was a problem hiding this comment.
Actionable comments posted: 4
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Advanced
Run ID: 0f9ece72-affc-471d-ba69-79813a84da58
⛔ Files ignored due to path filters (1)
src/shared/rpc-contract/rpc-params-catalog.generated.tsis excluded by!**/*.generated.*
📒 Files selected for processing (156)
docs/reference/remote-wire-compatibility.mdexamples/plugins/task-source-demo/main.mjsexamples/plugins/task-source-demo/orca-plugin.jsonmobile/src/tasks/mobile-composer-source-types.tssrc/main/azure-devops/azure-devops-api-request.test.tssrc/main/azure-devops/azure-devops-api-request.tssrc/main/azure-devops/azure-devops-organization-base-urls.test.tssrc/main/azure-devops/azure-devops-organization-base-urls.tssrc/main/azure-devops/boards-proxy.test.tssrc/main/azure-devops/boards-proxy.tssrc/main/azure-devops/client.tssrc/main/ipc/plugins.test.tssrc/main/ipc/plugins.tssrc/main/persistence/loading-store/normalize-loaded-global-settings.tssrc/main/plugins/plugin-activation-coalescer.test.tssrc/main/plugins/plugin-activation-coalescer.tssrc/main/plugins/plugin-activation-reconciliation.tssrc/main/plugins/plugin-command-invocation.tssrc/main/plugins/plugin-host-conformance.test.tssrc/main/plugins/plugin-host-entry-path.tssrc/main/plugins/plugin-host-method-bindings.tssrc/main/plugins/plugin-host-methods.test.tssrc/main/plugins/plugin-host-methods.tssrc/main/plugins/plugin-host-process.test.tssrc/main/plugins/plugin-host-process.tssrc/main/plugins/plugin-host-runtime.test.tssrc/main/plugins/plugin-host-runtime.tssrc/main/plugins/plugin-host-service-bindings.tssrc/main/plugins/plugin-list-projection.test.tssrc/main/plugins/plugin-list-projection.tssrc/main/plugins/plugin-service-reconciliation.test.tssrc/main/plugins/plugin-service.tssrc/main/plugins/plugin-task-source-activation-sharing.test.tssrc/main/plugins/plugin-task-source-end-to-end.test.tssrc/main/plugins/plugin-task-source-invoker.test.tssrc/main/plugins/plugin-task-source-invoker.tssrc/main/plugins/plugin-worker-call-tracker.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/runtime/rpc/methods/plugins.test.tssrc/main/runtime/rpc/methods/plugins.tssrc/main/startup/main-process-plugins.tssrc/preload/api/plugin-host-api.tssrc/preload/api/plugins-bridge.tssrc/renderer/src/assets/main.csssrc/renderer/src/components/new-workspace/selection-icon-plugin-source.test.tsxsrc/renderer/src/components/new-workspace/smart-workspace-name-field-model.tssrc/renderer/src/components/new-workspace/smart-workspace-name-input-surface.tsxsrc/renderer/src/components/new-workspace/smart-workspace-source-row-content.tsxsrc/renderer/src/components/plugin-task-source-icon.tsxsrc/renderer/src/components/settings/PluginConsentDialog.test.tsxsrc/renderer/src/components/settings/PluginMarketplaceBrowser.test.tsxsrc/renderer/src/components/settings/PluginSettingsRow.test.tsxsrc/renderer/src/components/settings/PluginsSettingsSection.lifecycle.test.tsxsrc/renderer/src/components/sidebar/folder-workspace-composer-helpers.tssrc/renderer/src/components/task-page-plugin-source-boundary.test.tssrc/renderer/src/components/task-page-source-switch-boundary.test.tssrc/renderer/src/components/task-page/Content.tsxsrc/renderer/src/components/task-page/ListChrome.tsxsrc/renderer/src/components/task-page/SourceBar.test.tsxsrc/renderer/src/components/task-page/SourceBar.tsxsrc/renderer/src/components/task-page/plugin-source/Content.test.tsxsrc/renderer/src/components/task-page/plugin-source/Content.tsxsrc/renderer/src/components/task-page/plugin-source/CreateItemDialog.test.tsxsrc/renderer/src/components/task-page/plugin-source/CreateItemDialog.tsxsrc/renderer/src/components/task-page/plugin-source/FacetBar.test.tsxsrc/renderer/src/components/task-page/plugin-source/FacetBar.tsxsrc/renderer/src/components/task-page/plugin-source/FacetPicker.tsxsrc/renderer/src/components/task-page/plugin-source/ItemDetailCommentComposer.tsxsrc/renderer/src/components/task-page/plugin-source/ItemDetailComments.tsxsrc/renderer/src/components/task-page/plugin-source/ItemDetailPanel.test.tsxsrc/renderer/src/components/task-page/plugin-source/ItemDetailPanel.tsxsrc/renderer/src/components/task-page/plugin-source/ItemRow.test.tsxsrc/renderer/src/components/task-page/plugin-source/ItemRow.tsxsrc/renderer/src/components/task-page/plugin-source/List.test.tsxsrc/renderer/src/components/task-page/plugin-source/List.tsxsrc/renderer/src/components/task-page/plugin-source/QueryBar.test.tsxsrc/renderer/src/components/task-page/plugin-source/QueryBar.tsxsrc/renderer/src/components/task-page/plugin-source/ScopePicker.test.tsxsrc/renderer/src/components/task-page/plugin-source/ScopePicker.tsxsrc/renderer/src/components/task-page/plugin-source/SourceGroup.test.tsxsrc/renderer/src/components/task-page/plugin-source/SourceGroup.tsxsrc/renderer/src/components/task-page/plugin-source/comment-reply-draft.test.tssrc/renderer/src/components/task-page/plugin-source/comment-reply-draft.tssrc/renderer/src/components/task-page/plugin-source/facet-selection.test.tssrc/renderer/src/components/task-page/plugin-source/facet-selection.tssrc/renderer/src/components/task-page/plugin-source/item-detail-actions.tssrc/renderer/src/components/task-page/plugin-source/item-detail-load.tssrc/renderer/src/components/task-page/plugin-source/scope-selection.tssrc/renderer/src/components/task-page/plugin-source/state-grouping.test.tssrc/renderer/src/components/task-page/plugin-source/state-grouping.tssrc/renderer/src/components/task-page/plugin-source/task-state-tone.tssrc/renderer/src/components/task-page/plugin-source/workspace-seed.test.tssrc/renderer/src/components/task-page/plugin-source/workspace-seed.tssrc/renderer/src/hooks/composer-state/derived-model.tssrc/renderer/src/hooks/composer-state/issue-source-actions.tssrc/renderer/src/i18n/locales/en.jsonsrc/renderer/src/lib/assignee-avatar-tone.test.tssrc/renderer/src/lib/assignee-avatar-tone.tssrc/renderer/src/lib/linked-work-item-context.tssrc/renderer/src/lib/new-workspace.test.tssrc/renderer/src/store/folder-workspaces/folder-workspace-mutations.tssrc/renderer/src/store/index.tssrc/renderer/src/store/plugin-linked-item-host-support.tssrc/renderer/src/store/plugin-panels.test.tssrc/renderer/src/store/plugin-task-source-contributions.test.tssrc/renderer/src/store/plugin-task-source-contributions.tssrc/renderer/src/store/slices/folder-workspace-contributed-link-capability.test.tssrc/renderer/src/store/slices/plugin-task-source-bridge.tssrc/renderer/src/store/slices/plugin-task-source-facet-options.tssrc/renderer/src/store/slices/plugin-task-source-facet-query.tssrc/renderer/src/store/slices/plugin-task-source-selection-persistence.test.tssrc/renderer/src/store/slices/plugin-task-source-selection-persistence.tssrc/renderer/src/store/slices/plugin-task-sources-slice-contract.tssrc/renderer/src/store/slices/plugin-task-sources.test.tssrc/renderer/src/store/slices/plugin-task-sources.tssrc/renderer/src/store/slices/store-test-helpers.tssrc/renderer/src/store/slices/ui/ui-slice-contract-core.tssrc/renderer/src/store/slices/worktrees-remote-runtime-create.test.tssrc/renderer/src/store/slices/worktrees/create/create-worktree.tssrc/renderer/src/store/types.tssrc/shared/azure-devops/boards-proxy-path-policy.test.tssrc/shared/azure-devops/boards-proxy-path-policy.tssrc/shared/azure-devops/boards-proxy-status-classification.test.tssrc/shared/azure-devops/boards-proxy-status-classification.tssrc/shared/default-global-settings.tssrc/shared/global-settings-types.tssrc/shared/new-workspace/workspace-source.test.tssrc/shared/new-workspace/workspace-source.tssrc/shared/plugins/plugin-capabilities.tssrc/shared/plugins/plugin-consent-fingerprint.test.tssrc/shared/plugins/plugin-content-pack-contributions.test.tssrc/shared/plugins/plugin-extension-registry.test.tssrc/shared/plugins/plugin-extension-registry.tssrc/shared/plugins/plugin-host-api.tssrc/shared/plugins/plugin-host-protocol.test.tssrc/shared/plugins/plugin-host-protocol.tssrc/shared/plugins/plugin-manifest-contribution-validation.tssrc/shared/plugins/plugin-manifest.test.tssrc/shared/plugins/plugin-manifest.tssrc/shared/plugins/plugin-task-source-contract.test.tssrc/shared/plugins/plugin-task-source-contract.tssrc/shared/plugins/plugin-task-source-icon.test.tssrc/shared/plugins/plugin-task-source-icon.tssrc/shared/plugins/plugin-task-source-selection-persistence.test.tssrc/shared/plugins/plugin-task-source-selection-persistence.tssrc/shared/protocol-version.tssrc/shared/rpc-contract/plugins-params.tssrc/shared/workspace-linked-item-equality.test.tssrc/shared/workspace-linked-item-normalization.test.tssrc/shared/workspace-linked-item.tssrc/shared/workspace-name.tssrc/shared/worktree/types.ts
💤 Files with no reviewable changes (1)
- src/main/plugins/plugin-command-invocation.ts
Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review.
The wit namespace also carries classificationnodes and queries, both mutating POST endpoints. Consent to Azure DevOps Boards does not imply reshaping a project's Boards metadata or writing stored queries. Reads stay namespace-wide.
The probe read the response to look for VssInvalidPreviewVersionException, leaving nothing for the caller, so every Azure validation error surfaced as an opaque 503. It now reads a clone, and cancels the original when it does retry.
A scope dropped mid-refresh stranded the facet load already in flight: its callbacks saw a scope set that had moved on and discarded themselves, leaving every facet on loading.
There was a problem hiding this comment.
Important
Starting a workspace from a contributed task item loses the plugin/source identity from the stored link on every create path, so the PR's own "Start workspace, carrying the item into the composer as a linked source" flow records a link it cannot resolve back to its source. The Boards proxy boundary itself held up under scrutiny; a few facet-selection and persistence rough edges follow inline.
Reviewed changes
- Task source contribution point —
contributes.taskSources, a worker protocol (invokeTaskSource/taskSourceResult/ready.taskSources), lazy activation with a shared in-flight coalescer, host-side result validation and error scrubbing, and a worker SDKorca.taskSources.register. - Host-mediated Azure DevOps Boards capability —
azure-devops:boardsgatingazureDevOps.boardsRequest/boardsOrganizations, a pure path/method/organization policy, multi-organization resolution from the configured list, and status classification into the task-source error vocabulary. - Composable filter facets — facet declarations with per-scope dynamic options, declared defaults, selection pruning, and per-source persistence in global settings.
- Contributed linked work items — a
pluginarm onWorkspaceLinkedItemwith capability-negotiated degradation to a dropped link on older hosts. - Tasks UI — contributed source tab and icon, grouped list, scope picker, query/facet bar, detail panel, comment composer, and create dialog.
⚠️ The contributed link loses its plugin identity on every create path
toFolderWorkspaceLinkedTask copies an explicit field list and never carries pluginKey/sourceId, so the seeded PluginWorkspaceSource — which does set them — is stripped before the create call. All three composer paths run through it, so a workspace started from a contributed item is stored as provider: 'plugin' with no source, on any host, and the source-scoped follow-ups (re-open, comments, icon resolution) have nothing to resolve against.
Technical details
# Contributed linked item identity is dropped before create
## Affected sites
- `src/renderer/src/components/sidebar/folder-workspace-composer-helpers.ts:68-77` — `toFolderWorkspaceLinkedTask` enumerates `provider/type/number/title/url` + `linearIdentifier`/`jiraIdentifier`/`repoId` only; `pluginKey`/`sourceId` are never copied.
- `src/renderer/src/hooks/composer-state/full-creation-execution.ts:178` — worktree create passes `toFolderWorkspaceLinkedTask(submitLinkedWorkItem)`.
- `src/renderer/src/components/sidebar/folder-workspace-composer-submit.ts:163` — folder create passes the same conversion.
- `src/renderer/src/hooks/composer-state/quick-creation-request.ts:63` — quick create passes the same conversion.
- `src/renderer/src/components/task-page/plugin-source/workspace-seed.ts:18-27` — seeds `buildPluginWorkspaceSource({ ..., pluginKey, sourceId })`; the fields exist up to the conversion.
- `src/shared/new-workspace/workspace-source.ts:186-187` — `buildPluginWorkspaceSource` sets them; `:257-259` reads them back for icon/selection.
- `src/shared/workspace-linked-item.ts:30-78` — `normalizeWorkspaceLinkedItem` accepts a plugin item with blank identity, so the host stores it rather than rejecting.
## Required outcome
- A workspace started from a contributed item must persist `pluginKey` and `sourceId` alongside `provider: 'plugin'`.
- `areWorkspaceLinkedItemsEqual` (`workspace-linked-item.ts:24-25`) now compares those fields, so once they survive, a stored identity-less link is correctly seen as different from the seeded one.
## Suggested approach (optional)
- Copy `pluginKey`/`sourceId` in `toFolderWorkspaceLinkedTask`, guarded the way `linearIdentifier`/`jiraIdentifier` are.
- Add a test that drives `toFolderWorkspaceLinkedTask` (or the composer submit path) with a `PluginWorkspaceSource` and asserts the created request retains them. Existing remote/folder capability tests build the linked task by hand and so bypass this conversion.
## Open questions for the human
- Should a `provider: 'plugin'` item with no `pluginKey`/`sourceId` be rejected by `normalizeWorkspaceLinkedItem` rather than accepted silently?ℹ️ Request params reach the worker unvalidated
The contract defines request schemas per method, but nothing in production applies them: the invoker validates only the method name and then forwards params untouched, both transport schemas use z.unknown(), and the worker runtime passes message.params straight to the handler. The result half of the contract is enforced; the request half is currently test-only.
Technical details
# Task source request params are not validated anywhere
## Affected sites
- `src/main/plugins/plugin-task-source-invoker.ts:99-110` — `invokeContributedTaskSource` checks `isPluginTaskSourceMethod` then `proxy.call(input.method, input.params)`; no params parse.
- `src/main/plugins/plugin-worker-invocation.ts:63-76` — forwards `request.params` with no method→schema lookup.
- `src/shared/plugins/plugin-host-protocol.ts:36-42` — `pluginWorkerInvokeTaskSourceSchema.params: z.unknown().optional()`.
- `src/main/plugins/plugin-host-runtime.ts:183-196` — `const handler = implementation?.[message.method]; await handler(message.params)`.
- `src/shared/rpc-contract/plugins-params.ts:23-28` and `src/main/ipc/plugins.ts` `invokeTaskSourceArgsSchema` — `params: z.unknown().optional()`.
- `src/shared/plugins/plugin-task-source-contract.ts:198-250` — `pluginTaskQuerySchema`, `pluginTaskCreateSchema`, `pluginTaskPatchSchema`, `pluginTaskItemTypeQuerySchema`, `pluginTaskFacetOptionQuerySchema` reference nothing outside `plugin-task-source-contract.test.ts`.
## Required outcome
- Either the host validates params against the per-method request schema before dispatching to the worker (so a malformed renderer/IPC call is a `validation` envelope, not a plugin-side surprise), or the request schemas are removed and the contract comment at `:276-277` scoped to results only.
## Open questions for the human
- Is the worker intentionally the only params validator (each plugin must be defensive), or was wiring the request schemas missed?ℹ️ Update paths gate only the older linked-item capability
The create path calls resolveHostSupportedLinkedWorkItem for contributed items and drops the link on a host that predates the plugin arm, but updateFolderWorkspace (and the worktree set path) gate only the Jira-era capability and send linkedTask/linkedWorkItem raw. Against a host that advertises the context capability but not the plugin arm, a plugin link in an update is a value the param schema refuses, which fails the whole update rather than degrading.
Technical details
# Update-path capability gate does not cover the plugin linked-item arm
## Affected sites
- `src/renderer/src/store/folder-workspaces/folder-workspace-mutations.ts:136-146` — only `provider === 'jira'` asserts `WORKTREE_LINKED_WORK_ITEM_CONTEXT_RUNTIME_CAPABILITY`; `:152-162` sends `updates` (including `linkedTask`) without `resolveHostSupportedLinkedWorkItem`.
- `src/renderer/src/store/slices/worktrees/metadata/worktree-meta-persist.ts:99-111` — the `worktree.set` path has the same Jira-only guard.
- Contrast `folder-workspace-mutations.ts:79-86` (`createFolderWorkspace`) and the worktree create site, which do call `resolveHostSupportedLinkedWorkItem`.
- `docs/reference/remote-wire-compatibility.md` calls out `worktree.set` alongside the create methods.
## Required outcome
- The update paths should take the same degrade decision as create: drop a contributed link (with the existing warning) when the target host lacks the plugin arm, rather than let the param schema reject the whole update.
## Open questions for the human
- No current UI affordance was found that writes a plugin linked item through `worktree.set`/`folderWorkspace.update`, so this may be latent. If so, closing it is still cheap insurance given the doc names the method.ℹ️ Nitpicks
plugin-task-source-facet-options.ts:128-129—pluginTaskSourceSeededFacetIdsrecords a facet as seeded once, so a declared default that a scope change pruned away is not re-applied when the user returns to a scope that offers it. The flag cannot tell "the user cleared this" from "another scope pruned it".src/main/plugins/plugin-host-method-bindings.ts:52-59— thePluginHostServices.azureDevOpsBoardsRequestparameter type omitscontentType, though the handler forwards it. Runtime works via structural typing; the interface under-describes the wire.examples/plugins/task-source-demo/main.mjs—getItemreturns{ ok: true, data: item }whereitemlacks the detail schema's optional fields; fine for the fixture, but the sample is the copy-paste template for plugin authors.
DeepSeek Flash (free via Pullfrog for OSS) | 𝕏
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: 41b1f3ce-ebde-40ff-b340-da5eac0b49cb
📒 Files selected for processing (6)
src/main/azure-devops/azure-devops-api-request.test.tssrc/main/azure-devops/azure-devops-api-request.tssrc/renderer/src/store/slices/plugin-task-sources.test.tssrc/renderer/src/store/slices/plugin-task-sources.tssrc/shared/azure-devops/boards-proxy-path-policy.test.tssrc/shared/azure-devops/boards-proxy-path-policy.ts
🚧 Files skipped from review as they are similar to previous changes (4)
- src/main/azure-devops/azure-devops-api-request.test.ts
- src/shared/azure-devops/boards-proxy-path-policy.test.ts
- src/shared/azure-devops/boards-proxy-path-policy.ts
- src/main/azure-devops/azure-devops-api-request.ts
Included review availability: Your plan provides up to 10 included reviews per hour; 8 remain after this review.
There was a problem hiding this comment.
ℹ️ The delta is clean. This review covers only the three commits pushed after the previous review; earlier findings were not re-evaluated and remain open.
Reviewed changes (since 77578bf)
- Facet options reload after a scope drop —
loadPluginTaskSourceScopesnow callsloadPluginTaskSourceFacetOptionswhenretainOfferedScopeIdsdrops a scope, so a facet load whose callbacks self-discard on the moved-on scope set no longer leaves every facet stuck onloading. Two tests pin the reload and the no-op case. - Boards writes narrowed to named
witroutes — newWIT_WRITE_ROUTESlimits non-GET requests towiql,workitems/$<type>,workitems/<id>/comments, andworkitems/<id>, soPOST/PATCHcan no longer reshapeclassificationnodes(area/iteration structure) or storedqueries. Reads remain namespace-wide, andapiSuffixstrips the optional project segment so both spellings match. The route patterns are anchored and tested against the encoded create form. - A non-preview 400 keeps its body —
shouldRetryWithPreviewApiVersionnow readsresponse.clone(), and the retry path cancels the replaced response. A 400 that is not a preview rejection is still handed torequestAzureDevOpsResponseAtBasewith its body intact, so the proxy classifies Azure's validation message instead of an opaque 503.
The route-narrowing change is a genuine tightening of the boundary, and I could not find a bypass: the earlier guards already force new URL(path).pathname === path, reject encoded separators/traversal/control characters, and match the namespace on both raw and decoded forms, so the anchored route regexes see the exact string that is sent.
DeepSeek Flash (free via Pullfrog for OSS) | 𝕏
A same-origin redirect would carry the request, credential and all, to a path the Boards proxy policy already checked and no longer governs. Matches the redirect: 'error' the repo's other sensitive clients already pin.
The scope drop went through a raw set, so it never reached settings: the next launch restored the retired scope and dropped it again, forever. A scope change also loads items and facet options in the same commit, so the items request carried the previous project's option ids, which the source refuses outright. Only facets whose options have settled for the scope on screen are sent; a selection whose options failed is kept, not discarded.
The items load has the same stranding as the facet load: its stale guard returns without clearing pluginTaskSourceLoading, so a scope dropped mid-flight left the list spinning. It now reloads alongside the facets. Holding back unsettled facets also needed a way back: when a selection survives the new scope the prune is a no-op, so nothing reloaded the list and it stayed unfiltered while the chip still claimed the filter.
There was a problem hiding this comment.
Important
The delta closes the three prior findings, but the new facet-settling gate also drops a restored filter from the first list load, so the persisted-filters feature no longer applies on startup or on first selection.
Reviewed changes (since bd0e55484c)
- Refused credentialed redirects —
fetchWithApiVersionRetrypinsredirect: 'error', so a same-origin redirect cannot carry a validated Boards request (and its credential) to a path outside the policy; a test asserts the option reachesfetch. - Persisted a scope drop —
loadPluginTaskSourceScopesroutes the retained scope ids throughsetPluginTaskSourceScopeIds, the only writer that reaches settings, so a retired project is not restored and dropped again on every launch. - Gated
facetSelectionson settled options —buildListQuerysends only facets whose options arereadyfor the scope on screen, closing the scope-change race where the previous project's option ids reachedlistItems.
DeepSeek Flash (free via Pullfrog for OSS) | 𝕏
There was a problem hiding this comment.
ℹ️ No critical issues — the previous must-address finding is resolved; one minor efficiency suggestion inline.
Reviewed changes (since c6929da3bd)
- Reloaded the list once facets settle —
Content.tsxderivesfacetsSettledand adds it to the items effect deps, so a filter that survives a scope change (where the prune is a no-op andquerynever changes) is applied after the options land. This resolves the regression from the previous review: a persisted filter now reacheslistItems. - Reloaded items and facet options after a scope drop —
loadPluginTaskSourceScopesnow reloads both, so the in-flight items load that discards itself on the stale guard no longer leaves the list spinner on. A test pins the spinner clearing.
DeepSeek Flash (free via Pullfrog for OSS) | 𝕏
There was a problem hiding this comment.
ℹ️ No new issues in this delta. It is a clean fix to the prior review's inline suggestion, and its test fails without it.
Reviewed changes (since cf57aaaa29)
- Dropped the redundant unfiltered list load —
Content.tsxnow treats "no facets declared yet" as unsettled (facets.length > 0 && …) instead of vacuously settled, so the arrival of the declarations no longer flipsfacetsSettledand fires a second unfilteredlistItems; a source that declares no facets simply never re-runs on it. - Pinned the call count — the new
Content.test.tsxcase countslistItemscalls from mount until the filtered load lands and asserts at most two; reverting the predicate yields three.
This review is scoped to the delta and is not an approval — the earlier open items raised against the initial review are unchanged by these commits.
DeepSeek Flash (free via Pullfrog for OSS) | 𝕏

ELI5
Orca's Tasks view could only ever show the trackers Orca itself ships. This adds a way for an installed plugin to contribute its own task list — and uses that to build an Azure DevOps Boards plugin that lives in its own repo, not in Orca.
The plugin never sees your credentials. It says "fetch this path from this organization", and Orca attaches the token and checks the path against an allowlist.
What Changed
Before: Tasks offered GitHub, GitLab, Jira and Linear. Nothing else could be added without changing Orca.
After: a plugin can contribute a task source and it appears as its own tab beside the built-in ones, with a list, filters, a detail panel with comments, item creation, and Start workspace.
The mechanism, in four parts:
contributes.taskSources) plus a worker protocol —status,listScopes,listItems,getItem,listComments,addComment,listItemTypes,createItem,listFacetOptions. A plugin returns data; Orca renders it. No plugin HTML reaches the Tasks view.witandprojects, and the guard chain is ordered because a WHATWG URL parse strips TAB/LF/CR before parsing, which defeats naive raw-string checks.status()declares facets (single/multi, optionallydynamic), the query carries a selection map, andlistFacetOptionssupplies per-scope options. AND across facets, OR within one. Selections persist per source.pluginmember so a workspace started from a contributed item keeps its link.Contributed sources also render their own icon, shipped as an SVG in the plugin and drawn as a CSS mask so it takes its colour from the theme rather than the plugin.
Why
The alternative was a first-party Azure DevOps provider inside Orca. That solves one tracker and leaves the next one in the same position, and it puts a vendor integration in core that core then owns forever. A contribution point costs more up front and is the thing that generalises.
Credentials are host-mediated rather than handed to the plugin because
plugin-worker-env.tsalready denies plugins Orca's env secrets, and handing a PAT to third-party plugin code to reuse an existing Orca configuration would undo that on purpose.filterId/filtersare kept alongside the new facet model rather than replaced: clients and remote hosts update independently, so an older client keeps sendingfilterIdand an older host keeps sendingfilters.Linked Issue
None — this was not tracked by an issue. Happy to open one if the project wants it recorded before review.
Visual Proof
Before: there was no way to add a task source, so there is no "before" state of this UI to show — the tab, the list and the panel below do not exist on
main. The before/after is: these surfaces are absent, then present.After, with an Azure DevOps Boards plugin installed:
The contributed tab sits beside the built-in trackers, icon-only like they are:
The list, grouped by state, with the facet bar, project scope picker and title search:
A facet open — options are read per project, so a customized workflow's own states are what you filter on:
The detail panel: description, comments, quoted replies, and the composer:
Start workspace, carrying the item into the composer as a linked source:
Captured in dark mode via Playwright over CDP against a live Azure DevOps organization. The content is substituted, not redacted — titles, people and tags are rewritten in the page before capture, consistently (one real person always maps to the same invented one, avatar initials regenerated to match). Work item numbers, states, priorities and timestamps are untouched. Full note:
docs/screenshots/README.md.Images are hosted in the plugin's own repository rather than committed here, per the template's "never add attachments to the PR files".
Testing
vitestacross the touched areas: 4,545 passing, 1 pre-existing environmental failure (plugin-install.test.tsfails on this machine because of a globaltag.gpgsign true).tsconfig.tc.web.json,tsconfig.node.json).x' OR ''='returns 0 rows rather than the whole board), comment round-tripping, facet composition (set-identical to a direct project query), and filter persistence across a restart.Not tested: Linux, Windows, or SSH/remote. The remote path is capability-negotiated and degrades to dropping the link, but that path has unit coverage only — no real remote host.
Note:
pnpmis broken in my environment, so I ranvitest/tsc/the gate throughnode_modules/.bindirectly rather than thepnpmscripts.AI Disclosure
Written with Claude Code (Claude Opus 5), reviewed and verified by me.
Review
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
$batch, namespace, then normalized-pathname equality, in that order, each pinned by a test. The plugin selects among configured organizations only; an unlisted org is rejected, never defaulted.filterIdandfiltersstill work.loadScopesis uncached, so a wide scope selection issues a lot of requests. Sensible next step is caching by content hash.Checklist