omnius 1.0.874 → 1.0.875

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.
@@ -0,0 +1,314 @@
1
+ {
2
+ "schema": "omnius.sticky-catalog-candidate-release-verification.v1",
3
+ "date": "2026-10-17",
4
+ "scope": "Only candidates() preferred OpenCode catalog release, one new source regression suite, and this receipt. Other route classification and availability URL repairs are independently owned and excluded.",
5
+ "baseline": {
6
+ "gitHead": "56fceb0070166eb92e751d490d82295757de3fba",
7
+ "sourceSha256": "9c824a4636e6385af4a6e5a00b2945bd7d6db25dbddf2bb1516f8a0795aaadc3",
8
+ "sourceCopy": "Current root source captured before candidates-method edit; dependency copies excluded from patch."
9
+ },
10
+ "ownedPaths": [
11
+ "packages/orchestrator/src/remote-inference-fallback.ts",
12
+ "packages/orchestrator/tests/sticky-catalog-candidate-release.test.ts",
13
+ "docs/work-orders/evidence/sticky-catalog-candidate-release-20261017.json"
14
+ ],
15
+ "productionChange": "OpenCode catalog enumeration already computes its full compatible list and orders a remembered eligible model first. When the first candidate from that same pinned catalog is a sibling, the prior preference has been invalidated; release the ready candidate immediately instead of buffering until unrelated provider discovery finishes.",
16
+ "preserved": [
17
+ "A still-eligible remembered model remains first even if stronger rows appear after refresh.",
18
+ "Strict free model metadata controls eligibility; paid/retired/removed rows are not resurrected.",
19
+ "Current request input, tools, context limits, output budget, provider credentials and stream contracts remain unchanged.",
20
+ "Deadline and Stop fences remain enforced before actual dispatch.",
21
+ "Existing cross-provider sticky preference ordering is unchanged. This narrow repair concerns a ready sibling from the already-enumerated pinned OpenCode catalog."
22
+ ],
23
+ "verification": {
24
+ "before": {
25
+ "result": "FAIL as expected",
26
+ "tests": 9,
27
+ "failed": 6,
28
+ "passedControls": 3,
29
+ "log": "/tmp/omnius-sticky-candidate-before-tests.log",
30
+ "logSha256": "9ffb3bc0514369aea32869f7c129f6470ab9b00b99b245a3659e8489ce7df32c",
31
+ "failures": "Paid, removed and smaller-context sticky row after fixed TTL refresh, each through unary and streaming. A later slow unrelated metadata read consumed the aggregate deadline; zero eligible inference callbacks executed."
32
+ },
33
+ "after": {
34
+ "result": "PASS",
35
+ "tests": 86,
36
+ "files": 4,
37
+ "newCases": 9,
38
+ "log": "/tmp/omnius-sticky-candidate-after-tests.log",
39
+ "logSha256": "8102bfcac7000b277e8e9f532635c640d56b73a792010e3bf27d1f4f8dce6b0c",
40
+ "command": "pnpm exec vitest run tests/sticky-catalog-candidate-release.test.ts tests/opencode-catalog-resilience.test.ts tests/sticky-free-inference.test.ts tests/prepared-context-capacity.test.ts --maxWorkers=2 --minWorkers=1 --reporter=verbose",
41
+ "counting": "One combined batch; existing suite counts overlap earlier verification and should not be added."
42
+ },
43
+ "typecheck": {
44
+ "result": "PASS",
45
+ "diagnostics": 0,
46
+ "log": "/tmp/omnius-sticky-candidate-typecheck.log",
47
+ "command": "pnpm exec tsc -p tsconfig.json --noEmit --incremental false --composite false"
48
+ },
49
+ "rootSourceApplyCheck": "PASS before integration",
50
+ "scopedDiffCheck": "PASS"
51
+ },
52
+ "hashes": {
53
+ "packages/orchestrator/src/remote-inference-fallback.ts": "65daf7a78dafa505cc09bafdb1ef0aa17438e6e122aff85e0ca426e44efa7a93",
54
+ "packages/orchestrator/tests/sticky-catalog-candidate-release.test.ts": "d3b8caa9eb4104f9fc8366b7c8be1e74bace3a9e499dd4b8b5f7fc0bee332abc",
55
+ "sourcePatch": "186241fafc1f1537f9f62cbc21ccbf76ee1298799937be74caf7e99d4d909d7f"
56
+ },
57
+ "portableReproduction": {
58
+ "fixture": "packages/orchestrator/tests/sticky-catalog-candidate-release.test.ts",
59
+ "runtime": "Vitest source import; actual RemoteInferenceFallback with per-fixture fake metadata, backend and deterministic clock. No live request is sent.",
60
+ "steps": [
61
+ "Prime a successful preference on fixture-sticky-N-free.",
62
+ "Advance clock by300001ms to cross fixed five-minute metadata TTL.",
63
+ "Refresh metadata with that model paid, removed or too small for the full retained request; leave fixture-sibling-N-free eligible.",
64
+ "Make unrelated Hermes metadata advance the deterministic clock beyond the request aggregate deadline.",
65
+ "Before repair: ready sibling is buffered behind that metadata and the call fails without any generation callback.",
66
+ "After repair: ready sibling succeeds immediately; Hermes discovery is never requested.",
67
+ "Control: unchanged preference still succeeds first, and expiry/Stop during authoritative catalog refresh prevents all replacement dispatch."
68
+ ]
69
+ },
70
+ "independentBeforeProbe": {
71
+ "review": "/tmp/omnius-sticky-longrun-review.json",
72
+ "probeSha256": "53df52353fe8703e21fefd562f92581f36b23103b99f0cb03a915fdbb9984b06",
73
+ "observations": {
74
+ "prime": [
75
+ "fixture-sticky-free"
76
+ ],
77
+ "afterRefresh": {
78
+ "attempts": [],
79
+ "error": "RemoteInferenceUnavailableError: The selected model is unavailable and no compatible fallback completed the request.",
80
+ "receipts": [
81
+ {
82
+ "location": "remote",
83
+ "phase": "discovery",
84
+ "backendType": "vllm",
85
+ "providerId": "opencode",
86
+ "model": "nemotron-3.5-lightning-free",
87
+ "discovery": {
88
+ "stage": "catalog",
89
+ "outcome": "live",
90
+ "modelCount": 1
91
+ }
92
+ },
93
+ {
94
+ "location": "remote",
95
+ "phase": "discovery",
96
+ "backendType": "vllm",
97
+ "providerId": "opencode",
98
+ "model": "nemotron-3.5-lightning-free",
99
+ "discovery": {
100
+ "stage": "availability",
101
+ "outcome": "live",
102
+ "modelCount": 2
103
+ }
104
+ },
105
+ {
106
+ "location": "remote",
107
+ "phase": "discovery",
108
+ "backendType": "vllm",
109
+ "providerId": "opencode",
110
+ "model": "fixture-sticky-free",
111
+ "discovery": {
112
+ "stage": "eligibility",
113
+ "outcome": "unavailable",
114
+ "modelCount": 0,
115
+ "reason": "selected_model_not_in_active_free_catalog"
116
+ }
117
+ },
118
+ {
119
+ "location": "remote",
120
+ "phase": "failed",
121
+ "model": "fixture-sticky-free",
122
+ "providerId": "opencode",
123
+ "backendType": "vllm",
124
+ "failure": {
125
+ "category": "model_unavailable",
126
+ "catalogReason": "not_in_active_free_catalog",
127
+ "disposition": "rotate_model",
128
+ "reason": "model_unavailable",
129
+ "attempt": 0
130
+ }
131
+ },
132
+ {
133
+ "location": "remote",
134
+ "phase": "discovery",
135
+ "backendType": "vllm",
136
+ "providerId": "hermes",
137
+ "model": "turboderp/Qwen3.8-27B-exl3",
138
+ "discovery": {
139
+ "stage": "catalog",
140
+ "outcome": "live",
141
+ "modelCount": 0
142
+ }
143
+ },
144
+ {
145
+ "location": "remote",
146
+ "phase": "discovery",
147
+ "backendType": "vllm",
148
+ "providerId": "hermes",
149
+ "model": "turboderp/Qwen3.8-27B-exl3",
150
+ "discovery": {
151
+ "stage": "eligibility",
152
+ "outcome": "no_eligible_models",
153
+ "modelCount": 0
154
+ }
155
+ }
156
+ ],
157
+ "metadataReads": [
158
+ "https://robit-man.github.io/inference/",
159
+ "https://models.opencode.ai/api.json",
160
+ "https://opencode.ai/inference/openai/v1/models",
161
+ "https://hermes.ai.unturf.com/v1/models"
162
+ ]
163
+ },
164
+ "noStalePreference": {
165
+ "attempts": [
166
+ "fixture-alternative-free"
167
+ ],
168
+ "receipts": [
169
+ {
170
+ "location": "remote",
171
+ "phase": "discovery",
172
+ "backendType": "vllm",
173
+ "providerId": "opencode",
174
+ "model": "nemotron-3.5-lightning-free",
175
+ "discovery": {
176
+ "stage": "catalog",
177
+ "outcome": "cached",
178
+ "modelCount": 1
179
+ }
180
+ },
181
+ {
182
+ "location": "remote",
183
+ "phase": "discovery",
184
+ "backendType": "vllm",
185
+ "providerId": "opencode",
186
+ "model": "nemotron-3.5-lightning-free",
187
+ "discovery": {
188
+ "stage": "availability",
189
+ "outcome": "cached",
190
+ "modelCount": 2
191
+ }
192
+ },
193
+ {
194
+ "location": "remote",
195
+ "phase": "discovery",
196
+ "backendType": "vllm",
197
+ "providerId": "opencode",
198
+ "model": "fixture-sticky-free",
199
+ "discovery": {
200
+ "stage": "eligibility",
201
+ "outcome": "unavailable",
202
+ "modelCount": 0,
203
+ "reason": "selected_model_not_in_active_free_catalog"
204
+ }
205
+ },
206
+ {
207
+ "location": "remote",
208
+ "phase": "failed",
209
+ "model": "fixture-sticky-free",
210
+ "providerId": "opencode",
211
+ "backendType": "vllm",
212
+ "failure": {
213
+ "category": "model_unavailable",
214
+ "catalogReason": "not_in_active_free_catalog",
215
+ "disposition": "rotate_model",
216
+ "reason": "model_unavailable",
217
+ "attempt": 0
218
+ }
219
+ },
220
+ {
221
+ "location": "remote",
222
+ "phase": "selected",
223
+ "model": "fixture-alternative-free",
224
+ "providerId": "opencode",
225
+ "backendType": "vllm"
226
+ },
227
+ {
228
+ "location": "remote",
229
+ "phase": "succeeded",
230
+ "model": "fixture-alternative-free",
231
+ "providerId": "opencode",
232
+ "backendType": "vllm",
233
+ "contextCapacity": {
234
+ "schema": "omnius.completed-inference-context-capacity.v1",
235
+ "location": "remote",
236
+ "source": "remote_catalog",
237
+ "providerId": "opencode",
238
+ "model": "fixture-alternative-free",
239
+ "contextLimitTokens": 262144,
240
+ "maxOutputTokens": 32768,
241
+ "token": {}
242
+ }
243
+ }
244
+ ]
245
+ },
246
+ "knownModelDenial": {
247
+ "attempts": [
248
+ "fixture-alternative-free"
249
+ ],
250
+ "receipts": [
251
+ {
252
+ "location": "remote",
253
+ "phase": "discovery",
254
+ "backendType": "vllm",
255
+ "providerId": "opencode",
256
+ "model": "nemotron-3.5-lightning-free",
257
+ "discovery": {
258
+ "stage": "catalog",
259
+ "outcome": "cached",
260
+ "modelCount": 1
261
+ }
262
+ },
263
+ {
264
+ "location": "remote",
265
+ "phase": "discovery",
266
+ "backendType": "vllm",
267
+ "providerId": "opencode",
268
+ "model": "nemotron-3.5-lightning-free",
269
+ "discovery": {
270
+ "stage": "availability",
271
+ "outcome": "cached",
272
+ "modelCount": 2
273
+ }
274
+ },
275
+ {
276
+ "location": "remote",
277
+ "phase": "selected",
278
+ "model": "fixture-alternative-free",
279
+ "providerId": "opencode",
280
+ "backendType": "vllm"
281
+ },
282
+ {
283
+ "location": "remote",
284
+ "phase": "failed",
285
+ "model": "fixture-alternative-free",
286
+ "providerId": "opencode",
287
+ "backendType": "vllm",
288
+ "failure": {
289
+ "category": "access_denied",
290
+ "status": 403,
291
+ "accessReason": "free_tier_client_restricted",
292
+ "responseBodySha256": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
293
+ "disposition": "surface_error",
294
+ "reason": "authentication",
295
+ "attempt": 1
296
+ }
297
+ }
298
+ ],
299
+ "error": "InferenceRoutePolicyError: Inference request failed (access_denied; HTTP 403; authentication)."
300
+ },
301
+ "safety": {
302
+ "blockedNetworkCalls": 0,
303
+ "inferenceRequests": 0,
304
+ "modelLoads": 0,
305
+ "servicesChanged": 0
306
+ }
307
+ }
308
+ },
309
+ "limitations": [
310
+ "Controlled mock evidence proves source routing behavior; it does not identify which live provider receipt caused the operator's particular twenty-minute run to fail.",
311
+ "Generic HTTP credential/access classification and the positive-hint availability index URL are separate repairs, excluded from this patch.",
312
+ "No actual network requests, inference, model load, CUDA allocation, repair process, daemon/service change, shared build or package publication was performed."
313
+ ]
314
+ }