Dashboard › opencode-lore › Distillation
32303934-6c8f-405f-8a24-882eb86e124e["lore_tm_v1_aI1wPbSQZkAabGLM0Op3vxc2PQheeOUQ5-mk1AIjNa8","lore_tm_v1_Iiek4EGLcfLfXONCs17HQdlCZFLGIzTJA2pXrqcY1XE","lore_tm_v1_A3zhG7FRRFbIlg8c9LaGNOWYxuMIvcl5Xb2SfBCtSHM","lore_tm_v1_8B8H0jlsTkMPIyZQJPSr8lzp9N5WmIz_NBfkJcChkQM","lore_tm_v1_2xt_Qe9Zb1685Y9fYHiFGd3dG5zR7resh4awU4DknTM","lore_tm_v1_Is_nVCJ1z3ApTZxrsdcVCJImAvjWvE3cjIeWfJQEN-M","lore_tm_v1_ht7PnbOCOkLUkFi3_v6RaNERdBoGA26R88qgA9QpTeU","lore_tm_v1_NZjkEs0LjKCFtvlnYe2yxSd94xoezkwKtZw8nptVVOI","lore_tm_v1_uNiIwzRNjpCDdcHw1u7icus1I1mCgSV7NiZP5Xt7mnA","lore_tm_v1_eVl6PRUzt6zzgDveNxbZts3LejlnDd4eDR3euWhinTg"]
Date: Sep 17, 2026
/home/byk/Code/opencode-lore-embedding-runtime at Jujutsu change tmzmtlss.packages/core/src/cgroup-memory.ts, embedding-cap.ts, memory helpers in embedding/local.ts, growth/admission in embedding/pool.ts, and relevant cgroup-memory, embedding-cap, embedding-pool, and embedding-pool-memory tests.file:line evidence, findings ordered by severity, concise fixes/tests, and explicit identification of prior defects that are now closed.repo-setup skill was unavailable and would proceed read-only under checked-in repository instructions after loading Jujutsu guidance./home/byk/Code/opencode-lore-embedding-runtime is a colocated Jujutsu/Git repository containing both .jj/ and .git/; mutations must use jj, while Git tools are permitted only for read-only operations or unsupported functionality.-i or --interactive; always pass -m "msg" for describe/commit operations; verify mutations with jj st and jj log; prefer stable letter-based change IDs over hexadecimal commit IDs; never rebase or describe an immutable commit.rebase, new, or squash, run jj st, manually resolve conflict markers, and do not use interactive jj resolve.jj undo, jj op log, jj op restore <op-id>, and jj workspace update-stale; bookmarks do not auto-advance, @ is empty after jj commit, jj new creates an empty change rather than committing, and :: and .. have different revision-set semantics.>=22.5; the root toolchain pins Node 24.16.0 and pnpm 10.28.0; the codebase is a TypeScript monorepo using pnpm workspaces.packages/core/test/setup.ts, never the production DB.CHANGELOG.md; Sentry Craft handles both automatically.gh workflow run release.yml -f version=auto for conventional-commit-derived semver or gh workflow run release.yml -f version=0.23.0 for an explicit version.scripts/bump-version.sh updates all package.json versions, 2. changelog is generated from conventional commits, 3. a release/X.Y.Z branch is created and pushed, 4. CI tests and builds npm tarballs, standalone binaries, and delta patches, 5. Craft opens a publish issue, 6. labeling it accepted triggers npm OIDC publishing and a GitHub Release with binaries and patches.NOT EXISTS, latest <> 'upsert', and content-match guards are considered the highest-risk correctness surface; each needs a regression proving it does not wrongly skip required work.pnpm test, pnpm run typecheck, pnpm run lint, and pnpm run format:check, verify property tests over 10 runs, hash-verify that the working tree remains unmodified, and report per-point PASS / FAIL / CONCERN / MUST-FIX verdicts with file:line evidence plus an overall MERGE / DO-NOT-MERGE verdict.@loreai/core is version 0.40.0; its typecheck script is tsc --noEmit && tsc --noEmit -p tsconfig.eval.json, and its build script is tsx script/build.ts.embedInTokenBatches for all embedding paths, including temporal messages, to avoid ONNX padding every input to the longest sequence and causing OOM; batch by token area with MAX_BATCH_TOKEN_AREA 4096, preserve input order, call storeTemporalChunks once, and always admit the first item so the loop progresses.0..62 remain separate, while index 63+ is joined into one final tail so evidence is retained; an oversized tail may occupy its own batch and is truncated downstream."\n\x1f" boundaries over splitting tool-looking text, dropping overflow, or allowing unlimited vec0 rows because tool output can mimic headers and unbounded fan-out expands storage and KNN widening.680 MB and host freemem() overstates capacity in constrained containers.0 remains available; extra workers require concurrent demand and clampFreeToContainerLimit(...) headroom; memDivisor shares the memory budget; upward re-probes must never reach a prior OOM ceiling.nativeIntraOpThreads uses cgroup-aware availableParallelism() only when it is below cpus().length; unconstrained hosts return undefined to preserve ONNX Runtimeβs physical-core default rather than raising it to the hyper-thread count.normalEmbed uses a removable FIFO capped at 64 retained normal-embedding waiters rather than a promise-tail chain; the active owner is not counted, canceled waiters are physically removed, release transfers ownership to the oldest live waiter, normal and recall work have finite default provider deadlines, and single-text recall bypasses only FIFO admission."query" embeds; unresolved "document" embeds are unsuitable because normal document work is intentionally serialized and a leaked unresolved request can contaminate later tests.embeddingStatus() must remain side-effect free and report retrying until a real embed succeeds; health checks must not report false ok before recovery.finally.ensureEmbeddingReady must re-read provider identity after admission, propagate the readiness guard into the pool request, retire an assigned worker when the finite readiness deadline fires, and map pool cancellation to fixed readiness EmbeddingAbortError without accepting late output; retaining admission behind an unbounded stuck local-worker warmup would wedge readiness and document admission forever.