From 67336343cffee9c2cfb635b5958f32317b0feb4f Mon Sep 17 00:00:00 2001 From: Daniel Date: Tue, 15 Sep 2026 00:18:04 +0200 Subject: [PATCH] =?UTF-8?q?feat:=20a=20resource's=20details=20are=20the=20?= =?UTF-8?q?brief=20=E2=80=94=20pasted=20questions,=20topics=20and=20cases?= =?UTF-8?q?=20are=20used=20as=20given?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Claude-Session: https://claude.ai/code/session_016fZGJNyDvERbMgS2Uc2msP --- src/routes/myResources.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/routes/myResources.js b/src/routes/myResources.js index b6b49f6e..166205e7 100644 --- a/src/routes/myResources.js +++ b/src/routes/myResources.js @@ -203,7 +203,14 @@ function buildPrompt(opts) { // being obeyed as commands. function detailsBlock(opts) { 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 = '"""';