Session log — Medistage Setshedi interview, the investigation phase

← All session logs

Session log — Medistage Setshedi interview, the investigation phase

6 May 2026 · Hasmukh with Claude · Hasmukh asked for a working “Personalised Pathway Interview” page on medistage.medilearn.africa, featuring Prof Mashiko Setshedi, mirroring the equivalent page on cpd.medilearn.africa. The session ran through Phase 1 only, investigation. Phase 2 (plan), Phase 3 (implement) and Phase 4 (verify) are still ahead, gated on Hasmukh choosing one of three design options.

Brief

1. The brief

HasmukhBuild me a working Personalised Pathway Interview on medistage, featuring Prof Setshedi. Mirror the equivalent on cpd. Investigate first, then we agree the plan, then you implement, then we verify.

A four-phase brief. Today was Phase 1 only, deliberately. The temptation to start typing was real, and it would have been the wrong move: cpd.medilearn.africa is a live read-only reference and medilearn.africa proper is on Hasmukh’s “never modify (live)” list.

Step 1

2. Read-only respect for the live site

The medilearn.africa Novamira connector blocked PHP execution against the live site, which is the correct behaviour given the never-modify rule. The bio.md in the project’s Bios folder for Setshedi was used as the canonical source instead, exactly as the brief recommended. The reading on cpd.medilearn.africa was strictly read-only too.

Step 2

3. What was read on each side

On cpd.medilearn.africa (read only):

  • The chat bot, the pathway renderer, the Anthropic call, and the admin funnel report inside the ep-cpd-interview plugin.
  • The interview front-end JavaScript (interview.js) and pathway front-end (pathway.js).
  • The cpd-shell-start and cpd-shell-end shortcodes plus the brand CSS in ep-cpd-brand.
  • The inventory-taxonomy.json file (Vimeo lectures grouped by specialty, generated 23 April 2026).
  • The pages on cpd_pm: Neurology Pathway, Watch, Personalised Pathway Interview, Your Pathway.
  • The options table: confirmed the Anthropic key is stored under Architect_AI_Claude_ai.

On medistage.medilearn.africa (target):

  • Plugins folder lists ep-courses already (which the interview plugin requires).
  • Content table only has home, error, menu, footer pages.
  • No Architect_AI_Claude_ai option yet, so an Anthropic key needs to be saved.
  • Active theme is Medilearn.

Local: bio and email-mention notes for Prof Setshedi, plus the project memory entries for the medistage server setup and the medilearn brand (with a mental flag that the latter is five days old, so to be re-verified before brand work begins).

Step 3

4. Three options on the table

Three plausible interpretations of “featuring Prof Setshedi”:

  • A: Cosmetic only. Her face and a short bio sit above the existing FCP-wide AI interview. Quick, but the AI itself does not know who Setshedi is.
  • B: Setshedi-as-host. Her face and bio above the chat, AND the AI’s system prompt is rewritten in her warmer mentor voice. Pathway videos still come from the full UCT inventory. My recommendation, awaiting Hasmukh’s decision.
  • C: Gastro-only. The interview is scoped to her own Medilearn recordings only. The most editorially focused but the smallest content surface, and the most editorial work to scope.
Going forward

5. Going forward

Hasmukh chooses A, B or C, then I write a plain-English Phase 2 plan for his sign-off before any change is made. After sign-off, Phase 3 will involve copying the ep-cpd-interview plugin folder from cpd to medistage, adding it to the plugins option, saving an Anthropic API key into pm_options as Architect_AI_Claude_ai (Hasmukh to confirm whether to reuse the cpd key or supply a new one), deciding whether to copy cpd’s inventory taxonomy or build a Setshedi-scoped one, and creating the /interview/ and /my-pathway/ pages on medistage with her photo and a short bio block above the chat. Phase 4 is the browser-level confirmation that the chat starts, completes, and the pathway page renders.