Repository navigation
Tracks: an ordered multi-session syllabus with handoffs between fresh sessions (built as a plugin) #894
chaitanyakartik
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Problem
A subject like linear algebra takes many sessions. Today each session is its own chat. Nothing records the order the sessions should go in, what each one actually covered, or what the next one should pick up. Related threads:
v0.7.0's shared session folders, and #837, cover grouping. Tracks covers order and continuity: which session comes next, and what carries over from the last one.
What I built
I've been using a plugin called Tracks for this. It is built against v0.6.1 and needs no core edits.
track_session_complete. The tool refuses until every node in the session's plan is covered; coverage is derived the same way as core's plan statuses. The learner also gets a two-step "Wrap up early".A synthetic example: a "Linear algebra" track has S1 "Vectors as arrows" and S2 "The dot product". S1's handoff notes that projection is still shaky. S2 then opens with its brief plus that note, so the teacher starts there.
How it relates to
feature/session-kindsI've read the session kinds and record kinds work on
feature/session-kinds. Tracks seems to fit it well:I'd rather rebuild on that than keep a parallel mechanism.
There is one piece I couldn't find there. Plugin code can't start a specific session of a kind with its own opening context. In Tracks, that context is this session's brief plus the earlier handoffs. Session kinds start from the host's doors with a fixed prompt.
Today Tracks does it with internal details:
POST /api/chatsto create the chat.lh.openingPrompt.<id>sessionStorage key, whichcomponents/chat.tsxreads on mount.ctx.app.openSession(id).Everything else uses the documented plugin API:
ctx.learning,ctx.inference,registerTools, views and actions, and plugin state.Questions
I haven't tested it on v0.7.0 yet. I'll do that next, and I can post screenshots or a short recording of the synthetic demo track.
All reactions