Deployment tools for tutors and course creators. Uses the same server secrets as the Pathwright injection.
Course creator studio:
load the full Pathwright text for a course on the server, pick up its tone and structure, then enter your request to help draft new lesson content (rich HTML) that stays aligned with Baptist Faith and Message framing.
Unlock with deployment secrets (COURSE_CHAT_SECRET and optional DEBUG_UI_PASSWORD). The bearer stays in session storage for this browser tab.
1. Load scraped course
2. Analyze style profile
Shown as formatted rich text — edit inline; the server receives plain text extracted from here.
3. Content knowledge (optional)
Upload .md, .txt, or .docx (Word is converted to markdown in the browser) or paste text below — max ~200k characters per upload after conversion. Original files are not stored.
Plain text or markdown — same indexing as file uploads. For Word documents, use the file control above (.docx is converted in the browser).
4. Course excerpt (optional)
Optionally attach a relevance-trimmed excerpt from the loaded course so the draft is grounded in your existing material.
Separate from your request below: keywords, scripture, unit titles, or topics to match in the course text. Leave blank to use your request for matching instead.
5. Your request → generate draft
Tell the model what you actually want generated for this course — target audience, Scripture, topics, pacing, assessments. Shown as formatted rich text — type or paste; the server receives plain text.
Formatted rich text — edit here, select and copy to Pathwright or a doc, then click Prepare blocks when the draft is ready to parse.
After the first draft, send follow-up messages to steer the model. Each reply replaces the draft above; your messages and short confirmations appear below.
6. Prepare Pathwright blocks and append a new final step
Turn the reviewed draft into step sections, choose a limited block type for each section, then write it back as a brand-new step at the end of the course.
The server looks up this email in Pathwright, resolves the matching user ID, and verifies that account is staff/admin/teacher-capable before creating the new step.