Skip to content

Feat/backend ai roadmap generation - #154

Merged
minh28102004 merged 4 commits into
mainfrom
feat/backend-ai-roadmap-generation
Dec 4, 2026
Merged

minh28102004 merged 4 commits into
mainfrom
feat/backend-ai-roadmap-generation

Conversation

@minh28102004

Copy link
Copy Markdown
Collaborator

No description provided.

minh28102004 and others added 4 commits December 3, 2026 14:25
- Resolve AI access through feature access modes (disabled, free, plan required,
  credit required, plan and credit) and draw scoped legacy credits before the
  unified AI wallet.
- Report legacy balances and per-feature AI credit costs in the study access summary.
- Retire legacy AI plan categories for new sales while keeping existing plans editable.
- Guard notebook, placement, lesson progress, practice and speech endpoints with
  their feature policies.
- Keep the temporary free AI test access for learners in place.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Learning paths produced by the M4E2E stub client carry a shared summary marker and
are returned with IsTestFixture so clients can label them as test data.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
- Add GET /api/LearningPath/generation-status backed by a process-local tracker
  that records the real stages (analyzing, designing, saving) and the outcome.
- Run generation on a server-owned 10-minute budget detached from the caller,
  coalesce concurrent requests and return LEARNING_PATH_AI_TIMEOUT with the
  reserved credit refunded when the budget runs out.
- Return stable error codes for plans that are too long, exams that are too soon
  and invalid AI output.
- Flag M4E2E-generated paths and log a startup warning in the M4E2E environment.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@minh28102004
minh28102004 merged commit ca5f88c into main Dec 4, 2026
5 checks passed
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