study-path
# 学习助手
**Alpha 0.0.8** · MCP + Skill · Python + SQLite
把一句学习目标和可选资料变成一条可以持续学习的路径。模型负责查资料、写讲解、安排示例和练习。MCP 保存课程、学习进度和判定记录。
## 开始使用
需要 Python 3.10 或更新版本,以及支持 MCP stdio 的模型客户端。项目运行只使用 Python 标准库。
1. 克隆仓库:`git clone https://github.com/ngwddd/learning-assistant.git`。
2. 按[使用说明](docs/USER-GUIDE.md)中的配置连接 `server.py`,并在支持 Skill 的客户端导入整个 `skill/` 目录。
3. 对模型说一句学习目标。比如「我想学会用表格做一份月度支出汇总,每次能学 15 分钟」。有课本、样例或参考文件时,可以一起提供。
4. 下次说「继续上次的学习」,模型可用 `learning_state` 找回课程和进度。
也可运行 `python -m pip install .`,然后用 `study-path --root <数据目录>` 启动。安装包内包含 JSON Schema 和 Skill。
## Alpha 范围
- 一句话开课,支持可选资料、分阶段路径和首次学习安排。
- 按前置能力派发讲解与练习,支持分级提示、作答复核和术语回看。
- 支持阶段检查、量化观测复算、学习记录和 SQLite 快照。
- 通过模型客户端使用。音频与图片的内容判断由具备相应能力的模型或人工完成。
源码采用 MIT 许可证,见 [LICENSE](LICENSE)。
运行 `python -X utf8 verify_mvp.py`,在隔离数据库中验收。模块职责见[代码结构](docs/COUPLING.md)。
[0.08 工作台与验收](docs/ALPHA-0.0.8.md) · [RC2 0.07 安装与验收](docs/RC2-0.07.md) · [Alpha 0.0.7 本地工程验收](docs/PHASE-1.md) · [Alpha 0.0.6 工程基线与验收记录](docs/baseline.md) · [Alpha 0.0.5 发布说明](docs/ALPHA-0.0.5.md)
TDQS
Scored across 42 tools
Most tools map to a distinct pipeline stage (research, plan, lesson, task, attempt, checkpoint, artifact), but several clusters blur: attempt_log vs finish vs judge_answer all touch recording/judging an answer, and template_io (save/review/list/load) explicitly duplicates template_review. Session verbs also mislead: resume_session un-pauses rather than reopening a session, while learning_state and session_open handle finding/creating one.
The dominant pattern is noun_verb (task_add, map_get, note_upsert, gate_record, plan_launch, attach_artifact), applied with few exceptions. Outliers are bare verbs (explain, finish), the noun graduation, and the _io suffix pair (template_io, backup_io), but these are few enough not to break predictability.
42 tools is heavy for any single server; even though the domain spans multiple subsystems (sessions, research, planning, teaching, practice, artifacts, templates, backup), several are already bundled elsewhere (template_io, backup_io) so artifact/note/session trios could likewise consolidate. The surface feels like multiple servers merged.
Coverage is broad and closes the loop: session open/pause/resume, research logging, goal confirmation and feasibility, plan compile/preview/upgrade, lessons, tasks, attempts, hints, judging, checkpoints, reports, graduation, plus artifact hashing and backup. Minor gaps remain — no session delete/rename, no goal revision after confirmation, and no explicit approval workflow for manually overridden gates beyond pass_band_manual.