70 Commits
Author SHA1 Message Date
potaserandClaude Fable 5 cb3732dc71 轻量拓展分析支持上游样本继承:同job内成功运行产物自动预填下游输入槽
- 新增 upstream.py:枚举 workspace/<job>/extension_runs/*/runtime_*/outputs 的成功产物,
  按 basename 精确匹配优先、role 关键词辅助(多命中取最新 run)收敛为每槽一个候选
- 新增 GET /api/lightweight-extension-stages/{id}/upstream-candidates?job_id= 端点,
  返回 workspace 相对形式的候选与来源信息;仅对契约 patch_targets 可补丁槽位启用改名匹配,
  不可补丁槽位留空由用户手填,避免 PATCH_TARGET_UNAVAILABLE
- 前端运行向导:LLM slots 之后对空槽填充上游候选并显示绿色来源标记(可修改),
  用户手动上传/导入时清除来源标记
- runtime_binding 支持目录输入:_resolve_inputs/_job_path 放宽目录,
  物化走 copy_tree 整树拷贝 + _sha256_tree 目录摘要校验,isolate 跳过独立副本
- nl_intent prompt 规则 4 追加 extension_runs 上游产物引用指引
- 新增 20+ 单测覆盖上游发现/端点/目录输入/前端契约

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-09-01 20:26:00 +08:00
potaser abdd486ed8 WGCNA 模块-性状热图改用 BH 校正 p 值,并支持 job 置顶与优先级排序 2026-08-30 00:17:25 +08:00
potaser f712a657c0 修复:输出前缀绑定替换保留原引号,避免 Python -c 字符串字面量变裸标识符(zh01 NameError) 2026-08-29 23:57:45 +08:00
potaser 6a4db21891 修复:服务器测试数据路径目录导入保留目录 basename(proteomes/ 层级不再丢失) 2026-08-29 23:30:43 +08:00
potaser 31bb5fa5e0 拓展分析运行已发布时个别样例报前缀不对的问题 2026-08-28 19:48:46 +08:00
potaser 81b0a7045d 修复:对话触发轻量拓展分析三缺陷(帮助意图误判、Phase A 弱命中抢占、LLM 空响应重试) 2026-08-27 11:22:08 +08:00
potaser 5f406180dc 修复:NL 向导拖拽上传按文件名精确匹配输入槽,避免序列文件误填 samples.tsv 槽 2026-08-27 10:03:32 +08:00
potaser 214eb11490 测试:轻量拓展分析 NL 触发两轮测试交付(单测 79 + 集成 23 + 前端契约 20) 2026-08-27 00:34:19 +08:00
potaser afdb1614a2 粗筛改 union 策略:强触发词不再优先全量,关键词命中返回子集
真实验收 prompt 必然带拓展分析强触发词,原分支会导致全量 61 候选。现改为:先剔除强触发词后按关键词源匹配子集(命中数降序);仅纯拓展分析无任何关键词命中时才全量兜底(catalog 截断时 reason 注明请补充工具名)。
2026-08-27 00:24:43 +08:00
potaser db610031c1 修复轻量拓展分析 NL 触发第一轮测试反馈(PM 裁断)
- P0 目录截断:_rough_candidates 关键词源扩展 extension_id token 与参数 flag;命中数降序排序;MAX_CATALOG_CHARS 12000→24000;截断时 reason 注明
- P1a 过滤缺失 extension_id 的记录,不再产出 None 候选
- P1b hmmsearch/hmmer/blast/blastp 不再全量触发,改为按关键词源匹配子集;仅「拓展分析/扩展分析/extension」允许全量候选
- P2 extension_name 改为 extension_id 紧凑形式(去尾缀时间戳截 30 字符);message 中文模板(extension_id 为主、summary 括号补充)
- P2 nl-import-paths:目录同名冲突 _1/_2 后缀;多路径先整体校验后复制
2026-08-27 00:21:31 +08:00
potaser a60f457541 轻量拓展分析自然语言触发:nl_intent 模块、后端意图回退与短路、两步向导与服务器路径导入
- 新增 gfa_core/extension_stage_lightweight/nl_intent.py:粗筛+DeepSeek 解析+sanitize,client_factory 可注入
- main.py:_match_lightweight_extension_intent 与三个空返回点回退、/api/agent/plan 守卫、_run_agent_chat 预闸短路、POST /api/nl-import-paths
- index.html:lightweightNlRun 两步向导(拖拽上传+服务器路径导入)、executeLightweightNlRun、poll 回话
- 一并提交工作区既有改动:api.py store 默认路径 .runtime/lightweight-extension/store、index.html stop 404 容错
2026-08-26 23:46:42 +08:00
potaser 90f51ed607 全量扩展分析样本验证测试 2026-08-24 20:52:42 +08:00
potaserandClaude Opus 5 dfff8b6c45 fix(lightweight-extension): 输出前缀绑定、拖拽导入与前端入口修复
- runtime_binding: 验证时排除输入 sidecar 输出,目录参数跟随输出前缀重命名
- import-folder: 改 multipart 二进制上传,规避大文件 base64 报 Invalid string length
- main: 前端入口切回 index.html,conda 路径兜底

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-24 20:51:22 +08:00
wtx 4a5fdff6f0 fix: preserve gene-family stage intent and completed results 2026-08-24 09:34:13 +08:00
wtx 311a49110f fix: sync PPI scheduling and harden preflight 2026-08-22 05:09:52 +08:00
potaser 052b0c1d5d fix: stabilize Router model error handling 2026-08-22 00:47:11 +08:00
sjandClaude Opus 5 8985f5cbdd chore: track worktree checkout, lightweight extension staging and wgs manifests
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-21 11:49:48 +08:00
sjandClaude Opus 5 c59f346037 test: skip stale PPI/KaKs circuit-breaker cases
主分支已完成 PPI/KaKs 修复并将 ppiKaksTemporaryCircuitBreakerEnabled 置为
false,这 4 个用例仍假设临时熔断处于开启态,先标记 skip,待按新状态重写。

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-21 11:31:54 +08:00
sjandClaude Opus 5 0428a0d0ed fix: restore memory logs and keep absolute data symlink
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-21 11:06:49 +08:00
sj 1824f2d14b Merge remote-tracking branch 'origin/master'
# Conflicts:
#	scripts/legacy_startup/restart_with_prompts.sh
#	scripts/legacy_startup/start-webui.sh
#	scripts/legacy_startup/start_celery.sh
#	scripts/legacy_startup/start_celery_7880.sh
#	scripts/legacy_startup/start_celery_port9000.sh
2026-08-21 11:06:22 +08:00
potaserandClaude Opus 5 23f265f2b1 feat(lightweight-extension): 拖拽/选取上传进度上报
挂载 lightweightUploadProgress 到 handleDrop/handlePick,
读取本地文件时初始化进度并显示状态,失败时关闭进度。

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-21 10:14:33 +08:00
potaserandClaude Opus 5 509f5ff11b feat(i18n): 后端共享 i18n 翻译模块
供后端所有模块使用的翻译函数与字典(t / I18N_MAP)。

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-19 20:25:58 +08:00
potaser da8001ab2a Merge branch 'master' of http://192.168.0.175:3000/admin/PlantAI-dev 2026-08-19 20:23:24 +08:00
potaserandClaude Opus 5 a2e8cbae86 fix(lightweight-extension): 环境激活、前缀重命名、数据复制与上传进度
- service.py: _make_env 用 conda run 激活环境(执行 activate.d,补 PYTHONPATH)
- index_ml.html: 环境下拉框动态加载 + 补传 runtime_env
- runtime_binding.py: 前缀误判修复、放宽 ambiguous、can_rename 判断、子目录数据复制补 mkdir
- api.py: 缺输出目录时友好提示
- main.py + lightWeightExtensionTest.js: run.sh 环境声明 # lightweight-env
- index.html/index_ml.html: 拖拽上传进度条

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-19 20:17:43 +08:00
potaser 77011a21b7 fix: resume confirmed analysis handoff 2026-08-11 06:37:24 +08:00
potaser 4a80793b4a fix: integrate deployed reports with PPI KaKs handoff 2026-08-11 04:48:38 +08:00
potaser 8b61269d3f Merge remote-tracking branch 'origin/master' into fix/ppi-kaks-enable
# Conflicts:
#	tests/unit/test_router_analysis_handoff_boundary.py
2026-08-10 23:24:47 +08:00
potaser 7b7e334213 fix: complete PPI and KaKs reference handoff 2026-08-10 23:13:05 +08:00
sj b725a9c125 feat:sync-report-workflows-and-migration-runtime 2026-08-10 11:40:20 +08:00
potaser 7228b586c8 fix(runtime): standardize 9000 startup and isolate project services 20260808展会版 2026-08-10 10:57:49 +08:00
potaser fe5f7b9d6e 多语言散落补全 2026-08-10 00:31:32 +08:00
potaser 87c158efe5 多语言散落补全 2026-08-09 22:58:26 +08:00
potaser 963e4ddc73 多语言散落补全 2026-08-09 22:24:06 +08:00
potaser 9dbd87696b 多语言散落补全 2026-08-09 22:20:36 +08:00
potaser 39a2c969de docs: design reference download progress indicator 2026-08-09 16:18:53 +08:00
wtx 9b9c88b18e merge: preserve latest report refinements 2026-08-09 16:06:20 +08:00
wtx b8dcb63fa1 fix: preserve raw intent across language switching 2026-08-09 16:03:13 +08:00
wtx 1252c41661 merge: preserve multilingual UI with main-agent fixes 2026-08-09 15:54:56 +08:00
sj 1c2cfc5b6e Merge remote-tracking branch 'origin/master' 2026-08-09 14:31:42 +08:00
wtx 0e5cece447 feat: refine gene family result report 2026-08-09 14:28:41 +08:00
wtx dc9d44f95b feat: refine RNA-seq result report 2026-08-09 14:21:26 +08:00
wtx 0f81b5140c fix: restore main-agent routing and workflow handoff 2026-08-09 13:50:35 +08:00
potaser 55d320586a 多语言散落补全 2026-08-09 12:54:48 +08:00
potaser 53966e03b5 多语言散落位置补全 2026-08-09 12:45:13 +08:00
potaser e22da1879d Agent language switching 2026-08-09 11:38:03 +08:00
sj 55338be930 merge: resolve .gitignore conflict, keep remote memory ignore pattern 2026-08-09 09:05:11 +08:00
sj 9c38f32d52 feat: deepseek summary agent + clean old memory logs + merge prep 2026-08-09 09:04:27 +08:00
potaser 774490b47f 多语言首页 2026-08-09 06:38:53 +08:00
potaser cd3e9a5f22 多语言+拓展包拖拽上传 2026-08-09 06:17:22 +08:00
potaser e9f006351d 多语言+拓展包拖拽上传 2026-08-09 06:04:53 +08:00