Repository navigation
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.
Closes #241(竞品功能雷达第 8 轮选中项)
功能
AI 痕迹统计(#229 已合并)之后的改写闭环:在文稿检测页对命中最密集的句子一键请求「去 AI 味」改写建议。服务端从 AI 痕迹命中处选最多 3 句进模型(≤3 句 × 1000 字符封顶,全文不进 prompt),返回原句→改法→理由;只做建议不改原文,文案全程「供改稿参考」口径。
humanize_rewrite_service(复用 ai_trace_service 的分句与词扫描口径)+ 独立端点POST /content-check/humanize-rewrite(登录 + 20000 字上限,同 ai-traces 口径);prompt 走仓库标准注册与call_llm_json路由(熔断/预算/上下文四类链路异常 + 不可解析输出 → 502 中文文案;评审后补末路异常兜底)_humanize组件纳入覆盖率门禁第 8 轮运行事故与抢救(透明记录)
Verification(隔离 worktree,实施与评审分角色)
P3 后续项(评审提出,不阻断):① >1000 字无句末标点的单句会截断进 prompt 导致回显必失配、502 文案误导(建议跳过超长句改选次密集句);② 按次烧钱端点可仿 extract-keywords 加 30 次/分专用限流;③ 超长句行为测试。