Repository navigation
fix(daily): 整理日报阅读层级并校验生成内容 - #231
Merged
Merged
Conversation
统一分类、标题与正文起线,原文与阅读操作分层展示,保留展开和选题状态。验证:42项前端针对性测试、类型及改动lint通过,桌面/390px/200%重排与隔离交互、独立复核通过。
取消强制套题和大幅改写,按事实与写作价值组织内容;校验素材身份、模板残留和内部引用,异常时保守回退。输入预算按完整素材单元装入。验证:60项一次性PG回归通过(含22项质量回归),Ruff、语法、分层与独立复核通过;未调用真实模型或修改线上日报。
记录完整素材输入、唯一身份匹配、异常内容降级和历史日报处理边界,区分确定性校验与真实模型事实核验。
仅调整11条warning文案,生成逻辑与日志参数未变。刊名检查、Ruff和语法检查通过,AST核对确认仅warning消息常量不同。
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 #230
分支:
issue-230-daily-brief-layout;基线:7050b1e;提交:ea4931a、9b7ecda、5106bf1、82d1cbb。Changes
.vidt/。Verification
TEST_PG_PORT=5566 bash backend/scripts/test_full_local.sh -k 'daily_report or digest_fallback' --junitxml=../.vidt/daily-content-230/final-junit.xml,60通过、0失败/错误/跳过,其中22项内容质量回归;一次性PG已清理。六项旧缺陷先有失败复现。npx tsc --noEmit与改动文件ESLint通过;1440px、390px、等效200%重排、长中文/连续英文无溢出。make layering、notes校验及git diff --check通过。测试后仅docstring/注释调整,可执行AST等价。/root/navigation_final_verify完成,修正并复核同名/同URL歧义、公共字段形状及真实背景引用后,无剩余阻塞。最终JUnit及日志已复核,不将文件阅读声称为独立重跑。82d1cbb只修改这些日志措辞,现有命名门禁保持不变。本地命名检查通过,AST核对除warning消息常量外完全相同,Ruff与语法检查通过;无需重复数据库行为测试。最终PR CI 41852706189 八项全绿。已合并为a000fd1;main push CI 41853204317 八项全绿,#230已关闭。本地main已同步且工作区干净。Limits and rollback
没有schema/依赖/定时器/权限或公私归属变化。本地验证使用mock Provider和通知;未调用真实模型、未重生成线上日报或群推送,历史日报不会因本次合并自动重写。规则覆盖格式、引用与身份,不能证明任意事实、因果、利润、认证或IPO表述真实。
保守回退可能减少精讲数量;真实模型输出与线上新日报效果仍需独立验收。必要时通过后续revert PR回退本批代码,不回写历史日报。