Remove course pages, APIs and the course_study capability. Add anchored note
threads and reviewed learning-block generation, queued and withdrawable chat
messages, quote attachments, side chats, and the calendar/favorites/navigation
updates.
Keep preview's existing backend architecture. Wire the new features through
its Python application and existing chat engine, retain legacy selected-text
requests, persist mid-turn messages in replay, and restore note context when
regenerating. Leave stored user data intact.
Validate frontend contracts, dependency boundaries, types, 1290 node tests,
840 rendered tests, lint, localization and the production build. Exercise
session/notes/API regressions, 53 chat-engine tests and 20 Python/native
integration tests with isolated runtime data.
The reading composer hides Course Study from its action menu and shows
any action it does not offer as Chat, but left the stored capability in
chat state untouched. Turns are built from chat state, so after a course
hand-off opened a video or document in Reading, every message was still
sent as `course_study`. That loop only recommends next steps and never
teaches, so questions about the material got a hand-off instead of an
answer, while the composer said "Chat".
Pinned workspaces (Mastery) already assert their action for this exact
reason. Do the same for unpinned ones: once the capability catalog has
loaded, reset a stored action the workspace does not offer to Chat, which
is what the composer shows.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Adapted the migration foundation from PR #1384 while preserving current workspace, caption and turn-admission safeguards.
Co-authored-by: XZH <cto@xzh.ai>
Ship a content workspace you choose, one exec tool for every language,
Mastery Path modes that gate its tools, and Settings that grades
readiness instead of listing faults.
Release notes: assets/releases/ver1-6-5.md
Ship the breaking front- and back-end runtime and route refactor,
learner and guardian flows, grounded reading, knowledge and parser
updates, and recoverable long-running streams.
Release notes: assets/releases/ver1-6-3.md