Dashboard › opencode › Distillation
e339d5e0-f9e7-4a91-9c25-b91aa5a1ffb6["lore_tm_v1_6klSN7y8lt9y21C1weOSCDGTxUWzzoI-VBi0_sx5uKQ","lore_tm_v1_Lup0O3okohdpAQYZtMF_8uG_3noGPoFyBkE1Pp7ACIA","lore_tm_v1_NFmgrwDZ5pE9HikD6iw5I6Q7pALA06fXvlUjOFgOe40","lore_tm_v1_NfOwb0LudM7S3DpG6RlTDSFeqwVxCNVSJeD0HVpfjqs"]
Date: Sep 15, 2026
/home/byk/Code/opencode, requiring direct inspection of current files and prohibiting lore/recall, edits, tests, builds, commits, and touching services.PromptAdmitted optional requestExecution backward compatibility at v1; explicit booleans for new admissions; exact resume:false -> true retry through PromptExecutionRequested; deterministic event ID and concurrent idempotence; conflicts; replay order/idempotence; exact retry after promotion; recovery redrive; and public event/SDK inventory.EventV2 projection registration keyed by logical type and versioned replay.file:line references and concrete sequences, or PASS plus residual risks/gaps./home/byk/Code/opencode/AGENTS.md; /home/byk/Code/opencode/packages/codemode/AGENTS.md; /home/byk/Code/opencode/packages/session-ui/AGENTS.md; /home/byk/Code/opencode/packages/effect-drizzle-sqlite/AGENTS.md; /home/byk/Code/opencode/packages/schema/AGENTS.md; /home/byk/Code/opencode/packages/llm/AGENTS.md; /home/byk/Code/opencode/packages/ui/AGENTS.md; /home/byk/Code/opencode/packages/stats/AGENTS.md; /home/byk/Code/opencode/packages/core/src/tool/AGENTS.md; /home/byk/Code/opencode/packages/desktop/AGENTS.md; /home/byk/Code/opencode/packages/opencode/AGENTS.md; /home/byk/Code/opencode/packages/opencode/test/AGENTS.md; /home/byk/Code/opencode/packages/opencode/test/server/AGENTS.md; /home/byk/Code/opencode/packages/opencode/src/session/llm/AGENTS.md; /home/byk/Code/opencode/packages/opencode/src/server/routes/instance/httpapi/AGENTS.md; /home/byk/Code/opencode/packages/app/AGENTS.md; /home/byk/Code/opencode/packages/app/e2e/AGENTS.md; /home/byk/Code/opencode/packages/app/e2e/performance/AGENTS.md./home/byk/Code/opencode/CONTRIBUTING.md./home/byk/Code/opencode/packages/schema/src/session-event.ts: PromptAdmitted at line 94, optional requestExecution via Schema.Boolean.pipe(optional) at line 99, PromptExecutionRequested at line 104, and both events included at lines 489-490 and 523-524./home/byk/Code/opencode/packages/schema/test/event-manifest.test.ts:53 references SessionEvent.PromptExecutionRequested./home/byk/Code/opencode/packages/sdk/js/src/v2/gen/types.gen.ts includes EventSessionNextPromptAdmitted, EventSessionNextPromptExecutionRequested, SyncEventSessionNextPromptAdmitted, SyncEventSessionNextPromptExecutionRequested, SessionNextPromptAdmitted, and SessionNextPromptExecutionRequested; requestExecution?: boolean appears at lines 874, 3430, 4362, and 6464./home/byk/Code/opencode/packages/sdk/openapi.json references EventSessionNextPromptAdmitted at line 15309, SyncEventSessionNextPromptAdmitted at line 20456, and SessionNextPromptAdmitted at lines 23681 and 24061; schema definitions appear at lines 25512, 28222, and 34278./home/byk/Code/opencode/packages/core/src/session.ts:373 sets requestExecution: input.resume !== false; /home/byk/Code/opencode/packages/core/src/session/projector.ts:371 registers the PromptAdmitted projection, line 380 defaults replayed event.data.requestExecution ?? false, line 385 registers PromptExecutionRequested, and line 439 sets requestExecution: false./home/byk/Code/opencode/packages/core/src/session/input.ts defines requestExecution as boolean at lines 51 and 151; conditionally invokes requestExecution(...) at lines 57 and 93; writes PromptAdmitted at line 63 with requestExecution at line 70; defines SessionInput.requestExecution at line 101; writes PromptExecutionRequested at line 120; and maps the value to wake_pending at line 170./home/byk/Code/opencode/packages/core/test/session-runner.test.ts:699 uses requestExecution: true; /home/byk/Code/opencode/packages/core/test/session-projector.test.ts uses true at lines 634 and 1359 and false at line 881; /home/byk/Code/opencode/packages/core/test/session-prompt.test.ts:371 references v1 PromptAdmitted, lines 416/483/489 count v1 PromptExecutionRequested, and line 536 counts v1 PromptAdmitted; /home/byk/Code/opencode/packages/core/test/session-create.test.ts:290 expects v1 PromptAdmitted.