feat: add role-aware teacher and student multi-agent scenarios - #1
Draft
lyyzka wants to merge 1 commit into
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
在现有 LingxiGraph 安全模板与不可变 revision 机制上,增加面向教师端和学生端的角色隔离与开箱即用教育场景,不引入新的自由图运行时或 LMS 业务模型。
主要变更
admin、teacher、student、user。scenario_key与audience_roles,保持受众范围与不可变发布版本一致。on_chat_start再次执行服务端授权,阻止伪造 Profile slug 越权。student_learning_companionSupervisor 预设:学习协调者调度概念导师、苏格拉底教练、练习生成器和反思总结助手。teacher_lesson_reviewParallel Review 预设:教学方案生成、教学法/难度/评价设计并行审核与综合定稿。用户与开发者影响
验证
uv run ruff check app scripts testsuv run ruff format --check app scripts testsuv run python -m mypy appuv run python -m pytest -q(37 passed)node --checkdocker build -t lingxinext:education .首版边界
本 PR 不增加课程、班级、作业、提交、测验、学习记录或教师人工审批模型;这些能力应在后续 PR 中基于本次建立的角色 → 场景 → revision → checkpoint 链路继续扩展。