fix: preserve disabled Prompt files and filter invalid daily memories - #184
Draft
NongHua123 wants to merge 6 commits into
Draft
fix: preserve disabled Prompt files and filter invalid daily memories#184NongHua123 wants to merge 6 commits into
NongHua123 wants to merge 6 commits into
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.
Scope and rationale / 范围与原因
修复 #141 中两个已在 0.4.4 原生复现的 P1:
改动收敛到既有两个后端模块和相邻回归测试;没有新增 IPC、数据库迁移或依赖。同步维护文档和行为合同。
Related work / 关联工作
Refs #141。只覆盖两个具体 P1,不关闭汇总票或其余 UI/Windows findings。基线为 v0.4.4/main
2f264d2f,修复提交c6303266。规划、审阅及原生验收记录。
Evidence / 验证证据
mise run rust:test issue_141_为 11 项通过。mise exec -- uv run --locked --no-sync mise run check:prearchive --exclude-active-task .trellis/tasks/09-08-issue-141-prompt-memory-closeout通过(该路径为执行时的活动任务目录)。前端 1,582 通过,Rust 主库 3,197 通过,合同 616 通过,其余 suites/格式/类型/lint/Clippy/锁文件检查通过;保留既有 skipped/ignored,不将其记为通过。mise run build:debug原入口重试成功生成 macOS app/DMG。首次 DMG 失败记录保留;产物仅用于本机调试复验。Risk and rollback / 风险与回退
保留显式启用、已启用内容保存、显式停用和合法日记的原有语义;旧 Prompt ID 不迁移。新导入 ID 仍保留 imported- 前缀。实现不重写既有事务/文件写入机制。需要回退时,反向应用
c6303266中两个源文件及三份现行合同/维护文档的差异,保留后续归档资料。五文件反向补丁已通过git apply --reverse --check,未实际回滚;无数据库降级步骤。原安装版未替换,运行环境恢复已核验。Contract and provenance impact / 契约与来源影响
Checklist / 检查清单