dsh-github-copilot 0.4.0-alpha.99 → 0.4.1

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 (110) hide show
  1. package/AGENTS.md +104 -16
  2. package/CHANGELOG.md +223 -0
  3. package/CONTRIBUTING.md +9 -0
  4. package/README.md +108 -18
  5. package/README.zh.md +99 -18
  6. package/deployment-baseline.json +227 -8
  7. package/docs/account-management-experience.md +143 -0
  8. package/docs/auto-high-cost.md +154 -0
  9. package/docs/auto-iteration-review.json +22 -0
  10. package/docs/auto-review-sampling.md +60 -0
  11. package/docs/auto-task-routing.md +8 -6
  12. package/docs/automatic-model-routing.md +33 -5
  13. package/docs/copilot-accounts.md +409 -0
  14. package/docs/copilot-compaction.md +23 -2
  15. package/docs/copilot-usage.md +24 -4
  16. package/docs/evidence-driven-iteration.md +86 -0
  17. package/docs/images/copilot-accounts-credits.png +0 -0
  18. package/docs/images/copilot-accounts.png +0 -0
  19. package/docs/images/copilot-current-provenance.json +39 -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/copilot-session-continuation.png +0 -0
  23. package/docs/manual-compaction-recovery.md +50 -7
  24. package/docs/mockups/copilot-account-dropdown.html +71 -0
  25. package/docs/mockups/copilot-account-management.html +393 -0
  26. package/docs/model-compatibility-acceptance.md +34 -16
  27. package/docs/npm-distribution.md +9 -1
  28. package/docs/official-first-020-rc2.md +1 -0
  29. package/docs/plugin-diagnostics.md +452 -0
  30. package/docs/session-continuation.md +141 -0
  31. package/docs/session-search-routing.md +1 -1
  32. package/docs/single-route-migration.md +5 -4
  33. package/lib/client.js +4415 -846
  34. package/lib/client.js.map +1 -1
  35. package/lib/diagnostics-analysis-io.js +78 -0
  36. package/lib/diagnostics-analysis.js +425 -0
  37. package/lib/diagnostics-types-FVf6zjob.js +182 -0
  38. package/lib/index.js +10455 -6037
  39. package/lib/manual-compaction-recovery.js +163 -38
  40. package/lib/remote.js +593 -34
  41. package/lib/routed-web.js +1 -1
  42. package/lib/{search-routing-jzNYveyK.js → search-routing-CV2hs8as.js} +139 -139
  43. package/lib/types/account-dropdown.d.ts +22 -0
  44. package/lib/types/account-model-auth.d.ts +1 -1
  45. package/lib/types/authorization-code-clipboard.d.ts +4 -0
  46. package/lib/types/authorization-controller.d.ts +2 -0
  47. package/lib/types/auto-allocation-card.d.ts +9 -0
  48. package/lib/types/auto-allocation-evidence.d.ts +38 -0
  49. package/lib/types/auto-allocation.d.ts +24 -0
  50. package/lib/types/auto-model-host.d.ts +2 -0
  51. package/lib/types/auto-model-routing.d.ts +6 -2
  52. package/lib/types/auto-review-sampling.d.ts +6 -0
  53. package/lib/types/auto-task-classifier.d.ts +1 -1
  54. package/lib/types/background-compaction.d.ts +2 -2
  55. package/lib/types/client.d.ts +19 -3
  56. package/lib/types/compaction-continuation-ui.d.ts +29 -0
  57. package/lib/types/compaction-continuation.d.ts +48 -0
  58. package/lib/types/compaction-input-estimate.d.ts +24 -0
  59. package/lib/types/compaction-replay.d.ts +18 -0
  60. package/lib/types/composer-notice-style.d.ts +7 -0
  61. package/lib/types/config.d.ts +42 -2
  62. package/lib/types/context-evidence-ui.d.ts +18 -1
  63. package/lib/types/context-evidence.d.ts +152 -4
  64. package/lib/types/copilot-account-presentation.d.ts +7 -0
  65. package/lib/types/copilot-accounts-card.d.ts +43 -0
  66. package/lib/types/copilot-accounts-host.d.ts +93 -0
  67. package/lib/types/copilot-accounts-remote.d.ts +85 -0
  68. package/lib/types/copilot-accounts-types.d.ts +43 -0
  69. package/lib/types/copilot-auth.d.ts +9 -2
  70. package/lib/types/copilot-usage-card.d.ts +23 -0
  71. package/lib/types/copilot-usage-host.d.ts +9 -1
  72. package/lib/types/copilot-usage-remote.d.ts +2 -1
  73. package/lib/types/copilot-usage-types.d.ts +1 -0
  74. package/lib/types/diagnostics-analysis-io.d.ts +23 -0
  75. package/lib/types/diagnostics-analysis.d.ts +295 -0
  76. package/lib/types/diagnostics-card.d.ts +11 -0
  77. package/lib/types/diagnostics-client.d.ts +13 -0
  78. package/lib/types/diagnostics-collector.d.ts +36 -0
  79. package/lib/types/diagnostics-host.d.ts +72 -0
  80. package/lib/types/diagnostics-remote.d.ts +109 -0
  81. package/lib/types/diagnostics-types.d.ts +431 -0
  82. package/lib/types/manual-compaction-recovery.d.ts +18 -3
  83. package/lib/types/model-preferences-card.d.ts +1 -1
  84. package/lib/types/native-settings-style.d.ts +10 -0
  85. package/lib/types/parent-model-follow-card.d.ts +2 -11
  86. package/lib/types/preview-provider.d.ts +5 -0
  87. package/lib/types/preview-route.d.ts +7 -5
  88. package/lib/types/remote.d.ts +9 -6
  89. package/lib/types/replay-recovery-host.d.ts +2 -2
  90. package/lib/types/replay-recovery-ui.d.ts +3 -1
  91. package/lib/types/request-body-evidence.d.ts +3 -1
  92. package/lib/types/responses-replay-compat.d.ts +2 -1
  93. package/lib/types/responses-request-compression.d.ts +33 -0
  94. package/lib/types/session-accounts-controller.d.ts +20 -0
  95. package/lib/types/session-accounts-host.d.ts +33 -0
  96. package/lib/types/session-accounts-remote.d.ts +114 -0
  97. package/lib/types/session-accounts.d.ts +38 -0
  98. package/lib/types/session-continuation-host.d.ts +45 -0
  99. package/lib/types/session-continuation-remote.d.ts +22 -0
  100. package/lib/types/session-continuation-types.d.ts +62 -0
  101. package/lib/types/session-continuation-ui.d.ts +49 -0
  102. package/lib/types/session-continuation.d.ts +14 -0
  103. package/lib/types/turn-request-models.d.ts +55 -0
  104. package/lib/types/turn-selection-card.d.ts +15 -1
  105. package/lib/types/turn-selection-host.d.ts +23 -0
  106. package/lib/types/turn-selection-remote.d.ts +4 -0
  107. package/lib/types/turn-selection.d.ts +19 -4
  108. package/package.json +29 -12
  109. package/scripts/analyze-diagnostics.mjs +91 -0
  110. package/scripts/iteration-review.mjs +53 -0
@@ -0,0 +1,154 @@
1
+ # High-cost Auto: requirements and evidence
2
+
3
+ Tracking: #333. Evidence-review workflow: #332.
4
+ Post-delivery review: [#334](https://github.com/cloga/dsh-github-copilot/issues/334).
5
+ Advisor qualification: [#335](https://github.com/cloga/dsh-github-copilot/issues/335).
6
+
7
+ ## Product contract
8
+
9
+ High cost is a user-owned exact-model-ID preference, not a supplier category,
10
+ quality rating, price quote or difficulty level. The setting is shared across
11
+ accounts, like exclusions. It applies to Lightweight, Versatile and Powerful
12
+ models, including newly advertised IDs without implementation changes.
13
+ Unmarked new models have ordinary weight. Unavailable saved markings survive
14
+ and apply when the ID returns. Exclusion and high cost are independent.
15
+
16
+ The existing Model preferences row gains a High cost checkbox. Changes save
17
+ immediately through a narrow public SettingsForms CAS and confirmed readback;
18
+ they never select a model, discover models, enumerate Sessions or change the
19
+ global default. Unknown preference state is read-only, not an empty marking
20
+ list. Fixed selection is unaffected. An admitted Auto turn retains its captured
21
+ decision across steps, retries and subsequent preference changes.
22
+
23
+ The snapshot is taken when Auto allocates a model, after bounded assessment and
24
+ model loading, not necessarily at `turn/start`. Once allocated, the same turn
25
+ cannot be reweighted by a later save. The current checkbox/configuration is not
26
+ historical evidence of a previous decision. A retained observation window can
27
+ contain several different turns and models; its end timestamp is not the
28
+ timestamp of the selected message's decision.
29
+
30
+ For #348, read-only native header evidence identifies the reported Astra
31
+ selection at 06:25:58 local time, while the second allocation around 06:42:18
32
+ selected a different model. The retained pre-install configuration had no mark,
33
+ and a later configuration contains it. Whole-file modification time does not
34
+ prove the high-cost leaf's save time. No decision-time saved revision or exact
35
+ save receipt was retained, so the historical cause remains unconfirmed.
36
+
37
+ `tests/fixtures/copilot-accounts-persistence-core.fixture.ts` now exercises the
38
+ native SettingsForms save, preserved volatile configuration, the production Auto
39
+ Host's captured candidate weight/share, and profile restart using synthetic
40
+ models and settings only. It proves saved marks reach new allocations in that
41
+ unchanged official Core fixture, not that the affected live Host read the mark
42
+ before the historical Astra decision. Do not hardcode a model, change live
43
+ preferences or rewrite a frozen explanation to manufacture a repair.
44
+
45
+ ## Routing policy v1
46
+
47
+ 1. Account ownership, metadata validity, exclusion, input modality and input
48
+ headroom are hard requirements.
49
+ 2. Assess each new turn using existing contextual local/semantic evidence.
50
+ Preserve existing demand categories and supplier-category fallback.
51
+ 3. Inside the first fitting category only, give ordinary candidates weight 1
52
+ and marked candidates weight 0.2. Multiply an eligible previous model's
53
+ weight by 1.5. Continuity is finite, never an early unconditional return.
54
+ 4. Select from cumulative positive weights using a stable Agent/turn seed.
55
+ Capture the selected ID, candidate weights and conditional expected shares.
56
+ No additional model calls are made to give candidates a chance.
57
+ 5. When no model fits, retain the largest-input-budget native recovery path.
58
+ Cost cannot justify choosing a model that cannot fit.
59
+
60
+ These initial parameters are a routing policy to evaluate, not calibrated
61
+ quality or billing facts. A marked previous model has weight 0.3, lower than an
62
+ ordinary peer's 1. An ordinary previous model has 1.5. A lone fitting marked
63
+ model is selected; an all-marked pool remains usable. A marked Fast model can
64
+ answer a simple task: it has a smaller share, not an extreme-only gate.
65
+ Every eligible final-pool candidate has positive opportunity; finite workloads
66
+ need not visit every model. Stable seeds do not prove independent random trials.
67
+
68
+ The auxiliary semantic classifier is a separate call, not another main-turn
69
+ allocation. It prefers an unmarked eligible Lightweight classifier; if only
70
+ marked classifiers qualify, the existing bounded call remains available.
71
+ Within that cost tier it retains advertised-off preference and stable ID order.
72
+ Its model selection must disclose its own policy and charge limits;
73
+ never count it as an ordinary Auto decision or hide auxiliary costs in Chat
74
+ Usage.
75
+
76
+ ## Measurements and acceptance
77
+
78
+ Review the previous policy report before changing weights or continuity.
79
+ Synthetic acceptance covers ordinary/marked/all-marked/single pools, every
80
+ supplier category, exclusions, capacity, category changes, stable seeds,
81
+ preference changes and admitted-turn freezing. Distribution checks use large
82
+ declared seed sets and compare actual allocation with conditional expected
83
+ shares, including a marked previous model.
84
+
85
+ Runtime evidence must distinguish a selected decision from native attempted,
86
+ delivered, finished, failed and cancelled calls. Count a decision once per
87
+ Agent/turn, not per tool step. For every final-pool candidate retain its effective
88
+ weight, opportunity and expected share; compare only equivalent policy versions
89
+ and eligibility windows. No-fit decisions have no fitting-pool distribution.
90
+ Report category, assessment source, switching/continuity and marking state at
91
+ decision time, never reconstructed from today's settings.
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.
101
+
102
+ No prompt, answer, tool content, replay, credential, account name or raw Session
103
+ ID belongs in an aggregate review. Keep evidence local; no automatic upload.
104
+ Do not infer credits from token estimates or account-balance deltas. Completion
105
+ is not task success. Any quality comparison requires independently defined
106
+ validation or user feedback, with missing outcomes counted explicitly.
107
+
108
+ After delivery, the next Auto-policy issue owner reviews a declared sample
109
+ target: initially at least 200 eligible opportunities per compared model,
110
+ across at least 20 Sessions, with policy/candidate-set changes separated.
111
+ This is an initial review threshold, not statistical significance. Retain,
112
+ change or defer with reasons and revised collection action if data is missing.
113
+ Review before the next weight change even if the target has not been reached.
114
+
115
+ ## Controlled assistance: approved direction, separate acceptance
116
+
117
+ A main model may explicitly request one bounded advisor analysis by naming a
118
+ goal, a specific bottleneck, distinct attempted approaches and references to
119
+ their validation results. Host verification must use public current-Agent/turn
120
+ records, not trust a model's claim that it failed twice. Repeated identical
121
+ attempts and network/auth/permission/quota problems do not establish a reasoning
122
+ bottleneck. Verified failed checks do not prove model incapability.
123
+
124
+ Require per-request user confirmation or a separately explicit standing
125
+ assistance authorization with a budget. Confirming the feature direction alone
126
+ does not authorize live paid calls during development. Verify the following
127
+ public seams before shipping: tool registration, evidence lookup/ownership,
128
+ confirmation and safe resumption, frozen-account binding and native adapter
129
+ composition. Unsupported seams require an explicit limitation or narrower
130
+ user-triggered mode; no Core patch, private registry or second wire.
131
+
132
+ Deduplicate by Agent/turn and bottleneck; one request has one tracked outcome.
133
+ Send only reviewed relevant material, with input/output/time limits and the
134
+ parent cancellation signal. Use a concrete admitted model on the frozen account,
135
+ respect exclusions/capabilities, and prohibit advisor tools, recursive Auto,
136
+ recursive assistance, automatic replay and new retry loops. High-cost marking
137
+ does not establish expertise or guarantee a different model is better.
138
+
139
+ Return advice as a tool result to the unchanged main turn. The main model
140
+ validates the recommendation before applying it. A future next-turn upgrade is
141
+ a separate policy, not an in-turn model switch. Log request, verification status,
142
+ authorization, call outcome, adoption and validation separately. Unverified
143
+ evidence stays unverified; advice returned or a normal finish is not success.
144
+ Extra calls and attributable usage must be disclosed independently, never
145
+ fabricated as native Chat Usage or actual credits.
146
+
147
+ ## Delivery boundaries
148
+
149
+ The first implementation targets marking, weighted main-turn allocation and
150
+ reviewable local evidence. It does not claim an advisor tool, autonomous
151
+ escalation, persistent telemetry, calibrated quality, actual cost savings or
152
+ live model success until their own acceptance evidence exists.
153
+ Rollback removes markings or restores the prior reviewed allocation policy
154
+ through a normal versioned change; never rewrite selections or histories.
@@ -0,0 +1,22 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "feature": "autorouting",
4
+ "status": "not-collected",
5
+ "policyVersion": "high-cost-v1",
6
+ "observation": {
7
+ "start": null,
8
+ "end": null,
9
+ "sampleCount": 0,
10
+ "limitations": "No live weighted-allocation dataset collected. Initial synthetic tests do not establish real workload quality, billing, cost savings or live Desktop activation."
11
+ },
12
+ "previousReview": "Issue #332 workflow pilot and #333 high-cost requirements; prior category policy used unconditional continuity.",
13
+ "findings": "Unconditional continuity prevents allocation opportunities. Hard-prioritizing unmarked peers nearly excludes high-cost candidates; extreme-only gating wrongly couples cost to difficulty.",
14
+ "decision": "Implement positive main-turn weights ordinary=1, marked=0.2 and finite previous-model multiplier=1.5 within the fitting supplier category. Capture local bounded opportunities and expected shares. Defer advisor calls until public evidence/authorization/account seams pass their own acceptance.",
15
+ "validation": "Focused tests and 19 focused tooling tests passed with a supplemental unchanged pinned resolver; exact commands/counts are in the implementation PR. Native Client/Host gateways and SettingsForms fiber/restart persistence included. Synthetic source-component browser checks passed at widths 1280/390/195 in both themes. Normal pnpm verify blocked by configured mirror HTTP 404 for exact rc.2 dependency. Required full CI/build/tarball/publication results are recorded separately in the implementation PR and Release. This is not live Desktop/model/billing evidence.",
16
+ "followUp": {
17
+ "owner": "Maintainer or Agent assigned to post-delivery review issue #334",
18
+ "trigger": "Before the next policy change, or after at least 200 eligible opportunities per compared model across at least 20 Sessions, keeping policy/candidate-set windows separate",
19
+ "metric": "Opportunity-adjusted actual versus expected selections, marked replacement/retention, within-pool switching, assessment latency/failures; outcomes and costs only when independently attributable",
20
+ "action": "Review local sanitized aggregates, check missing/evicted coverage, and retain/change/defer with reasons. This threshold is not statistical significance. No automatic upload, quality inference from completion, or credit inference from balance deltas."
21
+ }
22
+ }
@@ -0,0 +1,60 @@
1
+ # Native Auto reviewer sampling compatibility
2
+
3
+ The plugin automatically omits `temperature` only from the official DSH
4
+ `0.2.0-rc.2` Auto reviewer root's account-proven managed `openai-responses`
5
+ requests. No user opt-in is required. Concurrent ordinary Chat, even on the same
6
+ Session/model, retains its requested sampling. No supplier capability is inferred
7
+ from `supports.thinking`; the policy addresses the reported unsupported-temperature
8
+ reviewer rejection, not a claim about all supplier models.
9
+
10
+ ## Public ownership proof
11
+
12
+ At official commit `639ed015397290b3745d163aafe02ffee4aa3f84`:
13
+
14
+ - `vendor/cordis/src/events.ts:344-345` documents the exported `internal/get`
15
+ service-read waterfall, including the calling Context.
16
+ - `vendor/cordis/src/fiber.ts:9-13` exports `Context.fiber`;
17
+ `vendor/cordis/src/registry.ts:135-142` documents the public runtime callback as
18
+ executable identity.
19
+ - `vendor/loader/src/index.ts:52-54` exports `Fiber.entry`;
20
+ `vendor/loader/src/config/entry.ts:46-50,221-234` exposes the entry's root fiber
21
+ and imports the configured plugin; `config/tree.ts:10,112-124` exposes its
22
+ resolution context and importer.
23
+ - `packages/boot/app-boot/src/profile-resolution/service.ts:17-35,90-105`
24
+ publishes profile-aware `PluginPackages.packageOf` package ownership.
25
+
26
+ The plugin requires exact entry-root equality, the official package/version,
27
+ matching manifest ownership in the Loader tree and plugin import contexts, and
28
+ independently imported public `apply` equality with the caller's runtime callback.
29
+ It rechecks root/liveness after asynchronous resolution. Names alone are not
30
+ identity. Importing the public module does not apply/register another reviewer.
31
+
32
+ A reversible plugin-owned facade delegates every exposed service property except
33
+ scoped `stream` unchanged. For a proven managed Responses route, it clones the
34
+ frozen caller options and omits temperature before native normalization/dispatch.
35
+ There is no source-option WeakSet, prompt/error/model-name matching, shared
36
+ prototype mutation, new wire, retry, verdict rewrite or permission change.
37
+ Native account/initiator routing and cancellation remain owners of request access.
38
+ Plugin disposal revokes its listener and in-flight scoped dispatch.
39
+
40
+ ## Scope and evidence limits
41
+
42
+ Canonical Core-owned Copilot, other providers/protocols, aliases, descendants,
43
+ impostor callbacks and unresolved identity remain native. Unqualified reviewer
44
+ identity reports bounded fixed-code Host diagnostics, not a broad omission
45
+ fallback. Missing optional reviewer packages do not prevent ordinary startup.
46
+ Future official versions need qualification; the exact rc.2 check is intentional.
47
+
48
+ The independent legacy `responsesOmitTemperature` setting remains default false.
49
+ Explicit true still changes **all** managed Responses sampling; it is not needed
50
+ for this automatic reviewer-only policy and is not silently enabled or migrated.
51
+
52
+ The fixture uses the unchanged native reviewer, LLM normalization and adapter with
53
+ synthetic credentials/metadata/HTTP responses. Published artifacts exercise the
54
+ actual native Loader importer; tagged source uses the public-export TypeScript
55
+ fixture resolver. Both runners explicitly include the reviewer fixture and reject
56
+ missing, skipped or wrong-count suites. Canonical/other-provider negatives use
57
+ test-owned native adapter stubs, not live canonical transport. No qualification
58
+ claim proves live supplier acceptance, installed/loaded state or paid inference.
59
+ The earlier published `.fixture.ts` CLI filter was excluded by the ordinary
60
+ `.spec.ts` include; its execution claims remain retracted on issues #374/#378.
@@ -188,12 +188,14 @@ lightweight -> versatile -> powerful. Unclassified candidates are a final
188
188
  explicit fallback only, not fabricated categories. Unknown/new category values
189
189
  remain unclassified with a bounded catalog diagnostic.
190
190
 
191
- Within the first available category, retain the previous managed model only
192
- when it remains eligible and suitable. Otherwise use stable equal-weight
193
- Session/turn selection with deterministic ID ordering as a tie breaker. Do not
194
- infer quality from that ordering or assign fabricated weights. Once admitted,
195
- all steps/retries share the turn decision. Continuity reduces unnecessary
196
- switches but is not a claim of supplier cache savings.
191
+ Within the first fitting category, use stable positive weighted Session/turn
192
+ allocation: ordinary weight 1, user-marked high-cost weight 0.2, eligible previous
193
+ model multiplier 1.5. Cost is independent of task difficulty and supplier
194
+ category. There is no absolute continuity shortcut or extreme-only gate.
195
+ These are reviewed policy parameters, not measured quality or prices. Once
196
+ admitted, all steps/retries share the decision. No supplier cache savings are
197
+ claimed. See [high-cost requirements](./auto-high-cost.md) and
198
+ [evidence-driven iteration](./evidence-driven-iteration.md).
197
199
 
198
200
  If no model fits, preserve the existing largest-admissible-input recovery
199
201
  branch and its native compaction diagnostics. Explain that no candidate fits;
@@ -58,7 +58,10 @@ remains authoritative after final framing/attachment projection.
58
58
  Task preference uses supplier `model_picker_category`, not capacity, model
59
59
  names or reasoning effort as quality rankings. [Task policy](./auto-task-routing.md)
60
60
  owns the demand matrix, default semantic assessment, category fallback,
61
- continuity and stable same-category allocation.
61
+ finite continuity and stable positive-weight same-category allocation.
62
+ User-marked high cost is orthogonal to demand and category; see
63
+ [high-cost requirements](./auto-high-cost.md). Future policy changes must read
64
+ the [latest review](./auto-iteration-review.json) before implementation.
62
65
 
63
66
  ## Images, compaction and search
64
67
 
@@ -90,9 +93,33 @@ successful read has no record. Failed reads show **Selection unavailable → Ret
90
93
  Retry rereads the same Session/turn; it never runs inference.
91
94
 
92
95
  The public assistant-actions slot adds the plugin item after native Usage/time.
93
- It cannot change the native fixed-height parent row, repeats no model name and
94
- adds no Model details button. A turn without a closing message has no such
95
- anchor. Optional conversation projections do not control selection mounting.
96
+ It cannot change the native fixed-height parent row and adds no Model details
97
+ or footer button. The existing info dialog is **Turn model and selection evidence**.
98
+ When native Usage lacks complete model routes, model evidence comes first and the
99
+ original selection explanation remains in a collapsed disclosure below:
100
+
101
+ - **Recorded models** lists independent successful same-turn `assistant/message`
102
+ sources, preserving multiple models/providers. Failed attempts, retries and
103
+ paged/missing history retain an explicit incomplete-attribution warning; known
104
+ sources do not prove which models every failed attempt used.
105
+ - **Requested model** is the fallback when no successful source exists. An
106
+ independent public Session projection folds native `turn/start`, `step/start`,
107
+ `request/header`, `step/end` and `turn/end`; only headers inside a recorded open
108
+ step bind to that turn. Native headers have no turn field and are not emitted
109
+ for every unchanged request. Therefore absent headers stay unknown, never
110
+ inherited from an earlier turn or today's `Session.requestHeader()`. Configuration
111
+ proves neither dispatch nor execution, usage or billing.
112
+ - Missing/invalid evidence stays **Unknown**. Requested-model read failures are
113
+ distinct from missing evidence and have same-Session/turn read-only Retry.
114
+ Selection mode and model evidence remain independent.
115
+
116
+ Complete native Usage routes avoid redundant model presentation. A turn without
117
+ a closing message has no assistant-actions anchor; pure failed turns without one
118
+ are not promised an injected entry. Optional conversation projections do not
119
+ control selection mounting. The request projection has its own `stateVersion: 1`,
120
+ retains at most 128 turns and 32 distinct routes per turn (overflow invalidates
121
+ that turn), and stores no message/tool/replay/credential content. Cold folding
122
+ uses existing recorded events only, not custom events or history conversion.
96
123
 
97
124
  The bounded Host store retains 64 Agents and 128 turns per Agent. Disposal,
98
125
  eviction and restart lose new records. Compatible historical Auto events remain
@@ -103,7 +130,8 @@ official rc.2 `Session.append()` has no public ignorable-envelope option.
103
130
  `TurnSelectionController` extends public `TypertRemoteService` with `@Remote get`.
104
131
  Client calls carry explicit viewed Session ID and turn, with no automatic
105
132
  Client scope projection that would remove the ID. Native Host Agent lookup,
106
- access checks and strict codecs remain. Actual Client/Host gateway regressions
133
+ access checks and strict codecs remain. Additive `requestedModels` preserves the
134
+ existing `get` descriptor and strict selection codec unchanged. Actual Client/Host gateway regressions
107
135
  cover reachability, bound contexts and missing/denied identities; mock RPC
108
136
  success is not sufficient evidence.
109
137