dsh-github-copilot 0.4.0-alpha.100

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (156) hide show
  1. package/AGENTS.md +312 -0
  2. package/CHANGELOG.md +479 -0
  3. package/CONTRIBUTING.md +46 -0
  4. package/LICENSE +21 -0
  5. package/README.md +203 -0
  6. package/README.zh.md +202 -0
  7. package/SECURITY.md +29 -0
  8. package/cordis.patch.yml +16 -0
  9. package/deployment-baseline.json +1299 -0
  10. package/docs/agent-readiness.md +110 -0
  11. package/docs/auto-task-routing.md +234 -0
  12. package/docs/automatic-model-routing.md +205 -0
  13. package/docs/copilot-accounts.md +236 -0
  14. package/docs/copilot-compaction.md +120 -0
  15. package/docs/copilot-usage.md +125 -0
  16. package/docs/dual-model.md +66 -0
  17. package/docs/image-input-compatibility.md +64 -0
  18. package/docs/images/copilot-accounts-credits.png +0 -0
  19. package/docs/images/copilot-accounts.png +0 -0
  20. package/docs/images/copilot-model-preferences.png +0 -0
  21. package/docs/images/copilot-search-routing.png +0 -0
  22. package/docs/images/dual-model-desktop.png +0 -0
  23. package/docs/images/dual-model-mobile.png +0 -0
  24. package/docs/images/dual-model-provenance.json +35 -0
  25. package/docs/images/parent-model-follow.png +0 -0
  26. package/docs/manual-compaction-recovery.md +64 -0
  27. package/docs/model-compatibility-acceptance.md +164 -0
  28. package/docs/npm-distribution.md +149 -0
  29. package/docs/official-first-016-alpha2.md +66 -0
  30. package/docs/official-first-020-rc1.md +32 -0
  31. package/docs/official-first-020-rc2.md +16 -0
  32. package/docs/session-search-routing.md +133 -0
  33. package/docs/single-route-migration.md +130 -0
  34. package/docs/web-lifecycle-rc2.md +55 -0
  35. package/lib/client.js +10822 -0
  36. package/lib/client.js.map +1 -0
  37. package/lib/copilot-identity-DRZY_d2X.js +15 -0
  38. package/lib/index.js +11689 -0
  39. package/lib/manual-compaction-recovery.js +315 -0
  40. package/lib/remote.js +734 -0
  41. package/lib/request-budget-DLY_aRq0.js +87 -0
  42. package/lib/routed-web.js +120 -0
  43. package/lib/search-routing-CqysPLve.js +792 -0
  44. package/lib/types/account-model-auth.d.ts +15 -0
  45. package/lib/types/account-model-catalog.d.ts +70 -0
  46. package/lib/types/account-model-source.d.ts +85 -0
  47. package/lib/types/agent-compaction.d.ts +4 -0
  48. package/lib/types/authorization-controller.d.ts +119 -0
  49. package/lib/types/auto-assessment-evidence.d.ts +46 -0
  50. package/lib/types/auto-model-host.d.ts +27 -0
  51. package/lib/types/auto-model-intent.d.ts +36 -0
  52. package/lib/types/auto-model-presentation.d.ts +57 -0
  53. package/lib/types/auto-model-routing.d.ts +59 -0
  54. package/lib/types/auto-selection-explanation.d.ts +9 -0
  55. package/lib/types/auto-task-assessment.d.ts +47 -0
  56. package/lib/types/auto-task-classifier.d.ts +9 -0
  57. package/lib/types/background-compaction.d.ts +30 -0
  58. package/lib/types/client.d.ts +115 -0
  59. package/lib/types/compact-account.d.ts +42 -0
  60. package/lib/types/compaction-pressure.d.ts +23 -0
  61. package/lib/types/compatibility.d.ts +17 -0
  62. package/lib/types/config.d.ts +89 -0
  63. package/lib/types/content-file.d.ts +10 -0
  64. package/lib/types/context-evidence-ui.d.ts +11 -0
  65. package/lib/types/context-evidence.d.ts +108 -0
  66. package/lib/types/context-usage.d.ts +4 -0
  67. package/lib/types/copilot-account-presentation.d.ts +7 -0
  68. package/lib/types/copilot-accounts-card.d.ts +30 -0
  69. package/lib/types/copilot-accounts-host.d.ts +75 -0
  70. package/lib/types/copilot-accounts-remote.d.ts +77 -0
  71. package/lib/types/copilot-accounts-types.d.ts +42 -0
  72. package/lib/types/copilot-auth.d.ts +25 -0
  73. package/lib/types/copilot-grant.d.ts +11 -0
  74. package/lib/types/copilot-identity.d.ts +11 -0
  75. package/lib/types/copilot-request.d.ts +11 -0
  76. package/lib/types/copilot-stream-liveness.d.ts +23 -0
  77. package/lib/types/copilot-usage-card.d.ts +30 -0
  78. package/lib/types/copilot-usage-host.d.ts +58 -0
  79. package/lib/types/copilot-usage-normalize.d.ts +9 -0
  80. package/lib/types/copilot-usage-remote.d.ts +63 -0
  81. package/lib/types/copilot-usage-types.d.ts +20 -0
  82. package/lib/types/copilot-usage-ui.d.ts +4 -0
  83. package/lib/types/current-provider.d.ts +59 -0
  84. package/lib/types/deepseek-search-fallback.d.ts +11 -0
  85. package/lib/types/dual-model-host.d.ts +119 -0
  86. package/lib/types/dual-model-remote.d.ts +63 -0
  87. package/lib/types/dual-model-types.d.ts +34 -0
  88. package/lib/types/external-link.d.ts +3 -0
  89. package/lib/types/failure.d.ts +38 -0
  90. package/lib/types/http.d.ts +48 -0
  91. package/lib/types/image-input-admission.d.ts +5 -0
  92. package/lib/types/index.d.ts +39 -0
  93. package/lib/types/manual-compaction-recovery.d.ts +52 -0
  94. package/lib/types/migration-status.d.ts +50 -0
  95. package/lib/types/model-exclusions.d.ts +15 -0
  96. package/lib/types/model-preferences-card.d.ts +9 -0
  97. package/lib/types/model-protocol.d.ts +31 -0
  98. package/lib/types/native-select-style.d.ts +4 -0
  99. package/lib/types/parent-model-follow-card.d.ts +41 -0
  100. package/lib/types/parent-model-follow.d.ts +44 -0
  101. package/lib/types/pi-provider-bridge.d.ts +22 -0
  102. package/lib/types/plan.d.ts +148 -0
  103. package/lib/types/pre-step-pressure.d.ts +8 -0
  104. package/lib/types/preview-provider.d.ts +66 -0
  105. package/lib/types/preview-route.d.ts +74 -0
  106. package/lib/types/probe.d.ts +39 -0
  107. package/lib/types/reasoning-presentation.d.ts +55 -0
  108. package/lib/types/remote-codec.d.ts +10 -0
  109. package/lib/types/remote.d.ts +199 -0
  110. package/lib/types/replay-recovery-host.d.ts +28 -0
  111. package/lib/types/replay-recovery-remote.d.ts +14 -0
  112. package/lib/types/replay-recovery-types.d.ts +24 -0
  113. package/lib/types/replay-recovery-ui.d.ts +26 -0
  114. package/lib/types/replay-recovery.d.ts +17 -0
  115. package/lib/types/request-body-evidence.d.ts +34 -0
  116. package/lib/types/request-body-timeout-marker.d.ts +2 -0
  117. package/lib/types/request-body-timeout.d.ts +4 -0
  118. package/lib/types/request-budget.d.ts +58 -0
  119. package/lib/types/request-upload-evidence.d.ts +23 -0
  120. package/lib/types/response-error-body.d.ts +3 -0
  121. package/lib/types/responses-reasoning-text.d.ts +24 -0
  122. package/lib/types/responses-reasoning.d.ts +7 -0
  123. package/lib/types/responses-replay-compat.d.ts +30 -0
  124. package/lib/types/route-ownership.d.ts +70 -0
  125. package/lib/types/routed-web.d.ts +50 -0
  126. package/lib/types/search-backend.d.ts +16 -0
  127. package/lib/types/search-routing-host.d.ts +19 -0
  128. package/lib/types/search-routing-policy.d.ts +18 -0
  129. package/lib/types/search-routing-remote.d.ts +20 -0
  130. package/lib/types/search-routing.d.ts +43 -0
  131. package/lib/types/search-tool-routing.d.ts +22 -0
  132. package/lib/types/serialize.d.ts +106 -0
  133. package/lib/types/settings-reader.d.ts +16 -0
  134. package/lib/types/sse.d.ts +28 -0
  135. package/lib/types/temporary-models.d.ts +25 -0
  136. package/lib/types/tool-schema-compat.d.ts +17 -0
  137. package/lib/types/traditional-search.d.ts +17 -0
  138. package/lib/types/turn-model-provenance.d.ts +45 -0
  139. package/lib/types/turn-selection-card.d.ts +10 -0
  140. package/lib/types/turn-selection-host.d.ts +11 -0
  141. package/lib/types/turn-selection-remote.d.ts +13 -0
  142. package/lib/types/turn-selection.d.ts +119 -0
  143. package/lib/types/turn-usage-evidence.d.ts +66 -0
  144. package/lib/types/turn-usage-notice.d.ts +7 -0
  145. package/lib/types/types.d.ts +69 -0
  146. package/lib/types/usage.d.ts +26 -0
  147. package/lib/types/watchdog.d.ts +22 -0
  148. package/lib/types/web-delegate.d.ts +12 -0
  149. package/lib/types/web-search-routing-card.d.ts +16 -0
  150. package/lib/types/web-search-routing-config.d.ts +12 -0
  151. package/lib/types/wire-anthropic.d.ts +37 -0
  152. package/lib/types/wire.d.ts +56 -0
  153. package/lib/web-delegate.js +9 -0
  154. package/output/auto-model-mockup/index.html +207 -0
  155. package/package.json +236 -0
  156. package/scripts/check-search-composition.mjs +191 -0
@@ -0,0 +1,1299 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "baseline": {
4
+ "id": "cloga.dsh-github-copilot",
5
+ "kind": "standalone-dsh-plugin",
6
+ "source": "https://github.com/cloga/dsh-github-copilot",
7
+ "sourceCommitPolicy": "exact-external-pin"
8
+ },
9
+ "package": {
10
+ "name": "dsh-github-copilot",
11
+ "version": "0.4.0-alpha.100"
12
+ },
13
+ "evidence": {
14
+ "kind": "source-and-synthetic-test-inventory",
15
+ "peerRangeMeaning": "package-admission-not-runtime-validation",
16
+ "doesNotProve": ["live-discovery", "live-model-transport", "all-admitted-core-versions", "published-release", "local-upgrade"]
17
+ },
18
+ "supportedBaselines": {
19
+ "platforms": ["windows", "linux"],
20
+ "node": ">=22.19.0",
21
+ "dsh": {
22
+ "release": "0.2.0-rc.2",
23
+ "tag": "dsh-v0.2.0-rc.2",
24
+ "commit": "639ed015397290b3745d163aafe02ffee4aa3f84",
25
+ "developmentRelease": "0.2.0-rc.2",
26
+ "admittedReleases": ["0.2.0-rc.2"],
27
+ "peerRange": "0.2.0-rc.2",
28
+ "baselines": [
29
+ {
30
+ "release": "0.1.1-rc.2",
31
+ "tag": "dsh-v0.1.1-rc.2",
32
+ "commit": "a772dbbde82780bff2b9394427e9f0a24cafa1d5",
33
+ "basedOnCommit": "b150a551b8d465e31e418e1b2eaf5e79bbb7d28e",
34
+ "source": "https://github.com/cloga/deepseek-harness",
35
+ "branch": "cloga-pi-ai-model-api",
36
+ "modelsUi": "settings-section-fallback",
37
+ "perModelApi": "model-entry",
38
+ "strictModeCompat": "route-switch",
39
+ "evidenceScope": "historical-regression-only",
40
+ "managedProviderValidation": "not-verified"
41
+ },
42
+ {
43
+ "release": "0.1.2-rc.1",
44
+ "tag": "dsh-v0.1.2-rc.1",
45
+ "commit": "a66e4702047846cdaa10c66c9d3df3951f5ea70d",
46
+ "modelsUi": "provider-card",
47
+ "providerHeaders": "fetch-validated-discovery",
48
+ "strictModeCompat": "route-switch",
49
+ "evidenceScope": "published-api-target",
50
+ "managedProviderValidation": "synthetic-published-adapter",
51
+ "managedProviderTests": ["tests/preview-provider.spec.ts", "tests/preview-route.spec.ts", "tests/pi-provider-bridge.spec.ts"]
52
+ },
53
+ {
54
+ "release": "0.1.3-alpha.1",
55
+ "tag": "dsh-v0.1.3-alpha.1",
56
+ "commit": "d347e703908d0406b7a7ef80e3a0e594d86b2215",
57
+ "modelsUi": "provider-card",
58
+ "providerHeaders": "fetch-validated-discovery",
59
+ "strictModeCompat": "route-switch",
60
+ "fileContentHelper": "contentHasFile",
61
+ "evidenceScope": "unchanged-tagged-source-target",
62
+ "standaloneNpmArtifacts": "not-published",
63
+ "managedProviderValidation": "not-verified"
64
+ },
65
+ {
66
+ "release": "0.1.5-alpha.1",
67
+ "tag": "dsh-v0.1.5-alpha.1",
68
+ "commit": "5dda764ed3aa172535a7967b06ff95d9cbfe536a",
69
+ "source": "https://github.com/deepseek-ai/deepseek-harness",
70
+ "modelsUi": "provider-card",
71
+ "providerHeaders": "fetch-validated-discovery",
72
+ "strictModeCompat": "route-switch",
73
+ "fileContentHelper": "contentHasFile",
74
+ "evidenceScope": "unchanged-tagged-source-target",
75
+ "standaloneNpmArtifacts": "not-tested",
76
+ "managedProviderValidation": "synthetic-tagged-source-runtime",
77
+ "runtimeTests": ["tests/preview-route.spec.ts", "tests/published-core.spec.ts", "tests/single-route.spec.ts", "tests/fixtures/session-context-core.fixture.ts", "tests/fixtures/remote-core.fixture.ts"]
78
+ },
79
+ {
80
+ "release": "0.1.5-alpha.2",
81
+ "tag": "dsh-v0.1.5-alpha.2",
82
+ "commit": "b2e3b2a0125854567a4a5fcba75782e42fe84901",
83
+ "source": "https://github.com/deepseek-ai/deepseek-harness",
84
+ "modelsUi": "provider-card",
85
+ "providerHeaders": "fetch-validated-discovery",
86
+ "strictModeCompat": "route-switch",
87
+ "fileContentHelper": "contentHasFile",
88
+ "evidenceScope": "unchanged-tagged-source-target",
89
+ "standaloneNpmArtifacts": "not-tested",
90
+ "managedProviderValidation": "synthetic-tagged-source-runtime",
91
+ "autoModelRouting": "plugin-owned-virtual-selection-with-real-request-header",
92
+ "autoModelCompaction": "same-real-model-core-overflow-recovery",
93
+ "autoModelPresentation": "public-turn-tail-durable-decision",
94
+ "resolvedProfileDiagnostics": "plugin-owned-empty-modelErrors",
95
+ "runtimeTests": ["tests/preview-route.spec.ts", "tests/published-core.spec.ts", "tests/single-route.spec.ts", "tests/fixtures/session-context-core.fixture.ts", "tests/fixtures/remote-core.fixture.ts"]
96
+ },
97
+ {
98
+ "release": "0.1.5-rc.1",
99
+ "tag": "dsh-v0.1.5-rc.1",
100
+ "commit": "183f08e9c6dde7e36cd2318eaee70b0da08fb35e",
101
+ "source": "https://github.com/deepseek-ai/deepseek-harness",
102
+ "modelsUi": "provider-card",
103
+ "providerHeaders": "fetch-validated-discovery",
104
+ "strictModeCompat": "route-switch",
105
+ "fileContentHelper": "contentHasFile",
106
+ "evidenceScope": "unchanged-tagged-source-target",
107
+ "standaloneNpmArtifacts": "not-tested",
108
+ "managedProviderValidation": "synthetic-tagged-source-runtime",
109
+ "resolvedProfileDiagnostics": "plugin-owned-empty-modelErrors",
110
+ "runtimeTests": ["tests/preview-route.spec.ts", "tests/published-core.spec.ts", "tests/single-route.spec.ts", "tests/fixtures/session-context-core.fixture.ts", "tests/fixtures/remote-core.fixture.ts"]
111
+ },
112
+ {
113
+ "release": "0.1.5-rc.2",
114
+ "tag": "dsh-v0.1.5-rc.2",
115
+ "commit": "fb2c4b9e698e30edb738bca4cf0618587db7d203",
116
+ "source": "https://github.com/deepseek-ai/deepseek-harness",
117
+ "modelsUi": "provider-card",
118
+ "providerHeaders": "fetch-validated-discovery",
119
+ "strictModeCompat": "route-switch",
120
+ "fileContentHelper": "contentHasFile",
121
+ "evidenceScope": "unchanged-tagged-source-target",
122
+ "standaloneNpmArtifacts": "not-tested",
123
+ "managedProviderValidation": "synthetic-tagged-source-runtime",
124
+ "resolvedProfileDiagnostics": "plugin-owned-empty-modelErrors",
125
+ "runtimeTests": ["tests/preview-route.spec.ts", "tests/published-core.spec.ts", "tests/single-route.spec.ts", "tests/fixtures/session-context-core.fixture.ts", "tests/fixtures/remote-core.fixture.ts"]
126
+ },
127
+ {
128
+ "release": "0.1.6-alpha.1",
129
+ "tag": "dsh-v0.1.6-alpha.1",
130
+ "commit": "0a15e36e7f82b6ed45af6fa9759f29b40dcd965d",
131
+ "source": "https://github.com/deepseek-ai/deepseek-harness",
132
+ "modelsUi": "provider-card",
133
+ "providerHeaders": "fetch-validated-discovery",
134
+ "strictModeCompat": "route-switch",
135
+ "hostGrants": "no-public-api-no-plugin-coupling",
136
+ "fileContentHelper": "contentHasFile",
137
+ "agentCreation": "awaited-serial-agent-created",
138
+ "sessionHistory": "request-header-and-projections-no-new-sync-history",
139
+ "mcpSdk": "client-v2-tools-and-resource-pagination",
140
+ "ptcRuntime": "dsh-ptc-runtime-and-workflow-ptc",
141
+ "sandboxShell": "async-cancellable-preparation",
142
+ "configHotReload": "serialized-coalesced-last-good-recovery",
143
+ "optionalPlugins": "startup-policy-owned-by-consumer",
144
+ "attachmentCache": "request-variants-under-dsh-cache-normalized-path-stable",
145
+ "imageOffload": "durable-projection-then-retry",
146
+ "teamTools": "spawn-teammate-and-provider-owned-task-pagination",
147
+ "evidenceScope": "unchanged-tagged-source-target",
148
+ "standaloneNpmArtifacts": "not-tested",
149
+ "managedProviderValidation": "synthetic-tagged-source-runtime",
150
+ "resolvedProfileDiagnostics": "plugin-owned-empty-modelErrors",
151
+ "runtimeTests": ["tests/preview-route.spec.ts", "tests/published-core.spec.ts", "tests/single-route.spec.ts", "tests/search-routing.spec.ts", "tests/routed-web.spec.ts", "tests/deepseek-search-fallback.spec.ts", "tests/tool-schema-compat.spec.ts", "tests/fixtures/session-context-core.fixture.ts", "tests/fixtures/remote-core.fixture.ts"]
152
+ },
153
+ {
154
+ "release": "0.1.6-alpha.2",
155
+ "tag": "dsh-v0.1.6-alpha.2",
156
+ "commit": "ddefc45fbc7f8e46dd73185e68295696d1297887",
157
+ "source": "https://github.com/deepseek-ai/deepseek-harness",
158
+ "modelsUi": "provider-card",
159
+ "providerHeaders": "fetch-validated-discovery",
160
+ "strictModeCompat": "route-switch",
161
+ "fileContentHelper": "contentHasFile",
162
+ "agentCreation": "awaited-serial-agent-created",
163
+ "sessionHistory": "request-header-and-projections-no-new-sync-history",
164
+ "strictRemoteCodecs": "create-factories-with-legacy-schema-bridge",
165
+ "roleChildDescriptorVersion": 3,
166
+ "roleChildCacheVersion": 2,
167
+ "roleChildHistory": "unknown-legacy-history-fail-closed",
168
+ "runtimeDependencies": "public-resolution-and-unload",
169
+ "clientSessionContext": "multiple-session-owner-isolation",
170
+ "evidenceScope": "unchanged-tagged-source-target",
171
+ "standaloneNpmArtifacts": "not-tested",
172
+ "managedProviderValidation": "synthetic-tagged-source-runtime",
173
+ "resolvedProfileDiagnostics": "plugin-owned-empty-modelErrors",
174
+ "runtimeTests": ["tests/preview-route.spec.ts", "tests/published-core.spec.ts", "tests/single-route.spec.ts", "tests/search-routing.spec.ts", "tests/routed-web.spec.ts", "tests/deepseek-search-fallback.spec.ts", "tests/tool-schema-compat.spec.ts", "tests/fixtures/alpha2-contracts-core.fixture.ts", "tests/fixtures/compaction-pressure-core.fixture.ts", "tests/remote-codec.spec.ts", "tests/dual-model-projection.spec.ts", "tests/fixtures/session-context-core.fixture.ts", "tests/fixtures/remote-core.fixture.ts"]
175
+ },
176
+ {
177
+ "release": "0.2.0-rc.1",
178
+ "tag": "dsh-v0.2.0-rc.1",
179
+ "commit": "4878cdabd87d4041bdaff61d04c966883b9fd07a",
180
+ "source": "https://github.com/deepseek-ai/deepseek-harness",
181
+ "desktopRelease": "0.2.0-rc.1",
182
+ "modelsUi": "provider-card",
183
+ "providerHeaders": "fetch-validated-discovery",
184
+ "strictModeCompat": "route-switch",
185
+ "fileContentHelper": "contentHasFile",
186
+ "agentCreation": "awaited-serial-agent-created",
187
+ "sessionHistory": "request-header-and-projections-no-new-sync-history",
188
+ "sessionFormatVersion": 4,
189
+ "strictRemoteCodecs": "create-factories-with-legacy-schema-bridge",
190
+ "roleChildDescriptorVersion": 3,
191
+ "roleChildCacheVersion": 2,
192
+ "roleChildHistory": "unknown-legacy-history-fail-closed",
193
+ "runtimeDependencies": "public-resolution-and-unload",
194
+ "clientSessionContext": "multiple-session-owner-isolation",
195
+ "evidenceScope": "unchanged-tagged-source-target",
196
+ "standaloneNpmArtifacts": "tested",
197
+ "desktopPackageSet": "not-materialized",
198
+ "managedProviderValidation": "synthetic-tagged-source-runtime",
199
+ "resolvedProfileDiagnostics": "plugin-owned-empty-modelErrors",
200
+ "runtimeTests": ["tests/preview-route.spec.ts", "tests/published-core.spec.ts", "tests/single-route.spec.ts", "tests/search-routing.spec.ts", "tests/routed-web.spec.ts", "tests/deepseek-search-fallback.spec.ts", "tests/tool-schema-compat.spec.ts", "tests/fixtures/alpha2-contracts-core.fixture.ts", "tests/fixtures/compaction-pressure-core.fixture.ts", "tests/remote-codec.spec.ts", "tests/dual-model-projection.spec.ts", "tests/fixtures/session-context-core.fixture.ts", "tests/fixtures/remote-core.fixture.ts"]
201
+ },
202
+ {
203
+ "release": "0.2.0-rc.2",
204
+ "tag": "dsh-v0.2.0-rc.2",
205
+ "commit": "639ed015397290b3745d163aafe02ffee4aa3f84",
206
+ "source": "https://github.com/deepseek-ai/deepseek-harness",
207
+ "desktopRelease": "0.2.0-rc.2",
208
+ "modelsUi": "provider-card",
209
+ "providerHeaders": "fetch-validated-discovery",
210
+ "strictModeCompat": "route-switch",
211
+ "fileContentHelper": "contentHasFile",
212
+ "agentCreation": "awaited-serial-agent-created",
213
+ "sessionHistory": "request-header-and-projections-no-new-sync-history",
214
+ "sessionFormatVersion": 4,
215
+ "strictRemoteCodecs": "create-factories-with-legacy-schema-bridge",
216
+ "roleChildDescriptorVersion": 3,
217
+ "roleChildCacheVersion": 2,
218
+ "roleChildHistory": "unknown-legacy-history-fail-closed",
219
+ "runtimeDependencies": "public-resolution-and-unload",
220
+ "clientSessionContext": "multiple-session-owner-isolation",
221
+ "evidenceScope": "unchanged-tagged-source-target",
222
+ "standaloneNpmArtifacts": "tested",
223
+ "desktopPackageSet": "installed-descriptor-audited",
224
+ "managedProviderValidation": "synthetic-tagged-source-runtime",
225
+ "resolvedProfileDiagnostics": "plugin-owned-empty-modelErrors",
226
+ "runtimeTests": ["tests/preview-route.spec.ts", "tests/published-core.spec.ts", "tests/single-route.spec.ts", "tests/search-routing.spec.ts", "tests/routed-web.spec.ts", "tests/deepseek-search-fallback.spec.ts", "tests/tool-schema-compat.spec.ts", "tests/fixtures/alpha2-contracts-core.fixture.ts", "tests/fixtures/compaction-pressure-core.fixture.ts", "tests/remote-codec.spec.ts", "tests/dual-model-projection.spec.ts", "tests/fixtures/scoped-compaction-core.fixture.ts", "tests/fixtures/model-exclusions-core.fixture.ts", "tests/fixtures/session-context-core.fixture.ts", "tests/fixtures/remote-core.fixture.ts"]
227
+ }
228
+ ],
229
+ "packages": [
230
+ "@deepseek-ai/dsh-agent",
231
+ "@deepseek-ai/dsh-agent-default-model",
232
+ "@deepseek-ai/dsh-api-remotes",
233
+ "@deepseek-ai/dsh-authorization",
234
+ "@deepseek-ai/dsh-client-ui-renderer",
235
+ "@deepseek-ai/dsh-client-ui-settings-models",
236
+ "@deepseek-ai/dsh-client-ui-slots",
237
+ "@deepseek-ai/dsh-commands",
238
+ "@deepseek-ai/dsh-compaction",
239
+ "@deepseek-ai/dsh-compaction-basic",
240
+ "@deepseek-ai/dsh-credentials",
241
+ "@deepseek-ai/dsh-launch-environment",
242
+ "@deepseek-ai/dsh-llm",
243
+ "@deepseek-ai/dsh-llm-pi-ai",
244
+ "@deepseek-ai/dsh-scope",
245
+ "@deepseek-ai/dsh-session",
246
+ "@deepseek-ai/dsh-settings",
247
+ "@deepseek-ai/dsh-typert-protocol",
248
+ "@deepseek-ai/dsh-web",
249
+ "@deepseek-ai/dsh-web-search-deepseek"
250
+ ]
251
+ },
252
+ "piAi": "0.87.1",
253
+ "runtimeDependencies": {
254
+ "@earendil-works/pi-ai": "0.87.1",
255
+ "zod": "^4.4.3"
256
+ },
257
+ "sharedPeerDependencies": {
258
+ "@deepseek-ai/dsh-authorization": "0.2.0-rc.2",
259
+ "@deepseek-ai/schemastery": "^3.18.4"
260
+ },
261
+ "clientExternals": {
262
+ "react": {
263
+ "range": "^18.2.0",
264
+ "owner": "dsh-client-module-static-singleton",
265
+ "nodeGraph": false
266
+ }
267
+ },
268
+ "desktopSharedPackageContracts": [
269
+ {
270
+ "id": "desktop-0.1.5-rc.2-installed-runtime",
271
+ "sourceSha256": "210cacaf3842643ef6c124fd23cb3b67caf7008e97868c733550b56ba7a1e836",
272
+ "packageCount": 241,
273
+ "scope": "historical-ownership-only-not-current-compatibility"
274
+ },
275
+ {
276
+ "id": "desktop-0.1.6-alpha.1-generated-package-set",
277
+ "sourceSha256": "51b25ad67e6b0198edca0ec9baf8ebd06d26217dd33d1a2a4cce7e881382e6ea",
278
+ "packageCount": 246,
279
+ "scope": "historical-ownership-only-not-current-compatibility",
280
+ "descriptorStatus": "not-materialized"
281
+ },
282
+ {
283
+ "id": "desktop-0.2.0-rc.2-signed-runtime",
284
+ "sourceSha256": "29561160fb7825c3968708f5700564f4381a976985fc270ee5dcc42e5a0a3a54",
285
+ "packageCount": 287,
286
+ "scope": "installed-signed-desktop-peer-ownership-only-not-loaded-plugin"
287
+ }
288
+ ]
289
+ },
290
+ "capabilities": [
291
+ {
292
+ "id": "independent-copilot-accounts",
293
+ "required": true,
294
+ "evidenceScope": "synthetic-public-services-native-adapter-and-ui-not-live-oauth-or-provider-access",
295
+ "activation": "managed-only-explicit-account-selector",
296
+ "sourceMarkers": [
297
+ {"file": "AGENTS.md", "marker": "Approved multi-account ownership extension (#297)"},
298
+ {"file": "src/remote.ts", "marker": "...copilotAccountsRemote.descriptors"},
299
+ {"file": "src/copilot-accounts-card.ts", "marker": "removeAccount(accountId: string, expectedRevision: number)"},
300
+ {"file": "src/copilot-account-presentation.ts", "marker": "account data and credentials never travel between surfaces"},
301
+ {"file": "docs/copilot-accounts.md", "marker": "A mutable active-account lookup inside each store method is forbidden"}
302
+ ],
303
+ "tests": [
304
+ {"file": "tests/fixtures/copilot-accounts-host-core.fixture.ts", "name": "never writes a captured A refresh into B after an external selection change"},
305
+ {"file": "tests/fixtures/copilot-accounts-host-core.fixture.ts", "name": "preserves uncertain commit ahead of missing-slot recovery"},
306
+ {"file": "tests/fixtures/copilot-accounts-host-core.fixture.ts", "name": "rechecks externally started canonical authorization before selector CAS"},
307
+ {"file": "tests/fixtures/copilot-accounts-host-core.fixture.ts", "name": "retains canonical admission through polling and cancellation settlement"},
308
+ {"file": "tests/fixtures/copilot-accounts-persistence-core.fixture.ts", "name": "persists independent native credentials and SettingsForms CAS across profile restart without cross-account OAuth writes"},
309
+ {"file": "tests/copilot-accounts-card.spec.ts", "name": "requires a separate confirmation and uses the captured selector revision"},
310
+ {"file": "tests/copilot-accounts-card.spec.ts", "name": "reauthorizes the existing slot without requesting a new account or switching"},
311
+ {"file": "tests/copilot-usage-card.spec.ts", "name": "shows current identity only in details without a Chat switching control"},
312
+ {"file": "tests/copilot-usage-card.spec.ts", "name": "refuses to combine account B identity with account A quota"},
313
+ {"file": "tests/copilot-usage-card.spec.ts", "name": "immediately revokes mounted presentation on a Models mutation and rejects late previous-account results"},
314
+ {"file": "tests/fixtures/remote-core.fixture.ts", "name": "mounts authorization, account, role and search-catalog Remotes on the exact target Client gateway"}
315
+ ]
316
+ },
317
+ {
318
+ "id": "missing-turn-usage-explanation",
319
+ "required": true,
320
+ "sourceMarkers": [
321
+ {"file": "src/turn-usage-evidence.ts", "marker": "github-copilot-turn-usage-evidence"},
322
+ {"file": "src/turn-usage-evidence.ts", "marker": "tail.tokenUsage !== undefined"},
323
+ {"file": "src/turn-usage-notice.ts", "marker": "Turn Usage incomplete"},
324
+ {"file": "src/turn-usage-evidence.ts", "marker": "stateVersion: 2"},
325
+ {"file": "src/request-body-timeout-marker.ts", "marker": "COPILOT_REQUEST_BODY_TIMEOUT"},
326
+ {"file": "src/auto-model-presentation.ts", "marker": "turnUsageEvidenceDefinition"},
327
+ {"file": "scripts/verify-tagged-core.mjs", "marker": "tests/fixtures/turn-usage-core.fixture.ts"}
328
+ ],
329
+ "tests": [
330
+ {"file": "tests/turn-usage-evidence.spec.ts", "name": "explains a recovered local block alongside reported successful steps without summing tokens"},
331
+ {"file": "tests/turn-usage-evidence.spec.ts", "name": "does not label generic overflow, provider errors or ambiguous streams as pre-dispatch"},
332
+ {"file": "tests/turn-usage-evidence.spec.ts", "name": "retains same-attempt timeout coordinates and proven same-step retry completion without filling usage"},
333
+ {"file": "tests/turn-usage-evidence.spec.ts", "name": "keeps incomplete, reordered, interrupted and cross-step retry evidence uncertain"},
334
+ {"file": "tests/turn-usage-notice.spec.ts", "name": "keeps the fixed-height footer compact and opens a bounded nonmodal explanation"},
335
+ {"file": "tests/turn-usage-integration.spec.ts", "name": "explains native missing usage even when the independent selection Remote fails"},
336
+ {"file": "tests/fixtures/turn-usage-core.fixture.ts", "name": "reproduces the finish-only local block and explains it without changing native accounting"},
337
+ {"file": "tests/fixtures/turn-usage-core.fixture.ts", "name": "associates a recorded 408 with its missing sample and exact retry without restoring the native total"},
338
+ {"file": "tests/fixtures/reasoning-presentation-core.fixture.ts", "name": "explains missing turn Usage through native assembly and scoped actions (%s)"}
339
+ ]
340
+ },
341
+ {
342
+ "id": "historical-context-evidence",
343
+ "required": true,
344
+ "evidenceScope": "synthetic-stream-replay-and-additive-ui-not-current-occupancy-or-live-desktop",
345
+ "sourceMarkers": [
346
+ {"file": "src/context-usage.ts", "marker": "isZeroContextUsage"},
347
+ {"file": "src/index.ts", "marker": "installContextEvidence(ctx)"},
348
+ {"file": "src/client.ts", "marker": "registerContextEvidenceUi"},
349
+ {"file": "src/context-evidence.ts", "marker": "githubCopilotContextEvidence"},
350
+ {"file": "docs/copilot-usage.md", "marker": "historical input sample, not current occupancy"}
351
+ ],
352
+ "tests": [
353
+ {"file": "tests/context-usage.spec.ts", "name": "classifies zero only for separate historical evidence without changing the sample"},
354
+ {"file": "tests/context-evidence.spec.ts", "name": "replays failed zero samples without discarding the last valid input sample"},
355
+ {"file": "tests/context-evidence-ui.spec.ts", "name": "labels counts as historical rather than current occupancy in %s"},
356
+ {"file": "tests/fixtures/session-context-core.fixture.ts", "name": "cold-folds native model selections independently without replacing the controller projection"},
357
+ {"file": "tests/preview-route.spec.ts", "name": "forwards native SDK failed zero usage without changing the shared accounting stream"},
358
+ {"file": "tests/preview-route.spec.ts", "name": "preserves native cancellation usage on %s (%s input tokens)"},
359
+ {"file": "tests/preview-route.spec.ts", "name": "preserves native nonzero Anthropic usage before restoring an owned byte-idle failure"},
360
+ {"file": "tests/fixtures/turn-usage-core.fixture.ts", "name": "retains native whole-turn accounting for a sampled %s attempt after successful steps"}
361
+ ]
362
+ },
363
+ {
364
+ "id": "account-quota-composer-usage",
365
+ "required": true,
366
+ "evidenceScope": "synthetic-quota-and-public-remote-ui-contracts-not-live-account-access",
367
+ "sourceMarkers": [
368
+ {"file": "src/index.ts", "marker": "ctx.plugin(GitHubCopilotUsageController)"},
369
+ {"file": "src/client.ts", "marker": "registerCopilotUsageUi"},
370
+ {"file": "src/copilot-usage-ui.ts", "marker": "runtime.useSession(session =>"},
371
+ {"file": "src/remote.ts", "marker": "...copilotUsageRemote.descriptors"},
372
+ {"file": "docs/copilot-usage.md", "marker": "Percentage-only data must not create falsely precise absolute amounts"}
373
+ ],
374
+ "tests": [
375
+ {"file": "tests/copilot-usage-normalize.spec.ts", "name": "never invents precise amounts from a rounded percentage"},
376
+ {"file": "tests/copilot-usage-normalize.spec.ts", "name": "falls back from an absent snapshot reset and invalid UTC metadata to a valid account date"},
377
+ {"file": "tests/copilot-usage-normalize.spec.ts", "name": "does not let invalid optional account metadata suppress a valid snapshot reset"},
378
+ {"file": "tests/copilot-usage-card.spec.ts", "name": "uses native secondary type tokens and a bounded single-line trigger"},
379
+ {"file": "tests/copilot-usage-card.spec.ts", "name": "shows supplied account amounts without an unsupported Session credits section"},
380
+ {"file": "tests/copilot-usage-ui.spec.ts", "name": "uses real Cordis Remote tracing and reversible public SlotRegistry registration"},
381
+ {"file": "tests/copilot-usage-ui.spec.ts", "name": "renders the usage trigger through a required Session selector for %s"},
382
+ {"file": "tests/fixtures/copilot-usage-selector-core.fixture.ts", "name": "renders and reacts to the owning Session on %s"},
383
+ {"file": "tests/scripts/copilot-usage-gateway.test.mjs", "name": "quota Remote reaches the actual Host gateway without startup or signed-out network requests"},
384
+ {"file": "tests/client-bundle.spec.ts", "name": "mounts strict Host result codecs through the published rc.1 client carrier"},
385
+ {"file": "tests/fixtures/remote-core.fixture.ts", "name": "mounts authorization, account, role and search-catalog Remotes on the exact target Client gateway"}
386
+ ]
387
+ },
388
+ {
389
+ "id": "desktop-shared-package-ownership",
390
+ "required": true,
391
+ "evidenceScope": "historical-shared-package-ownership-audit-plus-synthetic-current-contract; no-current-desktop-package-set-proof",
392
+ "sourceMarkers": [
393
+ {"file": "scripts/verify-desktop-package-graph.mjs", "marker": "verifyDesktopPackageGraph"},
394
+ {"file": "scripts/verify-tarball.mjs", "marker": "desktopSharedGraphs"},
395
+ {"file": "tests/fixtures/desktop-shared-package-contracts.json", "marker": "desktop-0.1.6-alpha.1-generated-package-set"},
396
+ {"file": "tsdown.config.ts", "marker": "const externals = new Set(['react'])"},
397
+ {"file": "package.json", "marker": "\"external\": ["}
398
+ ],
399
+ "tests": [
400
+ {"file": "tests/scripts/desktop-package-graph.test.mjs", "name": "retains historical graphs and audits signed rc.2 Desktop peer ownership"},
401
+ {"file": "tests/scripts/desktop-package-graph.test.mjs", "name": "shared graph gate rejects bundled, optional, incompatible, or unaudited host ownership"},
402
+ {"file": "tests/scripts/desktop-package-graph.test.mjs", "name": "client externals stay outside the strict Node peer graph"}
403
+ ]
404
+ },
405
+ {
406
+ "id": "readonly-search-composition-preflight",
407
+ "required": true,
408
+ "evidenceScope": "pre-install-structural-only-not-automatic-cli-enforcement",
409
+ "sourceMarkers": [
410
+ {"file": "scripts/check-search-composition.mjs", "marker": "checkSearchComposition"},
411
+ {"file": "scripts/check-search-composition.mjs", "marker": "PREEXISTING_WEB_ISOLATION"},
412
+ {"file": "README.md", "marker": "does not automatically run this preflight"}
413
+ ],
414
+ "tests": [
415
+ {"file": "tests/scripts/search-composition.test.mjs", "name": "admits a stock top-level official service without mutating or exposing its config"},
416
+ {"file": "tests/scripts/search-composition.test.mjs", "name": "includes home and launcher layers instead of ignoring a late web override"},
417
+ {"file": "tests/scripts/search-composition.test.mjs", "name": "preflight refuses nonempty profile root without initialization, normalization or secret output"},
418
+ {"file": "tests/scripts/search-composition.test.mjs", "name": "real public parsers validate candidate layers and preserve every input file"},
419
+ {"file": "tests/scripts/search-composition.test.mjs", "name": "rejects a web bundle ordered after the Copilot guard"}
420
+ ]
421
+ },
422
+ {
423
+ "id": "session-model-search-routing",
424
+ "required": true,
425
+ "evidenceScope": "development-real-consumer-loader-gateway-and-ui-synthetic",
426
+ "sourceMarkers": [
427
+ {"file": "src/search-routing-host.ts", "marker": "extends TypertRemoteService"},
428
+ {"file": "src/search-routing-remote.ts", "marker": "githubCopilotSearchRouting.providers"},
429
+ {"file": "src/search-routing-policy.ts", "marker": "normalizeWebSearchRouting"},
430
+ {"file": "src/search-tool-routing.ts", "marker": "routeSearchTools"},
431
+ {"file": "src/routed-web.ts", "marker": "extends WebRuntime"},
432
+ {"file": "src/index.ts", "marker": "ctx.provide('githubCopilotSearchRouter'"},
433
+ {"file": "src/web-search-routing-config.ts", "marker": "WEB_SEARCH_ROUTING_SETTINGS_NAMESPACE"},
434
+ {"file": "src/web-search-routing-card.ts", "marker": "data-dsh-web-search-routing"},
435
+ {"file": "src/web-search-routing-card.ts", "marker": "data-dsh-copilot-search-options"},
436
+ {"file": "cordis.patch.yml", "marker": "web: github-copilot-original-web"}
437
+ ],
438
+ "tests": [
439
+ {"file": "tests/search-provider-catalog.spec.ts", "name": "lists only actual facade registrations without availability checks, auth or search"},
440
+ {"file": "tests/scripts/search-provider-gateway.test.mjs", "name": "search catalog Remote reaches actual facade registrations and unloads cleanly"},
441
+ {"file": "tests/web-search-routing-card.spec.ts", "name": "loads one actual provider catalog into both selectors without Copilot-specific Auto labels"},
442
+ {"file": "tests/client-search-inject.spec.ts", "name": "saves only edited hosted-search leaves in the existing namespace without broadening the route allowlist"},
443
+ {"file": "tests/routed-web.spec.ts", "name": "keeps the configured provider for DeepSeek and all other model routes"},
444
+ {"file": "tests/routed-web.spec.ts", "name": "dispatches a router-selected provider by exact registered id"},
445
+ {"file": "tests/routed-web.spec.ts", "name": "retains pre-execute denial and the surrounding execution middleware"},
446
+ {"file": "tests/inline/apply.spec.ts", "name": "uses an independently configured account model for a non-Copilot chat session"},
447
+ {"file": "tests/inline/apply.spec.ts", "name": "discovers an independent search model absent from the static catalog and keeps proof enabled"},
448
+ {"file": "tests/inline/apply.spec.ts", "name": "rejects independent search when managed proof expires during %s"},
449
+ {"file": "tests/inline/apply.spec.ts", "name": "uses the configured account model in fixed mode even for a different Copilot chat model"},
450
+ {"file": "tests/client-bundle.spec.ts", "name": "registers web-search routing in the built bundle detail page, leaving Models for account controls"},
451
+ {"file": "tests/routed-web-loader.spec.ts", "name": "loads the built facade and delegate entries without changing official tools"}
452
+ ]
453
+ },
454
+ {
455
+ "id": "provider-only-search-settings",
456
+ "required": true,
457
+ "evidenceScope": "pinned-settings-and-client-contracts-plus-synthetic-routing-no-live-save-claim",
458
+ "sourceMarkers": [
459
+ {"file": "src/client.ts", "marker": "const settings = ctx.remote.settings"},
460
+ {"file": "src/client.ts", "marker": "const routing = ctx.remote.githubCopilotSearchRouting"},
461
+ {"file": "src/web-search-routing-card.ts", "marker": "Fallback provider"},
462
+ {"file": "src/web-search-routing-card.ts", "marker": "data-dsh-copilot-search-reset"},
463
+ {"file": "src/index.ts", "marker": "function configuredCandidates(cfg: InlineConfig)"}
464
+ ],
465
+ "tests": [
466
+ {"file": "tests/web-search-routing-card.spec.ts", "name": "saves Copilot as %s with one routing write and no model prerequisite"},
467
+ {"file": "tests/web-search-routing-card.spec.ts", "name": "does not rewrite a legacy model override when saving provider routing"},
468
+ {"file": "tests/web-search-routing-card.spec.ts", "name": "never loads account model suggestions to display or save providers"},
469
+ {"file": "tests/web-search-routing-card.spec.ts", "name": "resets a legacy override only through an explicit separate action"},
470
+ {"file": "tests/web-search-routing-card.spec.ts", "name": "explains a real Remote settings-conflict without exposing its raw details"},
471
+ {"file": "tests/client-search-inject.spec.ts", "name": "keeps real mounted drafts and pending saves through parent rerenders (bundle=%s)"},
472
+ {"file": "tests/scripts/search-settings-contract.test.mjs", "name": "published SettingsForms exposes descriptor/mutation APIs without installSection, and module lacks installSettingsSection"},
473
+ {"file": "tests/scripts/search-settings-contract.test.mjs", "name": "real pinned Client namespace lookups require stable capture across render calls"},
474
+ {"file": "tests/scripts/search-settings-contract.test.mjs", "name": "search routing saves both leaves in github-copilot namespace using nested paths"},
475
+ {"file": "tests/scripts/search-settings-contract.test.mjs", "name": "stale routing revisions fail CAS and preserve the last successful settings"},
476
+ {"file": "tests/scripts/search-settings-contract.test.mjs", "name": "hidden legacy searchModel and searchRouting share namespace revision and coordinate CAS"},
477
+ {"file": "tests/scripts/search-settings-contract.test.mjs", "name": "pinned generated Client mutate codecs accept routing ops and a flat namespace revision"},
478
+ {"file": "tests/scripts/search-settings-contract.test.mjs", "name": "native routing edits preserve ordinary config, reject invalid paths and persist across restart"},
479
+ {"file": "tests/inline/apply.spec.ts", "name": "automatically resolves account-owned Responses candidates for %s without a search model"},
480
+ {"file": "tests/inline/apply.spec.ts", "name": "bounds automatic proof to three eligible candidates in deterministic id order"},
481
+ {"file": "tests/inline/apply.spec.ts", "name": "does not discover or probe allowlist-excluded automatic search"}
482
+ ]
483
+ },
484
+ {
485
+ "id": "explicit-deepseek-search-fallback",
486
+ "required": true,
487
+ "evidenceScope": "development-synthetic-no-live-search-claim",
488
+ "sourceMarkers": [
489
+ {"file": "src/config.ts", "marker": "searchFallback: z.union(['none', 'deepseek']).default('deepseek')"},
490
+ {"file": "src/deepseek-search-fallback.ts", "marker": "new native.DeepSeekSearchProvider"},
491
+ {"file": "src/search-routing.ts", "marker": "These are not Copilot search results."}
492
+ ],
493
+ "tests": [
494
+ {"file": "tests/search-routing.spec.ts", "name": "does not spend fallback credits unless explicitly enabled"},
495
+ {"file": "tests/search-routing.spec.ts", "name": "does not fallback when the primary reports cancellation"},
496
+ {"file": "tests/routed-web.spec.ts", "name": "preserves fallback provenance in canonical value, rendered content and web-card metadata"},
497
+ {"file": "tests/deepseek-search-fallback.spec.ts", "name": "checks the actual managed proof after native fallback auth: %s"},
498
+ {"file": "tests/deepseek-search-fallback.spec.ts", "name": "checks continuity after native literal-key auth (permitted=%s)"}
499
+ ]
500
+ },
501
+ {
502
+ "id": "managed-request-budget-and-compaction-policy",
503
+ "required": true,
504
+ "activation": "account-bound-estimated-admission-and-optional-stock-recovery",
505
+ "sourceMarkers": [
506
+ {"file": "src/request-budget.ts", "marker": "calculateRequestBudget"},
507
+ {"file": "src/compaction-pressure.ts", "marker": "installCopilotCompactionPressure"},
508
+ {"file": "src/pre-step-pressure.ts", "marker": "installCopilotPreStepPressure"},
509
+ {"file": "src/pre-step-pressure.ts", "marker": "selection.pending !== null"},
510
+ {"file": "src/agent-compaction.ts", "marker": "presets.serviceFor(agent, 'compaction')"},
511
+ {"file": "src/preview-route.ts", "marker": "COPILOT_CONTEXT_BUDGET_EXCEEDED"},
512
+ {"file": "src/preview-provider.ts", "marker": "inspectRequest"}
513
+ ],
514
+ "tests": [
515
+ {"file": "tests/preview-route.spec.ts", "name": "rejects independent input overflow before model wire, prepared=%s"},
516
+ {"file": "tests/compaction-pressure.spec.ts", "name": "does not substitute a global engine when the bound preset has none"},
517
+ {"file": "tests/pre-step-pressure.spec.ts", "name": "skips pending selection instead of compressing against the previous route"},
518
+ {"file": "tests/fixtures/compaction-pressure-core.fixture.ts", "name": "prevents continuing-step pressure attempts while retaining complete native turn usage, preStep=%s"},
519
+ {"file": "tests/auto-model-host.spec.ts", "name": "uses owning preset recovery availability (%s) for Auto diagnostics"},
520
+ {"file": "tests/fixtures/scoped-compaction-core.fixture.ts", "name": "global pressure finds isolated preset recovery: %j"},
521
+ {"file": "tests/preview-route.spec.ts", "name": "reserves the requested output separately from the independent prompt ceiling"},
522
+ {"file": "tests/preview-route.spec.ts", "name": "uses supported low effort for compaction only without rewriting its output cap"},
523
+ {"file": "tests/preview-route.spec.ts", "name": "refuses an already oversized manual summary without sending or truncating its history"},
524
+ {"file": "tests/preview-route.spec.ts", "name": "keeps output truncation distinct from context overflow and successful summary output"},
525
+ {"file": "tests/preview-route.spec.ts", "name": "isolates concurrent chat success from a rejected compaction admission"}
526
+ ]
527
+ },
528
+ {
529
+ "id": "opt-in-oversized-manual-compaction",
530
+ "required": true,
531
+ "evidenceScope": "synthetic-public-subclass-and-exact-tagged-source-no-live-inference",
532
+ "sourceMarkers": [
533
+ {"file": "src/manual-compaction-recovery.ts", "marker": "extends BasicCompactionEngine"},
534
+ {"file": "src/manual-compaction-recovery.ts", "marker": "COPILOT_MANUAL_RECOVERY_"},
535
+ {"file": "src/background-compaction.ts", "marker": "copilot-compact"},
536
+ {"file": "src/background-compaction.ts", "marker": "this.jobs.wait(jobId"},
537
+ {"file": "src/preview-route.ts", "marker": "recoveryLimits(modelId)"},
538
+ {"file": "docs/manual-compaction-recovery.md", "marker": "separately selected"}
539
+ ],
540
+ "tests": [
541
+ {"file": "tests/manual-compaction-recovery.spec.ts", "name": "reduces an oversized balanced history with bounded complete calls and an unmarked aggregate audit"},
542
+ {"file": "tests/manual-compaction-recovery.spec.ts", "name": "rejects an indivisible span before dispatch and leaves recovery to native failure handling"},
543
+ {"file": "tests/manual-compaction-recovery.spec.ts", "name": "rejects unmatched tool calls before dispatch instead of splitting a call and result"},
544
+ {"file": "tests/background-compaction.spec.ts", "name": "acknowledges before completion and outlives a five-minute caller deadline"},
545
+ {"file": "tests/fixtures/compaction-pressure-core.fixture.ts", "name": "commits beyond the carrier deadline without a model wakeup and keeps status owner-scoped"},
546
+ {"file": "tests/fixtures/compaction-pressure-core.fixture.ts", "name": "recovers oversized manual history with one native transaction and honest multi-call audit"}
547
+ ]
548
+ },
549
+ {
550
+ "id": "account-driven-provider-metadata",
551
+ "required": true,
552
+ "activation": "validated-account-endpoints-and-capabilities",
553
+ "sourceMarkers": [
554
+ {"file": "src/account-model-catalog.ts", "marker": "normalizeAccountModelCatalog"},
555
+ {"file": "src/account-model-catalog.ts", "marker": "supported_endpoints"},
556
+ {"file": "src/account-model-catalog.ts", "marker": "maxInputTokens"},
557
+ {"file": "src/account-model-catalog.ts", "marker": "DUPLICATE_CONFLICT"},
558
+ {"file": "src/preview-provider.ts", "marker": "accountModelFromDescriptor"}
559
+ ],
560
+ "tests": [
561
+ {"file": "tests/account-model-catalog.spec.ts", "name": "routes an unseen identifier using %s rather than its model name"},
562
+ {"file": "tests/account-model-catalog.spec.ts", "name": "uses advertised Responses when an older local catalog says GPT-6 is Completions"},
563
+ {"file": "tests/account-model-catalog.spec.ts", "name": "accepts new Gemini and Sol Fast IDs without adding model-specific rules"},
564
+ {"file": "tests/account-model-catalog.spec.ts", "name": "prefers native API only when the server advertises the matching endpoint"},
565
+ {"file": "tests/account-model-catalog.spec.ts", "name": "uses a caller-proven account ID only for an absent policy and records the evidence source"},
566
+ {"file": "tests/account-model-catalog.spec.ts", "name": "preserves context, input and output limits as different facts"},
567
+ {"file": "tests/account-model-catalog.spec.ts", "name": "deduplicates equal IDs but rejects all versions of a conflicting duplicate"},
568
+ {"file": "tests/account-model-catalog.spec.ts", "name": "keeps only safe endpoint evidence and never extracts supplied URLs, headers, or secrets"},
569
+ {"file": "tests/account-model-catalog.spec.ts", "name": "normalizes only owned data and freezes all nested public output"},
570
+ {"file": "tests/account-model-catalog.spec.ts", "name": "keeps image support when valid document media types accompany image types"},
571
+ {"file": "tests/account-model-catalog.spec.ts", "name": "keeps a text model available without claiming images when only document media types are explicit"}
572
+ ]
573
+ },
574
+ {
575
+ "id": "account-scoped-discovery-snapshot",
576
+ "required": true,
577
+ "activation": "bounded-account-freshness-with-display-only-stale-metadata",
578
+ "sourceMarkers": [
579
+ {"file": "src/account-model-source.ts", "marker": "createAccountModelSource"},
580
+ {"file": "src/account-model-source.ts", "marker": "redirect: 'error'"},
581
+ {"file": "src/account-model-source.ts", "marker": "assertAuthCurrent"},
582
+ {"file": "src/account-model-source.ts", "marker": "ACCOUNT_MODEL_CATALOG_LIMITS.maxBytes"}
583
+ ],
584
+ "tests": [
585
+ {"file": "tests/account-model-source.spec.ts", "name": "is lazy, uses exact trusted root GET with non-forwarding redirects, and freezes only public snapshot data"},
586
+ {"file": "tests/account-model-source.spec.ts", "name": "coalesces force and ordinary callers while one request is in flight"},
587
+ {"file": "tests/account-model-source.spec.ts", "name": "does not let a cancelled waiter abort another waiter"},
588
+ {"file": "tests/account-model-source.spec.ts", "name": "cancels orphaned work when all waiters abort and does not publish a late result"},
589
+ {"file": "tests/account-model-source.spec.ts", "name": "does not fall back to an old cached account after a forced refresh failure"},
590
+ {"file": "tests/account-model-source.spec.ts", "name": "invalidate is network-free and an invalidated HTTP result cannot overwrite a newer load"},
591
+ {"file": "tests/account-model-source.spec.ts", "name": "bounds timeout during %s even if the dependency ignores cancellation"},
592
+ {"file": "tests/account-model-source.spec.ts", "name": "enforces cumulative UTF-8 byte limits rather than trusting content length"},
593
+ {"file": "tests/account-model-source.spec.ts", "name": "rejects malformed UTF-8 and clears the reader without preserving response contents"},
594
+ {"file": "tests/account-model-source.spec.ts", "name": "refuses sensitive header override %s"},
595
+ {"file": "tests/account-model-source.spec.ts", "name": "defaults to a day-long metadata cache and a five-minute passive failure cooldown"},
596
+ {"file": "tests/account-model-source.spec.ts", "name": "force bypasses the cooldown, concurrent callers coalesce, and invalidation resets it"},
597
+ {"file": "tests/account-model-source.spec.ts", "name": "retains same-generation display metadata across TTL expiry, loading, and fetch failure without fresh reuse"}
598
+ ]
599
+ },
600
+ {
601
+ "id": "public-adapter-account-model-route",
602
+ "required": true,
603
+ "activation": "published-adapter-and-native-sdk",
604
+ "sourceMarkers": [
605
+ {"file": "src/preview-route.ts", "marker": "extends PiAiAdapter"},
606
+ {"file": "src/preview-route.ts", "marker": "modelErrors: new Map<string, string>()"},
607
+ {"file": "src/preview-route.ts", "marker": "ctx.llm.registerAdapter"},
608
+ {"file": "src/preview-route.ts", "marker": "createAccountModelSource"},
609
+ {"file": "src/model-exclusions.ts", "marker": "class ModelExclusionTurns"},
610
+ {"file": "src/remote.ts", "marker": "githubCopilot.setModelExcluded"},
611
+ {"file": "src/preview-provider.ts", "marker": "native.streamSimple"},
612
+ {"file": "src/auto-assessment-evidence.ts", "marker": "SemanticAssessmentEvidenceSchema"},
613
+ {"file": "src/auto-task-assessment.ts", "marker": "performance.now() >= deadline"},
614
+ {"file": "src/request-body-timeout-marker.ts", "marker": "COPILOT_REQUEST_BODY_TIMEOUT"},
615
+ {"file": "src/request-body-evidence.ts", "marker": "REQUEST_BODY_EVIDENCE_LIMITS"},
616
+ {"file": "src/request-upload-evidence.ts", "marker": "createRequestUploadObserver"},
617
+ {"file": "src/copilot-stream-liveness.ts", "marker": "COPILOT_STREAM_IDLE_TIMEOUT"},
618
+ {"file": "src/preview-route.ts", "marker": "Math.min(idle * 2, 2_147_483_647)"},
619
+ {"file": "src/response-error-body.ts", "marker": "readResponseErrorJson"},
620
+ {"file": "src/pi-provider-bridge.ts", "marker": "PiStreamPublicCompatibility"}
621
+ ],
622
+ "tests": [
623
+ {"file": "tests/auto-task-assessment.spec.ts", "name": "rejects late results even before the scheduled timeout callback runs"},
624
+ {"file": "tests/auto-task-assessment.spec.ts", "name": "aborts preparation at the monotonic deadline before an adapter can start"},
625
+ {"file": "tests/preview-route.spec.ts", "name": "does not dispatch an auxiliary request when native preparation outlasts a delayed deadline timer"},
626
+ {"file": "tests/preview-provider.spec.ts", "name": "checks the auxiliary deadline immediately before native %s Fetch and releases the lease"},
627
+ {"file": "tests/auto-task-classifier.spec.ts", "name": "prefers advertised reasoning-off candidates without inferring latency or model-name capabilities"},
628
+ {"file": "tests/auto-selection-explanation.spec.ts", "name": "distinguishes continuity and category pool from semantic model merit (%s)"},
629
+ {"file": "tests/preview-provider.spec.ts", "name": "routes an unseen ID through published Core and native %s with Bearer auth"},
630
+ {"file": "tests/preview-provider.spec.ts", "name": "takes protocol and independent input limits from descriptor evidence rather than the local GPT-6 catalog"},
631
+ {"file": "tests/preview-provider.spec.ts", "name": "does not infer controls from a name or unfamiliar advertised effort labels"},
632
+ {"file": "tests/preview-route.spec.ts", "name": "resolves and prepares a validated account model with the actual Core profile diagnostics contract"},
633
+ {"file": "tests/inline/apply.spec.ts", "name": "delegates Anthropic in-band system authority before probing at position %s"},
634
+ {"file": "tests/preview-route.spec.ts", "name": "discovers mixed and unseen account models without model-name routing rules"},
635
+ {"file": "tests/preview-route.spec.ts", "name": "uses unmodified stock LlmRuntime preparation and leaves canonical model registration alone"},
636
+ {"file": "tests/fixtures/model-exclusions-core.fixture.ts", "name": "keeps native tool steps in an admitted turn after exclusion and enforces exclusion on the next turn (%s)"},
637
+ {"file": "tests/authorization-controller.spec.ts", "name": "answers a narrow single-model save without reading credentials or enumerating sessions"},
638
+ {"file": "tests/preview-route.spec.ts", "name": "replays opaque reasoning and tool-call identities through the native adapter on a second turn"},
639
+ {"file": "tests/preview-route.spec.ts", "name": "enriches only a verified 408 while preserving native failure classification and retry ownership"},
640
+ {"file": "tests/preview-provider.spec.ts", "name": "observes verified %s timeout without changing bytes, Response, native retries or credential ownership"},
641
+ {"file": "tests/request-body-timeout.spec.ts", "name": "bounds stalled response observation and gives cancellation priority"},
642
+ {"file": "tests/request-upload-evidence.spec.ts", "name": "observes real Node Fetch without changing body, signal, Response, or installing a dispatcher"},
643
+ {"file": "tests/request-upload-evidence.spec.ts", "name": "keeps simultaneous scopes independent and ignores foreign broadcasts"},
644
+ {"file": "tests/preview-provider.spec.ts", "name": "records real local Fetch stages on a verified native timeout and disposes the observer on settlement"},
645
+ {"file": "tests/auto-task-assessment.spec.ts", "name": "captures bounded phase evidence for a timed-out partial result without treating it as a validated task"},
646
+ {"file": "tests/auto-task-evidence.spec.ts", "name": "captures monotonic auxiliary phases without text, accounting or late mutation"},
647
+ {"file": "tests/request-body-evidence.spec.ts", "name": "measures a nine MiB native-style inline image without exposing or decoding it"},
648
+ {"file": "tests/preview-provider.spec.ts", "name": "captures final %s callback bytes and dispatch-local header time before clone observation"},
649
+ {"file": "tests/copilot-stream-liveness.spec.ts", "name": "does not count consumer think time as provider idle"},
650
+ {"file": "tests/copilot-stream-adapter.spec.ts", "name": "reproduces native semantic timeout despite ongoing SSE bytes"},
651
+ {"file": "tests/copilot-stream-adapter.spec.ts", "name": "allows real late output after the original semantic-idle boundary"},
652
+ {"file": "tests/copilot-stream-adapter.spec.ts", "name": "retains a native hard semantic deadline for an endless heartbeat stream"},
653
+ {"file": "tests/preview-route.spec.ts", "name": "restores byte-idle failures as TIMEOUT without adding a native wire attempt"},
654
+ {"file": "tests/preview-route.spec.ts", "name": "excludes actual Core consumer think time despite eager SDK event forwarding"},
655
+ {"file": "tests/pi-provider-bridge.spec.ts", "name": "preserves the stream object rather than copying or replacing its private queue"},
656
+ {"file": "tests/pi-provider-bridge.spec.ts", "name": "passes the checked simple input through and rejects unsupported advanced entry without I/O"}
657
+ ]
658
+ },
659
+ {
660
+ "id": "managed-model-generation-and-lifetime",
661
+ "required": true,
662
+ "sourceMarkers": [
663
+ {"file": "src/preview-route.ts", "marker": "COPILOT_PREVIEW_METADATA_STALE"},
664
+ {"file": "src/preview-route.ts", "marker": "copilotEntitlementKey"},
665
+ {"file": "src/preview-route.ts", "marker": "credentials/record-updated"},
666
+ {"file": "src/preview-route.ts", "marker": "renewBeforeLease"},
667
+ {"file": "src/account-model-auth.ts", "marker": "minOAuthValidityMs: ACCOUNT_MODEL_AUTH_MIN_VALIDITY_MS"}
668
+ ],
669
+ "tests": [
670
+ {"file": "tests/preview-route.spec.ts", "name": "renews warm metadata before native OAuth refresh invalidates a new %s lease"},
671
+ {"file": "tests/preview-route.spec.ts", "name": "applies the warm renewal boundary with %i milliseconds remaining"},
672
+ {"file": "tests/preview-route.spec.ts", "name": "joins a warm renewal flight across catalog and model callers"},
673
+ {"file": "tests/preview-route.spec.ts", "name": "joins an existing metadata HTTP flight when token validity crosses the renewal threshold"},
674
+ {"file": "tests/preview-route.spec.ts", "name": "bounds a warm renewal %s without model wire or cooldown bypass"},
675
+ {"file": "tests/preview-route.spec.ts", "name": "persists warm-refresh entitlement removal without dispatching the formerly allowed model"},
676
+ {"file": "tests/preview-route.spec.ts", "name": "does not rebind or replay an old prepared lease after it crosses the native refresh window"},
677
+ {"file": "tests/preview-route.spec.ts", "name": "requires rediscovery when an already prepared token rotates without a credential notification"},
678
+ {"file": "tests/preview-route.spec.ts", "name": "rejects silent same-token entitlement removal before dispatch and requires rediscovery"},
679
+ {"file": "tests/preview-route.spec.ts", "name": "does not serve expired catalog facts or prepared model snapshots"},
680
+ {"file": "tests/preview-route.spec.ts", "name": "invalidates prepared model metadata on an explicit force-discovery without changing the selected ID"},
681
+ {"file": "tests/preview-route.spec.ts", "name": "cancels an in-flight SDK request on disposal without deleting the shared grant"},
682
+ {"file": "tests/preview-route.spec.ts", "name": "allows Core retry middleware to re-dispatch the same prepared adapter snapshot"},
683
+ {"file": "tests/preview-route.spec.ts", "name": "does not let a retry cross to another account after its first attempt"},
684
+ {"file": "tests/preview-route.spec.ts", "name": "refuses a duplicate route through the public registry without taking over the existing adapter"},
685
+ {"file": "tests/preview-route.spec.ts", "name": "withdraws only its own route and refuses an already-prepared call after disposal"}
686
+ ]
687
+ },
688
+ {
689
+ "id": "managed-responses-replay-scope-isolation",
690
+ "required": true,
691
+ "scope": "managed-github-copilot-preview-responses-only",
692
+ "liveEndpointAcceptance": "not-verified",
693
+ "classificationOnlyFollowup": true,
694
+ "recognizedUncoded401Messages": [
695
+ "input item ID does not belong to this connection",
696
+ "input item does not belong to this connection"
697
+ ],
698
+ "sourceMarkers": [
699
+ {"file": "src/responses-replay-compat.ts", "marker": "normalizeCopilotResponsesPayload"},
700
+ {"file": "src/responses-replay-compat.ts", "marker": "ResponsesRetryReplay"},
701
+ {"file": "src/responses-replay-compat.ts", "marker": "isCopilotInputItemScopeError"},
702
+ {"file": "src/responses-replay-compat.ts", "marker": "input item does not belong to this connection"},
703
+ {"file": "src/preview-provider.ts", "marker": "onPayload"},
704
+ {"file": "src/preview-route.ts", "marker": "onReplayFailure(error)"}
705
+ ],
706
+ "tests": [
707
+ {"file": "tests/preview-provider.spec.ts", "name": "normalizes only wire item IDs after native serialization while preserving durable replay and tool pairing"},
708
+ {"file": "tests/preview-provider.spec.ts", "name": "sends identical normalized bytes after two HTTP 408s (empty reasoning: %s)"},
709
+ {"file": "tests/preview-provider.spec.ts", "name": "omits an empty SDK reasoning signature while preserving opaque reasoning and tool pairing"},
710
+ {"file": "tests/responses-replay-compat.spec.ts", "name": "omits only explicitly empty completed reasoning shells without changing history or tool pairing"},
711
+ {"file": "tests/responses-replay-compat.spec.ts", "name": "does not mistake partial, opaque, nonempty or unknown reasoning data for an empty shell"},
712
+ {"file": "tests/responses-replay-compat.spec.ts", "name": "reuses omitted empty shells only from the exact HTTP-408 snapshot"},
713
+ {"file": "tests/responses-replay-compat.spec.ts", "name": "refuses a new step, session, signal, cold resume, stale entry and concurrent requests"},
714
+ {"file": "tests/preview-route.spec.ts", "name": "clears only the matching Session retry cache on %s across fresh Core preparations"},
715
+ {"file": "tests/preview-route.spec.ts", "name": "classifies \"$message\" in a $envelope Responses 401 locally and reuses the same credential without discovery or refresh"},
716
+ {"file": "tests/preview-route.spec.ts", "name": "does not abort a parallel native request when another dispatch receives a replay-scope 401: %s"},
717
+ {"file": "tests/preview-route.spec.ts", "name": "does not retain a replay-scope failure across independent dispatches of one native prepared lease: %s"}
718
+ ]
719
+ },
720
+ {
721
+ "id": "managed-explicit-replay-recovery",
722
+ "required": true,
723
+ "scope": "managed-responses-initiating-session-only-explicit-loss-confirmation",
724
+ "liveEndpointAcceptance": "diagnostic-ablation-only-not-installed-feature-acceptance",
725
+ "sourceMarkers": [
726
+ {"file": "src/replay-recovery.ts", "marker": "class ReplayRecoveryStore"},
727
+ {"file": "src/replay-recovery-host.ts", "marker": "extends TypertRemoteService"},
728
+ {"file": "src/replay-recovery-host.ts", "marker": "COPILOT_REPLAY_RECOVERY_TURN_ACTIVE"},
729
+ {"file": "src/replay-recovery-remote.ts", "marker": "githubCopilotReplayRecovery.setEnabled"},
730
+ {"file": "src/replay-recovery-remote.ts", "marker": "githubCopilotReplayRecovery.authorize"},
731
+ {"file": "src/replay-recovery-ui.ts", "marker": "Accept loss and authorize"}
732
+ ],
733
+ "tests": [
734
+ {"file": "tests/replay-recovery.spec.ts", "name": "keeps default replay and requires a revision-bound confirmation"},
735
+ {"file": "tests/replay-recovery.spec.ts", "name": "preserves source, fresh reasoning, tools, other models and other owners"},
736
+ {"file": "tests/replay-recovery-host.spec.ts", "name": "requires the native initiating session and signal, rejects active-turn writes and revokes late requests"},
737
+ {"file": "tests/replay-recovery.spec.ts", "name": "admits only the next matching native turn, including its steps and retries"},
738
+ {"file": "tests/replay-recovery-ui.spec.ts", "name": "automatically shows evidence but requires explicit %s consent, without sending"},
739
+ {"file": "tests/replay-recovery-ui.spec.ts", "name": "is absent normally, reads on settled turns without polling and resets dismissal only for new evidence"},
740
+ {"file": "tests/preview-route.spec.ts", "name": "offers exact failed replay only to its initiating session and recovers after explicit confirmation"},
741
+ {"file": "tests/fixtures/remote-core.fixture.ts", "name": "binds explicit replay recovery through native Client and %s Host gateways"}
742
+ ]
743
+ },
744
+ {
745
+ "id": "managed-http-auth-rejection-recovery",
746
+ "required": true,
747
+ "sourceMarkers": [
748
+ {"file": "src/preview-provider.ts", "marker": "response.status === 401"},
749
+ {"file": "src/preview-route.ts", "marker": "COPILOT_PREVIEW_AUTH_RECOVERY_COOLDOWN"},
750
+ {"file": "src/account-model-auth.ts", "marker": "renewRejectedCredential"},
751
+ {"file": "src/account-model-auth.ts", "marker": "COPILOT_ACCOUNT_TOKEN_REJECTED"}
752
+ ],
753
+ "tests": [
754
+ {"file": "tests/preview-route.spec.ts", "name": "uses fresh OAuth after sign-out and %s sign-in with the same conversation history"},
755
+ {"file": "tests/preview-route.spec.ts", "name": "handles actual HTTP %i without replay and renews only a rejected token on the next request"},
756
+ {"file": "tests/preview-route.spec.ts", "name": "shares rejected-token renewal across concurrent new callers without replaying failed wires"},
757
+ {"file": "tests/preview-route.spec.ts", "name": "bounds repeated 401 recovery after a %s native renewal"},
758
+ {"file": "tests/preview-route.spec.ts", "name": "ignores a late HTTP 401 after the current %s changes"},
759
+ {"file": "tests/preview-route.spec.ts", "name": "ignores an old HTTP 401 after source publication but before the owner adopts the new snapshot"},
760
+ {"file": "tests/account-model-auth.spec.ts", "name": "does not persist a projected expiration when rejected-token renewal fails"},
761
+ {"file": "tests/account-model-auth.spec.ts", "name": "does not expire or refresh a newer same-account token observed under the record lock"}
762
+ ]
763
+ },
764
+ {
765
+ "id": "account-discovery-native-oauth",
766
+ "required": true,
767
+ "sourceMarkers": [
768
+ {"file": "src/account-model-auth.ts", "marker": "models.getAuth(GITHUB_COPILOT_PROVIDER_ID"},
769
+ {"file": "src/account-model-auth.ts", "marker": "auth: { oauth: guardedOAuth }"},
770
+ {"file": "src/account-model-auth.ts", "marker": "trustedGitHubCopilotBaseUrl"}
771
+ ],
772
+ "tests": [
773
+ {"file": "tests/account-model-auth.spec.ts", "name": "resolves provider OAuth without a model catalog entry or environment fallback"},
774
+ {"file": "tests/account-model-auth.spec.ts", "name": "refreshes through native Models and persists only the canonical credential"},
775
+ {"file": "tests/account-model-auth.spec.ts", "name": "rejects account replacement during refresh without overwriting the replacement"},
776
+ {"file": "tests/account-model-auth.spec.ts", "name": "validates credential-specific Enterprise endpoints and rejects token-controlled foreign origins"},
777
+ {"file": "tests/account-model-auth.spec.ts", "name": "sanitizes credential backend failures and keeps account identity independent of token rotation"}
778
+ ]
779
+ },
780
+ {
781
+ "id": "responses-public-reasoning-and-safe-replay-delegation",
782
+ "required": true,
783
+ "sourceMarkers": [
784
+ {"file": "src/wire.ts", "marker": "response.reasoning_summary_text.delta"},
785
+ {"file": "src/responses-reasoning.ts", "marker": "request.reasoningEffort ?? profile?.reasoning"},
786
+ {"file": "src/serialize.ts", "marker": "reasoning: { effort: reasoning.effort, summary: reasoning.summary }"},
787
+ {"file": "src/serialize.ts", "marker": "message.source.replayState"},
788
+ {"file": "src/index.ts", "marker": "hasResponsesReplayContext(request.messages)"}
789
+ ],
790
+ "tests": [
791
+ {"file": "tests/inline/apply.spec.ts", "name": "transmits the selected effort and preserves the returned public summary"},
792
+ {"file": "tests/inline/apply.spec.ts", "name": "keeps preview conversations on their registered native adapter before any probe"},
793
+ {"file": "tests/inline/apply.spec.ts", "name": "delegates opaque assistant replay state without serializing its fields"},
794
+ {"file": "tests/inline/serialize.spec.ts", "name": "refuses the actual Core source.replayState location without opening its payload"},
795
+ {"file": "tests/responses-reasoning.spec.ts", "name": "honors request effort before the profile default and asks for a public summary"},
796
+ {"file": "tests/responses-reasoning.spec.ts", "name": "does not force a reasoning mode without a selection"},
797
+ {"file": "tests/responses-reasoning.spec.ts", "name": "preserves the Core off omission rather than claiming to disable server reasoning"},
798
+ {"file": "tests/preview-provider.spec.ts", "name": "does not synthesize none or disabled thinking by default for %s"},
799
+ {"file": "tests/preview-route.spec.ts", "name": "preserves the native enabled reasoning setting %s and summary request"}
800
+ ]
801
+ },
802
+ {
803
+ "id": "replay-safe-copilot-reasoning-presentation",
804
+ "required": true,
805
+ "activation": "optional-guarded-client-seam",
806
+ "sourceMarkers": [
807
+ {"file": "src/client.ts", "marker": "ctx.inject(['uiConversation', 'slots']"},
808
+ {"file": "src/reasoning-presentation.ts", "marker": "projectReasoningPresentation"},
809
+ {"file": "src/reasoning-presentation.ts", "marker": "github-copilot-assistant-origin"}
810
+ ],
811
+ "tests": [
812
+ {"file": "tests/reasoning-presentation.spec.ts", "name": "removes fifteen empty rows without reading or changing encrypted durable replay material"},
813
+ {"file": "tests/reasoning-presentation.spec.ts", "name": "reconstructs cold/prepended history without step/start and never borrows a current route"},
814
+ {"file": "tests/reasoning-presentation.spec.ts", "name": "retires on any third-party override conflict and resumes only when safe"},
815
+ {"file": "tests/client.spec.ts", "name": "does not delay authorization while the optional reasoning presentation waits for Core services"},
816
+ {"file": "tests/fixtures/reasoning-presentation-core.fixture.ts", "name": "renders answers and public summaries without the fifteen empty native Think rows"}
817
+ ]
818
+ },
819
+ {
820
+ "id": "client-module-loader-handoff",
821
+ "required": true,
822
+ "sourceMarkers": [
823
+ {"file": "tsdown.config.ts", "marker": "window.__ModuleLoader__.load"},
824
+ {"file": "tsdown.config.ts", "marker": "return module.exports"}
825
+ ],
826
+ "tests": [
827
+ {"file": "tests/client-bundle.spec.ts", "name": "hands off the built client with the exact plugin id and injected require"},
828
+ {"file": "tests/client-bundle.spec.ts", "name": "materializes the built client apply and inject exports"}
829
+ ]
830
+ },
831
+ {
832
+ "id": "strict-remote-result-codecs",
833
+ "required": true,
834
+ "sourceMarkers": [
835
+ {"file": "src/remote.ts", "marker": "dsh-github-copilot#GitHubCopilotAuthorizationView"},
836
+ {"file": "src/remote.ts", "marker": "strictRemoteCodec"},
837
+ {"file": "src/remote-codec.ts", "marker": "mode: 'strict' as const, typeSymbol, schema, create: (): Schema => schema"},
838
+ {"file": "src/remote.ts", "marker": "accountModels: z.object"}
839
+ ],
840
+ "tests": [
841
+ {"file": "tests/client-bundle.spec.ts", "name": "mounts strict Host result codecs through the published rc.1 client carrier"},
842
+ {"file": "tests/account-model-remote.spec.ts", "name": "registers %s with the same strict safe authorization view codec"},
843
+ {"file": "tests/account-model-remote.spec.ts", "name": "rejects private or unrequested discovery field %s"},
844
+ {"file": "tests/account-model-remote.spec.ts", "name": "rejects secret-bearing model entries and oversized model lists"},
845
+ {"file": "tests/migration-status.spec.ts", "name": "keeps noargs Remote migration evidence separate and ordinary status unchanged"},
846
+ {"file": "tests/migration-status.spec.ts", "name": "uses the real public Session projection registry for pending versus old request headers"},
847
+ {"file": "tests/migration-status.spec.ts", "name": "reads only named public leaves, not private titles history credentials or settings"}
848
+ ]
849
+ },
850
+ {
851
+ "id": "authorization-service-bootstrap",
852
+ "required": true,
853
+ "sourceMarkers": [
854
+ {"file": "src/index.ts", "marker": "ctx.get('authorization', false)"},
855
+ {"file": "src/index.ts", "marker": "ctx.plugin(AuthorizationService)"},
856
+ {"file": "src/index.ts", "marker": "ctx.inject(integrationInject"}
857
+ ],
858
+ "tests": [
859
+ {"file": "tests/loader-composition.spec.ts", "name": "bootstraps authorization in the rc.2 web profile before activating the integration"},
860
+ {"file": "tests/loader-composition.spec.ts", "name": "reuses the rc.1 authorization service without duplicate registration"}
861
+ ]
862
+ },
863
+ {
864
+ "id": "models-provider-card-authorization",
865
+ "required": true,
866
+ "sourceMarkers": [
867
+ {"file": "src/client.ts", "marker": "settings.models.provider-card"},
868
+ {"file": "src/client.ts", "marker": "copyAuthorizationCode"},
869
+ {"file": "src/client.ts", "marker": "data-dsh-github-copilot-device-code"},
870
+ {"file": "src/external-link.ts", "marker": "externalLinkTarget"},
871
+ {"file": "src/client.ts", "marker": "data-dsh-github-copilot-verification-url"},
872
+ {"file": "src/authorization-controller.ts", "marker": "GitHubCopilotAuthorizationController"},
873
+ {"file": "src/authorization-controller.ts", "marker": "INTERACTION_NOTICE_OBSERVED"}
874
+ ],
875
+ "tests": [
876
+ {"file": "tests/client.spec.ts", "name": "exposes a device code only while authorization is in flight"},
877
+ {"file": "tests/client.spec.ts", "name": "renders the device code prominently with an explicit copy action"},
878
+ {"file": "tests/client.spec.ts", "name": "selects the supported desktop navigation handoff without opening during render: %j"},
879
+ {"file": "tests/client-bundle.spec.ts", "name": "renders the built verification handoff and clears expired URLs (desktop: %s)"},
880
+ {"file": "tests/compact-account.spec.ts", "name": "omits compatibility guidance even with Manage open: $phase"},
881
+ {"file": "tests/compact-account.spec.ts", "name": "retains explicit legacy repair without the removed compatibility disclosure"},
882
+ {"file": "tests/client.spec.ts", "name": "announces successful and failed copy outcomes accessibly"},
883
+ {"file": "tests/client.spec.ts", "name": "copies the exact one-time code through the supplied clipboard writer"},
884
+ {"file": "tests/client.spec.ts", "name": "mounts its Remote contribution and registers the rc.1 provider-card seat"},
885
+ {"file": "tests/authorization-controller.spec.ts", "name": "signs in through the built-in flow without recreating a canonical profile"},
886
+ {"file": "tests/authorization-controller.spec.ts", "name": "clears the one-time device code immediately when sign-in is cancelled"},
887
+ {"file": "tests/authorization-controller.spec.ts", "name": "reports only the safe begin-stage diagnostic and never logs rejected values"},
888
+ {"file": "tests/authorization-controller.spec.ts", "name": "reports the latest observed milestone for a %s rejection"},
889
+ {"file": "tests/authorization-controller.spec.ts", "name": "does not misreport a synthetic credential-commit rejection as an observed commit"},
890
+ {"file": "tests/authorization-controller.spec.ts", "name": "clears the ephemeral authorization milestone after cancellation and success"}
891
+ ]
892
+ },
893
+ {
894
+ "id": "canonical-owner-preservation",
895
+ "required": true,
896
+ "sourceMarkers": [
897
+ {"file": "src/authorization-controller.ts", "marker": "Existing Core/user profiles keep"},
898
+ {"file": "src/authorization-controller.ts", "marker": "path: ['providers', GITHUB_COPILOT_PROVIDER_ID, 'compat', 'supportsStrictMode']"}
899
+ ],
900
+ "tests": [
901
+ {"file": "tests/authorization-controller.spec.ts", "name": "preserves canonical models and all unrelated profile fields instead of projecting the companion catalog"},
902
+ {"file": "tests/authorization-controller.spec.ts", "name": "keeps a missing canonical profile intentionally absent for new account models"},
903
+ {"file": "tests/authorization-controller.spec.ts", "name": "does not reorder or replace canonical models when account IDs are duplicated or reordered"},
904
+ {"file": "tests/authorization-controller.spec.ts", "name": "does not add or remove canonical models based on a conflicting local GPT-6 entry"},
905
+ {"file": "tests/authorization-controller.spec.ts", "name": "does not judge a user route protocol using another catalog copy"},
906
+ {"file": "tests/authorization-controller.spec.ts", "name": "signs out by deleting only the llm-pi-ai Copilot record and keeps the route profile"}
907
+ ]
908
+ },
909
+ {
910
+ "id": "copilot-optional-tool-arguments",
911
+ "required": true,
912
+ "sourceMarkers": [
913
+ {"file": "src/tool-schema-compat.ts", "marker": "assembly.variables.provider !== GITHUB_COPILOT_PROVIDER_ID"},
914
+ {"file": "src/tool-schema-compat.ts", "marker": "ESCALATION_FIELDS"},
915
+ {"file": "src/tool-schema-compat.ts", "marker": "GOAL_UPDATE_TOOL_NAME"},
916
+ {"file": "scripts/verify-upstream-baseline.mjs", "marker": "baseline.strictModeCompat === 'route-switch'"}
917
+ ],
918
+ "tests": [
919
+ {"file": "tests/tool-schema-compat.spec.ts", "name": "removes escalation properties and required entries only for Copilot"},
920
+ {"file": "tests/tool-schema-compat.spec.ts", "name": "turns update_goal into action-specific schemas only for Copilot"},
921
+ {"file": "tests/tool-schema-compat.spec.ts", "name": "preserves every schema for non-Copilot providers"},
922
+ {"file": "tests/tool-schema-compat.spec.ts", "name": "filters a real Cordis waterfall after model selection supplies the provider"},
923
+ {"file": "tests/authorization-controller.spec.ts", "name": "preserves configured Anthropic and OpenAI models while repairing only strict mode"},
924
+ {"file": "tests/fixtures/controlled-core-per-model-api.fixture.ts", "name": "applies route strict-mode compatibility only to supported model protocols"}
925
+ ]
926
+ },
927
+ {
928
+ "id": "selected-account-route-protocol-facts",
929
+ "required": true,
930
+ "sourceMarkers": [
931
+ {"file": "src/current-provider.ts", "marker": "routeFacts"},
932
+ {"file": "src/preview-route.ts", "marker": "source.readSnapshot()"},
933
+ {"file": "src/preview-provider.ts", "marker": "api: descriptor.api"}
934
+ ],
935
+ "tests": [
936
+ {"file": "tests/current-provider.spec.ts", "name": "uses the owning account snapshot for an arbitrary new model on %s"},
937
+ {"file": "tests/current-provider.spec.ts", "name": "does not fall back to the local GPT-6 catalog when account evidence expires"},
938
+ {"file": "tests/current-provider.spec.ts", "name": "copies only protocol and endpoint leaves without exposing private snapshot fields"},
939
+ {"file": "tests/current-provider.spec.ts", "name": "does not claim an unmounted route belongs to the plugin"}
940
+ ]
941
+ },
942
+ {
943
+ "id": "existing-grant-legacy-profile-repair",
944
+ "required": true,
945
+ "sourceMarkers": [
946
+ {"file": "src/index.ts", "marker": "ensureGitHubCopilotProviderProfile(ctx)"},
947
+ {"file": "src/authorization-controller.ts", "marker": "validateGrant(record)"},
948
+ {"file": "src/authorization-controller.ts", "marker": "providerSupportsStrictMode"}
949
+ ],
950
+ "tests": [
951
+ {"file": "tests/loader-composition.spec.ts", "name": "repairs an existing valid Copilot grant during Host startup"},
952
+ {"file": "tests/authorization-controller.spec.ts", "name": "repairs a pre-existing grant with an empty Copilot route"},
953
+ {"file": "tests/authorization-controller.spec.ts", "name": "is idempotent when the existing resolved Copilot route matches the account catalog"},
954
+ {"file": "tests/authorization-controller.spec.ts", "name": "does not install global protocols or headers for new account models"}
955
+ ]
956
+ },
957
+ {
958
+ "id": "read-only-status-and-explicit-discovery",
959
+ "required": true,
960
+ "sourceMarkers": [
961
+ {"file": "src/authorization-controller.ts", "marker": "accountModelsView"},
962
+ {"file": "src/authorization-controller.ts", "marker": "async discoverModels()"},
963
+ {"file": "src/remote.ts", "marker": "'status', 'reconcile', 'discoverModels', 'ensureModels', 'start', 'cancel', 'signOut'"}
964
+ ],
965
+ "tests": [
966
+ {"file": "tests/authorization-controller.spec.ts", "name": "reads status repeatedly without repairing, authorizing or making network calls"},
967
+ {"file": "tests/authorization-controller.spec.ts", "name": "exposes only owned model presentation leaves and never discovers during status"},
968
+ {"file": "tests/authorization-controller.spec.ts", "name": "discovers account models only on an explicit action without changing selection or settings"},
969
+ {"file": "tests/authorization-controller.spec.ts", "name": "keeps discovery unavailable or failed separate from sign-in and sanitizes failures"},
970
+ {"file": "tests/client.spec.ts", "name": "discovers account models only on a click and deduplicates clicks while busy"},
971
+ {"file": "tests/client.spec.ts", "name": "does not poll or automatically rediscover a loading server snapshot"},
972
+ {"file": "tests/client.spec.ts", "name": "does not let a previous Remote overwrite a newly mounted discovery result"}
973
+ ]
974
+ },
975
+ {
976
+ "id": "credential-bound-lazy-search-proof",
977
+ "required": true,
978
+ "sourceMarkers": [
979
+ {"file": "src/index.ts", "marker": "credentials/record-updated"},
980
+ {"file": "src/index.ts", "marker": "invalidatePlans"},
981
+ {"file": "src/probe.ts", "marker": "signal?: AbortSignal"}
982
+ ],
983
+ "tests": [
984
+ {"file": "tests/inline/apply.spec.ts", "name": "retries a cached missing-grant failure on a same-route credential event"},
985
+ {"file": "tests/inline/apply.spec.ts", "name": "evicts a successful proof for revocation/account changes and coalesces event bursts"},
986
+ {"file": "tests/inline/apply.spec.ts", "name": "ignores unrelated record updates and retains the verified proof"},
987
+ {"file": "tests/inline/apply.spec.ts", "name": "rejects account replacement during search auth after a successful proof"},
988
+ {"file": "tests/inline/apply.spec.ts", "name": "makes no network calls at attach, availability checks, settings or credential events"},
989
+ {"file": "tests/inline/apply.spec.ts", "name": "removes its Fiber listener and makes retained entry points inert on disposal"}
990
+ ]
991
+ },
992
+ {
993
+ "id": "legacy-route-conflict-protection",
994
+ "required": true,
995
+ "activation": "legacy-restoration-only",
996
+ "sourceMarkers": [
997
+ {"file": "src/route-ownership.ts", "marker": "postimage"},
998
+ {"file": "src/route-ownership.ts", "marker": "TEMPORARY_ROUTE_LEGACY_CONFLICT"},
999
+ {"file": "src/route-ownership.ts", "marker": "sourceEpoch"},
1000
+ {"file": "src/route-ownership.ts", "marker": "redactSecrets: true"}
1001
+ ],
1002
+ "tests": [
1003
+ {"file": "tests/route-ownership.spec.ts", "name": "compares raw model ownership despite schema-materialized defaults"},
1004
+ {"file": "tests/route-ownership.spec.ts", "name": "refuses unsafe preimage extras without copying sensitive data"},
1005
+ {"file": "tests/route-ownership.spec.ts", "name": "uses namespace revisions to reject races after ownership backup commits"},
1006
+ {"file": "tests/route-ownership.spec.ts", "name": "does not guess ownership for legacy or malformed backups"},
1007
+ {"file": "tests/route-ownership.spec.ts", "name": "fails closed on prepared activation retry without registration lifetime evidence"},
1008
+ {"file": "tests/route-ownership.spec.ts", "name": "read-only planning reports ready only after reconciliation"}
1009
+ ]
1010
+ },
1011
+ {
1012
+ "id": "legacy-global-override-restoration",
1013
+ "required": true,
1014
+ "activation": "legacy-restoration-only",
1015
+ "newGlobalProtocolOverrides": false,
1016
+ "sourceMarkers": [
1017
+ {"file": "src/authorization-controller.ts", "marker": "target: { ...backup.preimage }"},
1018
+ {"file": "src/authorization-controller.ts", "marker": "op: 'unset'"},
1019
+ {"file": "src/config.ts", "marker": "temporaryRouteBackup: z.string().hidden()"},
1020
+ {"file": "src/route-ownership.ts", "marker": "wholeProfileOwned"}
1021
+ ],
1022
+ "tests": [
1023
+ {"file": "tests/authorization-controller.spec.ts", "name": "restores the owned canonical override without creating another ownership cycle"},
1024
+ {"file": "tests/authorization-controller.spec.ts", "name": "refuses a legacy prepared activation without replaying its route write"},
1025
+ {"file": "tests/authorization-controller.spec.ts", "name": "retries backup cleanup after route restoration commits first"},
1026
+ {"file": "tests/authorization-controller.spec.ts", "name": "rejects malformed temporary route backup leaves before replay"},
1027
+ {"file": "tests/route-ownership.spec.ts", "name": "restores a historical bounded journal without copying unrelated sensitive leaves"},
1028
+ {"file": "tests/route-ownership.spec.ts", "name": "retains a user-edited formerly owned header during restoration"}
1029
+ ]
1030
+ },
1031
+ {
1032
+ "id": "shared-copilot-credential-refresh",
1033
+ "required": true,
1034
+ "sourceMarkers": [
1035
+ {"file": "src/copilot-auth.ts", "marker": "models.getAuth('github-copilot')"},
1036
+ {"file": "src/copilot-auth.ts", "marker": "GITHUB_COPILOT_CREDENTIAL_KEY"},
1037
+ {"file": "src/index.ts", "marker": "createGitHubCopilotTokenResolver(ctx, async () =>"}
1038
+ ],
1039
+ "tests": [
1040
+ {"file": "tests/copilot-auth.spec.ts", "name": "refreshes the llm-pi-ai grant in-place and returns the Copilot API token"},
1041
+ {"file": "tests/copilot-auth.spec.ts", "name": "does not overwrite request-owned headers with local model metadata"},
1042
+ {"file": "tests/copilot-auth.spec.ts", "name": "rejects logical provider mismatches before touching shared credential storage"},
1043
+ {"file": "tests/copilot-auth.spec.ts", "name": "preserves the canonical grant when a serialized modification declines to change it"},
1044
+ {"file": "tests/copilot-auth.spec.ts", "name": "rechecks model availability after refreshing the credential"},
1045
+ {"file": "tests/preview-route.spec.ts", "name": "serializes canonical and preview refresh through the same credential key"},
1046
+ {"file": "tests/preview-route.spec.ts", "name": "persists token-refresh revocation after preparation but never authorizes it from the earlier live catalog"}
1047
+ ]
1048
+ },
1049
+ {
1050
+ "id": "strict-json-oauth-grant-normalization",
1051
+ "required": true,
1052
+ "sourceMarkers": [
1053
+ {"file": "src/copilot-grant.ts", "marker": "normalizeGitHubCopilotOAuthCredential"},
1054
+ {"file": "src/copilot-grant.ts", "marker": "Number.isFinite(expires)"}
1055
+ ],
1056
+ "tests": [
1057
+ {"file": "tests/copilot-auth.spec.ts", "name": "normalizes cross-module OAuth grants for a strict JSON credential store"},
1058
+ {"file": "tests/copilot-auth.spec.ts", "name": "rejects malformed required OAuth fields without exposing their values"},
1059
+ {"file": "tests/copilot-auth.spec.ts", "name": "rejects nonfinite OAuth expiry timestamps"},
1060
+ {"file": "tests/copilot-auth.spec.ts", "name": "rejects invalid OAuth model id collections"},
1061
+ {"file": "tests/copilot-auth.spec.ts", "name": "requires a non-empty enterprise URL when the OAuth field is present"}
1062
+ ]
1063
+ },
1064
+ {
1065
+ "id": "direct-provider-hosted-search",
1066
+ "required": true,
1067
+ "sourceMarkers": [
1068
+ {"file": "src/plan.ts", "marker": "route.provider !== 'github-copilot'"},
1069
+ {"file": "src/index.ts", "marker": "route.model !== request.model"},
1070
+ {"file": "src/index.ts", "marker": "resolveRequestAuth"},
1071
+ {"file": "src/copilot-request.ts", "marker": "Openai-Intent"},
1072
+ {"file": "src/probe.ts", "marker": "RESPONSES_PROBE_ROUNDS = 2"}
1073
+ ],
1074
+ "tests": [
1075
+ {"file": "tests/inline/apply.spec.ts", "name": "captures an explicit request model instead of substituting a changed Session selection"},
1076
+ {"file": "tests/inline/apply.spec.ts", "name": "routes concurrent hosted tools from real model-selection request headers rather than activation seeds"},
1077
+ {"file": "tests/inline/apply.spec.ts", "name": "disposes only A during final %s HTTP %s while B completes without cross-cancellation"},
1078
+ {"file": "tests/inline/apply.spec.ts", "name": "ensures cold metadata only on actual search and captures selection before discovery awaits"},
1079
+ {"file": "tests/preview-route.spec.ts", "name": "resolves Host-only search auth from the live generic snapshot without exposing it in status"},
1080
+ {"file": "tests/copilot-request.spec.ts", "name": "combines installed catalog headers with provider-required request metadata"},
1081
+ {"file": "tests/copilot-request.spec.ts", "name": "applies a credential-specific Copilot endpoint before request construction"},
1082
+ {"file": "tests/copilot-request.spec.ts", "name": "preserves the Anthropic v1 path on a credential-specific endpoint"},
1083
+ {"file": "tests/copilot-request.spec.ts", "name": "adds dynamic headers for business and enterprise Copilot endpoints"},
1084
+ {"file": "tests/probe.spec.ts", "name": "confirms support via the standard spelling and reports it"},
1085
+ {"file": "tests/probe.spec.ts", "name": "bounds all-transient replies to two complete spelling rounds"},
1086
+ {"file": "tests/probe.spec.ts", "name": "shares one whole-probe deadline and signal across retries"},
1087
+ {"file": "tests/inline/wire.spec.ts", "name": "skips web_search_call events and streams the answer normally"},
1088
+ {"file": "tests/inline/wire.spec.ts", "name": "skips a pass-through function_call named web_search without slotting it"}
1089
+ ]
1090
+ },
1091
+ {
1092
+ "id": "hosted-search-file-context-fail-closed",
1093
+ "required": true,
1094
+ "sourceMarkers": [{"file": "src/index.ts", "marker": "contentHasFileCompat(message.content)"}],
1095
+ "tests": [
1096
+ {"file": "tests/inline/apply.spec.ts", "name": "preserves a top-level user file when bypassing the custom wire"},
1097
+ {"file": "tests/inline/apply.spec.ts", "name": "preserves a file nested in tool-result content when bypassing the custom wire"},
1098
+ {"file": "tests/preview-route.spec.ts", "name": "uses native attachment projection and execution-world mapping when available: %s"},
1099
+ {"file": "tests/preview-route.spec.ts", "name": "keeps the mapped read-only path when Core offloads an image to fit its request budget"}
1100
+ ]
1101
+ },
1102
+ {
1103
+ "id": "traditional-search-bridge",
1104
+ "required": true,
1105
+ "sourceMarkers": [
1106
+ {"file": "src/traditional-search.ts", "marker": "github-copilot-hosted"},
1107
+ {"file": "README.md", "marker": "github-copilot.searchFallback"},
1108
+ {"file": "README.md", "marker": "Fetch is unchanged."},
1109
+ {"file": "README.zh.md", "marker": "github-copilot.searchFallback"},
1110
+ {"file": "README.zh.md", "marker": "网页抓取不变"}
1111
+ ],
1112
+ "tests": [
1113
+ {"file": "tests/traditional-search.spec.ts", "name": "normalizes generated content and deduplicated sources"},
1114
+ {"file": "tests/traditional-search.spec.ts", "name": "honors caller abort before credential or network access"},
1115
+ {"file": "tests/traditional-search.spec.ts", "name": "maps HTTP errors without leaking credentials or provider bodies"}
1116
+ ]
1117
+ },
1118
+ {
1119
+ "id": "dsh-supported-baselines-fail-loud-guard",
1120
+ "required": true,
1121
+ "sourceMarkers": [
1122
+ {"file": "src/compatibility.ts", "marker": "peerRange: '0.2.0-rc.2'"}
1123
+ ],
1124
+ "tests": [
1125
+ {"file": "tests/compatibility.spec.ts", "name": "admits only the exact current official release"},
1126
+ {"file": "tests/compatibility.spec.ts", "name": "declares the current and retained exact contract targets without claiming live Desktop validation"},
1127
+ {"file": "tests/compatibility.spec.ts", "name": "accepts the supported DSH service contract"},
1128
+ {"file": "tests/compatibility.spec.ts", "name": "fails before startup when a required API is absent"}
1129
+ ]
1130
+ },
1131
+ {
1132
+ "id": "dsh-models-settings-and-managed-discovery-ui",
1133
+ "required": true,
1134
+ "activation": "provider-row-first-shared-account-with-exclusive-fallback",
1135
+ "sourceMarkers": [
1136
+ {"file": "src/client.ts", "marker": "GitHubCopilotSettingsSection"},
1137
+ {"file": "src/client.ts", "marker": "settings.models.footer"},
1138
+ {"file": "src/client.ts", "marker": "plugins.bundle.config"},
1139
+ {"file": "src/client.ts", "marker": "settingsSectionActive && !footerActive"}
1140
+ ],
1141
+ "tests": [
1142
+ {"file": "tests/client.spec.ts", "name": "registers a GitHub Copilot settings section on the rc.2 Models surface"},
1143
+ {"file": "tests/client-search-inject.spec.ts", "name": "renders the actual search callback in $seat"},
1144
+ {"file": "tests/client-bundle.spec.ts", "name": "registers web-search routing in the built bundle detail page, leaving Models for account controls"},
1145
+ {"file": "tests/client.spec.ts", "name": "registers coordinated provider and fallback seats without starting either controller during registration"},
1146
+ {"file": "tests/client.spec.ts", "name": "leaves authorization active when the optional footer contract is incompatible or registration fails"},
1147
+ {"file": "tests/client.spec.ts", "name": "mounts one compact account lifecycle instead of separate authorization and discovery owners"},
1148
+ {"file": "tests/client.spec.ts", "name": "makes explicit account discovery available in the old-Core settings fallback"},
1149
+ {"file": "tests/client.spec.ts", "name": "explains the initial model list without inferring a completed discovery from sign-in"},
1150
+ {"file": "tests/client.spec.ts", "name": "restores exactly one account fallback when a footer declaration is withdrawn"},
1151
+ {"file": "tests/client.spec.ts", "name": "transfers a pending sign-in to an arriving row and back without stale actions or a second poll owner"},
1152
+ {"file": "tests/client.spec.ts", "name": "keeps one owner across duplicate row instances and footer/settings competition"},
1153
+ {"file": "tests/client-no-model-roles.spec.ts", "name": "does not export the obsolete role card while preserving search and usage components"},
1154
+ {"file": "tests/client-no-model-roles.spec.ts", "name": "never registers role entrypoints (footer=$footer, legacyRemote=$legacyRemote)"},
1155
+ {"file": "tests/client-no-model-roles.spec.ts", "name": "does not resurrect a role entry when a retained legacy Remote arrives later"}
1156
+ ]
1157
+ },
1158
+ {
1159
+ "id": "managed-copilot-auto-intent-continuity",
1160
+ "required": true,
1161
+ "sourceMarkers": [
1162
+ {"file": "src/auto-model-intent.ts", "marker": "githubCopilotAutoModelIntent"},
1163
+ {"file": "src/auto-model-intent.ts", "marker": "state.inherited"},
1164
+ {"file": "src/auto-model-host.ts", "marker": "COPILOT_AUTO_INTENT_UNAVAILABLE"},
1165
+ {"file": "src/auto-model-host.ts", "marker": "removeIntentProjection"},
1166
+ {"file": "docs/automatic-model-routing.md", "marker": "Cold refolding restores intent"}
1167
+ ],
1168
+ "tests": [
1169
+ {"file": "tests/auto-model-intent.spec.ts", "name": "retains explicit intent across virtual and concrete execution headers and cold replay"},
1170
+ {"file": "tests/auto-model-intent.spec.ts", "name": "does not infer intent from execution or copied fork/child prefixes"},
1171
+ {"file": "tests/auto-model-host.spec.ts", "name": "diagnoses unavailable continuity evidence ($error) without blocking a new explicit fixed choice"},
1172
+ {"file": "tests/fixtures/session-context-core.fixture.ts", "name": "retains explicit Auto after native virtual-header consumption without relabeling prior turns"}
1173
+ ]
1174
+ },
1175
+ {
1176
+ "id": "managed-copilot-auto-model-routing",
1177
+ "required": true,
1178
+ "sourceMarkers": [
1179
+ {"file": "src/account-model-catalog.ts", "marker": "model_picker_category"},
1180
+ {"file": "src/auto-task-assessment.ts", "marker": "COPILOT_AUTO_ASSESSMENT_CONTEXT_OMITTED"},
1181
+ {"file": "src/auto-task-classifier.ts", "marker": "classifyTaskWithAdapter"},
1182
+ {"file": "src/auto-model-routing.ts", "marker": "targetCategory"},
1183
+ {"file": "src/config.ts", "marker": "autoSemanticAssessment"},
1184
+ {"file": "src/auto-selection-explanation.ts", "marker": "No candidate fits"},
1185
+ {"file": "src/preview-route.ts", "marker": "GITHUB_COPILOT_AUTO_MODEL_ID"},
1186
+ {"file": "src/auto-model-host.ts", "marker": "keep attribution out of the log"},
1187
+ {"file": "src/parent-model-follow.ts", "marker": "resolveParentModel"},
1188
+ {"file": "src/config.ts", "marker": "parentModelFollow"},
1189
+ {"file": "src/config.ts", "marker": "followParentModel"},
1190
+ {"file": "src/parent-model-follow-card.ts", "marker": "Follow parent model"},
1191
+ {"file": "src/auto-model-host.ts", "marker": "COPILOT_AUTO_TOKEN_METER_UNAVAILABLE"},
1192
+ {"file": "src/auto-model-presentation.ts", "marker": "conversation.chat.assistant-actions"},
1193
+ {"file": "src/auto-model-presentation.ts", "marker": "installAutoModelProjections"},
1194
+ {"file": "src/auto-model-presentation.ts", "marker": "turnModelProvenanceDefinition"},
1195
+ {"file": "src/turn-model-provenance.ts", "marker": "assistant/message"},
1196
+ {"file": "src/turn-selection-card.ts", "marker": "Selection unknown"},
1197
+ {"file": "src/turn-selection-remote.ts", "marker": "lookup: 'agent'"},
1198
+ {"file": "src/turn-selection-host.ts", "marker": "extends TypertRemoteService"},
1199
+ {"file": "src/turn-selection-card.ts", "marker": "Selection unavailable"},
1200
+ {"file": "docs/automatic-model-routing.md", "marker": "plugin-only"}
1201
+ ],
1202
+ "tests": [
1203
+ {"file": "tests/auto-model-host.spec.ts", "name": "follows fixed and Auto parents using %s without writing child selections"},
1204
+ {"file": "tests/scripts/parent-model-follow.test.mjs", "name": "explicit same-model and different-model child selections both win"},
1205
+ {"file": "tests/auto-model-routing.spec.ts", "name": "retains legacy length evidence but does not use it as task or supplier category evidence"},
1206
+ {"file": "tests/auto-model-routing.spec.ts", "name": "uses the task/category policy with one hard-eligible pool for all preferences"},
1207
+ {"file": "tests/auto-model-routing.spec.ts", "name": "preserves suitable continuity but never lets it override task category or input fit"},
1208
+ {"file": "tests/auto-model-routing.spec.ts", "name": "discloses category fallbacks and never guesses missing category from ID or capacity"},
1209
+ {"file": "tests/auto-task-assessment.spec.ts", "name": "bounds context, never reads attachment/reasoning bodies, and does not downshift omitted context"},
1210
+ {"file": "tests/auto-task-assessment.spec.ts", "name": "inherits difficult-task evidence only through explicit bounded continuations"},
1211
+ {"file": "tests/auto-task-assessment.spec.ts", "name": "recognizes only isolated explicit fenced mechanical transformations as routine"},
1212
+ {"file": "tests/auto-task-assessment.spec.ts", "name": "preserves valid bounded rows and prioritizes the current user and nearest task over verbose output"},
1213
+ {"file": "tests/auto-selection-explanation.spec.ts", "name": "distinguishes local rule coverage from absent conversation context in both languages"},
1214
+ {"file": "tests/auto-task-assessment.spec.ts", "name": "preserves caller cancellation instead of using a success-shaped fallback"},
1215
+ {"file": "tests/config.spec.ts", "name": "defaults semantic Auto assessment on while preserving explicit opt-out"},
1216
+ {"file": "tests/preview-route.spec.ts", "name": "assesses Auto with setting %s and freezes the captured reason across retries"},
1217
+ {"file": "tests/turn-selection-card.spec.ts", "name": "explains a captured task/category decision with progressive details (%s)"},
1218
+ {"file": "tests/auto-model-routing.spec.ts", "name": "does not discard a complete Core assistant message when it contains reasoning"},
1219
+ {"file": "tests/auto-model-routing.spec.ts", "name": "retains the native current-surface and tool-envelope measurement as an input floor"},
1220
+ {"file": "tests/fixtures/compaction-pressure-core.fixture.ts", "name": "prices Core assistant text and reasoning with the unchanged native token meter"},
1221
+ {"file": "tests/auto-model-routing.spec.ts", "name": "requires account-verified image capability for image turns"},
1222
+ {"file": "tests/auto-model-host.spec.ts", "name": "resolves after downstream model selection and freezes one decision per turn"},
1223
+ {"file": "tests/auto-model-host.spec.ts", "name": "replaces Core virtual-Auto switch guidance with the resolved real route"},
1224
+ {"file": "tests/auto-model-presentation.spec.ts", "name": "folds a durable decision into turn-scoped credential-free attribution"},
1225
+ {"file": "tests/auto-model-presentation.spec.ts", "name": "omits attribution when a compatible history contains no optional decision"},
1226
+ {"file": "tests/turn-selection-card.spec.ts", "name": "reads exact completed turn evidence through %s and exposes reasons without repeating the model"},
1227
+ {"file": "tests/turn-selection-card.spec.ts", "name": "diagnoses an unavailable node collection without reading another turn"},
1228
+ {"file": "tests/turn-selection-card.spec.ts", "name": "uses native completion independently of optional projections: $expected"},
1229
+ {"file": "tests/client.spec.ts", "name": "registers and disposes Auto actions while the optional conversation fiber remains pending"},
1230
+ {"file": "tests/fixtures/reasoning-presentation-core.fixture.ts", "name": "renders retained Auto evidence without optional projections through native %s and slots"},
1231
+ {"file": "tests/turn-model-provenance.spec.ts", "name": "retains known models around zero-usage failed attempts without reading payloads"},
1232
+ {"file": "tests/preview-route.spec.ts", "name": "publishes Auto as a virtual picker entry but refuses unresolved adapter dispatch"},
1233
+ {"file": "tests/fixtures/compaction-pressure-core.fixture.ts", "name": "shrinks durable history and rebuilds the switched model request without sending the oversized original"}
1234
+ ]
1235
+ },
1236
+ {
1237
+ "id": "single-managed-route-native-oauth",
1238
+ "required": true,
1239
+ "sourceMarkers": [
1240
+ {"file": "src/authorization-controller.ts", "marker": "current !== undefined && providerSupportsStrictMode(current) !== false"},
1241
+ {"file": "src/preview-route.ts", "marker": "displayName: 'GitHub Copilot'"},
1242
+ {"file": "src/client.ts", "marker": "GitHubCopilotAccountSurface"}
1243
+ ],
1244
+ "tests": [
1245
+ {"file": "tests/single-route.spec.ts", "name": "keeps the native login flow while exposing only the account-driven provider"},
1246
+ {"file": "tests/single-route.spec.ts", "name": "discovers new IDs and reasoning metadata without a canonical model profile"},
1247
+ {"file": "tests/single-route.spec.ts", "name": "honors explicit legacy-profile removal from settings without deleting OAuth"},
1248
+ {"file": "tests/authorization-controller.spec.ts", "name": "does not recreate an absent canonical profile during status or startup and auth reconciliation helpers"},
1249
+ {"file": "tests/authorization-controller.spec.ts", "name": "keeps absent-profile legacy journal conflicts visible instead of bypassing ownership review"}
1250
+ ]
1251
+ },
1252
+ {
1253
+ "id": "compact-account-row-and-auth-disclosure",
1254
+ "required": true,
1255
+ "sourceMarkers": [
1256
+ {"file": "src/client.ts", "marker": "GitHubCopilotCompactAccount"},
1257
+ {"file": "src/client.ts", "marker": "data-dsh-github-copilot-auto-authorization"},
1258
+ {"file": "src/compact-account.ts", "marker": "createCompactAccount"}
1259
+ ],
1260
+ "tests": [
1261
+ {"file": "tests/compact-account.spec.ts", "name": "renders a neutral checking state then only a compact signed-in row"},
1262
+ {"file": "tests/compact-account.spec.ts", "name": "shows signed-out CTA and automatically reveals authorization without opening Manage"},
1263
+ {"file": "tests/compact-account.spec.ts", "name": "retains manual management and live actions when toggled during authorization"},
1264
+ {"file": "tests/compact-account.spec.ts", "name": "keeps normal refresh inside Manage and visible Retry outside for actual failures"},
1265
+ {"file": "tests/compact-account.spec.ts", "name": "cleans timers and ignores late requests after detach or Remote replacement"},
1266
+ {"file": "tests/compact-account.spec.ts", "name": "keeps cancellation failures visible without reviving a stale code"},
1267
+ {"file": "tests/compact-account.spec.ts", "name": "orders cancellation after pending start so a late Host preflight cannot create an abandoned flow"},
1268
+ {"file": "tests/compact-account.spec.ts", "name": "discovers exactly once after immediate confirmed completion and permits later manual refresh"},
1269
+ {"file": "tests/compact-account.spec.ts", "name": "waits through repeated authorization polls and discovers only on confirmed completion"},
1270
+ {"file": "tests/compact-account.spec.ts", "name": "keeps automatic post-login discovery owned across Manage toggles and shows a retryable error"},
1271
+ {"file": "tests/authorization-controller.spec.ts", "name": "keeps completion pending through post-login repair so the Client discovers exactly once afterwards"},
1272
+ {"file": "tests/compact-account.spec.ts", "name": "keeps stale count visible during initial metadata refresh without a warning or header refresh button"},
1273
+ {"file": "tests/authorization-controller.spec.ts", "name": "ensures account metadata without forcing past the shared cache or cooldown"},
1274
+ {"file": "tests/client.spec.ts", "name": "owns a minute-only UI timer through committed mount, timestamp change and unmount"},
1275
+ {"file": "tests/compact-account.spec.ts", "name": "keeps the Host cache timestamp outside Manage and live regions through refresh and failure"},
1276
+ {"file": "tests/client-bundle.spec.ts", "name": "exports the cache timestamp formatter and isolated clock component in the built Client"}
1277
+ ]
1278
+ }
1279
+ ],
1280
+ "requiredExports": {
1281
+ ".": [
1282
+ "GITHUB_COPILOT_HOSTED_SEARCH_PROVIDER_ID",
1283
+ "GITHUB_COPILOT_CREDENTIAL_KEY",
1284
+ "GitHubCopilotAuthorizationController",
1285
+ "describeGitHubCopilotProviderProfile",
1286
+ "ensureGitHubCopilotProviderProfile",
1287
+ "LLM_PI_AI_SETTINGS_NAMESPACE",
1288
+ "DSH_COMPATIBILITY",
1289
+ "assertDshCompatibility"
1290
+ ],
1291
+ "./client": [],
1292
+ "./remote": [],
1293
+ "./routed-web": ["default"],
1294
+ "./web-delegate": ["name", "inject", "apply"],
1295
+ "./manual-compaction-recovery": ["CopilotManualRecoveryCompactionEngine", "summarizeOversizedManualInput"],
1296
+ "./deployment-baseline.json": [],
1297
+ "./package.json": []
1298
+ }
1299
+ }