feat(报告): 完成 V4 可信研究链路 - #1
Open
Alonso-li wants to merge 37 commits into
Open
Conversation
added 30 commits
June 25, 2026 03:19
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 控制面、运维调配和新加坡后端部署证据
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.
摘要
验证
node --test server/__tests__/*.test.js:159/159 passnpm run verify:config:passnpm run verify:docs:pass,specs=18npm run build:passnpm run verify:enhanced:passPRODUCTION_REPORT_SLUG=<09:51 timeline production sample> npm run verify:production:quality=9.1,contradictions=0DEPLOY_REPORT_SLUG=<09:51 timeline production sample> npm run verify:deploy:passgit diff --cached --check:pass注意
.planning/是本地续作材料,未纳入提交。