Commit Graph
9 Commits
Author SHA1 Message Date
jerryandClaude Fable 5 bbd5db2315 feat(capabilities): S6 Superpowers+S7 终验(文档/humanizer CJK 修复/验收脚本)
- prompts/superpowers_{review,answer_quality,minimal_code}.md + prompt_pack.py
- agentic_controller/answer_composer Superpowers 注入点(env 总闸,关态逐字节一致)
- compile_qa.sh: prompts/ 目录自动拷贝
- humanizer: CJK 逗号规则 + 引用保护收窄(只护标记本身,带引用句可润色)
- docs: README 能力矩阵+env 表 / ARCHITECTURE Gateway 章 / API §6 / PRD:17 /
  TEST_CASES:126 多轮语义 / CHANGELOG
- tooling/cap/final_acceptance.sh 终验矩阵
- 终验: 金标 16/20 regressions=0, 多轮指代 PASS, 热加载 PID 不变 PASS,
  Humanizer 开态「此外」消除且 22 引用保留, 五上游全绿, 7913 已释放

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-09-02 18:27:41 +08:00
jerryandClaude Fable 5 a990a00eb5 端口终态修订:BFF 8090 / QA 8091 / Methodology 8092 / legacy 8093
- config.py 默认值改终态(浸泡期 .env 覆盖 7921/8001/7911 继续生效)
- extraction _DEFAULT_ALT=8093;三个 start.sh 默认端口改终态
- 运行中服务零触碰:浸泡端口不变,BFF 未重启,旧服务不动
- 验证:sdk pytest 125 绿,BFF 五上游仍绿(env 覆盖优先)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-31 16:41:37 +08:00
jerryandClaude Fable 5 30b01b8ae1 P4/M5: SDK legacy 健康键 + 代理路由,五上游全绿
- config.py rag_legacy_base_url=7910(默认)/ upstream.py legacy 键入 probe_all
- routers/legacy.py:13 族前缀白名单透明代理(线程池阻塞调用)
- 浸泡:sdk/.env RAG_LEGACY_BASE_URL=7911(agent/legacy-rag 编译树)
- 验证:经 BFF 代理 kg/stats+kg/families 200,非白名单 404

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-31 15:58:47 +08:00
jerryandClaude Fable 5 9f5b38c203 P3/M4: methodology 编译树切换(BFF rag→8001,回滚窗口开启)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-31 13:53:47 +08:00
jerry 0da658e276 P2/M3: 浸泡记录补 KG overview 慢查询观察 2026-08-31 13:44:04 +08:00
jerryandClaude Fable 5 2e6dcd98d7 P2/M3: 浸泡切换部署完成(BFF→agent/qa 编译树 7921,回滚窗口开启)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-31 13:37:49 +08:00
jerryandClaude Fable 5 0875bb036c P0/M1: 四部分重构——frontend→ui、backend→sdk 改名 + 引用修复 + 骨架
- git mv 保留历史:ui/(Vue3+Vite)、sdk/(BFF 中间层)
- 路径语义修正:db_path/figures_cache 改相对 sdk/(BFF cwd),
  历史库 sdk/backend/data 迁移至 sdk/data/(会话/图片缓存无损)
- 引用修复 ~15 处:config.py、deploy/*.sh、vitest/playwright 配置、
  单测导入路径、docs、README、gitignore、.env.example
- 骨架:agent/{qa,methodology,legacy-rag,vendor}、knowledge/manifest.yaml、
  tooling/{compile,kb,crypto,assemble,audit,tools,scripts} + README
- 门禁验证:sdk pytest 125 通过、ui vitest 158 通过、
  生产 BFF 脚本重启四上游全绿 + 静态托管 + 会话库无损

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-31 12:56:47 +08:00
jerryandClaude Fable 5 bb2b5b5f71 图文并茂长篇回复 + 多流重构 + 品牌与性能优化
- 长文答案:上游 QA 镜像 prompt 改造(5000 字目标 + [[FIG:PMCID]] 图片标记 + max_tokens 12000 + LLM 超时 300s),docker commit 新镜像(回滚锚点 :20260828-orig)
- 图片服务:BFF figures 路由(本地 MinerU 索引 + Europe PMC 解析含许可 + 图片代理带磁盘缓存),答案 markdown 注入图注块(标记替换 + PMID 兜底 + 上限 8 张)
- 前端图文渲染:figure 图注块 + 点击放大遮罩 + lazy 加载 + 加载失败隐藏
- 多流重构:切换会话不再中断,每会话独立流上下文后台继续(修复 Pinia 代理相等陷阱)
- 证据量回调:ablation 恢复上游默认(top_k 30 / graph_min 15)支撑长文
- 品牌:海古纪 logo 图片 + 站点 icon + 标题更新
- 性能:Aurora 静态化、shimmer/sweep 改 transform、pulse 改透明度呼吸、autoGrow rAF 批处理
- 看门狗适配长文:STREAM_IDLE_TIMEOUT 240s → 1200s
- 运维:neo4j_recreate.sh 固化、sync.sh 公网地址、m5 超时 900s
- 测试:后端 125 测 / 前端 158 测全过;端到端实测 9938 字 + 17 小节 + 8 图

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-28 23:27:18 +08:00
jerryandClaude Fable 5 1e94de7464 PlantAI-rag-new 首次提交:文献知识工作台
- BFF 薄适配层(FastAPI,8090):QA 代理/SSE 中继/Neo4j 直连/抽取代理/会话持久化
- Vue3 前端:五相位检索流水线、文献来源与证据链、知识图谱、提取任务四 tab
- 四档响应式(桌面/笔记本/平板/手机)、深浅主题
- 81 个 FR 全部实现,测试追溯矩阵 81/81,后端 121 测/前端 156 测
- 真实凭据已脱敏,运行时配置在 backend/.env(不入 git)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-25 20:47:52 +08:00