dsh-github-copilot 0.1.0-alpha.1.dsh.0.2.1.alpha.5

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 (209) hide show
  1. package/AGENTS.md +439 -0
  2. package/CHANGELOG.md +875 -0
  3. package/CONTRIBUTING.md +55 -0
  4. package/LICENSE +21 -0
  5. package/README.md +366 -0
  6. package/README.zh.md +341 -0
  7. package/SECURITY.md +29 -0
  8. package/cordis.patch.yml +16 -0
  9. package/deployment-baseline.json +1580 -0
  10. package/docs/account-management-experience.md +143 -0
  11. package/docs/agent-readiness.md +110 -0
  12. package/docs/auto-high-cost.md +255 -0
  13. package/docs/auto-iteration-review.json +22 -0
  14. package/docs/auto-review-sampling.md +60 -0
  15. package/docs/auto-task-routing.md +341 -0
  16. package/docs/automatic-model-routing.md +236 -0
  17. package/docs/copilot-accounts.md +424 -0
  18. package/docs/copilot-compaction.md +148 -0
  19. package/docs/copilot-usage.md +133 -0
  20. package/docs/dual-model.md +66 -0
  21. package/docs/evidence-driven-iteration.md +86 -0
  22. package/docs/image-input-compatibility.md +64 -0
  23. package/docs/images/copilot-accounts-credits.png +0 -0
  24. package/docs/images/copilot-accounts.png +0 -0
  25. package/docs/images/copilot-current-provenance.json +39 -0
  26. package/docs/images/copilot-model-preferences.png +0 -0
  27. package/docs/images/copilot-search-routing.png +0 -0
  28. package/docs/images/copilot-session-continuation.png +0 -0
  29. package/docs/images/dual-model-desktop.png +0 -0
  30. package/docs/images/dual-model-mobile.png +0 -0
  31. package/docs/images/dual-model-provenance.json +35 -0
  32. package/docs/images/parent-model-follow.png +0 -0
  33. package/docs/manual-compaction-recovery.md +109 -0
  34. package/docs/mockups/copilot-account-dropdown.html +71 -0
  35. package/docs/mockups/copilot-account-management.html +393 -0
  36. package/docs/model-compatibility-acceptance.md +182 -0
  37. package/docs/npm-distribution.md +202 -0
  38. package/docs/official-first-016-alpha2.md +66 -0
  39. package/docs/official-first-020-rc1.md +32 -0
  40. package/docs/official-first-020-rc2.md +17 -0
  41. package/docs/official-first-021-alpha4.md +157 -0
  42. package/docs/official-first-021-alpha5.md +83 -0
  43. package/docs/plugin-diagnostics.md +605 -0
  44. package/docs/session-continuation.md +141 -0
  45. package/docs/session-search-routing.md +133 -0
  46. package/docs/single-route-migration.md +131 -0
  47. package/docs/web-lifecycle-rc2.md +55 -0
  48. package/lib/client.js +13236 -0
  49. package/lib/client.js.map +1 -0
  50. package/lib/copilot-identity-DRZY_d2X.js +15 -0
  51. package/lib/diagnostics-analysis-io.js +78 -0
  52. package/lib/diagnostics-analysis.js +427 -0
  53. package/lib/diagnostics-types-CF-qg8Do.js +708 -0
  54. package/lib/index.js +15661 -0
  55. package/lib/manual-compaction-recovery.js +485 -0
  56. package/lib/remote.js +1507 -0
  57. package/lib/request-budget-DLY_aRq0.js +87 -0
  58. package/lib/routed-web.js +120 -0
  59. package/lib/search-routing-CV2hs8as.js +792 -0
  60. package/lib/types/account-dropdown.d.ts +22 -0
  61. package/lib/types/account-model-auth.d.ts +15 -0
  62. package/lib/types/account-model-catalog.d.ts +70 -0
  63. package/lib/types/account-model-source.d.ts +85 -0
  64. package/lib/types/agent-compaction.d.ts +4 -0
  65. package/lib/types/authorization-code-clipboard.d.ts +4 -0
  66. package/lib/types/authorization-controller.d.ts +121 -0
  67. package/lib/types/auto-allocation-card.d.ts +9 -0
  68. package/lib/types/auto-allocation-diagnostics.d.ts +126 -0
  69. package/lib/types/auto-allocation-evidence.d.ts +44 -0
  70. package/lib/types/auto-allocation.d.ts +47 -0
  71. package/lib/types/auto-assessment-evidence.d.ts +111 -0
  72. package/lib/types/auto-model-host.d.ts +30 -0
  73. package/lib/types/auto-model-intent.d.ts +36 -0
  74. package/lib/types/auto-model-presentation.d.ts +57 -0
  75. package/lib/types/auto-model-routing.d.ts +64 -0
  76. package/lib/types/auto-review-sampling.d.ts +6 -0
  77. package/lib/types/auto-selection-explanation.d.ts +9 -0
  78. package/lib/types/auto-task-assessment.d.ts +49 -0
  79. package/lib/types/auto-task-classifier.d.ts +10 -0
  80. package/lib/types/background-compaction.d.ts +30 -0
  81. package/lib/types/client.d.ts +129 -0
  82. package/lib/types/compact-account.d.ts +42 -0
  83. package/lib/types/compaction-continuation-ui.d.ts +29 -0
  84. package/lib/types/compaction-continuation.d.ts +48 -0
  85. package/lib/types/compaction-input-estimate.d.ts +28 -0
  86. package/lib/types/compaction-pressure.d.ts +23 -0
  87. package/lib/types/compaction-replay.d.ts +18 -0
  88. package/lib/types/compatibility.d.ts +17 -0
  89. package/lib/types/composer-notice-style.d.ts +7 -0
  90. package/lib/types/config.d.ts +141 -0
  91. package/lib/types/content-file.d.ts +10 -0
  92. package/lib/types/context-evidence-ui.d.ts +28 -0
  93. package/lib/types/context-evidence.d.ts +256 -0
  94. package/lib/types/context-usage.d.ts +4 -0
  95. package/lib/types/copilot-account-presentation.d.ts +7 -0
  96. package/lib/types/copilot-accounts-card.d.ts +43 -0
  97. package/lib/types/copilot-accounts-host.d.ts +93 -0
  98. package/lib/types/copilot-accounts-remote.d.ts +85 -0
  99. package/lib/types/copilot-accounts-types.d.ts +43 -0
  100. package/lib/types/copilot-auth.d.ts +31 -0
  101. package/lib/types/copilot-grant.d.ts +11 -0
  102. package/lib/types/copilot-identity.d.ts +11 -0
  103. package/lib/types/copilot-request.d.ts +11 -0
  104. package/lib/types/copilot-stream-liveness.d.ts +23 -0
  105. package/lib/types/copilot-usage-card.d.ts +51 -0
  106. package/lib/types/copilot-usage-host.d.ts +61 -0
  107. package/lib/types/copilot-usage-normalize.d.ts +9 -0
  108. package/lib/types/copilot-usage-remote.d.ts +63 -0
  109. package/lib/types/copilot-usage-types.d.ts +20 -0
  110. package/lib/types/copilot-usage-ui.d.ts +4 -0
  111. package/lib/types/current-provider.d.ts +59 -0
  112. package/lib/types/deepseek-search-fallback.d.ts +11 -0
  113. package/lib/types/diagnostics-analysis-io.d.ts +23 -0
  114. package/lib/types/diagnostics-analysis.d.ts +298 -0
  115. package/lib/types/diagnostics-card.d.ts +12 -0
  116. package/lib/types/diagnostics-client.d.ts +13 -0
  117. package/lib/types/diagnostics-collector.d.ts +50 -0
  118. package/lib/types/diagnostics-host.d.ts +183 -0
  119. package/lib/types/diagnostics-remote.d.ts +113 -0
  120. package/lib/types/diagnostics-types.d.ts +893 -0
  121. package/lib/types/dual-model-host.d.ts +119 -0
  122. package/lib/types/dual-model-remote.d.ts +63 -0
  123. package/lib/types/dual-model-types.d.ts +34 -0
  124. package/lib/types/external-link.d.ts +3 -0
  125. package/lib/types/failure.d.ts +38 -0
  126. package/lib/types/http.d.ts +48 -0
  127. package/lib/types/image-input-admission.d.ts +5 -0
  128. package/lib/types/index.d.ts +39 -0
  129. package/lib/types/manual-compaction-recovery.d.ts +67 -0
  130. package/lib/types/migration-status.d.ts +50 -0
  131. package/lib/types/model-exclusions.d.ts +15 -0
  132. package/lib/types/model-preferences-card.d.ts +9 -0
  133. package/lib/types/model-protocol.d.ts +31 -0
  134. package/lib/types/native-select-style.d.ts +4 -0
  135. package/lib/types/native-settings-style.d.ts +10 -0
  136. package/lib/types/parent-model-follow-card.d.ts +32 -0
  137. package/lib/types/parent-model-follow.d.ts +44 -0
  138. package/lib/types/pi-provider-bridge.d.ts +22 -0
  139. package/lib/types/plan.d.ts +148 -0
  140. package/lib/types/pre-step-pressure.d.ts +8 -0
  141. package/lib/types/preview-provider.d.ts +77 -0
  142. package/lib/types/preview-route.d.ts +76 -0
  143. package/lib/types/probe.d.ts +39 -0
  144. package/lib/types/remote-codec.d.ts +10 -0
  145. package/lib/types/remote.d.ts +202 -0
  146. package/lib/types/replay-recovery-host.d.ts +28 -0
  147. package/lib/types/replay-recovery-remote.d.ts +14 -0
  148. package/lib/types/replay-recovery-types.d.ts +24 -0
  149. package/lib/types/replay-recovery-ui.d.ts +28 -0
  150. package/lib/types/replay-recovery.d.ts +17 -0
  151. package/lib/types/request-body-composition.d.ts +17 -0
  152. package/lib/types/request-body-evidence.d.ts +37 -0
  153. package/lib/types/request-body-timeout-marker.d.ts +2 -0
  154. package/lib/types/request-body-timeout.d.ts +4 -0
  155. package/lib/types/request-budget.d.ts +58 -0
  156. package/lib/types/request-diagnostics.d.ts +278 -0
  157. package/lib/types/request-upload-evidence.d.ts +23 -0
  158. package/lib/types/response-error-body.d.ts +3 -0
  159. package/lib/types/responses-reasoning-text.d.ts +24 -0
  160. package/lib/types/responses-reasoning.d.ts +7 -0
  161. package/lib/types/responses-replay-compat.d.ts +31 -0
  162. package/lib/types/responses-request-compression.d.ts +33 -0
  163. package/lib/types/route-ownership.d.ts +70 -0
  164. package/lib/types/routed-web.d.ts +50 -0
  165. package/lib/types/search-backend.d.ts +16 -0
  166. package/lib/types/search-routing-host.d.ts +19 -0
  167. package/lib/types/search-routing-policy.d.ts +18 -0
  168. package/lib/types/search-routing-remote.d.ts +20 -0
  169. package/lib/types/search-routing.d.ts +43 -0
  170. package/lib/types/search-tool-routing.d.ts +22 -0
  171. package/lib/types/serialize.d.ts +106 -0
  172. package/lib/types/session-accounts-controller.d.ts +20 -0
  173. package/lib/types/session-accounts-host.d.ts +33 -0
  174. package/lib/types/session-accounts-remote.d.ts +114 -0
  175. package/lib/types/session-accounts.d.ts +38 -0
  176. package/lib/types/session-continuation-host.d.ts +45 -0
  177. package/lib/types/session-continuation-remote.d.ts +22 -0
  178. package/lib/types/session-continuation-types.d.ts +62 -0
  179. package/lib/types/session-continuation-ui.d.ts +49 -0
  180. package/lib/types/session-continuation.d.ts +14 -0
  181. package/lib/types/settings-reader.d.ts +16 -0
  182. package/lib/types/sse.d.ts +28 -0
  183. package/lib/types/temporary-models.d.ts +25 -0
  184. package/lib/types/tool-schema-compat.d.ts +17 -0
  185. package/lib/types/traditional-search.d.ts +17 -0
  186. package/lib/types/turn-model-provenance.d.ts +45 -0
  187. package/lib/types/turn-request-models.d.ts +55 -0
  188. package/lib/types/turn-selection-card.d.ts +24 -0
  189. package/lib/types/turn-selection-host.d.ts +35 -0
  190. package/lib/types/turn-selection-remote.d.ts +17 -0
  191. package/lib/types/turn-selection.d.ts +186 -0
  192. package/lib/types/turn-usage-evidence.d.ts +66 -0
  193. package/lib/types/turn-usage-notice.d.ts +7 -0
  194. package/lib/types/types.d.ts +69 -0
  195. package/lib/types/usage.d.ts +26 -0
  196. package/lib/types/watchdog.d.ts +22 -0
  197. package/lib/types/web-delegate.d.ts +12 -0
  198. package/lib/types/web-search-routing-card.d.ts +16 -0
  199. package/lib/types/web-search-routing-config.d.ts +12 -0
  200. package/lib/types/wire-anthropic.d.ts +37 -0
  201. package/lib/types/wire.d.ts +56 -0
  202. package/lib/web-delegate.js +9 -0
  203. package/output/auto-model-mockup/index.html +207 -0
  204. package/package.json +261 -0
  205. package/scripts/analyze-diagnostics.mjs +91 -0
  206. package/scripts/check-search-composition.mjs +191 -0
  207. package/scripts/iteration-review.mjs +53 -0
  208. package/scripts/release-policy.mjs +353 -0
  209. package/scripts/select-core-release.mjs +11 -0
@@ -0,0 +1,157 @@
1
+ # Official-first qualification: DSH 0.2.1-alpha.4
2
+
3
+ ## Fixed target and admission
4
+
5
+ Tracking: [#420](https://github.com/cloga/dsh-github-copilot/issues/420),
6
+ consolidating the still-open [alpha.2 review #397](https://github.com/cloga/dsh-github-copilot/issues/397).
7
+ The fixed candidate is official
8
+ [`dsh-v0.2.1-alpha.4`, `86a402200d95fecef4529d969836f1fe13c6cb0d`](https://github.com/deepseek-ai/deepseek-harness/tree/86a402200d95fecef4529d969836f1fe13c6cb0d).
9
+ Facts refreshed on 2026-10-16: the release is a prerelease with no GitHub
10
+ assets; upstream default branch is `master`, then at
11
+ `1517a4dbca0a2789ff1d41ba439600f8547d23fa`. Later upstream changes are not part
12
+ of this qualification. Plugin source started at
13
+ `2d8240c22f59a91881c32027501031fe8d534bb7` (0.4.2-alpha.15).
14
+
15
+ **Exact source/npm target for alpha.16.** Production engines, peers, SDK pin,
16
+ current baseline and release gates move together to alpha.4 following the
17
+ [four-way qualification](https://github.com/cloga/dsh-github-copilot/actions/runs/38907213734).
18
+ The isolated fixture first changed only its own requirements to exact alpha.4
19
+ packages and pi-ai 1.1.0; it neither patched dependencies nor substituted alpha.2.
20
+ Eleven earlier pins remain historical; rc.2 hosts must retain alpha.15.
21
+ The adapter's own `^1.1.0` dependency remains upstream-owned: inspection reports
22
+ its actual resolved SDK separately from the plugin's exact SDK. The bidirectional
23
+ public event-stream type proof must pass against those actual resolutions.
24
+
25
+ Local authorized-registry reads returned `ERR_PNPM_PACKAGE_NOT_FOUND` for both
26
+ `@deepseek-ai/dsh-agent@0.2.1-alpha.4` and
27
+ `@deepseek-ai/dsh-llm-pi-ai@0.2.1-alpha.4`; the adapter version list ended at
28
+ alpha.2. Direct official npm access failed TLS negotiation. These facts do not
29
+ establish worldwide absence. [The first candidate CI](https://github.com/cloga/dsh-github-copilot/actions/runs/38901591104)
30
+ successfully read and downloaded official alpha.4 artifacts on both platforms.
31
+ It exposed real strict peer failures: Cordis `~4.0.5-alpha.2`, Loader
32
+ `~1.0.6-alpha.2` and schemastery `~3.18.5-alpha.2` cannot use the old exact
33
+ development versions. The isolated candidate manifest now aligns those exact
34
+ tagged versions without changing transitive dependencies or disabling strict
35
+ peer checks. No missing-mirror result authorizes rebuilding Core, weakening
36
+ required gates, broadening engines, or using `allow-version`.
37
+
38
+ The next candidate typecheck exposed the public storage-domain schema's exact
39
+ Zod 4.4.3 type versus the plugin's newly resolved Zod 4.6.5 (incompatible
40
+ `_zod.version.minor`). The candidate now pins its own Zod to the official
41
+ storage-domain's exact 4.4.3 contract; no Core dependency is overridden, and
42
+ schema/runtime regressions must still pass. This is API alignment, not a
43
+ registry-failure substitution or a cast around the mismatch.
44
+
45
+ ## Executed qualification
46
+
47
+ The fixed candidate workflow on commit `e88acc4` passed all four jobs:
48
+ Windows/Linux, each with unchanged official npm artifacts and (for tagged jobs)
49
+ the complete unchanged official source closure. Each artifact population ran
50
+ 2,791 ordinary tests (two expected ordinary skips), three new native adapter
51
+ contracts, four native storage/gateway tests and all 28 reviewer tests, with an
52
+ explicit zero-skipped reviewer assertion. Tagged populations additionally ran
53
+ 27 native/adapter suites including account persistence, account/Session
54
+ isolation, CAS, exclusions, parent/Auto, replay/compaction, Usage and the real
55
+ Credits selector mount; no Core tracked file was changed.
56
+
57
+ The new native adapter regressions prove normalized initial/system/deferred-tool
58
+ delivery, unchanged exact effort, undeclared-tool refusal before dispatch and
59
+ bounded TIMEOUT settlement with noncooperative iterator return. Existing native
60
+ and managed replay/Thinking/three-protocol tests remain in the ordinary suites.
61
+ SDK timestamp/duration fields alone are normalized in equivalence assertions.
62
+ This is synthetic runtime evidence, not live supplier acceptance.
63
+
64
+ Failures were resolved rather than skipped: the dual ESM Client carrier maps to
65
+ its public source; native gateway calls bind a public owner Peer with scoped
66
+ teardown, interactive Client events declare `interactions: answer`, and
67
+ Session-controller fixtures register resources. The reviewer now requires a
68
+ synthetic public working-directory service. The mounted Client fixture was
69
+ updated for current account/Session/continuation namespaces; the real selector
70
+ and renderer remain unchanged. The additional production Chat gate exposed a
71
+ new required `useGroupAction` renderer prop and demonstrated that the unchanged
72
+ native renderer already suppresses blank Thinking rows. The redundant plugin
73
+ renderer/provenance projection and obsolete interception tests are retired;
74
+ native settled/running/interrupted rendering remains an explicit gate.
75
+ No test principal, synthetic credential or quota
76
+ read contacts a live service.
77
+
78
+ Local pre-admission rc.2 source/types/build/baseline and focused regression
79
+ checks passed. A full local suite had one compression-fixture timeout; its exact
80
+ 16-test suite passed on rerun, and tooling/package checks passed. After production
81
+ manifest alignment, `pnpm install --frozen-lockfile --ignore-scripts` verified the
82
+ unchanged lock but the authorized mirror returned HTTP 404 for
83
+ `@smithy/core@3.36.0`. Local alpha.4 validation is blocked, not passed.
84
+ The lock is metadata generated by the authorized official-registry candidate
85
+ CI, with every production requirement compared exactly before adoption; no
86
+ package blob was proxied and no registry restriction bypassed. Final protected
87
+ production CI remains authoritative before merge/publication.
88
+
89
+ ## Evidence method
90
+
91
+ The rc.2 and alpha.4 complete Git trees both report `truncated: false`. File
92
+ hashes, rather than the truncated 300-file compare response, locate changes.
93
+ Exact candidate source was read from the fixed GitHub archive; no Core
94
+ implementation checkout, commit, build or installation was created. Archive
95
+ symlinks unsupported by Windows extraction are not used as evidence.
96
+
97
+ Links below resolve to the fixed candidate. “Complete” means the described
98
+ official source contract exists, not that plugin/runtime qualification passed.
99
+ “Partial” identifies a concrete remaining plugin responsibility. “Unverified”
100
+ is not a finding that upstream lacks the behavior.
101
+
102
+ ## Owned-surface decisions
103
+
104
+ | Surface | Official source support and remaining gap | Decision / concrete retirement trigger |
105
+ |---|---|---|
106
+ | Startup and profile composition | **Complete admission contract:** [`plugin-compatibility.ts`](https://github.com/deepseek-ai/deepseek-harness/blob/86a402200d95fecef4529d969836f1fe13c6cb0d/packages/boot/app-boot/src/plugin-compatibility.ts) prioritizes an own `engines.dsh`; legacy peer fallback does not rescue the rc.2 manifest. Preflight disables incompatible entries. Package reload/resume improvements do not waive admission or prove profile peer resolution. | **Migrate after qualification**, not an exemption or range-only fix. Retain the public conditional authorization bootstrap and ordered bundle preflight until equivalent profile/optional-service tests pass. Signed Desktop shared-peer evidence is a separate gate. |
107
+ | Account isolation, OAuth and certified refresh | **Partial:** [`auth.ts`](https://github.com/deepseek-ai/deepseek-harness/blob/86a402200d95fecef4529d969836f1fe13c6cb0d/packages/llm/llm-pi-ai/src/auth.ts) still injects a public `CredentialStore` and serializes refresh through `modifyRecord`; [`login.ts`](https://github.com/deepseek-ai/deepseek-harness/blob/86a402200d95fecef4529d969836f1fe13c6cb0d/packages/llm/llm-pi-ai/src/login.ts) addresses provider-derived records. Credential watcher disposal changed, not account/turn freezing or plugin refresh certification. | **Retain** independently authorized plugin records, public Cordis `symbols.original` service identity, one exact notification plus committed-object/readback proof and invalidation fences. Retire only for an official account-bound API with equivalent isolation, refresh and mutation-fence acceptance; never copy canonical grants. |
108
+ | Account metadata, Thinking and exclusions | **Partial:** [`adapter.ts`](https://github.com/deepseek-ai/deepseek-harness/blob/86a402200d95fecef4529d969836f1fe13c6cb0d/packages/llm/llm-pi-ai/src/adapter.ts) keeps public profile/provider injection, validates effort and describes supported levels. New UI custom-model effort editing does not prove live Copilot endpoint/capability discovery or exclusion admission. | **Migrate** the isolated SDK bridge to exact 1.1.0 only after source/test types, all three protocols, public summaries, arbitrary metadata IDs, images and two-turn replay pass. **Retain** account-driven descriptors and exact-ID turn-scoped exclusions until official equivalent metadata/admission is proven. No new ID tables or guessed dynamic capabilities. |
109
+ | Auto demand, parent following and review | **Partial:** agent/model-selection ownership remains public; the plugin's demand/category/cost/intent policy is not replaced by native tool authorization review. [`auto-review`](https://github.com/deepseek-ai/deepseek-harness/blob/86a402200d95fecef4529d969836f1fe13c6cb0d/packages/experimental/auto-review/src/index.ts) still freezes `temperature: 0`. The original rc.2-only identity qualification failed on alpha.4. | **Retain policy** unchanged. **Migrated qualification:** alpha.4 exact package, same-profile import and exported `apply` callback equality pass all 28 native reviewer tests on both source/artifact platforms; identity is never a name/range match alone. Retirement requires official per-request sampling compatibility plus allow/deny/malformed/error/cancel, disposal and concurrent Chat evidence. No routing-policy iteration or durable decisions are authorized here. |
110
+ | Hosted search | **Partial:** public `ctx.web`, current initiating Agent, `GenerateOptions` and native adapter composition remain the boundaries. Changed generic model catalogs do not establish account entitlements, hosted-search proof, or safe final-query retry. | **Retain** bounded proof, explicit search model and account-bound routing, file delegation and one final query. Retire only for an official provider-owned account-scoped equivalent with real initiating-Session/probe/override coverage; source-only equivalence remains unverified. |
111
+ | Dynamic system and tool updates | **Complete native representation / partial managed enablement:** [`context.ts`](https://github.com/deepseek-ai/deepseek-harness/blob/86a402200d95fecef4529d969836f1fe13c6cb0d/packages/llm/llm-pi-ai/src/context.ts) converts developer text/tool additions/removals into system updates; [`models.ts`](https://github.com/deepseek-ai/deepseek-harness/blob/86a402200d95fecef4529d969836f1fe13c6cb0d/packages/llm/llm-pi-ai/src/models.ts) advertises update modes only from exact compat capabilities. The SDK collection still normalizes the raw context before provider `streamSimple`. No demonstrated prompt/tool loss. | **Delegate native conversion** and test initial prompt, deferred tool addition, exact effort, undeclared-tool refusal and final normalized transcript at the bridge. Do not enable managed mid-conversation capabilities from generic SDK support alone. Retire local schema compatibility only after native Copilot payloads preserve its escalation/action guarantees. |
112
+ | Admission, files, images and replay | **Partial:** native conversion/image-offload remains the owner; [`replay.ts`](https://github.com/deepseek-ai/deepseek-harness/blob/86a402200d95fecef4529d969836f1fe13c6cb0d/packages/llm/llm-pi-ai/src/replay.ts) retains version-2 opaque response/block state, adding response model, provider effort and tool namespace fields. Old incompatible envelopes degrade through native diagnostics, not plugin history conversion. | **Retain** final normalized-message token admission, complete tool spans, image media checks and consent-bound outgoing reasoning filtering. Verify new metadata survives native round trips without inspecting/decrypting opaque state. Retire only when native admission expresses the account's distinct prompt/output limits and approved replay policy. No history truncation, fabricated usage or new retry. |
113
+ | Compaction and continuation | **Partial:** all five BasicCompactionEngine files (`config/index/region/summarizer/types`) are byte-identical to rc.2; token-meter `estimate/index/types/turn-usage` are also unchanged. Public compaction service types evolved, but this does not subsume bounded segmented recovery or visible-history consent. | **Retain** alpha.15 native-token planning, balanced tool ranges, bound-preset service lookup, native final admission/transaction commit and at most 16 physical calls. Retirement needs equivalent oversized-summary, typed capacity recovery, cancellation, preset, off-switch and commit evidence. Native `/compact` is not blanket recovery consent. |
114
+ | Liveness and cleanup | **Complete native abandonment fix / partial byte observation:** candidate [`adapter.ts`](https://github.com/deepseek-ai/deepseek-harness/blob/86a402200d95fecef4529d969836f1fe13c6cb0d/packages/llm/llm-pi-ai/src/adapter.ts) races `watchdog.next` and detaches `iterator.return` after abort. It no longer awaits a generator queued behind a hung demand. It still observes semantic chunks rather than raw SSE heartbeat bytes. | **Use native cleanup**, with a noncooperative-stream timeout regression. **Retain** separate managed HTTP byte-idle guard, consumer pause/resume and bounded semantic deadline until official raw-byte/consumer timing is equivalent. No extra cancellation owner, fake output or retry is added. |
115
+ | Credits, context evidence and historical Usage | **Partial:** [`TurnUsagePanel.tsx`](https://github.com/deepseek-ai/deepseek-harness/blob/86a402200d95fecef4529d969836f1fe13c6cb0d/packages/client/ui-chat/src/client/chat/TurnUsagePanel.tsx) and token-meter turn usage are unchanged. Native route attribution remains all-or-nothing; split input stats does not prove the additive plugin docks broke. | **Retain** quota versus context separation, quiet ordinary progress, incident-only notices, complete native accounting and bounded requested/recorded model explanation. Retire only with equivalent native account credits and complete historical evidence, not reconstructed picker state. Missing Usage remains unknown. |
116
+ | Blank Thinking presentation | **Complete native behavior:** [`AssistantMarkdown.tsx`](https://github.com/deepseek-ai/deepseek-harness/blob/86a402200d95fecef4529d969836f1fe13c6cb0d/packages/client/ui-chat/src/client/chat/AssistantMarkdown.tsx) ignores reasoning whose trimmed text is empty. Actual native rendering produces one public-summary disclosure instead of the old sixteen rows, without the plugin projection. | **Retire** the plugin renderer wrapper, origin projection and obsolete interception tests. Retain native rendering acceptance for empty/whitespace rows, visible answer/public summary and settled/running/interrupted states. No durable data, replay, Usage or independent Auto explanation changes. The concrete retirement trigger is now met, unlike other merely similar native features. |
117
+ | Diagnostics, HTTP 408 and gzip | **Partial:** public [`storage-domain`](https://github.com/deepseek-ai/deepseek-harness/blob/86a402200d95fecef4529d969836f1fe13c6cb0d/packages/storage/storage-domain/src/index.ts) retains caller-owned domain handles and strict open/error lifecycle. SDK public Fetch/payload observation remains needed; no reviewed source establishes a supplier 408 remedy. | **Retain** independent consent, bounded retention/storage, epoch clear, fixed diagnostics, clone-only 408 evidence, cancellation attribution and opt-in gzip. Retirement needs equivalent content-free public observation and consent semantics; do not change native transport/retries/Usage to collect evidence. Local body-write completion is not supplier receipt. |
118
+ | Client slots and strict Remotes | **Complete declarations / synthetic runtime acceptance:** Models `settings.models.provider-card`, Credits `conversation.composer.dock`, notices `conversation.input.dock` and historical `conversation.chat.assistant-actions` remain in exact source. Actual strict gateways, native account CAS/restart and the built Credits Client under the real selector/renderer now pass; declaration presence alone was insufficient. | **Retain** scoped additive slots, captured namespace identities, strict `create`/schema codecs, explicit viewed Session/turn IDs and native Host lookup. Retire only for an equivalent official account/credits/history surface with matching mount/teardown and isolation coverage. No DOM takeover or retired role UI; synthetic mounting is not live Desktop activation. |
119
+ | Experimental plugin records | **Complete experimental seam / unverified migration:** [`appendPluginRecord` / `pluginRecordOf`](https://github.com/deepseek-ai/deepseek-harness/blob/86a402200d95fecef4529d969836f1fe13c6cb0d/packages/core/session/src/index.ts#L469-L512) are newly public and ignorable, outside model-visible history. This changes the old “no seam” assessment, not authorization to start recording. | **Defer adoption** as separate reviewed behavior work. Continue bounded Host-lifetime evidence with unknown after restart. Adoption/retirement requires explicit payload, Session/turn, fork/resume, old-reader, rollback and consent review; no new records in this qualification. |
120
+
121
+ Only demonstrated native blank-reasoning presentation retires its redundant
122
+ plugin counterpart; source similarity alone retires nothing else. The native
123
+ cleanup fix is an upstream-owned improvement to verify, not a plugin patch to
124
+ copy. The SDK-free rewrite proposed as a possibility in #397 is not a
125
+ prerequisite: the exact root adapter export still lacks a complete replacement
126
+ for account-bound SDK factories, OAuth and public request hooks.
127
+
128
+ ## Acceptance and delivery fence
129
+
130
+ The dedicated qualification workflow was separate from rc.2 release CI. It first
131
+ verified official npm artifact availability on Windows and
132
+ Linux, then prepares an exclusive plugin-only fixture, inspects real public
133
+ class paths and both SDK resolutions, typechecks, and runs the synthetic suites
134
+ and candidate-specific native adapter regressions. Failed or unexecuted stages
135
+ must remain failures/unknown; passing preparation is not runtime qualification.
136
+
137
+ Required delivery evidence after the isolated qualification:
138
+
139
+ - Retain the executed candidate-specific regressions and all existing real account,
140
+ refresh, exclusion, Remote, UI-mount, compaction, diagnostics and reviewer
141
+ fixtures against both unchanged exact tagged source and published artifacts.
142
+ - Preserve the exact reviewer identity proof; no reviewer fixture skips or version-only
143
+ broadening. Align package peers/engines, baseline, Agent contract/verifiers,
144
+ supported CI, SDK pin and both READMEs together. The prepared alpha.16 changes
145
+ do so; the final production matrix must independently pass.
146
+ - Run the full gate, review the diff and merge only through protected green CI.
147
+ Then publish one original archive to GitHub/npm and verify tag/commit,
148
+ prerelease channel, SHA-256 and npm SRI. Do not release an unqualified target.
149
+
150
+ The Windows nightly feed
151
+ `https://download.deepseek.com/dsh-desk/feeds/win-x64/nightly.yml` failed TLS
152
+ negotiation during the earlier exact-target investigation. No candidate
153
+ Desktop artifact/signature, installation, loaded plugin, OAuth, live model,
154
+ hosted search, profile/settings/history migration or runtime health is claimed.
155
+ Source/npm qualification cannot substitute for those layers. #397 must remain
156
+ open until its checklist is either evidenced by #420 or explicitly deferred,
157
+ not blindly closed on consolidation.
@@ -0,0 +1,83 @@
1
+ # Official-first qualification: DSH 0.2.1-alpha.5
2
+
3
+ Tracking: [#422](https://github.com/cloga/dsh-github-copilot/issues/422).
4
+ The fixed official target is
5
+ [`dsh-v0.2.1-alpha.5`, `1517a4dbca0a2789ff1d41ba439600f8547d23fa`](https://github.com/deepseek-ai/deepseek-harness/tree/1517a4dbca0a2789ff1d41ba439600f8547d23fa).
6
+ The plugin starts from alpha.16, main commit
7
+ `bb25d425342ee660049a8320585f967671d49ec4`, not an earlier feature branch.
8
+ Later upstream targets are outside this qualification.
9
+
10
+ The prepared version is `0.1.0-alpha.1.dsh.0.2.1.alpha.5`. User-directed
11
+ independent numbering starts at `0.1.0-alpha.1` for each exact Core, continuing
12
+ the plugin implementation/history rather than increasing a global minor.
13
+ The explicit `deployment-baseline.json.releaseLines` mapping preserves published
14
+ rc.2/alpha.4 anchors and marks this candidate pending. Global npm tags and SemVer
15
+ ordering are not compatibility selectors; see [distribution](./npm-distribution.md#exact-core-release-lines).
16
+
17
+ ## Exact delta and decisions
18
+
19
+ The complete, nontruncated alpha.4/alpha.5 Git-tree comparison identifies the
20
+ changed relevant source in `ui-model-selection` (`ModelSelect.tsx`, `index.ts`,
21
+ `slots.ts`) and `tools` (`index.ts`, `ptc.ts`, `ts-types.ts`, `py-types.ts`).
22
+ The adapter, BasicCompactionEngine, credential seams, token meter, Auto reviewer
23
+ and existing Chat Usage/composer contracts are unchanged. Version churn across
24
+ package manifests still requires exact package qualification, not a startup
25
+ exemption. A truncated compare response is not the basis for this conclusion.
26
+
27
+ The [alpha.4 surface-by-surface review](./official-first-021-alpha4.md) remains
28
+ the source of each retained gap and concrete retirement trigger. This delta
29
+ does not demonstrate a new native replacement.
30
+
31
+ | Surface | Official support / remaining gap | Decision |
32
+ |---|---|---|
33
+ | Admission and public adapter | Exact alpha.5 packages; native SDK remains `^1.1.0`. Official Cordis `4.0.5-alpha.2`, Loader `1.0.6-alpha.2`, schemastery `3.18.5-alpha.2` and Zod `4.4.3` contracts are unchanged. Adapter resolution is inspected independently of the plugin's exact SDK `1.1.0`. | Migrate engines, peers, reviewer callback/package identity, baseline and both platform gates together. No `allow-version`, dependency patch or transitive override. |
34
+ | PTC schema and instructions | Native `run_code` presents code before description; TypeScript function-body output uses return/print, while REPL output remains explicit. Native tool execution, sandbox/approval, canonical output and retries remain upstream-owned. | Regress actual public native schema/SDK plus Copilot-only escalation removal and action-specific Goal filtering. Retain local filtering until native Copilot schemas provide equivalent guarantees; no execution wrapper or permission change. |
35
+ | Model label slot | `conversation.input.model.label` is single, session-scoped, inline and noninteractive. Its provider id/name, exact catalog model, trigger/menu/option placement and selected flag describe selection UI, not historical execution. | Document opportunity only. Do not register a new label, redesign UX or infer executed/billed models. Native selection remains the owner. |
36
+ | Accounts, refresh, metadata and Auto | No new replacement for independently authorized accounts, certified-refresh proof, exclusions, parent following or frozen Auto policy. | Retain all account/turn fences and policies. No profile, selector, history or consent migration; no new durable decision records. |
37
+ | Compaction, replay, images and liveness | Relevant implementations unchanged. Native token units, complete tool spans, final admission, native transactions and noncooperative cleanup remain required. | Retain the selected recovery engine's at-most-16 physical calls, exact replay consent and separate byte/semantic guards. Preserve alpha.15 planning/refresh fixes. |
38
+ | Thinking, Usage and additive UI | Native blank-reasoning suppression remains; Usage still has incomplete-attribution limits. Existing strict gateways and additive mounts remain required. | Keep alpha.16 renderer/provenance retirement. Regress native settled/running/interrupted presentation, account selector and Host/Client gateways; no new historical execution claim. |
39
+ | Search and diagnostics | No equivalent account-bound search proof or independent bounded diagnostics/gzip consent replacement is demonstrated. | Retain existing proof, cancellation, retention, clear fences and native retry/Usage ownership. No live query or automatic collection. |
40
+ | Other upstream benefits | Skill-list refresh on plugin enable, terminal query/cache/recovery improvements and Page Up layout are upstream changes. | Delegate to native behavior; no copied implementation or unrelated plugin redesign. |
41
+
42
+ Twelve earlier exact pins, including alpha.4, remain historical evidence, not
43
+ current admission or release gates. Rc.2 hosts must retain alpha.15 or their
44
+ existing compatible version. Alpha.4 hosts can retain alpha.16.
45
+
46
+ ## Qualification and evidence limits
47
+
48
+ Required CI runs unchanged exact tagged-source and published-artifact acceptance
49
+ on Windows and Linux, complete plugin gates, native Chat rendering, strict
50
+ gateways/mounts, SDK type identity, package smoke and original tarball checks.
51
+ All 28 native reviewer regressions must execute with no skips. Synthetic
52
+ credentials and transports never authorize live access.
53
+
54
+ Local `pnpm verify` cannot start source typechecking because dependencies are
55
+ missing. `pnpm install --frozen-lockfile --ignore-scripts` reaches the unchanged
56
+ lock but the authorized enterprise mirror returns HTTP 404 for
57
+ `@aws-sdk/credential-provider-http@3.972.76`. This is local validation blocked,
58
+ not passed. Dependency metadata may be generated by authorized official-registry
59
+ CI and adopted exactly; no package blobs, alternate versions or Core edits
60
+ are used to bypass local policy. Protected complete CI is authoritative.
61
+
62
+ The exact alpha.5 lock metadata was generated by
63
+ [the isolated metadata job](https://github.com/cloga/dsh-github-copilot/actions/runs/38959902431)
64
+ and adopted without dependency substitutions. Protected frozen Windows/Linux
65
+ installs then correctly rejected 63 entries under the existing 24-hour
66
+ `minimumReleaseAge` default inherited from pnpm 11.7.0. Repository inspection
67
+ found no explicit `minimumReleaseAge` value in `pnpm-workspace.yaml`, `.npmrc`
68
+ or `package.json`; this is not an organization/GitHub/npm-mandated policy. No
69
+ user-requested default or exemption change was made. See the
70
+ [pnpm dependency-resolution setting](https://pnpm.io/settings/dependency-resolution#minimumreleaseage).
71
+ The latest rejected publication is
72
+ `@deepseek-ai/dsh-client-ui-slots@0.2.1-alpha.5` at
73
+ `2026-10-16T12:30:52.955Z`; the observed package set clears that age threshold
74
+ after `2026-10-17T12:30:52.955Z`, subject to a fresh frozen check.
75
+ No default/exemption change, clock override or merge/release bypass is
76
+ introduced. Published-artifact fixtures separately exercise native identities,
77
+ build and ordinary tests; they do not replace the protected source/package gate.
78
+
79
+ Source/npm qualification is separate from candidate Desktop artifacts/signatures,
80
+ loaded plugin, profile peer resolution, OAuth, live models/search and runtime
81
+ health. None of those live layers is claimed. No installation, Desktop upgrade,
82
+ restart or profile/settings/history/consent change is authorized. The deferred
83
+ live and experimental-record work in #397 remains open.