feat: a resource's details are the brief — pasted questions, topics and cases are used as given

Tested with a pasted board question, a topic list and a SOAP case and no other
instruction: all of it was used. The prompt now says so explicitly, so it stays
that way whatever model writes the deck.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016fZGJNyDvERbMgS2Uc2msP
This commit is contained in:
Daniel 2026-09-15 00:18:04 +02:00
parent 6b9587d09f
commit 67336343cf

View file

@ -203,7 +203,14 @@ function buildPrompt(opts) {
// being obeyed as commands. // being obeyed as commands.
function detailsBlock(opts) { function detailsBlock(opts) {
if (!opts.details) return ''; if (!opts.details) return '';
return '\nDETAILS FROM THE AUTHOR (what this must cover, in their words):\n' + QUOTE + '\n' + opts.details + '\n' + QUOTE + '\n'; // The author's details are the brief, not a suggestion. Questions pasted in
// are used word for word as the question slides, before any the model
// writes; a list of topics is the outline in that order; a case is the case
// slide. Tested 2026-09-15 with a pasted question, a topic list and a SOAP
// case and no other instruction: all of it was used — this line keeps it so.
return '\nDETAILS FROM THE AUTHOR (what this must cover, in their words):\n' + QUOTE + '\n' + opts.details + '\n' + QUOTE + '\n' +
'Use the details exactly: any question in them becomes a question slide with its stem, options and answer word for word, ahead of any question you write; ' +
'a list of topics is the outline, in that order; a case in the details is the case presented, with its numbers unchanged.\n';
} }
var QUOTE = '"""'; var QUOTE = '"""';