dsh-github-copilot 0.4.1 → 0.4.2-alpha.3

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.4.2-alpha.3 (prepared)
4
+
5
+ - Put daily Auto allocation aggregate rows in the primary Local diagnostics view, with UTC date, policy, model, decision cohort, opportunities, expected selections, selected counts and no-fit decisions. Keep cohorts distinct and state that these counts do not prove execution, quality or billing.
6
+ - Move account/Checking and compaction tables, collection controls, and data-scope/limits/JSON guidance into collapsed disclosures. Preserve status retry access, independent default-off switches and separately confirmed clear behavior.
7
+ - Match disclosure summaries and aggregate tables to native settings typography. Update bilingual usage guidance and add focused component regressions; no collection, CAS, storage, privacy or routing policy changes.
8
+
9
+ ## 0.4.2-alpha.1 (publication blocked: immutable tag metadata)
10
+
11
+ - Persist bounded daily Auto allocation aggregates in the existing profile-isolated local diagnostics storage domain. The Auto collection switch is independent and default-off; enabling it does not enable account/Checking or compaction collection.
12
+ - Retain only fixed policy/model/category/demand/assessment/high-cost/continuity dimensions and bounded opportunity, expected-share, selected and no-fit counts. Cap Auto strata at 1,024 and retain for 14 days under the existing snapshot-size limit; expose restart, eviction, drop, truncation and saturation evidence.
13
+ - Preserve turn routing and Host-lifetime explanations when observation is disabled or fails. No Session/turn IDs, conversation data, upload, automatic tuning or execution/quality/billing inference is added.
14
+ - Add collector, UI, Remote codec and storage-gateway regression coverage; synthetic tests do not establish live Desktop activation or Auto performance.
15
+
16
+ ## 0.4.2-alpha.2 (published)
17
+
18
+ - Carry forward the default-off local Auto allocation observations from the unpublished `0.4.2-alpha.1` candidate.
19
+ - Accept the repository's `(prepared)` changelog heading in the release preflight and verify exactly one version section before publishing.
20
+
3
21
  ## 0.4.1
4
22
 
5
23
  - Upgrade from 0.4.0: fix normal plugin-owned same-account native OAuth refresh aborting concurrent already-dispatched managed HTTP streams with `COPILOT_PREVIEW_CREDENTIAL_CHANGED`.
package/README.md CHANGED
@@ -8,7 +8,7 @@
8
8
 
9
9
  GitHub Copilot account discovery, contextual Auto routing and hosted search for DSH. The plugin reuses DSH's published native adapter, retaining a profile-wide account default with independent Session next-turn choices; it does not patch Core or maintain a second model catalog.
10
10
 
11
- **Stable release: [`0.4.1`](https://github.com/cloga/dsh-github-copilot/releases/tag/v0.4.1). Supported host: official DSH / Windows Desktop `0.2.0-rc.2`.** The stable version is also published on npm's `latest` dist-tag; prereleases remain on their channel tags. Stability-channel promotion does not expand the qualified host baseline or prove live account, model, search or Desktop health. Earlier DSH pins are historical evidence, not supported installation targets. Published, installed in a profile and loaded by a running Host are separate states.
11
+ **Stable release: [`0.4.1`](https://github.com/cloga/dsh-github-copilot/releases/tag/v0.4.1); prepared prerelease: `0.4.2-alpha.3`.** `0.4.2-alpha.1` was not published: its release preflight failed, and its immutable tag will not be reused. Supported host: official DSH / Windows Desktop `0.2.0-rc.2`. The stable version is also published on npm's `latest` dist-tag; prereleases remain on their channel tags. Stability-channel promotion does not expand the qualified host baseline or prove live account, model, search or Desktop health. Earlier DSH pins are historical evidence, not supported installation targets. Published, installed in a profile and loaded by a running Host are separate states.
12
12
 
13
13
  **Upgrade from 0.4.0:** that first stable release can interrupt concurrent managed requests with `COPILOT_PREVIEW_CREDENTIAL_CHANGED` during normal same-account native OAuth renewal. In 0.4.1, a proven plugin-owned refresh with unchanged account, endpoint and entitlements preserves already-dispatched HTTP streams; subsequent requests use freshly validated auth and metadata. Unknown/external credential notifications, revocation, cancellation and provider rejections remain explicit—not a promise of invisible recovery or automatic retry. See [the refresh boundary](./docs/copilot-accounts.md#native-oauth-refresh-and-dispatched-requests-385).
14
14
 
@@ -23,25 +23,38 @@ policy, not a price/quality ranking or proven savings.
23
23
 
24
24
  The existing turn selection dialog exposes **Auto allocation observations**:
25
25
  local retained opportunities, expected shares and actual selections for this
26
- Session, with a read-only JSON export. No automatic upload or durable history
27
- is added; restart/eviction loses evidence. `autoAllocationEvidence: false`
28
- stops future candidate capture without changing routing; previously retained
29
- observations remain until disposal/eviction/restart. The auxiliary classifier
26
+ Session, with a read-only JSON export. This view remains Host-lifetime only.
27
+ For durable evaluation, default-off **Local diagnostics** also retains daily
28
+ aggregates by policy/model/category, demand and assessment source, high-cost
29
+ and continuity state, expected/actual selections and no-fit decisions for 14
30
+ days. Enable it independently through the plugin detail settings page; this
31
+ does not enable account/Checking or compaction collection. No Session/turn IDs,
32
+ conversation content, execution/outcome claims, automatic tuning or upload.
33
+ `autoAllocationEvidence: false` stops future candidate evidence in the
34
+ turn-selection view without changing routing. The auxiliary classifier
30
35
  prefers unmarked eligible Lightweight models separately. Advisor calls are not
31
- implemented. See [requirements](./docs/auto-high-cost.md) and the
36
+ implemented. See [requirements](./docs/auto-high-cost.md),
37
+ [local diagnostics](./docs/plugin-diagnostics.md) and the
32
38
  [required iteration review](./docs/evidence-driven-iteration.md).
33
39
 
34
40
  The [local diagnostics pilot](./docs/plugin-diagnostics.md) records bounded
35
- account/Checking and compaction aggregates, **default off**. After installing
41
+ account/Checking, compaction and Auto allocation aggregates, **default off**. After installing
36
42
  and loading the published build, open the plugin detail settings page →
37
43
  **Local diagnostics → Read status → Enable local collection**. This enables
38
- local persistence, not uploads or scheduled analysis. The package also has an
39
- explicit offline analyzer for a caller-selected persisted unit or reviewed
40
- aggregate view; it writes only to a new local report file and never scans,
41
- uploads or changes collection. Pause preserves evidence; Clear requires
42
- separate confirmation. Client/Host populations, uncovered paths and
43
- reporting/storage gaps remain explicit. Descriptive counts are not reconstructed
44
- history, failure rates or proof of an improvement.
44
+ local account/Checking and compaction persistence, not uploads or scheduled
45
+ analysis. Enable **Auto allocation observation** separately to collect only
46
+ Auto allocation aggregates. The package also has an explicit offline analyzer
47
+ for a caller-selected persisted unit or reviewed aggregate view; it writes only
48
+ to a new local report file and never scans, uploads or changes collection. Pause
49
+ preserves evidence; Clear requires separate confirmation. Client/Host
50
+ populations, uncovered paths and reporting/storage gaps remain explicit.
51
+ Descriptive counts are not reconstructed history, failure rates or proof of an
52
+ improvement. The diagnostics page opens on a daily Auto allocation table by UTC
53
+ date, policy, model and cohort, with opportunities, expected selections, selected
54
+ counts and no-fit decisions. Compare expected and selected counts only within
55
+ matching cohorts. Account/Checking and compaction reports, collection controls,
56
+ and detailed scope, limits and JSON are in collapsed disclosures; clearing still
57
+ requires separate confirmation.
45
58
 
46
59
  To analyze an explicitly qualified file from a built package or source checkout:
47
60
 
@@ -92,10 +105,10 @@ Supply any launcher patches with repeated `--patch /absolute/file`. Require `sup
92
105
  For a **standalone named profile**:
93
106
 
94
107
  ```sh
95
- dsh plugin --profile web add https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.1/dsh-github-copilot-0.4.1.tgz
108
+ dsh plugin --profile web add https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.2-alpha.3/dsh-github-copilot-0.4.2-alpha.3.tgz
96
109
  ```
97
110
 
98
- For **Desktop**, its native package manager accepts the exact stable npm spec `dsh-github-copilot@0.4.1`; stable versions publish on npm's `latest` dist-tag. The official rc.2 **Desktop-bundled CLI** also supports reserved-profile plugin management; a global/generic `dsh` shim is not equivalent. Qualify the installed entry before use. See [Desktop CLI qualification](./docs/npm-distribution.md#desktop-bundled-cli-on-official-rc2) and the distinct [standalone offline procedure](./docs/npm-distribution.md#controlled-offline-cli-maintenance-for-standalone-profiles). Neither path authorizes registry-policy bypass, peer patches or configuration deletion.
111
+ For **Desktop**, its native package manager accepts an exact npm spec, for example `dsh-github-copilot@0.4.2-alpha.3`; stable versions publish on npm's `latest` dist-tag and prereleases on their channel tags. The official rc.2 **Desktop-bundled CLI** also supports reserved-profile plugin management; a global/generic `dsh` shim is not equivalent. Qualify the installed entry before use. See [Desktop CLI qualification](./docs/npm-distribution.md#desktop-bundled-cli-on-official-rc2) and the distinct [standalone offline procedure](./docs/npm-distribution.md#controlled-offline-cli-maintenance-for-standalone-profiles). Neither path authorizes registry-policy bypass, peer patches or configuration deletion.
99
112
 
100
113
  After an approved reload/restart:
101
114
 
@@ -271,14 +284,14 @@ Commit attribution uses `Assisted-by` with the actual tool, never the model prov
271
284
  GitHub Releases and npm distribute the same original verified tarball. Pin a version; verify Release SHA-256 or npm `dist.integrity`. Never repack an immutable release or move/reuse its tag.
272
285
 
273
286
  ```sh
274
- curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.1/dsh-github-copilot-0.4.1.tgz
275
- curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.1/SHA256SUMS
287
+ curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.2-alpha.3/dsh-github-copilot-0.4.2-alpha.3.tgz
288
+ curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.2-alpha.3/SHA256SUMS
276
289
  sha256sum --check SHA256SUMS
277
290
  ```
278
291
 
279
292
  ```powershell
280
293
  $expected = (Get-Content .\SHA256SUMS).Split()[0]
281
- $actual = (Get-FileHash .\dsh-github-copilot-0.4.1.tgz -Algorithm SHA256).Hash.ToLowerInvariant()
294
+ $actual = (Get-FileHash .\dsh-github-copilot-0.4.2-alpha.3.tgz -Algorithm SHA256).Hash.ToLowerInvariant()
282
295
  if ($actual -cne $expected) { throw 'Release checksum mismatch' }
283
296
  ```
284
297
 
package/README.zh.md CHANGED
@@ -8,7 +8,7 @@
8
8
 
9
9
  为 DSH 提供 GitHub Copilot 账号模型发现、上下文 Auto 选模和 hosted search。插件复用 DSH 公开的原生适配器,保留 profile 全局默认账号,并支持 Session 后续 turn 指定独立账号;不修改 Core,也不维护第二套模型目录。
10
10
 
11
- **稳定版:[`0.4.1`](https://github.com/cloga/dsh-github-copilot/releases/tag/v0.4.1)。支持宿主:官方 DSH / Windows Desktop `0.2.0-rc.2`。** 稳定版也发布到 npm 的 `latest` dist-tag;预发布版本仍使用各自渠道 tag。稳定渠道不扩大已验证的宿主基线,也不证明实时账号、模型、搜索或 Desktop 健康状态。较早 DSH pin 仅是历史证据,不是当前安装目标。已发布、已安装到 profile、已被运行中的 Host 加载,是三个不同状态。
11
+ **稳定版:[`0.4.1`](https://github.com/cloga/dsh-github-copilot/releases/tag/v0.4.1);待发布预览版:`0.4.2-alpha.3`。** `0.4.2-alpha.1` 的发布预检失败,因此未发布;其不可变 tag 不会复用。支持宿主:官方 DSH / Windows Desktop `0.2.0-rc.2`。稳定版也发布到 npm 的 `latest` dist-tag;预发布版本仍使用各自渠道 tag。稳定渠道不扩大已验证的宿主基线,也不证明实时账号、模型、搜索或 Desktop 健康状态。较早 DSH pin 仅是历史证据,不是当前安装目标。已发布、已安装到 profile、已被运行中的 Host 加载,是三个不同状态。
12
12
 
13
13
  **从 0.4.0 升级:**首个正式版在同账号正常原生 OAuth 刷新时,可能以 `COPILOT_PREVIEW_CREDENTIAL_CHANGED` 中止并行托管请求。0.4.1 仅在插件拥有的原生刷新被精确验证,且账号、端点与权限连续时,保留已发出的 HTTP 流;后续请求重新验证认证与模型元数据。未知/外部凭据通知、撤销、取消与供应商拒绝仍明确报错,不承诺所有刷新无感,也不自动重试。参见[刷新边界](./docs/copilot-accounts.md#native-oauth-refresh-and-dispatched-requests-385)。
14
14
 
@@ -20,19 +20,27 @@
20
20
  标记不改变手动选择或已接纳的 turn。这是路由政策,不是价格/质量排名,也不证明节省费用。
21
21
 
22
22
  现有 turn 选择说明内提供 **Auto allocation observations**,显示当前 Session
23
- 保留的候选机会、预期份额与实际选择,并提供只读 JSON 导出。不自动上传,也不写入持久
24
- 历史;重启或淘汰会丢失观察。设置 `autoAllocationEvidence: false` 可停止后续候选
25
- 记录,不改变路由;此前观察保留至销毁、淘汰或重启。辅助分类器独立优先使用未标记的
26
- 合格 Lightweight 模型。顾问求助尚未实现。参见[完整需求](./docs/auto-high-cost.md)
23
+ 保留的候选机会、预期份额与实际选择,并提供只读 JSON 导出;此视图仍仅在 Host
24
+ 生命周期内保留。为了持久评估,默认关闭的 **Local diagnostics** 还会按策略/模型/类别、
25
+ 需求与评估来源、高成本/连续性状态汇总预期/实际选择及 no-fit 决策,保留 14 天。
26
+ 可在插件详情设置页单独启用,不会因此采集账号/Checking 或压缩汇总。不记录
27
+ Session/turn ID、对话内容,也不推断执行/结果,不自动调参或上传。
28
+ `autoAllocationEvidence: false` 会停止 turn 选择视图的后续候选证据,但不改变路由。
29
+ 辅助分类器独立优先使用未标记的合格 Lightweight 模型。顾问求助尚未实现。参见
30
+ [完整需求](./docs/auto-high-cost.md)、[本地诊断](./docs/plugin-diagnostics.md)
27
31
  与[强制迭代评审流程](./docs/evidence-driven-iteration.md)。
28
32
 
29
- [本地诊断试点](./docs/plugin-diagnostics.md)记录有界的账号/Checking 与压缩
33
+ [本地诊断试点](./docs/plugin-diagnostics.md)记录有界的账号/Checking、压缩与 Auto 分配
30
34
  汇总,**默认关闭**。安装并加载已发布版本后,进入插件详情设置页 →
31
35
  **Local diagnostics → Read status → Enable local collection**,开启本地持久化;
32
- 不上传,不启用定时分析。包内另提供显式离线分析器,只处理调用者指定的持久化单元
33
- 或经审阅的聚合视图,并且只新建本地报告文件;不会扫描、上传或更改采集设置。
34
- 暂停保留证据,清除需单独确认。Client/Host 分开统计,未覆盖路径、报告丢失与存储
35
- 故障明确显示。描述性计数不是历史重建、错误率,也不表示优化效果已被验证。
36
+ 仅用于账号/Checking 与压缩汇总,不上传或启用每日分析。另行启用
37
+ **Auto allocation observation** 才会单独收集 Auto 分配汇总。包内另提供显式离线分析器,
38
+ 只处理调用者指定的持久化单元或经审阅的聚合视图,并且只新建本地报告文件;不会扫描、
39
+ 上传或更改采集设置。暂停保留证据,清除需单独确认。Client/Host 分开统计,未覆盖路径、
40
+ 报告丢失与存储故障明确显示。描述性计数不是历史重建、错误率,也不表示优化效果已被验证。诊断页默认显示按 UTC 日期、
41
+ 策略、模型和 cohort 划分的 Auto 分配每日汇总表,包含候选机会、预期选择、实际选择及
42
+ no-fit 决策;只能在匹配 cohort 内比较预期与实际选择。账号/Checking 和压缩报告、采集控制、
43
+ 详细范围/限制/JSON 位于折叠区;清除仍需单独确认。
36
44
 
37
45
  在已构建的包或源码 checkout 内,显式分析已核验的文件:
38
46
 
@@ -83,10 +91,10 @@ node package/scripts/check-search-composition.mjs --profile-dir /absolute/profil
83
91
  **独立具名 profile**:
84
92
 
85
93
  ```sh
86
- dsh plugin --profile web add https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.1/dsh-github-copilot-0.4.1.tgz
94
+ dsh plugin --profile web add https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.2-alpha.3/dsh-github-copilot-0.4.2-alpha.3.tgz
87
95
  ```
88
96
 
89
- **Desktop** 原生包管理器接受精确稳定版 npm spec `dsh-github-copilot@0.4.1`;稳定版发布到 npm `latest` dist-tag。官方 rc.2 **Desktop 随附的专属 CLI**也支持管理保留 profile;全局/普通 `dsh` shim 不等价。使用前核验实际安装入口,参见[Desktop CLI 核验](./docs/npm-distribution.md#desktop-bundled-cli-on-official-rc2)及独立的[具名 profile 离线流程](./docs/npm-distribution.md#controlled-offline-cli-maintenance-for-standalone-profiles)。两种路径都不授权绕过包源政策、修改 peer 或删除配置。
97
+ **Desktop** 原生包管理器接受精确 npm spec,例如 `dsh-github-copilot@0.4.2-alpha.3`;稳定版发布到 npm `latest` dist-tag,预发布版使用对应渠道 tag。官方 rc.2 **Desktop 随附的专属 CLI**也支持管理保留 profile;全局/普通 `dsh` shim 不等价。使用前核验实际安装入口,参见[Desktop CLI 核验](./docs/npm-distribution.md#desktop-bundled-cli-on-official-rc2)及独立的[具名 profile 离线流程](./docs/npm-distribution.md#controlled-offline-cli-maintenance-for-standalone-profiles)。两种路径都不授权绕过包源政策、修改 peer 或删除配置。
90
98
 
91
99
  经批准 reload/restart 后:
92
100
 
@@ -262,14 +270,14 @@ Agent 从 `node scripts/agent.mjs describe --json`、`doctor --json`及`plan <ta
262
270
  GitHub Releases 和 npm 分发同一原始已校验 tarball。固定版本并核验 Release SHA-256 或 npm `dist.integrity`;不重打包不可变 Release、不移动/复用 tag。
263
271
 
264
272
  ```sh
265
- curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.1/dsh-github-copilot-0.4.1.tgz
266
- curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.1/SHA256SUMS
273
+ curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.2-alpha.3/dsh-github-copilot-0.4.2-alpha.3.tgz
274
+ curl -LO https://github.com/cloga/dsh-github-copilot/releases/download/v0.4.2-alpha.3/SHA256SUMS
267
275
  sha256sum --check SHA256SUMS
268
276
  ```
269
277
 
270
278
  ```powershell
271
279
  $expected = (Get-Content .\SHA256SUMS).Split()[0]
272
- $actual = (Get-FileHash .\dsh-github-copilot-0.4.1.tgz -Algorithm SHA256).Hash.ToLowerInvariant()
280
+ $actual = (Get-FileHash .\dsh-github-copilot-0.4.2-alpha.3.tgz -Algorithm SHA256).Hash.ToLowerInvariant()
273
281
  if ($actual -cne $expected) { throw 'Release checksum mismatch' }
274
282
  ```
275
283
 
@@ -8,7 +8,7 @@
8
8
  },
9
9
  "package": {
10
10
  "name": "dsh-github-copilot",
11
- "version": "0.4.1"
11
+ "version": "0.4.2-alpha.3"
12
12
  },
13
13
  "evidence": {
14
14
  "kind": "source-and-synthetic-test-inventory",
@@ -90,14 +90,26 @@ and eligibility windows. No-fit decisions have no fitting-pool distribution.
90
90
  Report category, assessment source, switching/continuity and marking state at
91
91
  decision time, never reconstructed from today's settings.
92
92
 
93
- Initial monitoring may be bounded Host-lifetime evidence. State its window,
94
- retained sample count, eviction and restart limits. Missing history is unknown,
95
- not zero usage or success. A session-local snapshot is not account-wide traffic.
96
- Persistent monitoring requires a separately reviewed public storage seam,
97
- retention/clearing and explicit scope; do not write custom Core history events.
98
- `autoAllocationEvidence: false` stops future candidate captures without changing
99
- selection; older retained observations expire through the normal bounded
100
- store lifecycle. The read-only export performs no automatic file writes/upload.
93
+ The turn-selection dialog continues to expose bounded Host-lifetime evidence.
94
+ Separately, default-off Local diagnostics persists daily profile-local
95
+ allocation aggregates in the reviewed public storage domain when collection is
96
+ enabled. It records plugin/policy version, target/selected category,
97
+ demand/assessment source, model, high-cost/continuity flags, weight,
98
+ opportunities, conditional expected selections, actual selections and no-fit
99
+ counts. Retain at most 1,024 strata for 14 days under the shared 2 MiB snapshot
100
+ limit; expose restart, expiration, drops and truncation. There are no
101
+ Session/turn IDs, prompt/content, execution or task-outcome records, custom
102
+ Core history events, automatic uploads or tuning. The shared Local diagnostics
103
+ switch controls account/Checking and compaction aggregates; Auto allocation
104
+ collection has its own hidden volatile, default-off setting and can be enabled
105
+ without collecting those other populations. Missing history is unknown, not
106
+ zero usage or success, and selection remains distinct from execution, quality
107
+ and billing.
108
+
109
+ `autoAllocationEvidence: false` stops future Host-lifetime candidate captures
110
+ without changing selection; it does not disable the separately controlled
111
+ persistent Local diagnostics aggregates. The read-only exports perform no
112
+ automatic file writes/upload.
101
113
 
102
114
  No prompt, answer, tool content, replay, credential, account name or raw Session
103
115
  ID belongs in an aggregate review. Keep evidence local; no automatic upload.
@@ -1,4 +1,4 @@
1
- # Local diagnostics: account and compaction pilot
1
+ # Local diagnostics: account, compaction and Auto allocation
2
2
 
3
3
  Roadmap: [#347](https://github.com/cloga/dsh-github-copilot/issues/347).
4
4
  Phase 0: [#354](https://github.com/cloga/dsh-github-copilot/issues/354).
@@ -22,9 +22,33 @@ through native path-level Settings CAS and confirm readback. This enables
22
22
  collection **and bounded local aggregate persistence**, not exports or uploads.
23
23
  The normal installation does not change this default-off setting.
24
24
 
25
+ The page opens with the daily Auto allocation table: UTC date, policy, model,
26
+ decision cohort, opportunities, expected selections, selected counts and no-fit
27
+ decisions. Compare expected and selected counts only within matching cohorts;
28
+ these aggregates do not establish execution, quality or billing. Account and
29
+ compaction summaries, collection controls, and detailed data-scope/limits/JSON
30
+ guidance are in collapsed disclosures. If a status read fails, expand Collection
31
+ controls to find **Read status**; no failed operation is automatically replayed.
32
+ Clearing aggregates still requires its separate confirmation.
33
+
25
34
  Use the plugin normally: account selection, Identity/Checking and compaction
26
- will contribute independent Client/Host populations. **Read status** returns a
27
- strict aggregate snapshot; **Review aggregate-only JSON → Prepare current JSON**
35
+ will contribute independent Client/Host populations. Auto model allocation has a
36
+ separate **Enable Auto allocation observation** control and its own hidden,
37
+ volatile `github-copilot.autoAllocationDiagnosticsEnabled` path-level CAS.
38
+ It can be enabled without collecting the other diagnostics. Auto decisions
39
+ contribute daily, profile-local allocation aggregates to the same storage
40
+ domain while this switch is enabled. These contain plugin/policy version, model
41
+ ID, target and selected category, task-demand/assessment-source strata,
42
+ high-cost/continuity flags, effective weight, candidate opportunities,
43
+ conditional expected selections, actual selections and no-fit counts. They do
44
+ not contain Session/turn identifiers, prompts, outcomes, execution or billing
45
+ attribution. Aggregate rows are capped at 1,024, retained for 14 days and
46
+ included in the existing 2 MiB snapshot limit; expired, dropped, truncated,
47
+ saturated and restart evidence remains explicit. There is no per-turn export,
48
+ automatic tuning or upload. The two controls can be paused independently;
49
+ **Clear local aggregates** clears both diagnostics populations.
50
+
51
+ **Read status** returns a strict aggregate snapshot; **Review aggregate-only JSON → Prepare current JSON**
28
52
  prepares a read-only copy for explicit review/sharing, never a download or upload.
29
53
  The coding session does not automatically gain access to the running Host.
30
54
  Pause preserves retained evidence and closes active observations as interrupted.