Files
orca/src/shared/task-source-runtime-capabilities.ts
T
Brennan Benson 40f9d2a246 Keep desktop fork pull requests on their opened repository (#36172)
* Keep opened GitHub work items bound to their exact repository

* Bind GitHub work item ownership through consumers and dispatch

* Keep empty mention lists from consuming selection keys

* Preserve GitHub action and consumer ownership across resource changes

* Exercise repository account updates through their production store action

* Exercise account publication and cache settlement through GitHub consumers

* Simplify fork PR contract verification

* Make contract verification imports and clocks deterministic

* Correct mobile task test fixtures and model types

* Correct task recording fixtures and CI types

* Correct task fixture types and static checks

* Consolidate replay test RPC imports

* Separate GitHub metadata imports from Linear hooks

* Scope mobile PR sidebar reads to the selected resource

* Separate desktop GitHub changes from phone updates

* Fix relay authority probe census across topology cases

* Repair repository owner proof fixtures and compiler allocation

* Preserve repository row observation in host lookup

* Seed metadata fixture before server-side store acquisition

* Preserve nullable fixture settings and discover mixed test types

* Preserve GitHub detail argument types and optional capabilities

* Let keyed details queries own pending read replacement

* Repair GitHub RPC and relay test fixture boundaries

* Verify expected GitHub account at repository execution capture

* Preserve captured GitHub account expectations through client dispatch

* Retain observed runtime status after switching environments

* Fix account contract fixture types and RPC setup timing

* Restore the negative-capability switch probe assertion

* Align account fixtures with runtime identity and configured origin

* Consolidate details test imports

* Drop duplicate fork pull request identity tests
2026-11-02 13:22:48 -08:00

32 lines
1.5 KiB
TypeScript

import { JIRA_AGENT_ACCESS_RUNTIME_CAPABILITY } from './jira/jira-agent-capability'
import {
JIRA_CURRENT_SPRINT_RUNTIME_CAPABILITY,
JIRA_DETAIL_RUNTIME_CAPABILITIES,
JIRA_TRANSITION_FIELDS_RUNTIME_CAPABILITY
} from './jira/jira-detail-capabilities'
import { JIRA_STATUS_FILTER_RUNTIME_CAPABILITY } from './jira/jira-quick-filters'
import { JIRA_SAVED_FILTER_RUNTIME_CAPABILITY } from './jira/jira-saved-filter-capability'
export const TASK_SOURCE_CONTEXT_RUNTIME_CAPABILITY = 'task-source-context.v1' as const
export const GITHUB_CANONICAL_DETAILS_RUNTIME_CAPABILITY = 'github.canonical-details.v1' as const
export const GITHUB_EXACT_DETAILS_READ_INTENT_RUNTIME_CAPABILITY =
'github.exact-details-read-intent.v1' as const
export const GITHUB_ACCOUNT_EXPECTATION_RUNTIME_CAPABILITY =
'github.account-expectation.v1' as const
export const LINEAR_ISSUE_ATTRIBUTE_FILTER_RUNTIME_CAPABILITY =
'linear.issue-attribute-filter.v1' as const
export const TASK_SOURCE_RUNTIME_CAPABILITIES = [
TASK_SOURCE_CONTEXT_RUNTIME_CAPABILITY,
GITHUB_CANONICAL_DETAILS_RUNTIME_CAPABILITY,
GITHUB_EXACT_DETAILS_READ_INTENT_RUNTIME_CAPABILITY,
GITHUB_ACCOUNT_EXPECTATION_RUNTIME_CAPABILITY,
LINEAR_ISSUE_ATTRIBUTE_FILTER_RUNTIME_CAPABILITY,
JIRA_TRANSITION_FIELDS_RUNTIME_CAPABILITY,
JIRA_AGENT_ACCESS_RUNTIME_CAPABILITY,
JIRA_CURRENT_SPRINT_RUNTIME_CAPABILITY,
...JIRA_DETAIL_RUNTIME_CAPABILITIES,
JIRA_SAVED_FILTER_RUNTIME_CAPABILITY,
JIRA_STATUS_FILTER_RUNTIME_CAPABILITY
] as const