Commit Graph

73 Commits

Author SHA1 Message Date
wuyang6 5be9434ba3 feat: add skill evaluation workbench 2026-07-23 19:38:25 +08:00
wuyang6 8eadc25b19 fix feishu reauth for online docs 2026-07-02 14:02:01 +08:00
wuyang6 0007d99763 fix session display replay consistency 2026-06-30 14:40:20 +08:00
wuyang6 45792c8fd5 Support runtime guidance tool interrupts 2026-06-23 15:20:59 +08:00
wuyang6 712bccf814 Reject reasoning text in session titles 2026-06-16 15:10:41 +08:00
wuyang6 c8b5b0659d Fix session title refinement after optimistic save 2026-06-16 14:56:58 +08:00
wuyang6 7422931290 Auto-run queued session inputs 2026-06-12 20:17:20 +08:00
wuyang6 4a268902bf Persist completed run elapsed time 2026-06-12 19:48:45 +08:00
wuyang6 cdf27e5bd2 Show runtime guidance in transcript 2026-06-12 18:37:04 +08:00
wuyang6 4ba8761db2 Add runtime guidance input queue 2026-06-12 18:15:52 +08:00
wuyang6 384e92e961 Prevent stale session overwrite on new tasks 2026-06-12 16:51:17 +08:00
wuyang6 a2f39e7312 Fix session cancel and new task routing 2026-06-12 16:35:38 +08:00
wuyang6 0a3e044c9d Cancel session background processes 2026-06-12 16:24:25 +08:00
wuyang6 953126e1d3 Refactor session runtime persistence 2026-06-12 16:17:58 +08:00
wuyang6 c2f08821b9 sanitize admin tool usage stats 2026-06-12 11:46:53 +08:00
wuyang6 dbd279f333 improve admin usage analytics 2026-06-12 11:44:48 +08:00
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
王森浩 1cefbf30c7 Merge branch 'wsh_dev' into 'main'
feat: backend gate fallback + metric_diff docs + submit_sft fix

See merge request wuyang6/zk-data-agent!5
2026-05-27 17:03:27 +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
王森浩 f3ff345656 Merge branch 'wsh_dev' into 'main'
fix: pipeline排序/runDic映射/label-master repeatable/达标优先级

See merge request wuyang6/zk-data-agent!4
2026-05-26 14:12:04 +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
wuyang6 902c9c86c2 fix: run skill git sync as repo owner 2026-05-25 21:25:20 +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 d2c221e2da auth: 邮箱注册/登录补全 Linux 账号创建
registerByEmail / loginByEmail 漏掉 ensureLinuxAccount,开 CLAW_ENABLE_LINUX_ACCOUNTS=1
时邮箱用户既不会建 Linux 账号、createAccountDirectories 的 chown 也会失败。
照搬 username 路径的位置补上即可。同时删掉后端 server.py 里同逻辑的 dead code
(_XIAOMI_EMAIL_RE / _account_id_from_email),实际拆分发生在 TS 层。
2026-05-25 11:55:56 +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 362321c460 修改 2026-05-22 20:56:57 +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 119e329dfb Fix live activity timer 2026-05-14 18:12:11 +08:00
wuyang6 3c200db621 Persist resume prompts before execution 2026-05-14 14:48:21 +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 d7c62a4929 Fix live activity streaming and replay summary 2026-05-13 20:58:35 +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 ea56761a22 Refine memory settings and admin usage stats 2026-05-13 14:42:22 +08:00
wuyang6 7282a18116 Hide admin memory details and fix memory config 2026-05-13 14:29:06 +08:00
wuyang6 a325098d12 Add personal memory and admin dashboard 2026-05-13 14:04:42 +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 1bd80db2db Restore pending user message during active replay 2026-05-12 10:58:25 +08:00
wuyang6 f7e2fc66c8 Fix active run elapsed restore 2026-05-11 21:46:09 +08:00
wuyang6 c4427bbd07 Improve long product-data generation runs 2026-05-11 20:26:06 +08:00
wuyang6 a68302659d Fix Feishu sheet data writes 2026-05-11 18:05:35 +08:00
wuyang6 3a4da782ec Create Feishu sheets for spreadsheet files 2026-05-11 17:56:58 +08:00
wuyang6 4964548fd1 Fix Feishu MCP npx resolution 2026-05-11 17:25:16 +08:00