Files
MemRelay/projects/f5708b07-f0ea-42a4-b4ed-0e5443990ff9/Checkpoint 2026-11-15 07-26-36 UTC [fb21236602].md
T
memrelay 8b8e0d17b3 create: 用户可关闭定时自动学习
MemRelay-Operation: memory-save:mem-20261115-schedule-enabled
MemRelay-Resource: 276b4a40-029c-44f2-b662-5924ef80dd77
2026-11-15 15:26:44 +08:00

41 lines
1.6 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: Checkpoint 2026-11-15 07:26:36 UTC [fb21236602]
type: checkpoint
permalink: main/projects/f5708b07-f0ea-42a4-b4ed-0e5443990ff9/checkpoint-2026-11-15-07-26-36-utc-fb21236602
stable_id: e2449e2d-5404-467b-9170-0518d3bb19c0
scope: project
memory_type: checkpoint
project_id: f5708b07-f0ea-42a4-b4ed-0e5443990ff9
usage_profile_id: 0c9feb46-d06e-43cd-9ef0-c5813c84a998
status: active
revision: 1
request_id: ckpt-20261115-schedule-toggle
created_at: '2026-11-15T07:26:41.188105+00:00'
updated_at: '2026-11-15T07:26:41.188105+00:00'
tags:
- autostudy
- schedule
---
停止不再永久关掉下月定时。本月停止/达标用 study_stop_month 与 hours_month 记 YYYY-MM;12 月窗口到点会重新 eligible。
## 完成
1. 手动停止、达标停止只作用于当月。实机 6650000146:11 月 paused+78 分钟达标,12 月 2 号 eligible True、hours_met False。
2. 首页/管理端增加「定时开启」。关掉后定时启动不可设置,只能立即开始。默认开启。
## 关键实现
- alembic 0014_study_schedule:hours_month、study_stop_month、study_schedule_enabled
- study_control expire_pause / stamp_hours / schedule_enabled
- 首页 NSwitch + disabled 定时启动;保存 enabled
## 验证
109 pytest。vue-tsc+vite 通过。浏览器开关关闭后面板变灰。未点立即开始。
## 下一步
用户刷新首页。要提交再说。
## 给下个会话
- uvicorn 127.0.0.1:8000 无 --reload,已迁 0014。
- 不要提交 data/、Temp/、web/dist、.chlz。用户明确要求才 commit。
- 未提交包含心跳 0、学习协议、SOCKS4、WS、达标停、本轮定时开关。
- 不要长时间点立即开始跑 1187 门课。