Commit Graph

100 Commits

Author SHA1 Message Date
wuyang6 40d7c92a1d fix session routing and subagent visibility 2026-06-12 11:06:04 +08:00
hupenglong1 98b3e586de fix: subprocess-based remote sync, pipeline status, skill updates
- Replace thread-based remote state sync with subprocess (sync_remote_state.py)
  to prevent thread pool exhaustion hanging the API
- Fix pipeline showing 'waiting' when a real step is running alongside a gate
- Fix watcher scanner path for linux accounts mode
- Disable label-master semantic review (Step A.5 + §4.5) per user request
- Correct field names: use is_model_correct_dev for accuracy, origin_predict_dev
  for model output (not cleaned_predict)
- Add prohibition against putting test set data in relabel_candidates

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-28 14:35:57 +08:00
wuyang6 6364fb437c Normalize product data prompt formatting 2026-05-28 14:31:34 +08:00
wangsenhao 85ce8c0e69 fix: session resume, config_set schema, metrics chart, subagent logging
- Fix session resume: remove messages.length>1 guard so sessionStorage
  ID is used as resumeSessionId on first message (prevents new session
  creation when user sends "继续")
- Fix config_set tool schema: add missing `items: {}` to array type in
  oneOf (Azure OpenAI strict validation rejects it otherwise)
- Metrics chart: use actual target set filename from trigger text
  instead of generic "target_subset" key
- Add sub-agent skill call logging to agent_runtime.py (full
  prompt/response, no truncation)
- Various metric enrichment and dedup fixes in server.py

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-27 17:02:24 +08:00
wangsenhao b48032e15c feat: backend gate fallback + metric_diff docs + submit_sft fix
- Auto-inject human-review gate when agent asks question but forgets gate entry
- Add complex_dev/complex_base field docs to program.md metric_diff table
- Fix submit_sft.sh minor issues
- jupyter_runtime improvements

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-26 15:42:02 +08:00
wangsenhao a09d4afacd fix: pipeline排序/runDic映射/label-master repeatable/达标优先级
- pipeline items 按 first_ts 自然时间排序,去掉 hardcoded section_order
- augment step-detail 去掉 R{n-1} 偏移,直接用本轮 runDic(与 resolve_run_ids.sh 实际行为对齐)
- 加 BundledSkill.repeatable 字段,label-master 标记 repeatable:true 跳过 duplicate detection
- SKILL.md/program.md: 目标集≥95%最高优先级,未达标前其他集合轻微下降不回滚
- SKILL.md/program.md: 禁止正则脚本替代 label-master 语义复核
- program.md: 每轮 SFT 前必须展示训练数据组成
- resolve_run_ids.sh: 修正注释(SFT_RUNDIC = 当轮 eval workflow id)

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-26 14:10:32 +08:00
hupenglong1 a3ab74b506 refactor: split submit_sft_via_cml.sh into submit_sft.sh + submit_cml_eval.sh
- submit_sft.sh: pure SFT submission, prints JobID and exits (no embedded watcher)
- submit_cml_eval.sh: pure CML eval, reads workflow_id/version from config.yaml
- jupyter_runtime write_text: rewrite to use Contents API instead of terminal websocket
- SKILL.md: restrict trigger to explicit UI click only
- program.md: update §5.2 docs to reflect two-script workflow

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-25 17:21:42 +08:00
hupenglong1 d8741a3489 Merge remote-tracking branch 'origin/main' into wsh_dev
# Conflicts:
#	backend/api/server.py
2026-05-25 11:46:44 +08:00
hupenglong1 f068311cac backend/frontend/runtime: 训练面板 / session 隔离 / agent runtime 调整
- backend/api/server.py:训练 step-detail / pipeline 卡片排序逻辑
- frontend:thread-list / thread / training-pipeline-panel / step-detail-sheet 配套调整,新增 metrics-chart-panel
- src/agent_*:tool spec / runtime / prompting 配套
- .gitignore 加 .logs/

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-25 11:43:10 +08:00
hupenglong1 5311e6d97c 修改 2026-05-22 19:48:47 +08:00
hupenglong1 1a94cec822 修改 2026-05-20 15:04:19 +08:00
wuyang6 ee596a33e0 Add Linux account workspace runtime 2026-05-20 14:13:34 +08:00
wuyang6 22960c5e02 Fix run cancellation and live activity stability 2026-05-14 12:23:53 +08:00
wuyang6 105d287ebd Persist active run state for replay 2026-05-14 11:47:37 +08:00
wuyang6 cccdd44ca2 Fix Bedrock tool history and add upload limit config 2026-05-14 11:08:05 +08:00
wuyang6 0eb57f3f42 Isolate plan and task runtime per session 2026-05-13 20:07:09 +08:00
wuyang6 f2989cd48b Stream Jupyter workspace file downloads 2026-05-13 18:15:53 +08:00
wuyang6 ef703ff49b Persist Jupyter workspace bindings 2026-05-13 17:59:50 +08:00
wuyang6 9984d35d1f Prefer python exec for complex file writes 2026-05-13 16:35:17 +08:00
wuyang6 a325098d12 Add personal memory and admin dashboard 2026-05-13 14:04:42 +08:00
wuyang6 8a93319f1b Fix ask-user review pause in web runs 2026-05-13 11:11:40 +08:00
wuyang6 86f49134a4 Improve Jupyter workspace bootstrap 2026-05-12 22:33:15 +08:00
wuyang6 295d5d1ea1 Add Jupyter workspace runtime 2026-05-12 21:27:43 +08:00
wuyang6 126f35ae46 Improve file writing and activity replay 2026-05-12 20:48:25 +08:00
wuyang6 64787498dd Improve write_file fallback handling 2026-05-12 19:52:41 +08:00
wuyang6 a48c86501a Remove legacy online mining tools 2026-05-12 18:03:39 +08:00
wuyang6 413a37b32c Stream model events to activity panel 2026-05-11 21:24:32 +08:00
wuyang6 c4427bbd07 Improve long product-data generation runs 2026-05-11 20:26:06 +08:00
wuyang6 4c29ce21f1 Make product-data generation resumable 2026-05-11 20:13:08 +08:00
wuyang6 41eb36a704 Avoid draft files in product-data generation 2026-05-11 19:56:29 +08:00
wuyang6 7dc7fa2e52 Migrate product-data exports to skill scripts 2026-05-11 19:43:17 +08:00
wuyang6 2984cc44e8 Add Feishu online document conversion 2026-05-11 17:18:40 +08:00
wuyang6 f22de8a40b Fix product data eval export format 2026-05-11 15:27:11 +08:00
wuyang6 be731caed7 Add training and planning eval exports 2026-05-11 14:50:00 +08:00
wuyang6 8cca3793e0 Avoid top-level composition in tool schemas 2026-05-11 11:51:11 +08:00
wuyang6 0e2a00990f Stabilize product data export flow 2026-05-11 11:46:09 +08:00
武阳 95c265d2a1 Allow router session tools to read external parquet paths 2026-05-09 11:55:54 +08:00
武阳 eea7e2f1b3 Fix process tree cancellation for tools 2026-05-09 11:36:59 +08:00
武阳 0bbba2b936 Enforce session workspace boundaries 2026-05-08 17:09:07 +08:00
武阳 bd2f260b9f Add skill enable controls and data factory SQL skill 2026-05-08 14:56:32 +08:00
武阳 cd84fcc69f Support Anthropic-routed Claude models 2026-05-08 12:17:00 +08:00
武阳 e4c3b973d4 List validated chat model providers 2026-05-08 11:51:53 +08:00
武阳 37fc367304 Unify skills under repository root 2026-05-08 10:54:27 +08:00
武阳 d2712fdb67 Normalize data agent records output path 2026-05-08 10:40:06 +08:00
武阳 9e94648ae6 Stop repeated duplicate skill loops 2026-05-08 10:40:01 +08:00
武阳 de6bb12ae5 Guard skill and continuation loops 2026-05-07 20:26:59 +08:00
武阳 b1868a6401 Improve active run timing and turn limits 2026-05-07 17:51:23 +08:00
武阳 d57570e527 Persist active run event history 2026-05-07 17:40:46 +08:00
武阳 9d7d496443 Add session scoped runs and cancellation 2026-05-07 16:26:20 +08:00
武阳 37f411a547 Add Ubuntu deployment workflow 2026-05-07 11:50:50 +08:00