Skip to content

feat(报告): 完成 V4 可信研究链路 - #1

Open
Alonso-li wants to merge 37 commits into
mainfrom
feature/methodology-typography-phase4
Open

feat(报告): 完成 V4 可信研究链路#1
Alonso-li wants to merge 37 commits into
mainfrom
feature/methodology-typography-phase4

Conversation

@Alonso-li

Copy link
Copy Markdown
Owner

摘要

  • 加固报告意图边界、时间范围一致性守卫和研究审计持久化。
  • 接入来源 canonical 去重、抓取元数据、信息置信度、研究过程回放与引用卡增强。
  • 扩展 opt-in gap-driven deep dive、timeline 方法论、访问控制、URL 安全和备用端点回退。

验证

  • node --test server/__tests__/*.test.js:159/159 pass
  • npm run verify:config:pass
  • npm run verify:docs:pass,specs=18
  • npm run build:pass
  • npm run verify:enhanced:pass
  • PRODUCTION_REPORT_SLUG=<09:51 timeline production sample> npm run verify:production:quality=9.1,contradictions=0
  • DEPLOY_REPORT_SLUG=<09:51 timeline production sample> npm run verify:deploy:pass
  • git diff --cached --check:pass

注意

  • 11:49 重跑因外部写作端点 524、internal error 与 temporary unavailable 降级为 draft/template,不作为上线证据。
  • .planning/ 是本地续作材料,未纳入提交。

AI Optimization Bot added 30 commits June 25, 2026 03:19
AI Optimization Bot added 7 commits June 29, 2026 13:18
技术方案:

- 增加报告意图边界、时间范围一致性守卫和 researchAudit 持久化

- 接入来源 canonical 去重、抓取元数据、信息置信度和研究过程回放

- 扩展 opt-in gap-driven deep dive 与 timeline 方法论框架

- 补充访问控制、URL 安全、LLM fallback、前端引用卡和验证文档

验证:

- node --test server/__tests__/*.test.js: 159/159 pass

- npm run verify:config / verify:docs / build / verify:enhanced: pass

- verify:production 使用 20260630-095113 timeline 样本: quality=9.1 contradictions=0

- DEPLOY_REPORT_SLUG=20260630-095113 npm run verify:deploy: pass
技术方案:新增 Cloudflare Worker/Wrangler/D1/R2/Queue runtime-contract 基线,抽象本地 runtime adapters,并补齐报告排版、引用来源、搜索整理与质量门禁迭代。

验证:node --test server/__tests__/*.test.js 198/198;npm run verify:docs;npm run build;npm run verify:config;npm run verify:cloudflare;npm run verify:deploy;npx wrangler deploy --dry-run;npm run cf:d1:migrate:local。
- 新增 Cloudflare hybrid Worker、wrangler.hybrid 配置和 no-R2 验证门禁

- 补齐新加坡后端备份、健康检查、日志轮转、journald 限额和回滚脚本

- 增加 PDF_CHROMIUM_ENABLED 与 PDF_FONT_PATH,适配 1C1G 后端 PDFKit fallback

- 记录公开 smoke、远端配置和运维验证证据
技术方案:\n- 为 hybrid Worker 增加提交令牌门和 /submit-token 邀请入口\n- 为 Express 高成本写接口增加按客户端计分的 cost guard\n- 同步新加坡 no-R2 配置、文档、规格和验证记录\n\n影响范围:Cloudflare hybrid Worker、Express 访问控制、部署配置与文档
- 标准化最终矛盾守卫的降级提示,避免 critic 证据进入成稿\n- 补充 enterprise-security-budget 回归测试和真实样本验证记录\n- 同步 no-R2 控制面、运维调配和新加坡后端部署证据
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant