Dashboard › opencode › Distillation
2462a27e-a941-4169-be9d-e8a4c295fbe0["lore_tm_v1_yKbSom1QqWSHQUv9MUt8INKMOjPfqm1FKojfitw3VBw","lore_tm_v1_AyGuRP2sec_5xmua7DvFiR4jLM6rJGK5nB6A5rydB4M","lore_tm_v1_-gTAeEEtBjzK3DMrEnmXIWpFe6EE_w07UELMVkKt_pc","lore_tm_v1_YiWJ8M1X39IMtCbWRzPLmhZOJqYbDnrxNG0x9aLqgSw","lore_tm_v1_3vyC3yOdjd2Fpi5ZByk7vcBCrzaSRLVaKEw73UzyrSA","lore_tm_v1_HQDkAC-1csQuq7X3Qvp3L-P_8gwud29biKnvvadOZUc","lore_tm_v1_QKa6XGqvKf3CIkKufsM576FAVLcdcBx_Q8lNcLktv8Q","lore_tm_v1_LxaSNexAWyy0G9fa2IWYbmOmJC_tWaBaYOcQKz2bpHQ","lore_tm_v1_nA_OhEWQwYy4GUvBy7LjE4YhZZ9vLUtJQ6icjlxLWc8","lore_tm_v1_-_5M_QwBTDpruKTlVlDdWX4pqMfR02Yu3lzmt4jL6mE","lore_tm_v1_ObuO3Fu3cNa1k9-KYGC0lHHwGRtJYiAy5ZKC5TIvUQ0","lore_tm_v1_Vx8xl4ebFaKpCNUmrzEs1nkxmVS_Ek5hRA-WJduZzXs"]
Date: Sep 16, 2026
packages/core, never from the repository root because of the do-not-run-tests-from-root guard.bun typecheck from package directories (for example, packages/core) and never with tsc directly.sdk-next composes Client, Core, and Server.import { foo as bar } from "..." and renamed imports such as resolve as pathResolve.import * as Foo from "..." and import type * as Foo from "...". Namespace-style values must use a module’s named exported namespace, such as import { Project } from "@opencode-ai/core/project" followed by Project.ID.await import("./module").then((mod) => mod.value()) and (await import("./module")).value() are disallowed, and branch-specific imports should remain inside their branch.dev as the default branch; local main may not exist, so diffs should use dev or origin/dev.feat/ or fix/.type(scope): summary form, with valid types feat, fix, docs, chore, refactor, and test.globalThis.* unless it is the only option, test actual implementations, and not duplicate implementation logic in tests./tmp/opencode/session-recovery-review-v5-49183f9e/packages/core/package.json defines package @opencode-ai/core version 1.18.30; its test script is bun test --only-failures, and its typecheck script is tsgo --noEmit./home/byk/Code/opencode/packages/core/test/session-runner.test.ts: keeps a provider defect after Step finish unknown at line 2037, keeps provider failure unknown until unresolved tools are durable at line 2060, and retains the claim after Step interruption until runner finalizers finish at line 3661.never wakes work settled between selection and redrive CAS was located at /home/byk/Code/opencode/packages/core/test/session-projector.test.ts:711./home/byk/Code/opencode/packages/core/test/session-runner.test.ts contains a minimal runner-finalizer harness absent from the rejected v5 copy: let runnerFinalizer = Effect.void at line 75; Effect.ensuring(Effect.suspend(() => runnerFinalizer)) wrapping sessionRunner.run(...) at line 251; reset runnerFinalizer = Effect.void at line 359; and test assignment runnerFinalizer = Deferred.succeed(finalizerStarted, undefined).pipe(Effect.andThen(Deferred.await(releaseFinalizer))) at line 3669./tmp/opencode/session-recovery-review-v5-49183f9e/packages/core/test/session-runner.test.ts, SessionExecutionLocal.make(...) directly uses run: (claim, force, recoveryInputID) => sessionRunner.run({ ...claim, force, recoveryInputID }) at line 248 and its setup block has no runnerFinalizer reset, confirming that the latest runner-finalizer test harness had not yet been overlaid./home/byk/Code/opencode/packages/core/test/session-runner.test.ts had 4,191 lines, while rejected v5’s /tmp/opencode/session-recovery-review-v5-49183f9e/packages/core/test/session-runner.test.ts had 4,056 lines before the requested test-only overlay.