Skip to content

feature: fixes in memory function, add review lesson button in my plan. - #286

Merged
artcc merged 8 commits into
developfrom
feature/memory
Aug 4, 2026
Merged

feature: fixes in memory function, add review lesson button in my plan.#286
artcc merged 8 commits into
developfrom
feature/memory

Conversation

@artcc

@artcc artcc commented Aug 4, 2026

Copy link
Copy Markdown
Owner

No description provided.

artcc added 8 commits August 2, 2026 18:41
- Add memory management endpoints for authenticated users to create, list, delete, and clear memories
- Enforce unique `(user_id, content)` memory rows with a migration and model constraint
- Switch chat and voice memory capture from marker parsing to native LLM tool calls
- Make memories global across learning languages and preserve them when deleting a language
- Update memory schemas, native language validation, and prompt/context handling
- Refresh project docs, changelog, README, and test counts for the new release
- Change the 1.8.28 entry date in CHANGELOG.md from 2026-08-02 to 2026-08-10
- Add provider tool-compatibility detection and retry LLM turns without tools when unsupported
- Limit native memory execution to one call and keep continuation fallback silent on failure
- Move chat LLM usage persistence to a separate session and emit memory updates only after confirmed saves
- Track voice-session tool capability so unsupported tools are disabled only for the current WebSocket session
- Tighten SSE parsing to reject truncated final events and require terminal done or error events
- Update chat UI handling for SSE completion, error, and memory update events
- Add tests for unsupported-tool fallback, continuation fallback, one-call execution, session-local voice capability, FIFO memory eviction, and truncated SSE detection
- Refresh documentation and skill metadata with revised backend and frontend test totals and memory behavior
- Stream visible LLM text immediately during native tool calls and continuation
- Prevent fallback retries after partial output has been emitted
- Add per-user row locks to single-memory deletion and clear-all operations
- Update LLM and memory service tests for progressive streaming and locking
- Refresh architecture, testing, and changelog docs to match the new behavior
- Adjust recorded backend coverage figures in documentation and skill metadata
- Add `GET /api/study-plan/lessons` to expose generated lesson metadata and completion state
- Make lesson completion idempotent by returning completed lessons unchanged
- Pass lesson state through the plan page and unit drawer to show Start, Continue, or Review actions
- Update lesson pages to block edits in review mode and return to the plan
- Add lesson action translations and bump app/version metadata to v1.8.30
- Update changelog, AGENTS notes, API specs, and frontend/backend tests for the new flow
- Lock lesson rows during completion to serialize concurrent requests
- Commit lesson completion, progress, XP, and competencies atomically
- Move freemium usage recording after a successful database commit
- Bypass quota checks for already-completed lesson retries
- Force-refresh frontend freemium status after successful completion
- Disable duplicate lesson completion submissions in the UI
- Add backend and frontend tests for rollback, retries, and freemium caching
- Update docs, specs, and test counts to reflect the new behavior
- Adjust version 1.8.30 entry date from 2026-08-04 to 2026-08-05
- Align multiline template literal expressions in the app layout
- Preserve existing navigation and trial-day logic while cleaning indentation
- Normalize conditional className formatting in desktop, admin, and mobile links
@artcc
artcc merged commit 4da0e6f into develop Aug 4, 2026
2 checks passed
@artcc
artcc deleted the feature/memory branch August 4, 2026 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant