Commit History
7 days ago
-
feat(course): add, rename, resize and delete levels; class tools follow a published version
Claude +1: Claude Opus 5.5Unverified signatureadd_level/update_level/delete_level in the draft, the MCP and the חוברת tab. The class tools' state (levels a class opens, homework topics, video lessons and levels) and the library's lesson sections are rebuilt whenever another version is served. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011XVGk8iqZgcowePbbiTbgo317eae1 -
docs(openspec): archive add-teacher-course-authoring, its specs synced
Claude +1: Claude Opus 5.5Unverified signaturecourse-authoring is a new main spec; teacher-content's ordered lesson content now takes the topics' order from the published course version. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011XVGk8iqZgcowePbbiTbgoedfaef7
8 days ago
-
docs(course): every task of add-teacher-course-authoring done
Claude +1: Claude Opus 5.5Unverified signatureCo-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011XVGk8iqZgcowePbbiTbgo8c1a8f0 -
test(course): end to end, from import through publishing to rolling back
Claude +1: Claude Opus 5.5Unverified signatureCo-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011XVGk8iqZgcowePbbiTbgo249a49f -
feat(course): the חוברת tab: tree, inline editing, draft bar, preview, publish and versions
Claude +1: Claude Opus 5.5Unverified signatureAlso: a deletion no longer counts the items after it as moved in the diff, the draft endpoint gives the outline being edited, and a banner shows while previewing the draft. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011XVGk8iqZgcowePbbiTbgo6699106 -
feat(course): course permissions and the MCP's course tools
Claude +1: Claude Opus 5.5Unverified signaturecourse.edit and course.publish for the Arabic course's managers and developers; the /api/course endpoints move onto them. MCP: get_course_outline, get_course_topic, prepare/publish_course_change (every draft operation, replace_topic_items, add_word), prepare_course_publish/publish_course_version, all through single-use approvals. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011XVGk8iqZgcowePbbiTbgo7b7d59b -
feat(course): drafts, a diff with learner counts, preview, and the course dictionary
Claude +1: Claude Opus 5.5Unverified signatureGroup 3 of add-teacher-course-authoring. - course_draft.apply: add, edit, delete and move items; a conjugation table's word list (forms that stay keep their ids); add, edit, delete and move topics; write a planned lesson. Every change must leave a course that compiles, and reports the words read by rule. - The first change makes the draft from the published version; a change prepared against an older draft is refused. - The diff compares by id, with how many learners practised each item it changes or deletes (counts only), and the classes it affects. - A manager whose page sends X-Course: draft gets the draft's sentences, progress, speech and scores; attempts are kept under the draft item's key. Anyone else gets the published course. - course_lexicon: a teacher adds a word (read by rule), a developer sets how it is said, a word in use cannot be removed; added words join the dictionary every item is read with. - Endpoints under /api/course (draft, topic, diff, lexicon…7df13e4 -
feat(course): stored versions, published within half a minute, with fallbacks
Claude +1: Claude Opus 5.5Unverified signatureGroup 2 of add-teacher-course-authoring. - course_versions (keyed by number; one published and one draft at a time) and course_lexicon, with a SQL function that publishes in one transaction. Until the SQL is run, ניטור shows it and the code workbook is served. - On first use the code workbook is stored as version 1 and published: nothing changes for learners. - course_store.CourseStore loads the published version after start and every 30 seconds, compiles it and serves it in place; the modules that build tables from the course (main, access, tutor, glossary) rebuild them. Supabase away: the copy on disk, else the code workbook. A version that does not compile is not served. - /api/course/status and /api/course/publish (a preview with the classes whose lessons or homework a version drops, then confirm), logged with who published. A removed topic's homework stops showing. - Both tables join the daily backup; a restore puts every version back and publishes the backu…5a0897a -
feat(course): the course as a compiled document, still fed by the code workbook
Claude +1: Claude Opus 5.5Unverified signatureGroup 1 of add-teacher-course-authoring. The Arabic course is now a document (levels, lessons, topics, items) that app/course.py validates and compiles into the lesson tabs, categories and phrases the app has always served. Until course versions are stored, the document is the code workbook's, exported at start; learners see no difference, which tests/test_course.py proves against fingerprints of every phrase taken before the change. - Every course item has a permanent id (its phrase id: its place today) and key (what attempts name it by: its Hebrew today), so editing or moving an item will keep its progress. The games' phrases keep their ids in a range the document reserves. - The six conjugation generators are kept as their word lists; table formatting topics as their items. Items may be written in Arabic script or in Hebrew letters (read as teacher texts are, unknown words reported). - Phrases are found by id, never by place (phrase_by_id), and progress maps (topic, k…61c452c -
openspec: back up the course tables in the course-authoring plan
Claude +1: Claude Opus 5.5Unverified signatureSupabase becomes the course's source of truth, so course_versions and course_lexicon join the daily backup: a spec scenario, a design risk and task 2.5 with a backup-and-restore test. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011XVGk8iqZgcowePbbiTbgoffe59bd -
openspec: plan teacher course authoring (the workbook as versioned data)
Claude +1: Claude Opus 5.5Unverified signatureProposal, specs (new course-authoring; teacher-content's lesson order), design and tasks for letting the staff author the Arabic workbook as versioned data: drafts compiled and checked on save, a diff with learner counts, preview as a learner, publish and roll back without a deploy, permanent item ids and keys so progress survives edits, an editable course dictionary, MCP tools and a panel tab. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011XVGk8iqZgcowePbbiTbgo94abde1
14 days ago
-
Enhance learner home and feedback functionality
- Updated learner home rendering to include personal settings button if applicable. - Modified feedback handling in tests to support replies and conversations. - Added new tests for teacher responses to feedback notes and user interactions. - Implemented feedback retrieval methods in test classes for better data handling. - Ensured proper migration handling for feedback data structure changes.f918fa3 -
feat: add video support for lesson texts and update related functionality
5b1b4ab
21 days ago
-
feat(access): two tiers; guides are students of their classes
- Only managers and students remain. An account saved in the old מתרגלים tier (teacher without admin) resolves as a student. - A class's own teacher studies in it as its students do: same lessons, library, lesson question and focused home. - A class of several levels gets a current lesson: the question lists its lessons under each level, and the home names the level. - Managers get "view as a student" from the class pill: every lesson, or the app as a class's student sees it (the lesson stays on the device). - Refer a friend: a card on the home, marked until first opened; no tab for managers. Fix the missing parenthesis in the shared message. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>d0f8c12
27 days ago
-
feat(mcp): add read-only get_game_popularity tool
Answers "which game is the most popular?" for one authorized class or the deduplicated union of all visible classes. Ranks only games with reliable server-side records, by distinct active players and separately by player-days, and reports device-only games as not measurable rather than zero. Applies the existing 3-learner / 5-event thresholds, adds complementary suppression against single-class differencing, and returns aggregates only. The verb-game answer now returns its level, so the existing game event can tell פועל יוצא from בונים פועל עם איתן going forward. Older events carry no level and are reported as not attributable. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>7e75291
28 days ago
-
add mcp extension
ad651b9 -
feat(monitoring): add error summaries
Persist enum-only operational failures for 90 days and expose aggregate MCP counts without raw logs or identities.\n\nIncludes the service-role-only Supabase migration and daily retention cleanup.d410f54
30 days ago
-
Add script for generating installation demo videos for iOS and Android
- Introduced a new Python script `install.py` in the `scripts/demo_video` directory. - The script captures screenshots of the app's first screen on both iPhone and Android devices. - It supports generating video files from the captured images using FFmpeg. - Added command-line arguments for specifying the app URL, target OS, output directory, and specific frames to capture.fa24f80
-
feat: Add MCP learning analytics tools for exercise difficulty, pronunciation, progress, and bottlenecks
- Implemented scoped attempts with optional diagnostics in SupabaseAuth. - Extended LibraryAuth to support new analytics tools and modified existing methods for compatibility. - Introduced new tests for pronunciation difficulties, learning progress, class comparisons, and learning bottlenecks. - Updated OpenSpec documentation and specifications to reflect new analytics capabilities and privacy requirements. - Ensured all new tools adhere to existing authorization and privacy standards, suppressing small cohort data.3754352 -
feat(mcp): rank difficult exercises
Suppress small cohorts and keep attempt sequences server-side so teachers receive scoped aggregate difficulty metrics without learner-level data.5ec3bde -
feat(mcp): add scoped monitoring tools
Keep activity aggregates within the verified manager scope and expose only whitelisted health statuses without operational secrets.5fc690e -
feat(mcp): add scoped class management
Bind roster approvals to the verified OAuth actor and preserve protected class data across narrowly scoped changes.ccce867 -
feat: implement Grok class management tools for student roster and class operations
e2d2617 -
feat(mcp): add Supabase OAuth
Replace the shared connector secret with revocable user grants and recheck management permission on every MCP request.ee0f8bd -
feat: add Grok MCP integration for library video management
- Implemented a new MCP connector for managing library videos through Grok. - Added authentication middleware for the MCP endpoint using a dedicated bearer token. - Introduced tools for listing, preparing, publishing, and renaming library videos. - Ensured input validation and duplicate checks for video titles and URLs. - Implemented an approval system for publishing videos with expiration and single-use constraints. - Refactored library operations into shared helpers to maintain consistency across API and MCP tools. - Updated requirements to include the official MCP SDK and anyio for compatibility. - Added comprehensive tests for the new MCP functionality and ensured existing library API compatibility.6c79804 -
Enhance demo video and TTS integration
- Updated promo.html to improve layout and styling for new features, including enhanced word display and interaction elements. - Modified promo.py to include new marks for user interactions and improved timing for screen recordings. - Adjusted index.html to refine lesson continuation logic and ensure proper voice configuration for TTS. - Enhanced test cases for Arabic diacritics and learner home browser to validate new story resumption logic and TTS playback configurations. - Added tests for TTS endpoint to ensure proper audio serving and voice ID handling. - Introduced a new OpenSpec configuration for the Grok library MCP.4d3eef0
-
feat: enhance shadda rendering in complete-path labels
- Updated the learner home browser tests to support mobile rendering of shadda-bearing Hebrew letters. - Added a new test to ensure correct rendering of shadda in complete-path labels on mobile devices. - Modified the scoring logic to ensure that baseline references only compensate for substitutions when the reference also lost the sound. - Introduced a requirement for evidence before showing substitution tips, ensuring that tips are only displayed when the competing sound has sufficient acoustic evidence. - Documented design decisions and migration plans for the changes related to shadda rendering and baseline forgiveness in the respective markdown files. - Added new specifications and tasks to ensure thorough testing and validation of the new behavior.0c674a8
-
feat: enhance learner home functionality and add practice streak tests
- Introduced a new utility function `minutesFor` to estimate time for actions based on item count. - Updated the rendering of recommended actions on the learner home page to include estimated time for completion. - Added a new test for the class week's performance metrics, ensuring accurate reporting without teacher data. - Modified existing tests to reflect changes in the reminder prompt behavior after a good moment. - Expanded progress tracking tests to include new streak states: "frozen" and "freeze_ready". - Created a new test suite for practice streak logic, covering various scenarios including missed days and freeze conditions.deaceb0 -
Add tests for learner home functionality and browser interactions
- Implement tests for saving and reading current lessons for learners. - Create a mock authentication class to simulate Supabase interactions. - Add tests for handling various scenarios including missing keys, table absence, and server downtime. - Develop browser tests for the focused learner home page using headless Chrome. - Validate lesson selection, reminders, and class-specific lesson handling. - Ensure tests cover both successful and error scenarios for lesson management.d0753de -
Add requirements browser and diagram rendering enhancements
- Introduced a local, read-only requirements browser for inspecting OpenSpec specifications and changes, ensuring it operates solely on the loopback interface. - Implemented a standalone Python server for the requirements browser, utilizing OpenSpec CLI output for project inventory and ensuring all reads are confined to resolved paths. - Developed structured JSON responses and a responsive HTML/CSS/JavaScript interface for the requirements browser, focusing on accessibility and usability. - Enhanced the Atlas to render fenced `mermaid` diagrams as visual representations while preserving the original source as inert text, ensuring no external dependencies or interactive elements are introduced. - Added a pinned Mermaid library for local rendering of diagrams, with strict security configurations to prevent any active content from being executed. - Ensured that all new features maintain the existing read-only and local-only boundaries of the Atlas, with comprehensive testing for functiona…7123d5f -
feat(push): implement admin notification system with audience targeting and broadcast capabilities
59ae6fc -
feat: add local requirements browser for OpenSpec
- Introduced a read-only local browser interface for inspecting OpenSpec capabilities, requirements, and changes. - Implemented a standalone Python module to serve the browser and handle OpenSpec CLI commands. - Created a structured HTML/CSS/JavaScript interface for displaying specifications and active changes. - Added functionality for searching and navigating requirements without modifying any OpenSpec artifacts. - Included comprehensive tests to ensure the reliability of the new browser and its integration with existing OpenSpec functionality.52ba002
-
Add script to create promotional booklet video assets
This commit introduces a new Python script, `make_book.py`, which generates the cover and pages for a promotional booklet video. The script processes a cover photo by straightening it and applying a white overlay to a stage line, and it extracts pages from a provided PDF using the `pdftoppm` utility. The output includes a JPEG cover and individual page images, facilitating the creation of a video showcasing the booklet.2d2e873