Dashboard › opencode › Distillation
7cfb0f70-e07a-4999-bbf8-1267edcbb377["lore_tm_v1_6LTfVrU6TdhLt2UgoAS7ehOfonhkxBo-6D4fsg0dSuo"]
Date: Sep 15, 2026
bun typecheck from package directories such as packages/opencode; never run tsc directly.do-not-run-tests-from-root guard; tests must run from package directories such as packages/opencode./home/byk/Code/opencode/AGENTS.md:153 specifies that durable prompt admission must remain separate from model execution: SessionV2.prompt(...) admits one durable session_input row before scheduling advisory SessionExecution.wake(sessionID), unless resume: false requests admit-only behavior; the serialized runner promotes admitted inputs into visible user messages at safe boundaries./home/byk/Code/opencode/AGENTS.md:154 specifies that reusing a Session ID adopts the existing Session; reusing a prompt message ID reconciles an exact retry only when Session, prompt, and delivery mode match, while conflicting reuse fails; historical projected prompts lazily synthesize promoted inbox records during exact retry./home/byk/Code/opencode/AGENTS.md:156 specifies that SessionRunner, model resolution, tool registry, permissions, and filesystem remain Location-scoped; omitted Location.workspaceID means implicit-local placement, while explicit workspace identity is reserved for future placement semantics./home/byk/Code/opencode/AGENTS.md:157 requires one explicit llm.stream(request) call per provider turn and reloading projected history before durable continuation; orchestration must not bridge through legacy SessionPrompt.loop(...) or delegate to an in-memory tool loop./home/byk/Code/opencode/AGENTS.md:159 defines delivery behavior: prompts steer by default and promote at the next safe provider-turn boundary while the current drain requires continuation; explicit queue input remains pending until the Session would otherwise become idle, at which point one queued input is promoted and continuation is reevaluated before another; promoting new user input resets the selected agentβs provider-turn allowance, and a batch of steers resets it once./home/byk/Code/opencode/AGENTS.md:161 requires the System Context algebra, registry, and built-ins to remain in src/system-context; Context Source producers remain with their observed domains; Session History selection and Context Epoch persistence remain Session-owned./home/byk/Code/opencode/AGENTS.md:163-166 states that the coding agent maintains the Long-term Knowledge section via lore (https://github.com/BYK/loreai), with project knowledge entries documented in the repository-root .lore.md.