feat: checkpoint 时间线 + 按 run 快照备份 + 选择性回退 - #12
Open
kebold wants to merge 2 commits into
Open
Conversation
- 每次 apply 创建 post-state 检查点(graph.checkpoint.<seq>.json)和按 run 的 pre-state 备份(graph.json.bak.<seq>),取代旧的单次覆盖备份,可精确撤销单次 refine - rollback --list 显示线性时间线(含 refined/pending 状态列);--list --by-query 按 query 分组显示版本链 - rollback <seq> 回退到某检查点并把后续 query 标记重置为 pending - rollback --query <qid> 精确撤销某 query 的最后一次 refine(按 run 备份或前一检查点),不影响其他 refine - apply 后把已 refine 的 query 在 history 标记为完成(无记录时自动追加) - history mark_refined 返回变更数;iter_history 支持 BOM
- 上游新增 claude_skill/(Claude Code adapter)、wiki_refresh.py(apply --refresh-wiki 事务性提交图+Wiki)、assets 图片 - Reafiner → DeepRefine 改名:refine_runner 用 deeprefine 变量/deeprefine_pkl 键,codex references 重命名 - 保留本地 checkpoint 时间线功能:per-run 备份逻辑在冲突中保留,rollback --query/--by-query 完好 - SKILL_OPENCODE.md 保留本地详细描述(含 license/compatibility frontmatter) - SKILL.md 三副本重新同步;pyproject 升 v0.2.0 含 claude_skill 打包
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.
功能概述
设计要点
测试