Dashboard › opencode-lore › Distillation
86d2d101-39e4-46dd-9b0b-ccaa6c547968["lore_tm_v1_7OuW993KOYFOGzkZfOqQGHp5beWebHDBXV8M2ayZrgs","lore_tm_v1_D70toNJChuYg0aUpso3TfFX1YshrLrikSi3QENFMaHI","lore_tm_v1_A-huAFAEZIAOp47ctqipld5c0sqKVxl98Iezlk_cUTI","lore_tm_v1_uO964bRNHKjSvZunVrwEtKGo170RDYZUDK7GtQr5Htk","lore_tm_v1_PhJr5n-d4Q9Q-xJBoTMAre39-E95ZenOvUAOPpqJMUY","lore_tm_v1_s4q60K9Me3zAnyMOT5-X4KAnU8Yo479ohulA0p7O4oM"]
Date: Sep 16, 2026
/home/byk/Code/opencode-lore-embedding-runtime, inspecting only: packages/core/src/ort-native.ts; native-selection/fallback code in packages/core/src/embedding-worker.ts and packages/core/src/embedding-worker-types.ts; packages/core/test/ort-native.test.ts; packages/core/test/embedding-worker-types.test.ts; packages/gateway/script/bundle.ts; packages/gateway/script/ort-platform-package.ts; packages/gateway/test/bundle-exports.test.ts; and packages/gateway/test/ort-platform-package.test.ts.jj st, exact @ and @- identities, changed paths, and the SHA-256 of jj diff --git before review; the same evidence must be collected again at the end and required to be equal.dlopen and model-load fallback; one-shot behavior; diagnostics; cleanup; and tests that pass for the wrong reason.PASS, CONCERN, or MUST-FIX, supported by exact file:line evidence; the report must state residual risks and end exactly with either MERGE or DO-NOT-MERGE.jj st recorded working-copy @ as short change tmzmtlss, commit aee4651c, bookmark fix/embedding-runtime-admission, description fix(core): correct embedding runtime selection and admission; parent @- was short change pxrvwsvv, commit 2cbf4006, bookmark main, description feat(cch): add seeds for Claude Code up to 2.1.272 (#1780).@ as change tmzmtlsspstnppsrlpmuulsywurmlnqu, commit aee4651c96b009c28f9e79f40f019fd2c7c49a0a, parent pxrvwsvvkmpoxnsqmrkwrnlqvvkoltwz:2cbf40060c67df229731cf1b9e34d5bf22ec2145, description fix(core): correct embedding runtime selection and admission.@- as change pxrvwsvvkmpoxnsqmrkwrnlqvvkoltwz, commit 2cbf40060c67df229731cf1b9e34d5bf22ec2145, parent xpzmsyowwmzsorxottxynvnwlqrykyuo:e977b4b1da8f8197c3238466d41de0bccd8eb054, description feat(cch): add seeds for Claude Code up to 2.1.272 (#1780).if(self == @, "@ ", "@- "); separate @ and @- commands then successfully captured the exact identities.@- to @ were: added packages/core/src/cgroup-memory.ts; modified packages/core/src/embedding/local.ts, packages/core/src/embedding/pool.ts, packages/core/src/embedding-cap.ts, packages/core/src/embedding-worker-types.ts, packages/core/src/embedding-worker.ts, packages/core/src/embedding.ts, packages/core/src/ort-native.ts; added packages/core/test/cgroup-memory.test.ts; modified packages/core/test/embedding-cap.test.ts, packages/core/test/embedding-pool.test.ts, packages/core/test/embedding-worker-types.test.ts, packages/core/test/ort-native.test.ts, packages/gateway/script/bundle.ts, packages/gateway/script/ort-platform-package.ts, packages/gateway/test/bundle-exports.test.ts, and packages/gateway/test/ort-platform-package.test.ts.SHA256(jj diff --git -r @) was f0b8e99bf067fc02503826cb13843a0baf725f9ae83276de21c6da0ba3c5c1dc.jj st warned of a bookmark conflict for fix/responses-private-references; the CONFLICTS IN @ section itself was empty.packages/core/src/ort-native.ts 784f55f936ab766188d43382d1aee06fcc3fd45c03aee9baa762fd6424376f36; packages/core/src/embedding-worker.ts 0d74b4c3251f56d7599060c19ef22bdb9b0da5bdc2968c89305769684bc00353; packages/core/src/embedding-worker-types.ts 4a7102ba0678b21b9608f6f0560b93429238e3fd70b534f829c5e771bd5a5254; packages/core/test/ort-native.test.ts 774575a632e380ba5d06aa43ad8a283ad1629252d8beba8324a30dc32236a1bf; packages/core/test/embedding-worker-types.test.ts 0d09dc266eb2d11b3738cec05dab7ee993826864e06772fd9d38153f816863d0; packages/gateway/script/bundle.ts 02fd0231a4374de3e859c9168a65608e1227409de5aeea4b9d4ee4ffb420f50f; packages/gateway/script/ort-platform-package.ts d5b67bf3fe2f5b7f1cb7e8c610fbe54031b1cca6602f3d5a2f76228eda121888; packages/gateway/test/bundle-exports.test.ts f1f9863e0b60ce22bb4476241d3f9b28f0f9a59ac69d639d44f626042f18e56f; and packages/gateway/test/ort-platform-package.test.ts 71a3be381ef07ac967653e7aa4104a59d11691402a5b645a4d6d1111ee645449.packages/core/src/ort-native.ts states native ONNX Runtime resolution is fail-closed and must never interrupt WASM fallback.packages/core/src/ort-native.ts states source-workspace native resolution searches only the relevant worker packageβs own node_modules and never selects an arbitrary package.packages/core/src/ort-native.ts states resolution never throws: an unresolvable package is the expected dist-only case and must degrade to WASM fallback rather than crash embedding.packages/core/src/ort-native.ts states unknown Linux libc must fail closed to WASM.packages/core/src/ort-native.ts states nativeIntraOpThreads should only override ONNX Runtime threading when the process is genuinely restricted, detected by availableParallelism() < os.cpus().length; when equal on an unrestricted host it returns undefined and never touches ORTβs default.