Repository navigation
feat(persona): review handwritten deletions with stable provenance - #130
Merged
Merged
Conversation
leafliber
added a commit
that referenced
this pull request
Oct 20, 2026
- 记录 #130 的手写句删除规则、稳定出处校验、变化程度无法判定时的处理及公开与诊断结果。 - 记录入口画像 EXP2 对照结论,以及用户“收住”、留到全自动阶段统一重新设计的决定。 - 同步设计文档 13.4 第 3 条与 S19 的发布方式和手写句规则。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
管理员手写的 persona 句子,只有被后来的有效记忆明确更正,或本身规定角色回复行为时,才允许候选提议删除。独立语义审查绑定原句及依据,其他情况逐字保留;获准删除一律按大变化处理,沿用三种发布模式与版本回滚,默认仍全部人工确认。全自动下变化程度重问后仍无效的候选不发布,保留当前版本,不新增人工关卡。依据在写回及确认时核对修订与可见性,新增模型调用在事务外并共用原检查阶段预算。
PE-19 修复同文手写条目在删除后被回溯到错误写入日期的问题。使用已保存的版本 ID、父项 A 引用及删除记录逐项追踪保留项,校验原句、引用唯一性与数量;每个原保留项只消费一次,回滚沿真正恢复的目标追溯。删掉较早项后,较晚项保留自己的引入时间;无法唯一对应时写入时间为未知,不授予更正记忆的删除许可。无需迁移,提示词、质量规则、接口与默认发布设置均未改。
验证:新增 21 个确定性/假模型案例,覆盖分次加入同文句→只删除较早项→三种模式发布/确认→再生成、回滚、不明对应及唯一旧条目的有效许可。先在旧实现得到 20 失败/1 通过,修复后手写回归 65 通过、全部 persona 回归 1886 通过。Python 3.13.13 与隔离 Python 3.12.12 全量各 5472 passed;uv build 成功。学习 116 案例/272 批请求、七份召回 228 查询 × 5 路径完整返回及模型输入,与 main 基线 93d1be9 均零差异;测试临时目录已清理。
PE-18 在 d852e8e 上的历史公开运行:v1、v2 均 run_valid,实际变化有依据分别 20/20、29/29,七类违规均 0;判分为四位未参与实现且互相隔离的全新 gpt-6.1-sol max 代理双判,分歧取不利。历史公开运行没有触发手写删除许可。本次 PE-19 按指令未跑真实模型,新代码的 dev 参考诊断由规划者另行安排。
PE-19 修复与验证报告 · PE-18 历史公开评测报告。仅更新 PR,未合并。