test: harden memory isolation and prepare v0.1.0 - #4
Merged
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.
目标
完成 P0 第二轮:为长期记忆系统、项目隔离和首个正式版本建立功能级验证与发布材料。
实际发现并修复
CI 新测试发现
activeProjectId可以通过../解析到小说项目/作品/之外。本 PR 已在
memory_common.py中增加目录包含校验:小说项目/作品/内MemorySystemError功能测试
新增测试覆盖:
activeProjectId路径逃逸拦截patch_id内容变化必须失败发布准备
docs/releases/v0.1.0.mdCHANGELOG.mdROADMAP.md验证
最终 GitHub Actions 已通过:
变更边界
未修改前端、正文生成逻辑、文风规则、AI 配置或用户小说数据。