Orchestration of an 11-phase auditable EDA pipeline. Use when the user wants to explore data, run analyses, or asks about the pipeline. Triggers: EDA, data exploration, analyze data, pipeline, 11-phase, analyze, explore.
協調 RDE 13-Phase Auditable EDA Pipeline 的完整流程,確保每個 Phase Gate 正確通過。
init_project(name)
→ project.yaml + artifacts/ 目錄樹
scan_data_folder(path)
run_intake()
├ [H-001] 檔案大小 < 500MB
├ [H-002] 格式白名單 (CSV/Excel/Parquet/SAS/SPSS/Stata/TSV)
└ [H-004] PII 初篩
→ intake_report.json
load_dataset(file)
build_schema()
profile_dataset() # ydata-profiling (fallback: basic engine)
→ schema.json + profile report
align_concept(research_question, variable_roles, confirm=true)
→ concept_alignment.md + variable_roles.json
Agent 必須: 向用戶展示對齊結果,等待確認。
propose_analysis_plan()
→ greedy_analysis_candidates.json + greedy_analysis_candidates.md
→ greedy_analysis_review.json + greedy_analysis_review.md
→ greedy_execution_schedule.json + greedy_execution_schedule.md
Agent 必須: 當使用者要 agent 自主規劃,或尚未提供明確分析清單時,先產生候選 blueprint。此步現在包含內部 methodology review + repair,會補足缺失的分析家族,而且必要時可擴張 soft budget 保留額外 EDA 路線,再進 Phase 4。execution schedule artifact 可直接作為 Phase 6 排程骨架。
register_analysis_plan(confirm=true)
→ analysis_plan.yaml (LOCKED after confirmation)
Agent 必須: 展示完整計畫(方法、α 值、missing 策略),等待確認後鎖定。若 plan 明顯低於方法學最低覆蓋要求,Phase 4 會先自動補入 exploratory extension;若補完後仍不足才在鎖定前擋下,除非明確使用 override flag。鎖定時同步保存 analysis execution schedule,供 Phase 6 依序執行。
check_readiness()
├ [H-003] 樣本量 ≥ 10
├ [S-001] 常態性檢定
├ [S-005] 缺失模式 (MCAR/MAR/MNAR)
└ [S-007] VIF 共線性
→ readiness_checklist.json
如需調整方法: log_deviation() → 告知用戶。
apply_cleaning()
generate_table_one()
compare_groups() × N
analyze_variable() × N
correlation_matrix()
→ H-009: 每步自動寫入 decision_log.jsonl
→ S-002 多重比較, S-009 Effect size, S-010 Power
偏離計畫時: 必須 log_deviation() 並說明理由。
collect_results()
→ results_summary.json (含 PUBLISHABLE markers)
assemble_report()
→ eda_report.md (含 decision_log + deviation_log appendix)
run_audit()
→ audit_report.json (A/B/C/D/F 評分)
auto_improve() # 根據 audit 自動修正
export_handoff() # 產出 handoff package → med-paper-assistant
| 檢查點 | 規則 | 後果 | |--------|------|------| | Phase 3 | 用戶確認 | 未確認不能進 Phase 4 | | Phase 4 | 用戶確認 + 鎖定 | 未鎖定不能進 Phase 6 | | Phase 6 偏離 | 必須 log_deviation | 審計時扣分 | | Phase 8 報告 | H-005 完整性 + H-006 路徑清除 | 不完整或有敏感路徑則失敗 | | Any Phase | H-008 artifact gate | 前一 Phase 未完成不能跳過 |
| 用戶意圖 | 走哪條路 | |----------|----------| | 「只想看概況」 | Phase 0→1→2 → profile → Quick Report | | 「比較兩組」 | 完整 Phase 0-7 → compare_groups → Phase 9-12 | | 「做 Table 1」 | 完整 Phase 0-7 → generate_table_one → Phase 9-12 | | 「讓 agent 自主規劃」 | Phase 0→1→2→3 → propose_analysis_plan → 4→10 | | 「完整分析」 | 完整 13-Phase |
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer