Make Socratic Ink teach Praxis gradually

This commit is contained in:
Meta Vens 2026-05-26 15:08:54 +01:00
commit 8be0bdafd8
6 changed files with 82 additions and 50 deletions

View file

@ -78,6 +78,11 @@ async function main() {
ink.push(`# ${scenario.subtitle}`);
}
ink.push("");
const introduction = Array.isArray(scenario.introduction) ? scenario.introduction : [];
for (const paragraph of introduction) {
ink.push(`Void says, ${quoteInk(paragraph)}`);
ink.push("");
}
ink.push("-> phase_1");
ink.push("");
@ -104,7 +109,10 @@ async function main() {
maxDepth,
choiceCount,
ctb: phaseCtb,
transcript: [{ speaker: "Void", text: phase.voidOpening }],
transcript: [
...introduction.map((text) => ({ speaker: "Void", text })),
{ speaker: "Void", text: phase.voidOpening },
],
voidLine: phase.voidOpening,
basePromptCache,
globalAgentDoctrine,
@ -205,7 +213,7 @@ async function generateFaceTurn(input) {
baseFacePrompt,
title: input.scenario.title,
phaseTopic: input.phase.topic,
phaseLesson: input.phase.lesson,
phaseSetup: input.phase.laySetup ?? "Void has introduced only the immediate question. Keep the response accessible.",
voidLine: input.voidLine,
transcript,
actorRole: input.actor.role ?? "",