Commit Graph
99 Commits
Author SHA1 Message Date
ila b18f9cc4a5 fix: 整改 #5 审核问题 R1~R4 (#5)
R1 追加契约:学习端把新建与追加拆成两个请求体,追加不再发送 language(后端严格
解码会拒绝未知字段,此前真实追加返回 400);补充断言真实请求格式的回归测试。
R2 运行期恢复:启动恢复与运行期清扫合并为一处,worker 每秒把停留超过 15 秒的
processing 任务重新入队,超过 5 次尝试的任务置为 failed(attempts_exhausted);
人工重试重置尝试次数;日志如实区分“已入队”与“等待下一次清扫”。
R3 离页作废在途请求:closeBook/closeChapter 推进请求序号并清理 loading,导入页
在卸载后的成功响应不再触发跳转。
R4 重试自愈:重试被接受后先应用返回的 pending 状态并继续轮询,静默刷新失败不再
让页面停在处理失败。

测试:Go 20 个顶层用例通过(新增 2 项);学习端 38 项通过,其中 7 项在整改前代码
上实际失败;真实联调验证追加可用、被中断任务约 0.5 秒内在运行中自动恢复、重试在
首次刷新失败后自动显示最终结果。

文档:Wiki 先写后回读(架构、业务规则、本地验证),导出核心镜像。
2026-09-11 11:02:32 +08:00
ila a55708cd37 feat: 粘贴英语文本、章节处理与本人阅读 (#5)
schema v3 新增 lexgo_books、lexgo_chapters、lexgo_ingest_jobs;一次粘贴生成一个章节,
原文按收到的字符串逐字保存;处理任务具备持久状态机、启动恢复与 requestId 幂等。
新增书籍/章节/任务 API 一律按认证身份过滤归属,他人编号返回 404,后台任务不使用
客户端用户编号;学习端补齐粘贴导入、书库、章节状态与失败重试、原文阅读与章节切换。

测试:MySQL 集成测试覆盖导入→处理中→就绪→阅读完整路径、失败重试、幂等、越权与
Unicode 原文保真;学习端 Vitest 31 项、Playwright 3 项与构建通过;lexgo_dev 已显式
迁移到 v3,迁移前后既有数据指纹不变。

文档:Wiki 先写后回读(架构、业务规则、本地验证、需求总览、Home),导出核心镜像。
2026-09-11 00:36:23 +08:00
ila ed5da31888 docs: 记录阅读选择验证验收通过 (#4) 2026-09-10 22:52:52 +08:00
ila 8d4a095590 feat: 验证阅读连续选择与范围调整 (#4) 2026-09-10 22:38:44 +08:00
ila 2b6aa90813 docs: 记录英语技术验证验收通过 (#3) 2026-09-10 21:51:21 +08:00
ila b7c976eb75 feat: 验证英语分词、原文定位与离线词典 (#3) 2026-09-10 20:59:18 +08:00
ila 96ac5eb618 docs: 记录日志审计验收通过 (#18) 2026-09-10 20:43:50 +08:00
ila 850c78e2aa feat: 管理端登录日志与操作审计 (#18) 2026-09-10 20:37:46 +08:00
ila 1e77f1026b fix: 重置密码最少六字节并统一账号校验 (#2) 2026-09-10 20:13:38 +08:00
ila b7768c10de fix: 新增学习账号密码最少六字节 (#2) 2026-09-10 20:10:14 +08:00
ila 722ae152ca fix: 登录验证已有密码并保留新密码规则 (#2) 2026-09-10 20:02:49 +08:00
ila cc17d1cce7 docs: 记录 Go 后端 supervisor 托管 (#2) 2026-09-10 19:55:14 +08:00
ila d7b6c6d609 docs: 记录两端 supervisor 启动实例 (#2) 2026-09-10 19:38:14 +08:00
ila 2c8e9b3ca0 feat: 接入两端用户名登录和独立学习空间 (#2) 2026-09-10 17:39:57 +08:00
ila 596543b0e2 docs: 拆分 MVP 四阶段工单并明确用户名登录 (#16) 2026-09-10 17:12:29 +08:00
ila f8260b89ba docs: 校准原型审核状态与验证边界 (#1) 2026-09-10 16:21:29 +08:00
ila 893302c5f8 docs: 确认 MVP 范围并登记 Quant-UX 原型 (#1) 2026-09-10 16:11:38 +08:00
ila ee03bff8b0 docs: confirm multi-user positioning and draft MVP selection catalog 2026-09-10 14:59:20 +08:00
ila 691c93be58 docs: record learner frontend architecture and reuse boundaries 2026-09-10 14:50:37 +08:00
ila be34c402f7 docs: select local go-admin management baseline 2026-09-10 14:39:58 +08:00
ila 20de5e7e4c docs: complete LexGo governance and Windows verification guidance
Validated 20 Wiki pages with sync --verify; all 56 governance tests pass. Product implementation remains pending.
2026-09-10 14:29:24 +08:00
ila ffa81901cf docs: import verified LexGo Wiki baseline
Online sync and strict structure checks pass. Full governance tests identify two documentation gaps; follow-up will add lightweight exemptions and verified Windows shell guidance.
2026-09-10 14:28:41 +08:00
ila 3c161363e1 docs: configure LexGo light governance and preserve research sources 2026-09-10 14:27:28 +08:00
ila ecab899502 docs: 新项目默认采用轻量治理模式 (#33) 2026-09-04 14:14:12 +08:00
ila 8615a4048d docs: 明确人工授权后的执行边界 (#32) 2026-09-04 10:58:14 +08:00
ila 40b99387ad docs: 补充 Windows PowerShell 命令约束 (#28) 2026-09-02 15:21:04 +08:00
ila 90938be380 docs: 统一 Agent 中英文交流规范 (#31) 2026-09-02 15:10:20 +08:00
ila c13f6adb76 docs: 清理轻量治理冲突门禁 (#30) 2026-09-02 10:15:20 +08:00
ila fe795c4367 docs: 增加轻量项目治理模式 (#30) 2026-09-02 10:13:47 +08:00
ila cbdd27d861 perf: 优化 Wiki 镜像增量同步 (#29) 2026-09-02 09:38:09 +08:00
ila 4bbacf4d7f docs: 规范 PowerShell UTF-8 与执行策略 (#28) 2026-08-27 15:01:43 +08:00
ila 0b6ec7675d docs: 记录 #27 验收通过 2026-08-26 16:11:48 +08:00
ila a75a7783dc docs: 明确外部原型仅按需保存快照 (#27) 2026-08-26 16:07:08 +08:00
ila c65e06b7ab docs: 登记线上原型按需导出 (#27) 2026-08-26 16:05:47 +08:00
ila 68cf1f3705 docs: 原型改为线上审核与按需导出 (#27) 2026-08-26 16:03:49 +08:00
ila 19fb64b2ce docs: 记录 #11 #16 #18 #25 #26 验收通过 2026-08-25 10:23:17 +08:00
ila c0b8013aa8 docs: 登记 Gitea 交互优化工单 (#26) 2026-08-25 10:15:00 +08:00
ila 384bf0191b docs: 统一 Gitea MCP 与工单读取规则 (#26) 2026-08-25 10:13:25 +08:00
ila eb2949c969 docs: 登记 #25 迁移边界快照 2026-08-25 08:46:42 +08:00
ila 3b707a0a9a docs: 同步任务事实来源最终措辞 (#25) 2026-08-25 08:41:11 +08:00
ila 5821ea0d08 docs: 精简单人任务事实来源并分级工程基线 (#25) 2026-08-25 08:39:52 +08:00
ilaandClaude Opus 5 3696663781 docs: 需求总览登记服务部署文档 (#24)
#24 验收通过,在当前需求索引增加「服务部署文档」一行并同步核心镜像。

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-19 10:06:47 +08:00
ilaandClaude Opus 5 65c20611fa docs: 新增部署文档模板与位置约定 (#24)
新增 Deployment-Template 模板页及镜像,固化 nginx 反代 + supervisor
托管的 Python 服务部署做法;明确部署文档在有无常驻服务两种情况下的
落点,并在新项目初始化加入部署页判定。模板文件纳入 REQUIRED_FILES,
部署实例页不进入 CORE_DOCUMENT_REQUIREMENTS 强制检查。

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-19 09:53:33 +08:00
ilaandClaude Opus 5 bfdf648962 docs: 同步命令入口变更的核心 Wiki 镜像 (#23)
Wiki 侧已更新 7 个核心页面的命令入口,本提交只导出对应只读镜像。

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-18 21:36:15 +08:00
QiuSW cdf83fd993 docs: archive acceptance for prototype snapshots (#21) 2026-08-17 15:24:02 +08:00
QiuSW 56d1bc60ac docs: mark prototype snapshots pending review (#21) 2026-08-17 14:58:01 +08:00
QiuSW 6f941e1125 docs: sync prototype snapshot Wiki revisions (#21) 2026-08-17 14:54:42 +08:00
QiuSW 51a7c8b946 docs: require local HTML prototype snapshots (#21) 2026-08-17 14:53:39 +08:00
QiuSW 6f7cce270c docs: archive acceptance for Wiki initialization gate (#20) 2026-08-17 11:34:09 +08:00
QiuSW d5f83b8896 docs: mark Wiki initialization gate pending review (#20) 2026-08-17 11:27:36 +08:00