How it works
One lesson spec, five ways to learn
Each lesson is a small TypeScript file: the scenario, the steps (with a target, an instruction, a completion test, a scripted demo, narration and hints), a challenge with its own check, and a three-question quiz. Everything a learner sees is generated from it, so keeping 30 lessons current means keeping 30 specs current.
- Video
- tools/recorder plays each step's demo in the simulator while ElevenLabs reads its narration. Step titles become chapters; captions and transcript come from the same text.
- Guided practice
- The coach spotlights each step's target, shows its instruction, and advances when the step's done() predicate holds.
- Show me
- The director replays the step's demo in the learner's own simulator with a ghost cursor.
- Challenge
- A different case with goals only. “Check my work” runs solo.check() and returns plain-English findings.
- Rowan
- The tutor's cached system prompt contains the whole spec; each turn adds the live simulator state.
- Lesson check (CI)
- Every step's demo and the challenge's model answer are played headless. If the UI breaks a lesson, CI fails.
Staying in sync with MyFrontYard
- 1
Mirror
Design tokens, UI primitives and the 31 admin docs are copied from the MyCommons repo with their commit ids.
- 2
Watch
Each lesson lists the MyCommons files its screens imitate. sync:check reports changes and the commits behind them.
- 3
Test
test:lessons proves every step and challenge still works end to end.
- 4
Re-render
record re-renders only videos whose spec changed; narration is cached per line.
See it on Insights. The “Demo: 123 commits of drift” view shows what a report looks like when MyCommons changes under a lesson.
Rowan steps in before you have to ask
A two-year trial of a well-known AI tutor found students asked for help in only 17% of the sessions where they made mistakes. So Rowan watches for struggle and offers help on a graduated ladder. Simple rules decide when; Claude decides what to say, using the lesson, your screen and your last few actions. During the challenge Rowan only hints, never does it for you, because unguarded AI help is known to hurt learning.
| Level | What happens | Triggered by |
|---|---|---|
| 1 · Nudge | “Need a hand?” with Hint / Show me / I've got it | Slow vs. the step's expected time, idle, 3 off-path clicks, 2 form errors, or a failed check |
| 2 · Hint | Claude writes one hint for the exact situation | Still stuck 25 s later, or more wandering |
| 3 · Point | Pulsing ring on the exact control | Still stuck |
| 4 · Show me | Ghost-cursor demo (offered, never automatic; not in the challenge) | Learner chooses |
Rowan runs on Claude Sonnet 5.5 with prompt caching. Product questions beyond the lesson are answered from MyFrontYard's admin documentation, using Voyage voyage-4-large embeddings plus keyword search, reranked by rerank-3, and every answer cites the article. The same voice as the videos can read answers aloud.