feat(rectification): remove the rectification regenerate button and endpoint (BUG-1056)
T2 of TASK-rectification-grounding-20260927 (product decision P1). The rectification 「重试(重新生成)」 was a blind agent.generate rewrite that persisted unchecked text (invented range / fit rate reproduced). Removed: the regenerate route, regenerate-turn.ts, the regeneration agent and its read-only tool set, the client regenerate action/state and the regenerating/canRegenerate props. ChatMessageActions renders the regenerate button only when onRegenerate is passed; ordinary consultation is unchanged. The DB function regenerate_agentic_rectification_turn is kept (AGENTS §7.6, retire in a later round). DESIGN.md / VOICE.md updated; source-contract tests follow with 原值/新值/原因 notes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017eEAG8HD3mm8gsKXgk8uU8
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
5a8084494b
commit
84eb23152a
+13
-1
@@ -20,6 +20,18 @@ Jyotisha 的可见文案是产品的一部分。正确性红线(真实性、
|
||||
|
||||
首页开场语下面可以有一行今日趋势(今日星语卡片的 trend,每日生成);还没生成时写「今天的星语还没写出来。」,没有出生分钟时不写。入口按钮下面平时不写字,只在用户需要动手时写一句:有没做完的校正写「上次那次校正还没完成,可以在历史对话里接着做。」;当前人物不是本人写「生时校正暂时只支持本人。」。不再写「不确定出生时间时,用记得住的经历一步步缩小范围」「上次已经校正完,可以拿最新资料再来一次」,也不要用「·」把两句不相干的提示拼成一行。
|
||||
|
||||
## 生时校正:范围、时刻、吻合率由服务端说(2026-09-27,BUG-1055~1058)
|
||||
|
||||
证据轮与交付轮里,范围、代表分钟和吻合率只由服务端说。服务端事实句照原样接在模型正文后面,不参与裁句:
|
||||
|
||||
- 「范围从 A–B 变为 C–D。」(本轮开始到结算时可信范围变了才写;点选题里顺手补了带年月的经历时,这一句覆盖整条消息,从答题前的范围算起)
|
||||
- 「这次没有重新比较,稍后再比一次。」
|
||||
- 「候选比较这次没跑成,下一句话时会自动再试。」
|
||||
|
||||
模型正文不写时刻(HH:MM)、时间区间和百分比;只有写正文时服务端已经告诉它「本轮交付」(`range_after_rescore.delivers_range_this_turn`),才写交付三句,数字只抄服务端给的值。任何一句里的时刻或百分比与服务端当轮事实不符,整句不落库(正则只当门,不在句子里删词)。模型正文一句不剩时,用服务端记下的经历复述「记下了:年 月 事件。」代替。
|
||||
|
||||
生时校正回答下面没有「重新生成」;只有赞、踩、复制。
|
||||
|
||||
## 生时校正开场与步骤名(2026-09-26,BUG-1049 / BUG-1050)
|
||||
|
||||
开场正文(模型写或服务端兜底,都按这个意思):
|
||||
@@ -120,7 +132,7 @@ Jyotisha 的可见文案是产品的一部分。正确性红线(真实性、
|
||||
## 七条原则
|
||||
|
||||
1. **先回应人,再展开方法。** 用户问婚姻,先用人话答方向,再进入度数和分盘。
|
||||
2. **说进度。** 范围从 30 分钟收到 7 分钟,就说出来。数字只来自服务端投影,不口算、不编。
|
||||
2. **说进度。** 范围从 30 分钟收到 7 分钟,就说出来。数字只来自服务端投影,不口算、不编。生时校正里这句范围句由服务端接在正文后面,模型不自己写(见上文 2026-09-27 一节)。
|
||||
3. **解释为什么问,一句就够。** 不问审讯式清单。
|
||||
4. **同一约束换着说。** 边界句必须在交付/采用轮完整出现一次;中间轮不要逐字复读法务稿。
|
||||
5. **口语化但不轻佻。** 短句、具体事实、少套话。
|
||||
|
||||
Reference in New Issue
Block a user