Dashboard › opencode › Distillation
311ac69a-a7d6-45ee-8805-b5f5c06d6085["lore_tm_v1_LgKuYXZzBxNPPQhsTEvaO-YPlRKPzW0vqG2dJM87sUg","lore_tm_v1_LP1N_dA0cm9XlWGeNbST6_oOpt-SYPAZCK_yoCQiuLA","lore_tm_v1_DN3WpAydx0LHrC2lRVQQniXAWCvczzH-LRE1Fn3nnLg","lore_tm_v1_QeAUdcYcUKNWoR6lexkwKlXVPOovPX87ab-cbXz7uBk","lore_tm_v1_FiWhzq10mHAIY28OGK6chMJ7UCTXc9QzFb9hh4VNcJA","lore_tm_v1_IFgGM3BrYaGmkxfOClCbJILp_rGQQcTS29Q058mcV-w","lore_tm_v1_UwNk3V5AZxnZdKoLHysPSWamq-Lmn58n4JUSFgemjyw","lore_tm_v1_np2ZdXNOAAWS7H7NKuhrmnegzhU1ZEmC1dnkSa9utNY","lore_tm_v1_NNXw03OztepkN5WoCmEnFEA551_Wn9eRZA-g_EyHNOM"]
Date: Sep 15, 2026
PromptAdmitted admissions must always emit an explicit requestExecution boolean.packages/core, packages/schema, and packages/sdk/js./home/byk/Code/opencode.PromptAdmitted existed on the base revision at durable version 1 without requestExecution; resume:false also existed, so an absent requestExecution field cannot safely mean true.packages/core/src/event.ts (existing TODO); therefore parallel v1/v2 PromptAdmitted projectors must not be added.PromptAdmitted to remain at durable version 1 and required requestExecution to become backward-compatible optional in its schema.PromptAdmitted.requestExecution: absent historical values project as wake_pending=false; explicit true and explicit false project exactly as supplied.PromptAdmitted payload without requestExecution, proving it decodes and projects as a pending admit-only prompt without wake.requestExecution:true survives replay and newly emitted requestExecution:false remains false.packages/schema/src/session-event.ts currently defines SessionEvent.PromptAdmitted with required requestExecution: Schema.Boolean at lines 94β101; the file imports the local optional schema helper.packages/core/src/session/projector.ts lines 371β384 uses one SessionEvent.PromptAdmitted projector and forwards event.data.requestExecution directly to SessionInput.projectAdmitted.packages/core/test/session-prompt.test.ts contains replaySessionProjection, which reads durable rows from EventTable, removes the aggregate and projected SessionInputTable/SessionMessageTable rows, then invokes events.replayAll(...) with each rowβs id, aggregateID, seq, type, and data.packages/core/test/session-runner.test.ts, packages/core/test/session-projector.test.ts, packages/core/test/session-runner-recorded.test.ts, packages/core/test/session-prompt.test.ts, packages/core/test/event.test.ts, and packages/core/test/session-create.test.ts; packages/core/test/session-prompt.test.ts already checks EventV2.versionedType(SessionEvent.PromptAdmitted.type, 1).