fix: 移除课程门数上限,避免与每日积分目标冲突

maxCourses 按整门课计数,而积分按课时计;只剩考试的课会白占名额,
曾出现 5 门用光但今日视频积分只拿到 1/3 就停止的情况。现在只由
今日积分完成、没有可学内容或 budgetMinutes 决定收尾。

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
voidandClaude Sonnet 4.6 committed 2026-11-02 19:36:57 +08:00
1 parent 0eb4c40629
commit f41fc72fe2
20 files changed
+45 -106

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@
# 所有实际逻辑仍在 runner/headless.mjs 里,这里不复制任何业务判断,避免两处行为分叉。
#
# docker run 镜像 → 没凭据则 --check(只读自检),有凭据则正式刷课
# docker run 镜像 --max-courses 3 → 参数原样透传给运行器
# docker run 镜像 --budget-minutes 15 → 参数原样透传给运行器
# docker run -it 镜像 sh → 进容器排查
set -e