"<!DOCTYPE html>\n<html lang=\"zh\" data-theme=\"light\">\n<head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n<title>fulltext.txt — Vercel Design System</title>\n<link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">\n<link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>\n<link href=\"https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=Geist+Mono:wght@400;500;600&display=swap\" rel=\"stylesheet\">\n<link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/katex.min.css\">\n<style>\n\n:root {\n  /* Vercel Palette */\n  --geist-foreground: #171717;\n  --geist-background: #ffffff;\n  --geist-secondary: #4d4d4d;\n  --geist-tertiary: #666666;\n  --geist-quaternary: #808080;\n  --geist-border: #ebebeb;\n  --geist-surface-tint: #fafafa;\n  \n  /* Workflow Accents */\n  --develop-blue: #0a72ef;\n  --preview-pink: #de1d8d;\n  --ship-red: #ff5b4f;\n  \n  /* Interactive & Status */\n  --link-blue: #0072f5;\n  --ds-focus-color: hsla(212, 100%, 48%, 1);\n  --badge-blue-bg: #ebf5ff;\n  --badge-blue-text: #0068d6;\n  \n  /* Shadow-as-Border Philosophy */\n  --shadow-border: rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;\n  --shadow-border-hover: rgba(0, 0, 0, 0.16) 0px 0px 0px 1px;\n  --shadow-card: rgba(0, 0, 0, 0.08) 0px 0px 0px 1px, rgba(0, 0, 0, 0.04) 0px 2px 2px, #fafafa 0px 0px 0px 1px;\n  --shadow-card-hover: rgba(0, 0, 0, 0.12) 0px 0px 0px 1px, rgba(0, 0, 0, 0.06) 0px 4px 6px, #fafafa 0px 0px 0px 1px;\n  --shadow-card-full: rgba(0, 0, 0, 0.08) 0px 0px 0px 1px, rgba(0, 0, 0, 0.04) 0px 2px 2px, rgba(0, 0, 0, 0.04) 0px 8px 8px -8px, #fafafa 0px 0px 0px 1px;\n  --shadow-ring: rgb(235, 235, 235) 0px 0px 0px 1px;\n  \n  /* Radius Scale */\n  --radius-xs: 2px;\n  --radius-sm: 4px;\n  --radius-md: 6px;\n  --radius-lg: 8px;\n  --radius-xl: 12px;\n  --radius-pill: 9999px;\n}\n\n[data-theme=\"dark\"] {\n  --geist-foreground: #ededed;\n  --geist-background: #000000;\n  --geist-secondary: #a1a1a1;\n  --geist-tertiary: #888888;\n  --geist-quaternary: #666666;\n  --geist-border: #222222;\n  --geist-surface-tint: #0a0a0a;\n  \n  --shadow-border: rgba(255, 255, 255, 0.14) 0px 0px 0px 1px;\n  --shadow-border-hover: rgba(255, 255, 255, 0.28) 0px 0px 0px 1px;\n  --shadow-card: rgba(255, 255, 255, 0.12) 0px 0px 0px 1px, rgba(0, 0, 0, 0.4) 0px 2px 4px, #111111 0px 0px 0px 1px;\n  --shadow-card-hover: rgba(255, 255, 255, 0.2) 0px 0px 0px 1px, rgba(0, 0, 0, 0.5) 0px 6px 12px, #111111 0px 0px 0px 1px;\n  --shadow-card-full: rgba(255, 255, 255, 0.12) 0px 0px 0px 1px, rgba(0, 0, 0, 0.5) 0px 8px 16px -4px, #111111 0px 0px 0px 1px;\n  --shadow-ring: rgb(40, 40, 40) 0px 0px 0px 1px;\n  \n  --badge-blue-bg: rgba(10, 114, 239, 0.15);\n  --badge-blue-text: #70b5ff;\n}\n\n* { box-sizing: border-box; }\nhtml { scroll-behavior: smooth; }\nbody {\n  margin: 0;\n  font-family: \"Geist\", Arial, -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif;\n  background-color: var(--geist-background);\n  color: var(--geist-foreground);\n  font-feature-settings: \"liga\" 1;\n  -webkit-font-smoothing: antialiased;\n  min-height: 100vh;\n}\n\na {\n  color: inherit;\n  text-decoration: none;\n  transition: color 0.15s ease;\n}\n\n/* 导航栏 (Vercel Clean Sticky Nav) */\n.vercel-nav {\n  position: sticky;\n  top: 0;\n  background-color: var(--geist-background);\n  box-shadow: var(--shadow-border);\n  z-index: 100;\n  padding: 0 24px;\n  height: 64px;\n  display: flex;\n  align-items: center;\n  justify-content: space-between;\n}\n.nav-brand {\n  display: flex;\n  align-items: center;\n  gap: 12px;\n}\n.vercel-triangle {\n  width: 22px;\n  height: 19px;\n  fill: var(--geist-foreground);\n}\n.nav-title {\n  font-size: 16px;\n  font-weight: 600;\n  letter-spacing: -0.32px;\n  color: var(--geist-foreground);\n}\n.nav-badge-pill {\n  font-family: \"Geist Mono\", ui-monospace, monospace;\n  font-size: 11px;\n  font-weight: 500;\n  text-transform: uppercase;\n  background: var(--badge-blue-bg);\n  color: var(--badge-blue-text);\n  padding: 2px 8px;\n  border-radius: var(--radius-pill);\n}\n\n.nav-links {\n  display: flex;\n  align-items: center;\n  gap: 24px;\n}\n.nav-link {\n  font-size: 14px;\n  font-weight: 500;\n  color: var(--geist-secondary);\n  text-decoration: none;\n  transition: color 0.15s;\n}\n.nav-link:hover, .nav-link.active {\n  color: var(--geist-foreground);\n}\n.nav-link.active {\n  font-weight: 600;\n}\n\n.nav-actions {\n  display: flex;\n  align-items: center;\n  gap: 12px;\n}\n\n/* 按钮规范 */\n.btn-primary-dark {\n  background: var(--geist-foreground);\n  color: var(--geist-background);\n  border: none;\n  padding: 8px 16px;\n  border-radius: var(--radius-md);\n  font-size: 14px;\n  font-weight: 500;\n  cursor: pointer;\n  text-decoration: none;\n  display: inline-flex;\n  align-items: center;\n  gap: 6px;\n  transition: opacity 0.15s;\n}\n.btn-primary-dark:hover {\n  opacity: 0.9;\n}\n.btn-secondary-white {\n  background: var(--geist-background);\n  color: var(--geist-foreground);\n  box-shadow: var(--shadow-border);\n  border: none;\n  padding: 8px 16px;\n  border-radius: var(--radius-md);\n  font-size: 14px;\n  font-weight: 500;\n  cursor: pointer;\n  text-decoration: none;\n  display: inline-flex;\n  align-items: center;\n  gap: 6px;\n  transition: background 0.15s, box-shadow 0.15s;\n}\n.btn-secondary-white:hover {\n  background: var(--geist-surface-tint);\n  box-shadow: var(--shadow-border-hover);\n}\n.theme-toggle-btn {\n  background: transparent;\n  border: none;\n  box-shadow: var(--shadow-border);\n  border-radius: var(--radius-md);\n  width: 36px;\n  height: 36px;\n  cursor: pointer;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  color: var(--geist-foreground);\n}\n\n/* 核心容器 */\n.vercel-container {\n  max-width: 1200px;\n  margin: 0 auto;\n  padding: 56px 24px 100px;\n}\n\n/* Hero Section (Gallery Emptiness + Negative Letter-spacing) */\n.vercel-hero {\n  text-align: center;\n  max-width: 860px;\n  margin: 0 auto 56px;\n}\n.hero-stage-badge {\n  display: inline-flex;\n  align-items: center;\n  gap: 8px;\n  background: var(--geist-surface-tint);\n  box-shadow: var(--shadow-border);\n  padding: 4px 14px;\n  border-radius: var(--radius-pill);\n  font-size: 13px;\n  font-weight: 500;\n  color: var(--geist-secondary);\n  margin-bottom: 24px;\n}\n.stage-dot {\n  width: 7px;\n  height: 7px;\n  border-radius: 50%;\n}\n.vercel-hero h1 {\n  font-size: 48px;\n  font-weight: 600;\n  line-height: 1.05;\n  letter-spacing: -2.4px;\n  color: var(--geist-foreground);\n  margin: 0 0 16px;\n}\n.vercel-hero p {\n  font-size: 20px;\n  font-weight: 400;\n  line-height: 1.80;\n  color: var(--geist-secondary);\n  margin: 0 auto 28px;\n}\n\n/* Workflow Pipeline (Develop -> Preview -> Ship) */\n.workflow-pipeline {\n  display: grid;\n  grid-template-columns: repeat(3, 1fr);\n  gap: 16px;\n  margin-bottom: 48px;\n}\n@media (max-width: 768px) {\n  .workflow-pipeline { grid-template-columns: 1fr; }\n}\n.workflow-step {\n  background: var(--geist-background);\n  box-shadow: var(--shadow-card);\n  border-radius: var(--radius-lg);\n  padding: 20px 22px;\n  transition: box-shadow 0.2s;\n}\n.workflow-step:hover {\n  box-shadow: var(--shadow-card-hover);\n}\n.step-mono-label {\n  font-family: \"Geist Mono\", monospace;\n  font-size: 12px;\n  font-weight: 500;\n  text-transform: uppercase;\n  letter-spacing: 0.5px;\n  margin-bottom: 8px;\n  display: flex;\n  align-items: center;\n  gap: 6px;\n}\n.step-title {\n  font-size: 20px;\n  font-weight: 600;\n  letter-spacing: -0.96px;\n  color: var(--geist-foreground);\n  margin-bottom: 6px;\n}\n.step-desc {\n  font-size: 14px;\n  color: var(--geist-secondary);\n  line-height: 1.5;\n}\n\n/* Metric Cards (Section 4 Spec) */\n.metric-grid {\n  display: grid;\n  grid-template-columns: repeat(4, 1fr);\n  gap: 16px;\n  margin-bottom: 48px;\n}\n@media (max-width: 900px) {\n  .metric-grid { grid-template-columns: repeat(2, 1fr); }\n}\n.metric-card {\n  background: var(--geist-background);\n  box-shadow: var(--shadow-card);\n  border-radius: var(--radius-lg);\n  padding: 20px;\n}\n.metric-number {\n  font-size: 40px;\n  font-weight: 600;\n  line-height: 1.0;\n  letter-spacing: -2.4px;\n  color: var(--geist-foreground);\n  margin-bottom: 8px;\n  font-feature-settings: \"tnum\" 1;\n}\n.metric-label {\n  font-size: 14px;\n  color: var(--geist-secondary);\n  line-height: 1.4;\n}\n\n/* VAD 专栏 Banner (Ship Red & Vercel Clean) */\n.vad-showcase {\n  background: var(--geist-background);\n  box-shadow: var(--shadow-card-full);\n  border-radius: var(--radius-xl);\n  padding: 32px;\n  margin-bottom: 48px;\n  position: relative;\n}\n.vad-header-row {\n  display: flex;\n  align-items: baseline;\n  justify-content: space-between;\n  flex-wrap: wrap;\n  gap: 12px;\n  margin-bottom: 12px;\n}\n.vad-header-row h2 {\n  font-size: 32px;\n  font-weight: 600;\n  letter-spacing: -1.28px;\n  color: var(--geist-foreground);\n  margin: 0;\n}\n.vad-pillars-grid {\n  display: grid;\n  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));\n  gap: 14px;\n  margin-top: 24px;\n}\n.vad-pillar-item {\n  background: var(--geist-surface-tint);\n  box-shadow: var(--shadow-border);\n  border-radius: var(--radius-md);\n  padding: 14px 16px;\n}\n.vad-pillar-title {\n  font-size: 14px;\n  font-weight: 600;\n  color: var(--ship-red);\n  margin-bottom: 4px;\n}\n.vad-pillar-text {\n  font-size: 13px;\n  color: var(--geist-secondary);\n  line-height: 1.5;\n}\n.vad-filter-bar {\n  display: flex;\n  flex-wrap: wrap;\n  align-items: center;\n  justify-content: space-between;\n  gap: 12px;\n  margin: 24px 0 16px;\n  padding: 12px 16px;\n  background: var(--geist-surface-tint);\n  border-radius: var(--radius-md);\n  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);\n}\n.vad-filter-btn {\n  font-family: 'Geist', sans-serif;\n  font-size: 13px;\n  font-weight: 500;\n  padding: 6px 14px;\n  border-radius: 9999px;\n  border: none;\n  background: transparent;\n  color: var(--geist-secondary);\n  cursor: pointer;\n  transition: all 0.15s ease;\n}\n.vad-filter-btn:hover {\n  color: var(--geist-foreground);\n  background: rgba(0,0,0,0.05);\n}\n.vad-filter-btn.active {\n  background: #171717;\n  color: #ffffff;\n}\n.vad-search-input {\n  font-family: 'Geist', sans-serif;\n  font-size: 13px;\n  padding: 7px 12px;\n  border-radius: 6px;\n  border: 1px solid var(--geist-border);\n  background: #ffffff;\n  color: var(--geist-foreground);\n  width: 280px;\n  outline: none;\n  transition: border-color 0.15s, box-shadow 0.15s;\n}\n.vad-search-input:focus {\n  border-color: #0a72ef;\n  box-shadow: 0 0 0 2px rgba(10, 114, 239, 0.2);\n}\n\n/* 控制栏：搜索、视图、筛选 */\n.control-bar {\n  display: flex;\n  align-items: center;\n  justify-content: space-between;\n  gap: 16px;\n  margin-bottom: 24px;\n  flex-wrap: wrap;\n}\n.search-input-wrap {\n  position: relative;\n  flex: 1;\n  max-width: 480px;\n}\n.search-input {\n  width: 100%;\n  height: 40px;\n  padding: 0 38px 0 14px;\n  font-family: \"Geist\", sans-serif;\n  font-size: 14px;\n  color: var(--geist-foreground);\n  background: var(--geist-background);\n  box-shadow: var(--shadow-border);\n  border: none;\n  border-radius: var(--radius-md);\n  outline: none;\n  transition: box-shadow 0.15s;\n}\n.search-input:focus {\n  outline: 2px solid var(--ds-focus-color);\n  box-shadow: none;\n}\n.search-kbd {\n  position: absolute;\n  right: 12px;\n  top: 50%;\n  transform: translateY(-50%);\n  font-family: \"Geist Mono\", monospace;\n  font-size: 11px;\n  color: var(--geist-quaternary);\n  background: var(--geist-surface-tint);\n  box-shadow: var(--shadow-border);\n  padding: 2px 6px;\n  border-radius: var(--radius-sm);\n}\n\n.view-switcher {\n  display: flex;\n  box-shadow: var(--shadow-border);\n  border-radius: var(--radius-md);\n  background: var(--geist-background);\n  padding: 2px;\n}\n.view-btn {\n  background: transparent;\n  border: none;\n  font-size: 13px;\n  font-weight: 500;\n  color: var(--geist-tertiary);\n  padding: 6px 12px;\n  border-radius: var(--radius-sm);\n  cursor: pointer;\n  transition: color 0.15s, background 0.15s;\n}\n.view-btn.active {\n  background: var(--geist-surface-tint);\n  color: var(--geist-foreground);\n  font-weight: 600;\n}\n\n/* 筛选芯片行 (Filter Pill Strip) */\n.filter-group-strip {\n  display: flex;\n  flex-direction: column;\n  gap: 12px;\n  margin-bottom: 28px;\n  padding: 16px 20px;\n  background: var(--geist-surface-tint);\n  box-shadow: var(--shadow-border);\n  border-radius: var(--radius-lg);\n}\n.filter-row {\n  display: flex;\n  align-items: center;\n  gap: 8px;\n  flex-wrap: wrap;\n}\n.filter-label-mono {\n  font-family: \"Geist Mono\", monospace;\n  font-size: 11px;\n  font-weight: 500;\n  text-transform: uppercase;\n  color: var(--geist-quaternary);\n  min-width: 68px;\n}\n.pill-badge {\n  background: var(--geist-background);\n  color: var(--geist-secondary);\n  box-shadow: var(--shadow-border);\n  border: none;\n  padding: 3px 12px;\n  border-radius: var(--radius-pill);\n  font-size: 12px;\n  font-weight: 500;\n  cursor: pointer;\n  transition: all 0.15s;\n  display: inline-flex;\n  align-items: center;\n  gap: 6px;\n}\n.pill-badge:hover {\n  color: var(--geist-foreground);\n  box-shadow: var(--shadow-border-hover);\n}\n.pill-badge.active {\n  background: var(--geist-foreground);\n  color: var(--geist-background);\n  font-weight: 600;\n  box-shadow: none;\n}\n.pill-badge.active-blue {\n  background: var(--develop-blue);\n  color: #ffffff;\n  box-shadow: none;\n}\n.pill-badge.active-red {\n  background: var(--ship-red);\n  color: #ffffff;\n  box-shadow: none;\n}\n\n/* Bento Grid Cards (Section 4 & 6 Spec) */\n.card-grid-bento {\n  display: grid;\n  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));\n  gap: 16px;\n}\n.vercel-card {\n  background: var(--geist-background);\n  box-shadow: var(--shadow-card);\n  border-radius: var(--radius-lg);\n  padding: 20px;\n  display: flex;\n  flex-direction: column;\n  justify-content: space-between;\n  transition: box-shadow 0.2s, transform 0.2s;\n  text-decoration: none;\n  color: inherit;\n  overflow: hidden;\n  min-width: 0;\n  word-break: break-word;\n}\n.vercel-card:hover {\n  box-shadow: var(--shadow-card-hover);\n  transform: translateY(-2px);\n}\n.card-top {\n  display: flex;\n  align-items: center;\n  justify-content: space-between;\n  margin-bottom: 12px;\n  gap: 8px;\n}\n.card-tag-mono {\n  font-family: \"Geist Mono\", monospace;\n  font-size: 11px;\n  font-weight: 500;\n  text-transform: uppercase;\n  color: var(--geist-quaternary);\n  letter-spacing: 0.5px;\n}\n.status-pill-badge {\n  padding: 2px 8px;\n  border-radius: var(--radius-pill);\n  font-size: 11px;\n  font-weight: 500;\n  flex-shrink: 0;\n}\n.pub-accepted { background: #ebfdf2; color: #027a48; }\n.pub-workshop { background: #eff8ff; color: #175cd3; }\n.pub-submitted { background: #fff8e6; color: #b54708; }\n.pub-preprint { background: #f2f4f7; color: #475467; }\n.pub-other { background: #f9f5ff; color: #6941c6; }\n\n[data-theme=\"dark\"] .pub-accepted { background: rgba(2, 122, 72, 0.2); color: #32d583; }\n[data-theme=\"dark\"] .pub-workshop { background: rgba(23, 92, 211, 0.2); color: #84caff; }\n[data-theme=\"dark\"] .pub-submitted { background: rgba(181, 71, 8, 0.2); color: #fec84b; }\n[data-theme=\"dark\"] .pub-preprint { background: rgba(71, 84, 103, 0.2); color: #98a2b3; }\n[data-theme=\"dark\"] .pub-other { background: rgba(105, 65, 198, 0.2); color: #d6bbfb; }\n\n/* 必读标杆徽章 (Vercel Amber Accent) */\n.milestone-badge {\n  display: inline-flex;\n  align-items: center;\n  gap: 3px;\n  padding: 2px 7px;\n  border-radius: var(--radius-pill);\n  font-size: 11px;\n  font-weight: 600;\n  white-space: nowrap;\n  flex-shrink: 0;\n  transition: all 0.15s ease;\n}\n.milestone-badge.ms-idea, .milestone-badge:not([class*=\"ms-\"]) {\n  color: #b54708;\n  background: #fff8e6;\n  border: 1px solid rgba(247, 144, 9, 0.35);\n  box-shadow: 0 1px 2px rgba(181, 71, 8, 0.05);\n}\n[data-theme=\"dark\"] .milestone-badge.ms-idea, [data-theme=\"dark\"] .milestone-badge:not([class*=\"ms-\"]) {\n  color: #fec84b;\n  background: rgba(181, 71, 8, 0.22);\n  border-color: rgba(254, 200, 75, 0.35);\n}\n.milestone-badge.ms-writing {\n  color: #6941c6;\n  background: #f9f5ff;\n  border: 1px solid rgba(105, 65, 198, 0.3);\n  box-shadow: 0 1px 2px rgba(105, 65, 198, 0.05);\n}\n[data-theme=\"dark\"] .milestone-badge.ms-writing {\n  color: #d6bbfb;\n  background: rgba(105, 65, 198, 0.22);\n  border-color: rgba(214, 187, 251, 0.35);\n}\n.milestone-badge.ms-value {\n  color: #027a48;\n  background: #ebfdf2;\n  border: 1px solid rgba(2, 122, 72, 0.3);\n  box-shadow: 0 1px 2px rgba(2, 122, 72, 0.05);\n}\n[data-theme=\"dark\"] .milestone-badge.ms-value {\n  color: #32d583;\n  background: rgba(2, 122, 72, 0.22);\n  border-color: rgba(50, 213, 131, 0.35);\n}\n\n/* 论文正文图表与插图卡片样式 (Geist Design) */\n.paper-figure, .article-body figure {\n  margin: 32px auto;\n  text-align: center;\n  max-width: 100%;\n}\n.paper-figure img, .article-body img {\n  max-width: 96%;\n  height: auto;\n  border-radius: var(--radius-md);\n  border: 1px solid var(--geist-border);\n  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);\n  background: #ffffff;\n  transition: transform 0.2s ease, box-shadow 0.2s ease;\n  display: block;\n  margin: 0 auto;\n}\n.paper-figure img:hover, .article-body img:hover {\n  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);\n}\n.paper-figure figcaption, .article-body figcaption {\n  font-size: 13px;\n  color: var(--geist-secondary);\n  margin-top: 10px;\n  line-height: 1.6;\n  font-style: italic;\n  max-width: 850px;\n  margin-left: auto;\n  margin-right: auto;\n}\n\n/* VAD 视图切换器 View Switcher */\n.vad-view-switcher {\n  display: inline-flex;\n  padding: 3px;\n  background: var(--geist-secondary-bg);\n  border: 1px solid var(--geist-border);\n  border-radius: 8px;\n  margin-bottom: 20px;\n  gap: 2px;\n}\n.view-switch-btn {\n  display: inline-flex;\n  align-items: center;\n  gap: 6px;\n  padding: 6px 14px;\n  font-size: 13px;\n  font-weight: 500;\n  color: var(--geist-secondary);\n  border-radius: 6px;\n  text-decoration: none;\n  transition: all 0.15s ease;\n}\n.view-switch-btn:hover {\n  color: var(--geist-foreground);\n  background: rgba(0, 0, 0, 0.04);\n}\n[data-theme=\"dark\"] .view-switch-btn:hover {\n  background: rgba(255, 255, 255, 0.06);\n}\n.view-switch-btn.active {\n  background: var(--geist-background);\n  color: var(--geist-foreground);\n  font-weight: 600;\n  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);\n}\n\n/* 关系图谱 Graph View Styles */\n.graph-container {\n  position: relative;\n  width: 100%;\n  height: 720px;\n  background: var(--geist-background);\n  border: 1px solid var(--geist-border);\n  border-radius: var(--radius-lg);\n  overflow: hidden;\n  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);\n  margin-bottom: 40px;\n}\n.graph-toolbar {\n  position: absolute;\n  top: 14px;\n  left: 14px;\n  right: 14px;\n  z-index: 10;\n  display: flex;\n  justify-content: space-between;\n  align-items: center;\n  background: var(--geist-background);\n  border: 1px solid var(--geist-border);\n  padding: 8px 14px;\n  border-radius: 8px;\n  box-shadow: 0 4px 16px rgba(0,0,0,0.06);\n  flex-wrap: wrap;\n  gap: 8px;\n}\n.graph-tool-title {\n  font-size: 13px;\n  font-weight: 700;\n  display: flex;\n  align-items: center;\n  gap: 6px;\n  color: var(--geist-foreground);\n}\n.graph-filter-group {\n  display: flex;\n  gap: 6px;\n  align-items: center;\n  flex-wrap: wrap;\n}\n.graph-chip {\n  font-size: 11px;\n  padding: 3px 8px;\n  border-radius: 4px;\n  border: 1px solid var(--geist-border);\n  background: var(--geist-background);\n  color: var(--geist-foreground);\n  cursor: pointer;\n  transition: all 0.15s ease;\n}\n.graph-chip:hover { background: var(--geist-secondary-bg); }\n.graph-chip.active {\n  background: var(--geist-foreground);\n  color: var(--geist-background);\n  border-color: var(--geist-foreground);\n}\n.graph-search-input {\n  padding: 3px 8px;\n  font-size: 11px;\n  border-radius: 4px;\n  border: 1px solid var(--geist-border);\n  background: var(--geist-background);\n  color: var(--geist-foreground);\n  outline: none;\n  width: 150px;\n}\n#vad-graph-svg {\n  width: 100%;\n  height: 100%;\n  cursor: grab;\n}\n#vad-graph-svg:active { cursor: grabbing; }\n.graph-legend {\n  position: absolute;\n  bottom: 14px;\n  left: 14px;\n  background: var(--geist-background);\n  border: 1px solid var(--geist-border);\n  border-radius: 8px;\n  padding: 10px 14px;\n  font-size: 11px;\n  box-shadow: 0 4px 16px rgba(0,0,0,0.06);\n  z-index: 10;\n  line-height: 1.6;\n  pointer-events: none;\n}\n.graph-legend-row { display: flex; align-items: center; gap: 8px; }\n.graph-legend-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }\n.graph-info-drawer {\n  position: absolute;\n  top: 66px;\n  right: 14px;\n  width: 310px;\n  max-height: 620px;\n  background: var(--geist-background);\n  border: 1px solid var(--geist-border);\n  border-radius: 8px;\n  box-shadow: 0 8px 30px rgba(0,0,0,0.12);\n  z-index: 10;\n  padding: 16px;\n  overflow-y: auto;\n  display: none;\n  backdrop-filter: blur(10px);\n  transition: transform 0.2s ease, opacity 0.2s ease;\n}\n.graph-drawer-close {\n  position: absolute;\n  top: 10px;\n  right: 12px;\n  cursor: pointer;\n  font-size: 16px;\n  color: var(--geist-tertiary);\n}\n.graph-drawer-badge {\n  display: inline-block;\n  padding: 2px 6px;\n  border-radius: 4px;\n  font-size: 10px;\n  font-weight: 600;\n  margin-bottom: 6px;\n}\n.graph-drawer-title {\n  font-size: 13px;\n  font-weight: 700;\n  line-height: 1.4;\n  margin-bottom: 8px;\n  color: var(--geist-foreground);\n}\n.graph-drawer-meta {\n  font-size: 11px;\n  color: var(--geist-secondary);\n  margin-bottom: 12px;\n}\n.graph-drawer-core {\n  font-size: 12px;\n  line-height: 1.6;\n  color: var(--geist-foreground);\n  background: var(--geist-secondary-bg);\n  padding: 8px 10px;\n  border-radius: 6px;\n  margin-bottom: 12px;\n  border: 1px solid var(--geist-border);\n}\n.graph-drawer-link {\n  display: block;\n  text-align: center;\n  padding: 7px 12px;\n  background: var(--geist-foreground);\n  color: var(--geist-background);\n  border-radius: 6px;\n  font-size: 12px;\n  font-weight: 600;\n  text-decoration: none;\n  transition: opacity 0.15s ease;\n  margin-bottom: 6px;\n}\n.graph-drawer-link:hover { opacity: 0.85; }\n.graph-drawer-pdf-link {\n  display: block;\n  text-align: center;\n  padding: 6px 12px;\n  background: var(--geist-secondary-bg);\n  color: var(--geist-foreground);\n  border: 1px solid var(--geist-border);\n  border-radius: 6px;\n  font-size: 11px;\n  font-weight: 500;\n  text-decoration: none;\n  transition: all 0.15s ease;\n}\n.graph-drawer-pdf-link:hover { background: var(--geist-border); }\n.node-circle {\n  cursor: pointer;\n  transition: r 0.2s, stroke-width 0.2s;\n}\n.node-label {\n  font-size: 10px;\n  font-weight: 600;\n  fill: var(--geist-foreground);\n  pointer-events: none;\n  text-shadow: 0 1px 2px var(--geist-background);\n}\n.link-line {\n  stroke: var(--geist-border);\n  stroke-opacity: 0.6;\n  stroke-width: 1.2;\n  transition: stroke 0.2s, stroke-width 0.2s, stroke-opacity 0.2s;\n}\n.link-label {\n  font-size: 9px;\n  fill: var(--geist-tertiary);\n  pointer-events: none;\n  text-anchor: middle;\n}\n\n/* 引用框与警示框 Alerts */\n.callout-alert {\n  margin: 20px 0;\n  padding: 14px 18px;\n  border-radius: var(--radius-md);\n  transition: all 0.15s ease;\n}\n.callout-important, .callout-idea {\n  border-left: 4px solid #b54708;\n  background: rgba(181, 71, 8, 0.06);\n  box-shadow: inset 0 0 0 1px rgba(247, 144, 9, 0.3);\n}\n[data-theme=\"dark\"] .callout-important, [data-theme=\"dark\"] .callout-idea {\n  border-left-color: #fec84b;\n  background: rgba(181, 71, 8, 0.18);\n  box-shadow: inset 0 0 0 1px rgba(254, 200, 75, 0.25);\n}\n.callout-writing {\n  border-left: 4px solid #6941c6;\n  background: rgba(105, 65, 198, 0.06);\n  box-shadow: inset 0 0 0 1px rgba(105, 65, 198, 0.3);\n}\n[data-theme=\"dark\"] .callout-writing {\n  border-left-color: #d6bbfb;\n  background: rgba(105, 65, 198, 0.18);\n  box-shadow: inset 0 0 0 1px rgba(214, 187, 251, 0.25);\n}\n.callout-value {\n  border-left: 4px solid #027a48;\n  background: rgba(2, 122, 72, 0.06);\n  box-shadow: inset 0 0 0 1px rgba(2, 122, 72, 0.3);\n}\n[data-theme=\"dark\"] .callout-value {\n  border-left-color: #32d583;\n  background: rgba(2, 122, 72, 0.18);\n  box-shadow: inset 0 0 0 1px rgba(50, 213, 131, 0.25);\n}\n\n.card-title {\n  font-size: 16.5px;\n  font-weight: 600;\n  line-height: 1.42;\n  letter-spacing: -0.4px;\n  color: var(--geist-foreground);\n  margin: 0 0 10px;\n  word-break: break-word;\n  overflow-wrap: anywhere;\n  hyphens: auto;\n}\n.card-title a {\n  color: var(--geist-foreground);\n  text-decoration: none;\n  display: inline;\n  transition: color 0.15s ease;\n}\n.card-title a:hover {\n  color: var(--develop-blue);\n  text-decoration: none;\n}\n.card-id-mono {\n  font-family: \"Geist Mono\", monospace;\n  font-size: 13px;\n  font-weight: 500;\n  color: var(--geist-quaternary);\n  margin-right: 5px;\n}\n.card-meta-row {\n  display: flex;\n  gap: 6px;\n  flex-wrap: wrap;\n  margin-bottom: 12px;\n}\n.meta-token {\n  font-size: 12px;\n  color: var(--geist-tertiary);\n  background: var(--geist-surface-tint);\n  box-shadow: var(--shadow-ring);\n  padding: 2px 7px;\n  border-radius: var(--radius-sm);\n  white-space: nowrap;\n}\n.card-body-text {\n  font-size: 13.5px;\n  color: var(--geist-secondary);\n  line-height: 1.6;\n  margin-bottom: 16px;\n  flex-grow: 1;\n  word-break: break-word;\n  overflow-wrap: anywhere;\n}\n.card-body-text strong {\n  color: var(--geist-foreground);\n  font-weight: 600;\n}\n\n.card-footer {\n  display: flex;\n  align-items: center;\n  justify-content: space-between;\n  border-top: 1px solid var(--geist-border);\n  padding-top: 14px;\n}\n.card-link-action {\n  font-size: 13.5px;\n  font-weight: 500;\n  color: var(--link-blue);\n  display: inline-flex;\n  align-items: center;\n  gap: 4px;\n  text-decoration: none;\n  transition: all 0.15s ease;\n}\n.card-link-action:hover {\n  opacity: 0.85;\n  transform: translateX(2px);\n}\na.meta-token {\n  transition: all 0.15s ease;\n  cursor: pointer;\n  text-decoration: none;\n}\na.meta-token:hover {\n  background: var(--geist-selection);\n  color: var(--geist-foreground);\n  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);\n}\n\n/* 紧凑列表视图 (List View) */\n.card-list-view {\n  display: flex;\n  flex-direction: column;\n  gap: 8px;\n}\n.list-row-item {\n  background: var(--geist-background);\n  box-shadow: var(--shadow-card);\n  border-radius: var(--radius-md);\n  padding: 12px 18px;\n  display: flex;\n  align-items: center;\n  justify-content: space-between;\n  gap: 16px;\n  transition: box-shadow 0.15s;\n}\n.list-row-item:hover {\n  box-shadow: var(--shadow-card-hover);\n}\n\n/* 阅读详情页 (Report Detail) */\n.reading-container {\n  display: grid;\n  grid-template-columns: minmax(0, 1fr) 260px;\n  gap: 40px;\n  align-items: start;\n}\n@media (max-width: 960px) {\n  .reading-container { grid-template-columns: 1fr; }\n  .reading-sidebar { display: none; }\n}\n\n.report-header-card {\n  background: var(--geist-background);\n  box-shadow: var(--shadow-card);\n  border-radius: var(--radius-lg);\n  padding: 28px 32px;\n  margin-bottom: 28px;\n}\n.crumb-bar {\n  font-size: 13px;\n  color: var(--geist-tertiary);\n  margin-bottom: 10px;\n}\n.report-title {\n  font-size: 32px;\n  font-weight: 600;\n  letter-spacing: -1.28px;\n  margin: 0 0 16px;\n  color: var(--geist-foreground);\n}\n.report-action-buttons {\n  display: flex;\n  align-items: center;\n  gap: 10px;\n  flex-wrap: wrap;\n  border-top: 1px solid var(--geist-border);\n  padding-top: 16px;\n  margin-top: 16px;\n}\n\n.article-body {\n  background: var(--geist-background);\n  box-shadow: var(--shadow-card-full);\n  border-radius: var(--radius-lg);\n  padding: 36px 42px 80px;\n  font-size: 16px;\n  line-height: 1.75;\n  color: var(--geist-foreground);\n}\n.article-body h1, .article-body h2, .article-body h3 {\n  color: var(--geist-foreground);\n  scroll-margin-top: 80px;\n}\n.article-body h1 { font-size: 28px; font-weight: 600; letter-spacing: -1.28px; border-bottom: 1px solid var(--geist-border); padding-bottom: 8px; margin-top: 32px; }\n.article-body h2 { font-size: 24px; font-weight: 600; letter-spacing: -0.96px; border-bottom: 1px solid var(--geist-border); padding-bottom: 6px; margin-top: 36px; }\n.article-body h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.32px; margin-top: 26px; }\n.article-body table {\n  width: 100%;\n  border-collapse: collapse;\n  margin: 24px 0;\n  font-size: 14px;\n  box-shadow: var(--shadow-border);\n  border-radius: var(--radius-md);\n  overflow: hidden;\n}\n.article-body th, .article-body td {\n  padding: 10px 14px;\n  text-align: left;\n  border-bottom: 1px solid var(--geist-border);\n}\n.article-body th {\n  background: var(--geist-surface-tint);\n  font-weight: 600;\n  color: var(--geist-foreground);\n}\n.article-body blockquote {\n  border-left: 2px solid var(--geist-foreground);\n  margin: 20px 0;\n  padding: 8px 18px;\n  color: var(--geist-secondary);\n  font-style: normal;\n}\n.article-body code {\n  font-family: \"Geist Mono\", monospace;\n  font-size: 13.5px;\n  box-shadow: var(--shadow-ring);\n  background: var(--geist-surface-tint);\n  padding: 2px 6px;\n  border-radius: var(--radius-sm);\n}\n.article-body pre {\n  position: relative;\n  background: #000000;\n  color: #ededed;\n  box-shadow: var(--shadow-border);\n  border-radius: var(--radius-md);\n  padding: 18px;\n  margin: 24px 0;\n  overflow-x: auto;\n}\n.article-body pre code {\n  background: transparent;\n  box-shadow: none;\n  padding: 0;\n  color: inherit;\n  font-size: 13px;\n}\n.copy-code-btn {\n  position: absolute;\n  top: 8px;\n  right: 10px;\n  font-family: \"Geist Mono\", monospace;\n  font-size: 11px;\n  background: #171717;\n  color: #ffffff;\n  border: 1px solid #333333;\n  padding: 3px 8px;\n  border-radius: var(--radius-sm);\n  cursor: pointer;\n}\n\n/* 侧边大纲 (TOC) */\n.reading-sidebar {\n  position: sticky;\n  top: 80px;\n  background: var(--geist-background);\n  box-shadow: var(--shadow-card);\n  border-radius: var(--radius-lg);\n  padding: 20px;\n  max-height: calc(100vh - 100px);\n  overflow-y: auto;\n}\n.sidebar-toc-title {\n  font-family: \"Geist Mono\", monospace;\n  font-size: 12px;\n  font-weight: 500;\n  text-transform: uppercase;\n  letter-spacing: 0.5px;\n  color: var(--geist-quaternary);\n  margin-bottom: 12px;\n}\n.reading-sidebar ul {\n  list-style: none;\n  padding-left: 0;\n  margin: 0;\n  font-size: 13px;\n}\n.reading-sidebar li {\n  margin: 6px 0;\n}\n.reading-sidebar ul ul {\n  padding-left: 14px;\n}\n.reading-sidebar a {\n  color: var(--geist-secondary);\n  text-decoration: none;\n  transition: color 0.15s;\n}\n.reading-sidebar a:hover, .reading-sidebar a.active {\n  color: var(--geist-foreground);\n  font-weight: 600;\n}\n\n/* 后台管理 (/admin) */\n.admin-card-container {\n  background: var(--geist-background);\n  box-shadow: var(--shadow-card-full);\n  border-radius: var(--radius-lg);\n  padding: 32px;\n  margin-bottom: 32px;\n}\n.form-row-2 {\n  display: grid;\n  grid-template-columns: 1fr 1fr;\n  gap: 16px;\n  margin-bottom: 16px;\n}\n@media (max-width: 600px) {\n  .form-row-2 { grid-template-columns: 1fr; }\n}\n.form-field {\n  display: flex;\n  flex-direction: column;\n  gap: 6px;\n  margin-bottom: 16px;\n}\n.form-field label {\n  font-size: 13px;\n  font-weight: 500;\n  color: var(--geist-foreground);\n}\n.form-field input, .form-field select, .form-field textarea {\n  font-family: \"Geist\", sans-serif;\n  font-size: 14px;\n  padding: 9px 12px;\n  background: var(--geist-background);\n  box-shadow: var(--shadow-border);\n  border: none;\n  border-radius: var(--radius-md);\n  color: var(--geist-foreground);\n  outline: none;\n}\n.form-field input:focus, .form-field select:focus, .form-field textarea:focus {\n  outline: 2px solid var(--ds-focus-color);\n  box-shadow: none;\n}\n\n/* 语法高亮 (Console Blue / Purple / Pink) */\n.codehilite .k, .codehilite .kd, .codehilite .kn { color: #eb367f; font-weight: 500; }\n.codehilite .s, .codehilite .s1, .codehilite .s2 { color: #0070f3; }\n.codehilite .nf, .codehilite .na { color: #7928ca; font-weight: 500; }\n.codehilite .c, .codehilite .c1 { color: #666666; font-style: italic; }\n.codehilite .mi, .codehilite .mf { color: #ff5b4f; }\n\n</style>\n\n</head>\n<body>\n\n    <nav class=\"vercel-nav\">\n      <div class=\"nav-brand\">\n        <a href=\"/\" style=\"display:flex;align-items:center;gap:10px;text-decoration:none\">\n          <svg class=\"vercel-triangle\" viewBox=\"0 0 76 65\" fill=\"none\">\n            <path d=\"M37.5274 0L75.0548 65H0L37.5274 0Z\" fill=\"currentColor\"/>\n          </svg>\n          <span class=\"nav-title\">Agent Harness KB</span>\n        </a>\n        <span class=\"nav-badge-pill\">Geist 2.0</span>\n      </div>\n\n      <div class=\"nav-links\">\n        <a class=\"nav-link \" href=\"/\">全景总览</a>\n        <a class=\"nav-link \" href=\"/vad\" style=\"color:var(--ship-red)\">🎯 VAD 专栏 (144)</a>\n        <a class=\"nav-link\" href=\"https://m0rtzz.github.io/paper-notes/\" target=\"_blank\" rel=\"noopener\">顶会 669 篇 ↗</a>\n        <a class=\"nav-link\" href=\"/download/all\">整库打包</a>\n        \n      </div>\n\n      <div class=\"nav-actions\">\n        \n        <button class=\"theme-toggle-btn\" id=\"theme-toggle-btn\" onclick=\"toggleTheme()\" title=\"切换亮暗主题\">🌙</button>\n      </div>\n    </nav>\n    \n<main class=\"vercel-container\">\n\n        <div class=\"report-header-card\">\n          <div class=\"crumb-bar\"><a href=\"/\">Home</a> / <b>fulltext.txt</b></div>\n          <h1 class=\"report-title\">fulltext.txt</h1>\n          <div class=\"report-action-buttons\">\n            <a class=\"btn-primary-dark\" href=\"?dl=1\">Download Text</a>\n          </div>\n        </div>\n        <article class=\"article-body\"><pre><code>ScienceBuddy:\nRecursive-in-Recursive Self-Improvement\nfor Interactive Scientific Agents\nShuhan Xue1,* Jianyuan Zhong1,* Ziyuan Nan1,* Wenbin Li1 Zhaochen Yu1\nJinchao Ding1 Qiang Gao2,3,4,5 Pengyu Zhan6 Yuntong Zhang6 Tian Cheng6\nZhenfei Yin1,7,† Yingcheng Wu1,8,† Ling Yang1,9,†\n\narXiv:2609.17523v1 [cs.AI] 15 Sep 2026\n\nWebsite: Science-Buddy-Product\n\n|\n\nCode: Gen-Verse/ScienceBuddy\n\nAbstract\nWe introduce and release ScienceBuddy, an interactive scientific research workspace\nthat brings continually improving scientific agents into researchers’ everyday workflows.\nScienceBuddy supports researchers in carrying out scientific tasks while transforming their\nrequests, feedback, and execution evidence into tasks and evaluation rubrics for continual\nlearning. At its core is recursive-in-recursive self-improvement, a paradigm that couples\nharness evolution with model reinforcement learning: the inner recursion improves the\nharness with the model fixed, while the outer recursion trains the model under the improved\nharness. Harness evolution shapes training experience, and model learning creates new\nopportunities for harness adaptation. We present case studies of researcher interaction,\nharness refinement, and model learning, with the benchmark cases spanning four scientific\ntask families. By releasing ScienceBuddy as a research product, we make this paradigm\navailable to the scientific community and take a step toward discovery intelligence: scientific\nAI that advances through sustained collaboration with researchers and evolves alongside the\nresearch it supports.\nCorresponding: yin@phai-labs.com; wuyc@phai-labs.com; yang@phai-labs.com\n\n“Agents will inhabit streams of experience, rather than short snippets of interaction.”\n— Silver and Sutton, Welcome to the Era of Experience (2025) [17, p. 2]\n\nScienceBuddy\nworkspace\n1 Scientific\n224 tools · 22 modules\n\n2 Recursive-in-recursive\n\n3 Researcher interaction\nQuestions + data\n\nATGCTGAC\nTTCGATG\nGCTTACG\nAAGCTTGA\n\nTasks &amp; rubrics\nHarbor tasks\nFeedback\n\nPapers\nScience\nCell\n\nMultimodal workspace\nPluggable model + harness\n\nHarness\n\nModel\n\nHarness refinement\n\nModel learning\n\nCo-evolution across cycles\n\nLearning from collaboration\n\nFigure 1 | ScienceBuddy: a scientific workspace that learns through collaboration. Left: Scientific workspace.\nA multimodal workspace brings together documents, images, tables, and biological sequences with 224 tools across\n22 functional modules, spanning genomics, molecular and cancer biology, pharmacology, bioimaging, literature\nretrieval, and database queries. Pluggable frontier models and agent harnesses support scientific analysis within this\nshared environment. Middle: Recursive-in-recursive self-improvement. Nested harness refinement and model\nlearning are linked through scientific tasks and evaluation rubrics. Right: Researcher interaction. Researchers\npose questions, inspect results, and refine requirements. These exchanges supply task objectives, evaluation criteria,\nand evidence for further improvement, connecting scientific collaboration to the next learning cycle.\n∗ Equal contribution.\n† Corresponding authors.\n\n1\n\n\fScienceBuddy: Recursive-in-Recursive Self-Improvement\n\nScienceBuddy\nA. Scientific workspace and interaction\nResearcher\n\nServing continues during background updates\n\nTask LLM θk\n\nWorkspace/ deployed harness ℋk\nInstructions · Skills · Context\n\nQuestion + data\n\nInstructions\n&amp; context\n\nFollow-up\n\nInspect\n\nPlan\n\nExecute\n\nCheck\n\nReport\n\nResults\n&amp; observations\n\nResults &amp; artifacts\n\nInteraction (inspectable)\nRequest\n\nTask memory · Persistent workspace\n\ne.g. Analyze candidate genes ...\n\nAction log\n\nScientific tools, data &amp; execution\n\nPlan → Execute → Check ...\n\nObservation\nIntermediate results ...\n\nArtifacts (returned)\nLiterature &amp;\nevidence\nEvidence\ntable\n\nFigure\n\nMolecular\nanalysis\n\nMolecular\ninteractions\n\nGenetic\nassociations\n\nGene\ndependencies\n\nSequences &amp;\nguide RNAs\n\nReport\n\ncollected experience\n\nInteraction records\nScientific tasks &amp; rubrics\nrequests\n\nreplies\n\nactions\n\nobservations\n\nartifacts\n\ndiagnostic evidence\n\nseed tasks\n\nfixed criteria\n\nB. Recursive-in-recursive self-improvement\nInner recursion j · θk fixed\nFixed auxiliary\nmodel\n\nDiagnose\n\nPaired evaluation\n\nRevise\nprocedures\n\nParent\n\nNew evidence for next iteration\n\nModel training and outer recursion (update θ)\nseed tasks\n\nCalibrate difficulty\n\nAdaptive\nenvironments\n\nNew task execution\n\nNext outer\ncycle k + 1\n\nValid and ΔS &gt; 0\nAccept child /\nretain parent\n\nCandidate\n\nℋk\n\nExecute selected harness\n\nℋk\n\nGuide execution\n\nFresh\nrollouts\n\nSelect harness\n\ntask-specific rubric\n\nRubric reward\n\nRx (τ)\n\nModel RL\nGRPO\n\nθk → θk+1\n\nRe-evaluate &amp;\ndeploy(θk+1 , H k+1 )\n\nℋk+1 = ℋk\n\nSelected harness fixed during RL\n\nFigure 2 | ScienceBuddy: an interactive scientific workspace with recursive-in-recursive self-improvement. Top: Scientific\nworkspace and researcher interaction. Researchers submit questions and data, inspect execution traces and artifacts, and\nrefine analyses through follow-up exchanges. The deployed harness organizes the task model’s instructions, skills, and context,\nconnecting it to scientific tools, data, and a persistent workspace. Middle: From interactions to learning signals. Requests,\nreplies, actions, observations, and artifacts provide diagnostic evidence and jointly establish executable scientific tasks and\ntask-specific evaluation rubrics. Bottom: Coupled harness and model improvement. In the inner recursion, the task model\nremains fixed while a fixed auxiliary model diagnoses failures and proposes bounded procedural edits. Valid candidates are\naccepted only when they improve paired development evaluation; execution under the selected harness supplies evidence for\nfurther refinement. In the outer recursion, the selected harness guides environment-difficulty calibration and fresh on-policy\nrollouts. Rubric rewards drive GRPO updates to the task model, while the harness and evaluation rubrics remain fixed. The\nupdated model and inherited harness are re-evaluated and deployed together, generating researcher interactions for the next\ncycle. These background updates proceed while the online service remains available.\n\n2\n\n\fContents\n1\n2\n\nIntroduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\nScienceBuddy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n2.1\nScientific Workspace &amp; Agent Harness . . . . . . . . . . . . . . . . . . . . . . . . . .\n\n4\n6\n6\n\nScientific tools and execution environments. . . . . . . . . . . . . . . . . . . . . .\nAgent execution and researcher interaction. . . . . . . . . . . . . . . . . . . . . .\nModular infrastructure and pluggable harness. . . . . . . . . . . . . . . . . . . .\nInteraction Formulation and Learning Signals . . . . . . . . . . . . . . . . . . . . .\nInteraction formulation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\nFrom collaboration to tasks and rubrics. . . . . . . . . . . . . . . . . . . . . . . .\nHarbor tasks for post-training. . . . . . . . . . . . . . . . . . . . . . . . . . . . .\nInner Recursion: Feedback-guided Harness Improvement . . . . . . . . . . . . . . .\nFeedback-guided diagnosis. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\nHarness revision. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\nEvaluation and recursive refinement. . . . . . . . . . . . . . . . . . . . . . . . . .\nOuter Recursion: Continual Model Reinforcement Learning . . . . . . . . . . . . .\nEnvironment augmentation under an evolving harness. . . . . . . . . . . . . . .\nTask-adaptive rubric rewards. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\nModel updates and renewed harness adaptation. . . . . . . . . . . . . . . . . . .\nCoordinating Recursive-in-Recursive Improvement . . . . . . . . . . . . . . . . . .\nNested update schedule. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\nCross-cycle experience and re-evaluation. . . . . . . . . . . . . . . . . . . . . . .\n\n6\n6\n6\n\n2.2\n\n2.3\n\n2.4\n\n2.5\n\n3\n\n8\n8\n8\n8\n\n9\n9\n9\n9\n\n9\n9\n10\n\nScientific Workspace and User Experience . . . . . . . . . . . . . . . . . . . . . . . . 10\nScientific scope. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\nMultimodal input and evidence inspection. . . . . . . . . . . . . . . . . . . . . .\nLong-context agentic reasoning. . . . . . . . . . . . . . . . . . . . . . . . . . . .\nResearcher interaction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\nResearcher inspection through interface controls. . . . . . . . . . . . . . . . . . .\n\n4\n\n7\n7\n7\n7\n\n10\n10\n11\n11\n13\n\nCase Studies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13\n4.1\nScienceBuddy Interaction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13\n\n4.2\n\n4.3\n\n4.4\n\nSetup. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\nRefining a JAK1 investigation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\nConnecting evidence in an ARL4C study. . . . . . . . . . . . . . . . . . . . . . . .\nFrom requests to task specifications. . . . . . . . . . . . . . . . . . . . . . . . . .\nTwo-Cycle Recursive-in-Recursive Dynamics . . . . . . . . . . . . . . . . . . . . . .\nSetup. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\nLearning dynamics across cycles. . . . . . . . . . . . . . . . . . . . . . . . . . . .\nScientific task performance. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\nHarness Adaptation with a Fixed Model . . . . . . . . . . . . . . . . . . . . . . . . .\nSetup. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\nAdaptation and validation performance. . . . . . . . . . . . . . . . . . . . . . . .\nLearned procedures. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\nModel Learning with a Fixed Harness . . . . . . . . . . . . . . . . . . . . . . . . . .\nSetup. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\nLearning dynamics and problem coverage. . . . . . . . . . . . . . . . . . . . . . .\n\n13\n14\n14\n14\n\n15\n15\n15\n15\n\n16\n16\n16\n16\n\n17\n17\n17\n\n5\nRelated Work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n6\nConclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\nReferences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\nS1 Implementation Details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\nS1.1 Datasets and Environments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\nS1.2 Harness Evolution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\nS1.3 Reinforcement Learning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n\n17\n18\n18\n21\n21\n22\n24\n\nFresh rollout groups. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\nGroup-relative policy objective. . . . . . . . . . . . . . . . . . . . . . . . . . . . .\nConcrete Researcher Inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\nUser Interface and Researcher Interaction . . . . . . . . . . . . . . . . . . . . . . . .\n\n25\n25\n\nS1.4\n26\nS1.5\n27\nOrganizations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29\n\n3\n\n\fScienceBuddy: Recursive-in-Recursive Self-Improvement\n\n1. Introduction\nScientific research proceeds through analysis, inspection, and revision. Languagemodel agents can assist by retrieving evidence, querying databases, and executing\ncomputational workflows [9, 10, 18]. Researchers then clarify assumptions, question\nconclusions, and request additional checks. These exchanges reveal how scientific work\nshould be conducted and assessed, but correcting an answer within a conversation does\nnot establish improvement across tasks. This motivates our central question: How can\na scientific agent turn collaboration with researchers into sustained improvements in its\nworking procedures and underlying capabilities?\nPrior work establishes foundations for this problem. Reflection and harness optimization\nrevise reusable instructions and execution procedures [2, 11, 16, 27]; interaction-driven\nadaptation and rubric-based reinforcement learning provide mechanisms for model improvement [7, 19, 28]. Joint adaptation also has precedent: SIA updates both harnesses\nand model weights, including for single-cell RNA denoising [8], while HELIX connects\nharness evolution to model-training data construction [5]. In science, AgentBuild constructs agents from scientist-authored rubrics, curricula, and knowledge bases [15]. We\ninvestigate how collaboration itself can supply the tasks and assessment criteria that\ncoordinate repeated procedural and policy learning.\nWe introduce ScienceBuddy, an interactive scientific research workspace for continual learning from researcher collaboration. Figure 2 provides an overview of the\nworkspace, which combines scientific tools and reference resources [9] with data upload,\nexecutable analysis, persistent files, and inspectable traces and artifacts. Researchers\nrefine their requests through dialogue, while a pluggable harness organizes model\nbehavior through instructions, reusable skills, and context-management procedures.\nSeparating this editable harness from the scientific infrastructure makes procedural\nchanges explicit and evaluable. Requests, clarifications, execution records, and artifacts\njointly establish task objectives, constraints, and success criteria. We consolidate these\ncriteria into task-specific rubrics and package the corresponding instructions, inputs, and\nenvironments as executable Harbor tasks [1]. Researcher replies inform these criteria\nwithout serving as unquestioned correctness labels. The resulting tasks support both\nprocedural diagnosis and evaluation of fresh policy rollouts, using executable checks\nand fixed judges as appropriate.\nOn this foundation, we propose recursive-in-recursive self-improvement (Figure 2).\nThe inner recursion holds the task model fixed while a separate, fixed auxiliary model\ndiagnoses failures and proposes bounded edits to instructions, skills, or context settings.\nCandidates are accepted only when they satisfy edit constraints and improve paired\ndevelopment evaluation [13, 22]. Further execution supplies evidence for the next\nrevision. The outer recursion calibrates augmented task environments against the\ncurrent model and selected harness [6], then trains on fresh on-policy rollouts with\ntask-specific rubric rewards and GRPO [7, 14]. The harness and rubrics remain fixed\nduring training; historical interactions provide task definitions and diagnostic evidence\nrather than on-policy training samples.\n\n4\n\n\fScienceBuddy: Recursive-in-Recursive Self-Improvement\n\nThe coupling is bidirectional: harness revisions shape training trajectories and task\ndifficulty, while model updates change the effectiveness of inherited procedures. Background improvement proceeds alongside the online service. After re-evaluation, the\nupdated model–harness pair returns to researchers, whose interactions initiate the next\ncycle. All harness and environment versions are retained for subsequent evolution. Thus,\neach outer cycle learns through an inner adaptation process and changes the model that\nparticipates in the next.\nOur case studies examine real researcher interactions, harness revision with a fixed\ntask model, and model learning with a fixed harness. The benchmark cases cover\nfour task families from LAB-Bench and Biomni-Eval1: literature reading, database\njudgments, protocol troubleshooting, and gene and variant assessment [9, 10]. Holding\none component fixed provides a focused view of changes in the other: the harness case\nmeasures first-response accuracy on feedback-accessible evaluation tasks, while the\nmodel case measures problem coverage on a common panel under H0. These studies\nconnect the proposed framework to observable improvements in scientific task execution.\nWe release ScienceBuddy as an interactive research product, bringing scientific assistance\nand continual capability improvement into a shared workspace for researchers. This\nrelease makes our proposed paradigm available to the scientific community and takes a\nstep toward discovery intelligence, where scientific agents evolve through sustained\ncollaboration with the researchers they support.\nContributions. Our contributions are fourfold:\n• A released scientific research workspace. We develop and release ScienceBuddy,\nan interactive product that helps researchers carry out scientific tasks by connecting\nresearcher dialogue, executable analysis, inspectable artifacts, and a pluggable\nharness within a persistent workspace.\n• Interaction-grounded tasks and supervision. We formulate a workflow for\nderiving executable tasks and evaluation rubrics from collaboration, with validated\nenvironment augmentation calibrated to current capabilities.\n• Recursive-in-recursive self-improvement. We introduce a paradigm for model–\nharness co-design that couples evaluated harness evolution with rubric-supervised\nmodel reinforcement learning, returning the updated system to researchers for\nrenewed interaction and adaptation.\n• Case-study evidence for procedural and model learning. We examine real\nresearcher interactions, fixed-model harness evolution, and model learning under\na fixed harness, relating the proposed framework to improved scientific task\nexecution and broader problem coverage.\n\n5\n\n\fScienceBuddy: Recursive-in-Recursive Self-Improvement\n\n2. ScienceBuddy\nScienceBuddy is an interactive scientific research workspace that brings evidence access,\ncomputational analysis, and methodological guidance into a single conversational workflow. Researchers can introduce questions together with their data, inspect the resulting\nanalyses, and refine the work through subsequent exchanges. Built on this foundation,\nScienceBuddy supports recursive-in-recursive self-improvement: an inner process revises\nand evaluates the agent’s harness while keeping the task model fixed (Section 2.3),\nand an outer process applies continual reinforcement learning to trajectories generated\nunder the evolving harness (Section 2.4). The updated model then returns to further\nharness adaptation, coupling improvements in working procedures with improvements\nin the model that executes them (Section 2.5). Figure 2 summarizes the coupled harness\nand model improvement process.\n\n2.1. Scientific Workspace &amp; Agent Harness\nWe first describe three system components: scientific tools and execution environments,\nagent execution and researcher interaction, and modular infrastructure with a pluggable\nharness. Figure 2 summarizes the scientific workspace and researcher interaction.\nScientific tools and execution environments. ScienceBuddy provides access to a catalog\n\nof 224 tools across 22 functional modules, spanning genomics, molecular and cancer\nbiology, pharmacology, bioimaging, literature retrieval, and database queries. The\nruntime supports Python, R, and Bash execution, combining scientific libraries with data\nprocessing, statistical analysis, and visualization. Online database interfaces and a local\ndata lake provide complementary access to biomedical evidence. Researcher-provided\ndocuments, tables, sequences, and images enter a persistent workspace that retains\ninputs, intermediate files, and generated outputs. Interface and environment details\nappear in Section S1.1. The scientific tool catalog and execution utilities are derived\nfrom Huang et al. [9].\nAgent execution and researcher interaction. We follow a ReAct-style reasoning–action–\n\nobservation loop [23], alternating reasoning, code or tool execution, and observation.\nResearchers submit questions, upload supporting data, and provide follow-up instructions through the Chat view. The Trajectory view presents the chronological execution\nrecord, an event timeline, and details of selected events. Compute and Results panels\nprovide access to execution activity and generated artifacts. Conversation history and\nworkspace files preserve task context across exchanges, allowing researchers to inspect\nthe agent’s work and request revisions. Section S1.5 illustrates both interface views.\nModular infrastructure and pluggable harness. ScienceBuddy separates the agent harness\n\nfrom the infrastructure that manages researcher interactions, task execution, and persistent workspaces. A common execution interface specifies the task context supplied to the\nharness and the responses and execution records returned to the platform. Alternative\nagentic harnesses can be integrated by implementing this interface, while sharing the\nsame task-management and storage services. Within this architecture, instructions,\nskills, and selected context-management procedures constitute the editable components\n6\n\n\fScienceBuddy: Recursive-in-Recursive Self-Improvement\n\nof the harness. Recursive improvement revises these components while keeping the surrounding infrastructure fixed, allowing changes in scientific problem-solving procedures\nto be evaluated under consistent execution conditions (Section 2.3).\n\n2.2. Interaction Formulation and Learning Signals\nInteraction formulation. Let 𝑥 denote a research request and its inputs, 𝜋𝜃 the task\nmodel, 𝐻 the harness, and ℎ𝑡 = ( 𝑥, 𝑎0 , 𝑜1 , . . . , 𝑎𝑡 −1 , 𝑜𝑡 ) the history, with ℎ0 = ( 𝑥 ). An\naction 𝑎𝑡 is executable code, a tool call, or a researcher-facing response. The observation\n𝑜𝑡+1 = ( 𝑒𝑡+1 , 𝑢𝑡+1 ) records environment output or execution status 𝑒𝑡+1 and an optional\nresearcher reply 𝑢𝑡+1 , with 𝑢𝑡+1 = ⊥ when absent. The harness constructs model context\n𝐶 𝐻 ( ℎ𝑡 ) from history, memory, skills, and tool descriptions. Allowing for a scheduled\ndeterministic action 𝑑 𝐻 ( ℎ𝑡 ), such as input inspection, the joint policy and trajectory are\n\n(\n𝜇 𝜃,𝐻 ( 𝑎 | ℎ𝑡 ) =\n\n𝛿𝑑 𝐻 ( ℎ𝑡 ) ( 𝑎) ,\n\nif a harness action is scheduled,\n\n𝜋𝜃 ( 𝑎 | 𝐶 𝐻 ( ℎ𝑡 )) ,\n\notherwise,\n\n𝑎𝑡 ∼ 𝜇 𝜃,𝐻 (· | ℎ𝑡 ) ,\n\n(1)\n\n𝜏 = ( 𝑥, 𝑎0 , 𝑜1 , . . . , 𝑎𝑇 −1 , 𝑜𝑇 ) .\n\nHere 𝛿 denotes a point mass and 𝑇 counts execution steps. A researcher-facing response\nmay follow several tool steps; a tool observation alone does not constitute a researcher\nturn or user feedback.\nFrom collaboration to tasks and rubrics. The collaboration record supplies two comple-\n\nmentary artifacts: a self-contained task and its evaluation rubric (Figure 3). Related\nturns are consolidated around a scientific objective, with independently solvable objectives separated. The task instruction preserves the final requirements and inputs without\nimporting the historical answer. Unlike earlier task-only packaging followed by expert\nannotation, the current workflow also derives the rubric from the full collaboration\ntrajectory:\n\u0001\nC( 𝑥 ) = ConstructRubric 𝜏collab\n; 𝐼𝑥 , 𝐴𝑥 ,\n(2)\n𝑥\nwhere 𝜏collab\nis the source collaboration, 𝐼 𝑥 the reconstructed instruction, and 𝐴 𝑥 the\n𝑥\nrequired assets. Criteria cover task scope, methodological requirements, evidence, and\nexpected artifacts. Conflicting requirements are resolved before scoring; historical\nanswers and researcher approval are not automatically treated as scientific ground truth.\nHarbor tasks for post-training. The task package combines the instruction, input assets,\n\nexecution environment E 𝑥 , and rubric:\n\u0001\nP𝑥 = 𝐼 𝑥 , 𝐴 𝑥 , E 𝑥 , C( 𝑥 ) .\n\n(3)\n\nInstructions, configuration, assets, and rubric-based tests are organized as Harbor tasks\n[1]. The same tasks support two post-training routes: SFT retains rubric-qualified generated trajectories through rejection sampling, while RL collects fresh on-policy rollouts\nand uses rubric scores as rewards. Input and runtime checks establish executability;\nrubric-based checks and a fixed judge assess scientific requirements. The rubric remains\nfixed within each post-training stage.\n\n7\n\n\fScienceBuddy: Recursive-in-Recursive Self-Improvement\n\nCollaboration\n\nTask + rubric\nTask\n\nPost-training\n\nHarbor task\ntask/\ninstruction.md\ntask.toml\nenvironment/\nassets/\ntests/\ntest.sh\n\nSFT\n\nRejection sampling\n\nRL\n\nRubric\nOn-policy rollout\n\nFigure 3 | Collaboration-derived Harbor tasks for post-training. The collaboration supplies both the\ntask definition and rubric. In the schematic file tree, instruction.md defines the task, task.toml\nconfigures execution, environment/ holds task assets, and tests/test.sh invokes rubric-based\nassessment. The resulting tasks support SFT through rejection sampling and RL through on-policy rollouts.\n\n2.3. Inner Recursion: Feedback-guided Harness Improvement\nAt inner step 𝑗 of outer cycle 𝑘, the active harness 𝐻𝑘, 𝑗 is the parent, and its proposed\ne𝑘, 𝑗+1 is a candidate. An accepted candidate becomes the child 𝐻𝑘, 𝑗+1 . Otherwise,\nrevision 𝐻\nthe parent remains active.\nFeedback-guided diagnosis. Within outer cycle 𝑘, the task-model parameters 𝜃𝑘 remain\n\nfixed. We use GPT-6 Astra as a separate, fixed auxiliary model for trajectory diagnosis\nand harness editing. It reviews recent trajectories and rubric evaluations, identifies\nunmet criteria, and cites the relevant actions and observations. Following evidencebased trajectory diagnosis [3], it maps these findings to a candidate procedural edit.\nTask-specific answers and newly supplied facts remain local to the task.\nHarness revision. Let 𝐸 𝑘, 𝑗 contain the selected trajectories, rubric feedback, and edit\nhistory for harness 𝐻𝑘, 𝑗 . The auxiliary model proposes a bounded update,\n\ne𝑘, 𝑗+1 = 𝑈 ( 𝐻𝑘, 𝑗 , 𝐸 𝑘, 𝑗 ; 𝜃𝑘 ) .\n𝐻\n\n(4)\n\nEach proposal adds, removes, or revises one scoped skill, edits an instruction, or changes\none exposed context setting, leaving other components unchanged [12, 22]. A schema\ncheck enforces the permitted edit scope and size budget. Tools, execution infrastructure,\nrubrics, and evaluators remain fixed. This is a procedural update; neither the task model\nnor the auxiliary model receives gradient updates.\nEvaluation and recursive refinement. Parent and candidate are evaluated on identical\ndevelopment tasks, seeds, and execution budgets using frozen task rubrics. Let 𝑆¯𝑘 ( 𝐻 )\nbe the mean normalized rubric score and Valid( 𝐻 ) indicate compliance with the edit\ne𝑘, 𝑗+1 ) − 𝑆¯𝑘 ( 𝐻𝑘, 𝑗 ). The proposed acceptance rule is\nconstraints. Write Δ𝑘, 𝑗 = 𝑆¯𝑘 ( 𝐻\n\n(\n𝐻𝑘, 𝑗+1 =\n\ne𝑘, 𝑗+1 ,\n𝐻\n\ne𝑘, 𝑗+1 ) ∧ Δ𝑘, 𝑗 &gt; 0,\nValid( 𝐻\n\n𝐻𝑘, 𝑗 ,\n\notherwise.\n\n(5)\n\nEvaluation includes previously successful tasks to account for regressions [13], and ties\nretain the parent. Rejected edits and score changes remain in the optimizer’s history. The\n8\n\n\fScienceBuddy: Recursive-in-Recursive Self-Improvement\n\nselected harness then executes new training tasks, whose trajectories supply evidence\nfor the next revision. Iteration continues until the proposal budget or outer collection\nboundary is reached. Development tasks are separate from policy-training tasks and the\nfinal held-out test set, which never informs editing or selection.\n\n2.4. Outer Recursion: Continual Model Reinforcement Learning\nEnvironment augmentation under an evolving harness. As the harness evolves, previously\n\nchallenging tasks may become routine, reducing their value for further model training.\nWe therefore calibrate environment difficulty through pilot execution with the current\ntask model and selected harness. Following environment evolution [6], we augment\nresearcher-derived tasks by varying scientific inputs and analysis conditions or extending\ndependencies between computational steps. The validated environments then supply\nfresh RL rollouts.\nTask-adaptive rubric rewards. For each task 𝑥 , a fixed rubric composer derives task-\n\nspecific criteria from the source collaboration trajectory and its reconstructed objective,\ninputs, and required outputs (Section 2.2), following task-adaptive rubric construction\n[4]. The resulting rubric C( 𝑥 ) combines task-specific correctness checks with relevant\nevidence and artifact requirements. Each criterion has a nonnegative importance weight\n𝑤𝑐 ( 𝑥 ), assigned before rollout evaluation, and a satisfaction score 𝑣𝑐 ( 𝑥, 𝜏) ∈ [0, 1]. We\nuse executable checks where available and a fixed judge for criteria requiring scientific\ninterpretation [24]. Following rubric-based reward aggregation [7], the trajectory\nreward is\nÍ\n∑︁\n𝑐 ∈ C ( 𝑥 ) 𝑤𝑐 ( 𝑥 ) 𝑣𝑐 ( 𝑥, 𝜏)\nÍ\n𝑅 𝑥 ( 𝜏) =\n𝑤𝑐 ( 𝑥 ) &gt; 0.\n(6)\n,\n𝑐 ∈ C ( 𝑥 ) 𝑤𝑐 ( 𝑥 )\n𝑐∈ C (𝑥 )\n\nRubrics vary across tasks but remain fixed during optimization and paired harness\nevaluation. The terminal reward supplies a trajectory-level advantage shared across\ngenerated tokens. We use GRPO [14]; its objective and implementation details are given\nin Section S1.3.\nModel updates and renewed harness adaptation. At outer cycle 𝑘, we maximize the\n\nexpected trajectory reward under the selected harness:\nmax 𝐽𝑘 ( 𝜃) ,\n𝜃\n\n\u0002\n\n\u0003\n\n𝐽𝑘 ( 𝜃) = 𝔼𝑥 ∼𝑞𝑘 𝔼𝜏∼𝜋𝜃,𝐻★ (· | 𝑥 ) 𝑅 𝑥 ( 𝜏) .\n\n(7)\n\n𝑘\n\nHere 𝑞𝑘 is the training-task distribution over the validated seed environments and\naugmented variants at outer cycle 𝑘, and 𝜋𝜃,𝐻𝑘★ is the trajectory distribution induced\nby the task model under the fixed harness 𝐻𝑘★. The GRPO update yields 𝜃𝑘+1 . Because\nharness effectiveness depends on its interaction with the task model [11], we re-evaluate\nthe selected harness under the updated model before deploying ( 𝜃𝑘+1 , 𝐻𝑘+1 ), with\n𝐻𝑘+1 = 𝐻𝑘★. Researcher interactions with this pair provide evidence for the next inneradaptation phase and outer update cycle (Section 2.5).\n\n2.5. Coordinating Recursive-in-Recursive Improvement\nNested update schedule. ScienceBuddy serves researchers with model 𝜃𝑘 and harness\n𝐻𝑘 over a fixed collection interval. The resulting interactions and feedback initiate\n9\n\n\fScienceBuddy: Recursive-in-Recursive Self-Improvement\n\na background update cycle, asynchronous with the online service: harness improvement proceeds with 𝜃𝑘 fixed, followed by model RL under the selected harness. After\nre-evaluation, the updated model–harness pair is deployed to support increasingly demanding research tasks. Subsequent researcher interactions provide the evidence for\nthe next cycle (Algorithm 1).\nCross-cycle experience and re-evaluation. All harness versions and task environments\n\nare retained for subsequent evolution. Inherited harnesses are re-evaluated under the\nupdated task model before deployment or reuse.\nAlgorithm 1 Recursive-in-recursive improvement with asynchronous online service\nRequire: Initial ( 𝜃0 , 𝐻0 ), collection interval Δ, training environments T ,\ndevelopment tasks, inner budgets 𝐽𝑘 , RL budgets, and outer count 𝐾\n1: Initialize evidence buffer B and edit history L; deploy ( 𝜃0 , 𝐻0 )\n2: for 𝑘 = 0, . . . , 𝐾 − 1 do\n3:\n𝐸 𝑘 ← CollectΔ ( 𝜃𝑘 , 𝐻𝑘 ); B ← B ∪ 𝐸 𝑘\nBackground updates; the online service continues with ( 𝜃𝑘 , 𝐻𝑘 ).\n4:\n𝐻𝑘,0 ← 𝐻𝑘 ; evaluate 𝑆¯𝑘 ( 𝐻𝑘,0 ); 𝑗 ← 0\n5:\nwhile 𝑗 &lt; 𝐽𝑘 and the inner execution budget remains do\n6:\nAppend fresh task evidence under ( 𝜃𝑘 , 𝐻𝑘, 𝑗 ) to B\n7:\n𝐸 𝑘, 𝑗 ← Read(B , L; 𝐻𝑘, 𝑗 )\ne𝑘, 𝑗+1 ← 𝑈 ( 𝐻𝑘, 𝑗 , 𝐸 𝑘, 𝑗 ; 𝜃𝑘 )\n8:\n𝐻\ne𝑘, 𝑗+1 under paired development conditions\n9:\nValidate and, if valid, evaluate 𝐻\n10:\nSelect 𝐻𝑘, 𝑗+1 by Equation (5); record the decision in L\n11:\n𝑗← 𝑗+1\n12:\nend while\n13:\n𝐻𝑘★ ← 𝐻𝑘, 𝑗 ; T𝑘 ← Augment(T ; 𝜃𝑘 , 𝐻𝑘★)\n14:\n𝜃𝑘+1 ← RLUpdate( 𝜃𝑘 ; 𝐻𝑘★, T𝑘 , 𝑅)\nUse fresh batches D𝑘,𝑡 , Equations (S3) and (6); retire batches after optimization.\n15:\n𝐻𝑘+1 ← 𝐻𝑘★; re-evaluate ( 𝜃𝑘+1 , 𝐻𝑘+1 )\n16:\nRetain all harness and environment versions; T ← T ∪ T𝑘\n17:\nDeploy ( 𝜃𝑘+1 , 𝐻𝑘+1 )\n18: end for\n19: return ( 𝜃𝐾 , 𝐻 𝐾 )\n\n⊲ Section 2.3\n\n⊲ Section 2.4\n\n3. Scientific Workspace and User Experience\nScientific scope. ScienceBuddy combines multimodal input, long-context agentic rea-\n\nsoning, and researcher interaction within a shared scientific workspace. Its document\nhandling and execution interfaces support multiple scientific domains, while the current\ntools and data specialize in biomedicine. The following recorded session illustrates how\nresearchers connect visual scientific material to target analysis, evidence retrieval, and\nfurther questions.\nMultimodal input and evidence inspection. Researchers can supply documents, tables,\n\nbiological sequences, and images alongside natural-language requests. In Figure 4, an\nuploaded immune-signaling diagram guides the identification of molecular targets and\nthe organization of related drug and pathway knowledge. The response connects visual\nentities to an evidence table, distinguishing a retrieved PDE4/rolipram fragment from\nCD40 and AHR searches that returned no matches. The conversation, input composer,\n10\n\n\fScienceBuddy: Recursive-in-Recursive Self-Improvement\n\nand Compute panel bring the scientific material, response, and execution history into\none inspectable view. Original interface captures appear in Section S1.5.\nQuick Tasks / Image-guided target analysis\n\nCompute\n\nChat Trajectory\nYou\n\nInterpret this figure and organize the related\nknowledge in the data lake.\n\nImage-guided target\nanalysis\n\nResults\n\nTrajectory (59)\nPreparing\nOrganizing input\nCalling agent\nCalling agent\n\nCompleted\n\nReasoning\n\nDrug–target resources\n\nReasoning\n\nCompleted\n\nReasoning\nlistDataLake\n\nRelated database evidence\n\nExecution result\nCompleted\n\nReasoning\nsearchDataLake\nExecution result\nReasoning\nReasoning\nAssistant\n\nquery_pubmed\n\nI will separate the diagram into APC–T-cell activation, cytokine receptors, JAK/PDE4 signaling, AHR\nregulation and tissue homing, then search for the related targets, drugs and pathways.\n\nExecution result\nReasoning\nReasoning\nquery_pubmed\n\nTarget / mechanism\n\nIntervention\n\nData-lake evidence\n\nPDE4 · inflammatory signaling\n\nPDE4 inhibitor\n\nPDE4 / rolipram fragment in Broad\n\nAHR · nuclear regulation\n\nAgonist or modulator\n\nNo matching record retrieved\n\nIntegrins · tissue homing\n\nAnti-integrin antibody\n\nNo dedicated record retrieved\n\nExecution result\nReasoning\nReasoning\nquery_uniprot\nExecution result\n\nCD40 and AHR searches returned no records; their structured drug relationships are not confirmed in the current\ndata lake.\n\nReasoning\n\n…\n\nAsk a question. Paste or drop files here.\n\nFigure 4 | A workspace for multimodal scientific analysis. A researcher supplies a scientific diagram and\nrequests related knowledge. The Chat view connects visual interpretation to a structured target–evidence\ntable, while the Compute panel exposes execution records. Retrieved evidence and gaps in the available\ndata remain visible for researcher inspection. UI text and dialogue are reconstructed in English from the\nrecording; uploaded figures retain their original appearance and language. Account and model identifiers\nare masked.\n\nLong-context agentic reasoning. Figure 5 follows three image-based requests in a contin-\n\nuing session: an HMGCR Mendelian-randomization diagram, an Alzheimer’s-related\nmicroglial network, and an immune-signaling diagram. The agent interprets each image through reasoning, retrieval, and synthesis; the later execution explicitly resumes\nthe same session with prior exchanges available. The trace records repeated datalake searches and literature/protein queries; the middle response instead uses model\nknowledge without a new database query.\nResearcher interaction. The researcher directs the work by introducing new diagrams,\n\nchanging the scientific focus, and explicitly requesting database evidence. Successive\nresponses organize targets, distinguish pathways from cell-state markers, and identify\ndata needed for further analysis. Retained dialogue and evidence support subsequent\nrequests and the derivation of task objectives and evaluation criteria (Section 2.2).\n\n11\n\n\fScienceBuddy: Recursive-in-Recursive Self-Improvement\n\nImage-guided scientific analysis\nChat\n\nCompute\n\nResults\n\nTrajectory\n\nYou\n\nTrajectory (59)\nPreparing\n\nUploaded scientific diagram\n\nOrganizing input\n\nDoes the database contain\ndrug-target knowledge related to this\nfigure? Please organize it for me.\n\nCalling agent\nCalling agent\nReasoning\nReasoning\nReasoning\nlistDataLake\nExecution result\nReasoning\nsearchDataLake\nExecution result\nReasoning\n\nAssistant\n\nReasoning\n\nI will search the local data lake and literature for HMGCR, genetic instruments within ±100 kb, downstream\nbiochemical traits and target eQTL-MR, then organize the available data, possible analyses and limitations.\n\nquery_pubmed\nExecution result\nReasoning\n\nAnalysis layer\n\nInstrument / input\n\nExposure or output\n\neQTL-MR\n\nHMGCR cis-eQTL\n\nHMGCR expression → disease / phenotype\n\npQTL-MR\n\nHMGCR cis-pQTL\n\nHMGCR protein → disease / phenotype\n\nReasoning\n\nBiochemical MR\n\nCholesterol / mevalonate-pathway SNPs\n\nDownstream metabolites → disease GWAS\n\nReasoning\n\nControl-target MR\n\nPCSK9, LDLR, NPC1L1\n\nMatched traits → the same disease outcome\n\nReasoning\nquery_pubmed\nExecution result\n\nquery_uniprot\nExecution result\nReasoning\n\nCheck relevance, independence and exclusion restriction. Nearby SNPs may affect neighboring genes, so include\ncolocalization and sensitivity analyses. Target annotations and literature are available; complete raw HMGCR\neQTL/GWAS files were not retrieved.\n\nquery_uniprot\nExecution result\n…\n\nYou\n\nUploaded scientific diagram\n\nOrganize the Alzheimer’s-related\ndrug targets shown in this figure.\n\nsearchDataLake\nQuery\n\nHMGCR\nbroad_repurposing_hub_\nphase_moa_target_info.parquet\n\nReturned matches: 2\n\nAssistant\n\nThe AD region connects Galectin-3 with microglial receptors and Aβ/APOE-associated DAM/WAM states. Separate\ncandidate intervention targets from pathway nodes and cell-state markers.\nRole in the response\n\nMolecules / states\n\nInterpretation\n\nPriority targets\n\nTREM2, TLR4, LGALS3, MERTK\n\nReceptor, ligand or signaling-regulator roles\n\nMechanistic extension\n\nCLEC7A, GPNMB, APOE\n\nPhagocytosis, lipid handling and repair\n\nPathology / state indicators\n\nAβ, DAM, WAM\n\nNot interchangeable with single drug targets\n\nPotential axes include TREM2–APOE–DAM, Galectin-3–TLR4 and TREM2–MERTK–GPNMB. Their interpretation\ndepends on cell type, brain region and disease stage.\nSource: model knowledge; no database query or code execution in this turn.\nYou\nPreparing\n\nUploaded scientific diagram\n\nOrganizing input\n\nInterpret this figure and organize the\nrelated knowledge in the data lake.\n\nCalling agent\nContinuing the same session\nReasoning\nlistDataLake\nExecution result\nReasoning\nsearchDataLake\nExecution result\nReasoning\nsearchDataLake\nExecution result\nReasoning\n\nAssistant\n\nsearchDataLake\n\nContinuing the same session. I will separate the figure into APC–T-cell activation, cytokine receptors, JAK/PDE4\nsignaling, AHR regulation and tissue homing, then retrieve the corresponding records.\n\nExecution result\nReasoning\nquery_pubmed\n\nTarget / mechanism\n\nIntervention\n\nEvidence in the data lake\n\nPDE4\n\nPDE4 inhibitor\n\nPDE4 / rolipram fragment in Broad\n\nReasoning\n\nCD40 and AHR\n\nTarget-specific relationships\n\nKeyword searches returned no matches\n\n…\n\nCytokines, JAK, integrins\n\nAntibodies, inhibitors or receptor\nblockade\n\nNo dedicated files / records retrieved\n\nExecution result\n\nsearchDataLake\nQuery: PDE4\n\nTo make the diagram analyzable, organize target cis-eQTL/pQTL, cytokine protein GWAS, drug–target action\nannotations and disease-outcome GWAS. Proposed MR analyses link target expression, cytokine proteins or\nregional variants to outcomes, with pathway controls.\n\nBroad drug-target / mechanism\nrecords\nPDE4 / rolipram fragment\nCD40 / AHR: no matches\n\nAsk a question. Paste or drop files here.\n↑\n\n+\n\nFigure 5 | Multimodal input, long-context agentic reasoning, and researcher interaction. Three\nsuccessive image-based requests direct target analysis across a continuing scientific session. Uploaded\ndiagrams, assistant interpretations, and evidence tables are paired with the recorded execution history,\nshowing how researcher direction and retained context connect successive rounds of work. Proposed\nanalyses are not executed experiments. English dialogue and UI are reconstructed from recorded moments;\nuploaded figures retain their original language, omitted events are marked, and identifiers are masked.\n\n12\n\n\fScienceBuddy: Recursive-in-Recursive Self-Improvement\n\nResearcher inspection through interface controls. Researcher interaction also includes\n\nnavigation and inspection actions beyond conversational input (Figure 6). In the demonstration, the researcher opens an uploaded diagram at a larger scale, switches from Chat\nto Trajectory, and selects a tool event to inspect its metadata, input, and output. The\nselected UniProt event exposes an earlier HMGCR lookup while later requests remain in\nthe same session. These controls let the researcher examine source material, follow the\nexecution history, and revisit the basis of a response without starting a new conversation.\n1\n\nOpen the scientific figure\n\n2\n\nChat\n\nSwitch to Trajectory\n\nChat\n\nTrajectory\n\n3\n\nSelect a tool event\nquery_uniprot\n\nTOOL\n\nT1 · 24\n\nUploaded image\n\nImage preview\n\nEvent\n\n×\n\nSummary\n\nPayload\n\nStatus\n\ncompleted\n\nStage\n\nexecution\n\nDuration\n\n1.3 s\n\nTurn\n\n1\n\nResult\n\nSchema\n\nContent\n\nUSER\n\nOrganize the AD targets shown in the figure.\n\nASSISTANT\n\nGalectin-3, receptors and microglial states…\n\nUSER\n\nInterpret this figure and retrieve related\nknowledge.\n\nInput\n\nSYSTEM\n\nPreparing the next request.\n\nHMGCR human UniProt accession and protein\nfunction\n\nSYSTEM\n\nPrior history and attachments available.\n\nCONTEXT\n\nContinue the same session.\n\nTOOL\n\nlistDataLake\n\nGET rest.uniprot.org/uniprotkb/search\n\nTOOL\n\nsearchDataLake\n\nQuery: HMGCR human UniProt accession and protein\nfunction; size = 5\n\nOutput\n\nsuccess: true\nOriginal diagram, enlarged for inspection\nSource image retains its original labels.\n\nInspect the uploaded material\n\nFollow the execution history\n\nCheck the input and returned record\n\nFigure 6 | Researcher inspection beyond the conversation. Opening an uploaded image reveals its\nscientific details; switching to Trajectory exposes the execution history; selecting a tool event opens its\ninput, output, and metadata. The example revisits an earlier HMGCR protein lookup within the continuing\nsession. English interface reconstructions highlight controls used in the recording; the uploaded diagram\nand timeline retain source pixels. Cursor markers indicate the inspected controls.\n\n4. Case Studies\nWe present four distinct case studies of ScienceBuddy’s scientific assistance and selfimprovement. Each addresses a separate research question:\nRQ1: Researcher interaction. How does researcher feedback guide scientific assistance\nand reveal task objectives and evaluation criteria? (Section 4.1)\nRQ2: Coupled Recursive-in-Recursive improvement. Can alternating harness refinement and model learning sustain improvement across cycles and broaden scientific task\nperformance? (Section 4.2)\nRQ3: Harness adaptation. Can harness adaptation improve scientific task performance\nwithout changing model weights? (Section 4.3)\nRQ4: Model learning. Can reinforcement learning expand scientific problem-solving\ncapability under a fixed harness? (Section 4.4)\n\n4.1. ScienceBuddy Interaction\nSetup. We examine two real researcher interactions with deployed ScienceBuddy. Re-\n\nquests, supplied materials, agent responses, and subsequent researcher input support\na qualitative assessment of scientific assistance and opportunities for reinforcement\n13\n\n\fScienceBuddy: Recursive-in-Recursive Self-Improvement\n\nlearning (RL) task construction. Readers interested in the concrete researcher wording\ncan consult Figure S1 in the appendix.\nRefining a JAK1 investigation. A researcher asked ScienceBuddy to design a study of\nJAK1, immunotherapy outcomes, and the immune microenvironment in small-cell lung\ncancer using public single-cell transcriptomes and IMpower133 bulk RNA data. In\nresponse to the scope refinement (Figure S1a), ScienceBuddy organized a gene-specific\nplan with treatment-by-JAK1 interaction tests, patient-level expression summaries within\ncell types, and immune-state signatures. The plan assigned Seurat/Scanpy to single-cell\nanalysis, UCell/AUCell to signature scoring, and CellChat/NicheNet to subsequent cellcommunication analyses. This plan distinguished treatment-effect modification from\nprognosis and prioritized mechanistic follow-up.\nConnecting evidence in an ARL4C study. A researcher requested a presentation connecting\n\nthe background and results of an ARL4C study, then specified panel selection, conclusions,\nmechanism schematics, and speaker notes (Figure S1b). Using text and figure captions\norganized through Python/PyPDF2, ScienceBuddy linked candidate screening to cellular\nand molecular evidence. It highlighted depletion and conditional knockout comparisons\nfor cellular attribution, blockade for functional dependence, and kinetic and rescue\nassays for molecular interpretation. Panel-selection rationales and notes linked each\nscientific claim to its supporting comparison.\nFrom requests to task specifications. These cases illustrate how researcher requirements\n\ntranslate into task objectives, evaluation criteria, and required artifacts (Figure 7). The\nJAK1 refinement yields a study-planning objective whose criteria preserve gene-specific\nscope and place association analyses before mechanistic follow-up. The ARL4C request\nyields a presentation objective whose criteria link claims to supporting panels and\ncomparisons, with conclusions and speaker notes accompanying the slide outline. Such\ntask specifications provide the basis for the trajectory-derived rubrics and post-training\ntasks described in Section 2.2.\nRequest\n\nTask objective\n\nEvaluation criteria\n\nRequired artifact\n\n(a) JAK1\nFocus first on JAK1;\n\n1\n\nGene-specific scope\n\nstudy mechanisms\nlater.\n\n2\n\nAssociations first\n\n3\n\nMechanisms afterward\n\nPlan gene-focused\nanalyses in sequence\n\n1\n2\n3\n\nOrdered study plan\n\n(b) ARL4C\nClaims backed by panels\n\nSelect panels; add\nconclusions and\nspeaker notes.\n\nComparisons identified\nConclusions + notes\n\nPanel-to-claim map\n+ slide outline\n\nBuild an evidence-linked\npresentation\n\nFigure 7 | From researcher requests to task specifications. (a) A JAK1 scope refinement defines an\nordered, gene-focused study plan. (b) ARL4C presentation requirements define an evidence-linked\npresentation and panel-to-claim map. Requests are translated and abridged from real interactions; the task\nobjectives, evaluation criteria, and required artifacts are illustrative derivations, not archived rubric\npackages or scored outputs.\n14\n\n\fScienceBuddy: Recursive-in-Recursive Self-Improvement\n\n4.2. Two-Cycle Recursive-in-Recursive Dynamics\nSetup. Starting from Qwen3.5-4B and an initial scientific-agent harness, we run three\nsuccessive co-evolution cycles, indexed by 𝑘 = 0, 1, 2. In cycle 𝑘, harness refinement\nstarts from ( 𝜃𝑘 , 𝐻𝑘 ), keeps the model fixed, and performs 10 search steps to select 𝐻𝑘★\n\nby validation accuracy. Model learning then performs 20 RL updates under the selected\nharness. The final checkpoint 𝜃𝑘+1 and selected harness 𝐻𝑘+1 = 𝐻𝑘★ are carried into the\nnext cycle, where inherited harnesses are reassessed under the updated model. This\nrepeated exchange allows improvements in the model and harness to carry forward,\nsupporting continued system improvement across successive cycles. Dataset and environment details are provided in Appendix S1.1; detailed experimental settings are\ndeferred to the appendix.\n(a) Learning dynamics\n\nValidation accuracy\n\n1.0\n0.8\n\n(b) Problem outcomes\nBefore training\n\nHarness Evolution\n\nStage 1\nStage 2\nStage 3\n\nCorrect\n42.2%\n\n70.0%\n61.1%\n\n0.6\n\n40.0% remain correct\n\nCorrect\n73.3%\n\n46.7%\n\n44.4%\n\n38.9%\n\nAfter training\n\n0.4\n\nIncorrect\n57.8%\n\n0.2\n\nIncorrect\n26.7%\n\n24.4% remain incorrect\n33.3% newly solved\n\n0.0\n0\n\n5\n\n10\n\n15\n\n20\n\n25\n\n2.2% no longer correct\n\n30\n\nCumulative harness step\n\n(c) Test accuracy\n\n1.0\n\nAfter training\n\n100%\n\n0.6\n\nAccuracy\n\nTraining reward\n\n0.8\n\nBefore training\n\nModel Evolution\n\nStage 1\nStage 2\nStage 3\n\n0.4\n\n87.5%\n70%\n\n60%\n\n60%\n40%\n\n0.2\n\n80%\n\n74%\n\n80%\n\n36%\n\n60%\n\n30%\n\n20%\n\n0.0\n\n0%\n0\n\n10\n\n20\n\n30\n\n40\n\n50\n\n60\n\nDbQA\n\nCumulative RL update\n\nGWAS\n\nLitQA2\n\nProtocolQA\n\nTest subset\n\nFigure 8 | Learning dynamics and evaluation across three RinR cycles. Each cycle comprises ten\nharness-evolution steps followed by twenty RL updates; colors identify cycles. (a) Circles show measured\nharness validation scores, including rejected candidates. Stars and annotations identify new historical\nbests. (b) Outcome transitions pair the initial and final systems on the same test sets. (c) Test accuracy by\nscientific task family. Harness selection uses a separate, fixed validation set.\n\nLearning dynamics across cycles. Figure 8(a) shows consistent improvements within\n\neach of the three cycles. Harness refinement increases validation accuracy from 38.9%\nto 44.4%, 34.4% to 46.7%, and 61.1% to 70.0% in the first, second, and third cycles,\nrespectively. Over the same cycles, mean training reward rises from 33.3% to 38.8%,\n44.1% to 60.5%, and 57.8% to 69.8% between the first and second halves of each RL\nphase. These gains show that both harness refinement and model training continue to\nimprove their respective metrics over repeated cycles.\nScientific task performance. Figures 8(b,c) summarize the improvement in held-out\n\nscientific task performance. Overall single-attempt test accuracy increases from 42.2%\nto 73.3%. Among all test problems, 33.3% transition from incorrect to correct, whereas\n2.2% transition from correct to incorrect. The subset comparison shows gains across\n15\n\n\fScienceBuddy: Recursive-in-Recursive Self-Improvement\n\nall four task families. These results indicate that improvement extends to previously\nunsolved problems, broadening the system’s scientific problem-solving capability.\nThe next two case studies evaluate harness adaptation and model learning independently,\nholding model weights or the harness fixed, respectively (Sections 4.3 and 4.4).\n\n4.3. Harness Adaptation with a Fixed Model\nSetup. We refine and select the harness on an adaptation set, then compare the selected\n\nand initial harnesses on a separate validation set. Tasks from LAB-Bench and BiomniEval1 [9, 10] cover literature reading, database judgments, protocol troubleshooting,\nand gene and variant assessment. Implementation details appear in Section S1.2.\nAdaptation and validation performance. Figure 9a tracks first-response accuracy during\n\nharness adaptation: the fraction of tasks answered correctly on the first submission.\nAcross 24 adaptation batches, the best observed batch accuracy reaches 75.0%. The\nselected harness is then evaluated on validation tasks, alongside the initial harness\n(Figure 9b). Validation accuracy increases from 31.1% to 51.1%, a gain of 20 percentage\npoints with model weights fixed. This improvement demonstrates the effectiveness\nof revising the agent’s working procedures beyond the tasks used for adaptation and\nselection.\n(a) Harness adaptation\n\n(b) Validation performance\n100\n\nBatch accuracy\nBest batch so far\n\n75\n\nFirst-response accuracy (%)\n\nFirst-response accuracy (%)\n\n100\n75.0%\n66.7%\n\n50.0%\n41.7%\n\n50\n\n25\n\n0\n\n+20.0 pp\n75\n\n51.1%\n50\n\n31.1%\n25\n\n0\n1\n\n4\n\n8\n\n12\n\n16\n\n20\n\n24\n\nInitial\n\nSelected\n\nAdaptation batches\n\nFigure 9 | Harness adaptation and validation performance at fixed model weights. (a) First-response\naccuracy across adaptation batches; the step curve tracks the best batch accuracy observed so far. Batches\ncontain different tasks. (b) Validation accuracy of the initial harness and the harness selected on the\nadaptation set: 31.1% versus 51.1%, a gain of 20 percentage points. The validation set is used for this\ncomparison, not harness selection.\n\nLearned procedures. We inspect the selected harness to characterize the procedures\n\nretained from interaction. Its four instruction entries and nine scoped skills address\nPython execution, resource and schema inspection, bounded record lookup, and explicit\nanswer submission. Task-specific procedures include gene-set membership checks,\ncytoband lookup, and database-specific evidence extraction. These procedures guide\nthe agent in locating and checking scientific records, turning interaction evidence into\nreusable guidance for task execution. Section S1.2 describes the revisions and the limits\nof attributing gains to individual edits or feedback sources.\n\n16\n\n\fScienceBuddy: Recursive-in-Recursive Self-Improvement\n\n4.4. Model Learning with a Fixed Harness\nSetup. We keep the initial harness fixed throughout training and compare the model\n\nbefore and after RL under the same evaluation budget. The learning algorithm and\nevaluation protocol appear in Section S1.3.\nLearning dynamics and problem coverage. Training accuracy trends upward over approx-\n\nimately two hours of RL (Figure 10a). To assess whether learning also expands the\nrange of solvable problems, we measure problem coverage: the fraction of test problems\nsolved at least once within four attempts. Coverage increases from 48.3% before RL to\n67.8% afterward (Figure 10b), a gain of 19.5 percentage points. With both the harness\nand attempt budget unchanged, the model solves a broader set of scientific problems,\ndemonstrating the effectiveness of model learning as a distinct improvement mechanism.\n(a) Learning dynamics\n\n(b) Problem coverage\n\n45%\n\n100%\n\n40%\n\n80%\n\n67.8%\n\nPass@k\n\nAccuracy\n\n35%\n30%\n\n60%\n\n48.3%\n\n40%\n\n25%\n20%\n\n20%\n15%\n\n0%\n0\n\n30\n\n60\n\n90\n\n120\n\nFixed system\n\nAfter RL\n\nWall time (min)\n\nFigure 10 | Model learning and problem coverage under a fixed harness. (a) Training accuracy against\nelapsed time during model learning. (b) Problem coverage before and after RL, measured by pass@4\nunder the fixed harness and the same attempt budget. Coverage increases from 48.3% to 67.8%,\nindicating successful solutions to more distinct problems within the same attempt budget.\n\n5. Related Work\nPersistent experience in agents. Reflexion retains verbal lessons in episodic memory,\nGEPA searches over prompts using trajectory reflection, and ACE incrementally maintains\ncontextual playbooks [2, 16, 27]. Meta-Harness extends search to harness code using\nprior candidates and execution records, while PILOT learns reusable procedures during\nlive execution [11, 21]. These methods provide mechanisms for persistent procedural\nadaptation. ScienceBuddy studies how this adaptation generates experience for a second,\nmodel-level recursion.\nRecursive self-improvement. The Darwin Godel Machine evolves an archive of agents,\nand Hyperagents makes the meta-level modification procedure part of the editable\nprogram [25, 26]. SEAL generates data and update directives for parameter adaptation\n[28]. ScienceBuddy instead studies a nested dependency between repeated harness\nadaptation and repeated task-model learning. Its reflector remains fixed, so improved\ntask performance does not imply that the improvement mechanism itself has become\nstronger.\n17\n\n\fScienceBuddy: Recursive-in-Recursive Self-Improvement\n\nLearning from interaction. OpenClaw-RL extracts evaluative and directive signals\nfrom the states following agent actions, including user replies [19]. RLAnything jointly\nadapts environments, policies, and reward models [20]. ScienceBuddy studies how these\nlearning processes interact with an evolving harness. User feedback guides procedural\nrevision, while task verification supervises policy trajectories generated under the active\nharness. The learned model then returns to the next inner process, changing the\nconditions for further procedural adaptation.\n\n6. Conclusion\nScienceBuddy provides an interactive scientific workspace in which researcher collaboration can inform both working procedures and model learning. Its recursive-in-recursive\nframework connects evaluated harness refinement with rubric-supervised model updates,\nreturning the updated system to further scientific interaction. The case studies illustrate\nthe complementary contributions of these components: researcher requests and followup requirements define scientific tasks and assessment criteria; harness revision improves\nfirst-response accuracy with the task model fixed; and model learning expands problem\ncoverage under the initial harness. These findings support the framework’s procedural\nand model-learning mechanisms and provide a basis for studying their coordination\nacross continued researcher collaboration.\n\nReferences\n[1] Harbor: Task Structure.\nSeptember 9, 2026.\n\nhttps://www.harborframework.com/docs/tasks.\n\nAccessed\n\n[2] Lakshya A Agrawal, Shangyin Tan, Dilara Soylu, Noah Ziems, Rishi Khare, Krista Opsahl-Ong,\nArnav Singhvi, Herumb Shandilya, Michael J Ryan, Meng Jiang, Christopher Potts, Koushik Sen,\nAlexandros G. Dimakis, Ion Stoica, Dan Klein, Matei Zaharia, and Omar Khattab. GEPA: Reflective\nPrompt Evolution Can Outperform Reinforcement Learning. arXiv preprint arXiv:2507.19457, 2025.\ndoi: 10.48550/arXiv.2507.19457. URL https://arxiv.org/abs/2507.19457.\n[3] Shraddha Barke, Arnav Goyal, Alind Khare, Avaljot Singh, Suman Nath, and Chetan Bansal. AgentRx:\nDiagnosing AI Agent Failures from Execution Trajectories. arXiv preprint arXiv:2602.02475, 2026.\nURL https://arxiv.org/abs/2602.02475.\n[4] Liang Ding. AdaRubric: Task-Adaptive Rubrics for Reliable LLM Agent Evaluation and Reward\nLearning. arXiv preprint arXiv:2603.21362, 2026. URL https://arxiv.org/abs/2603.21362.\n[5] Tianyu Fan and Chao Huang. HELIX: Model-Harness Co-evolution for Recursive Self-Improvement.\narXiv preprint arXiv:2608.13951, 2026. URL https://arxiv.org/abs/2608.13951.\n[6] Zhiyuan Fan, Tinghao Yu, Yuanjun Cai, Jiang Zhou, Jiangtao Guan, Jincheng Liu, Yun Yang, Dingxin\nHu, Zhuo Han, Xing Wu, Feng Zhang, and Lilin Wang. Environment Evolution for Terminal Agents.\narXiv preprint arXiv:2609.04128, 2026. URL https://arxiv.org/abs/2609.04128.\n[7] Anisha Gunjal, Anthony Wang, Elaine Lau, Vaskar Nath, Yunzhong He, Bing Liu, and Sean\nHendryx. Rubrics as Rewards: Reinforcement Learning Beyond Verifiable Domains. arXiv preprint\narXiv:2507.17746, 2025. URL https://arxiv.org/abs/2507.17746.\n[8] Prannay Hebbar, Yogendra Manawat, Samuel Verboomen, Alesia Ivanova, Selvam Palanimalai, Kunal\nBhatia, and Vignesh Baskaran. SIA: Self Improving AI with Harness &amp; Weight Updates. arXiv preprint\narXiv:2605.27276, 2026. URL https://arxiv.org/abs/2605.27276.\n[9] Kexin Huang, Serena Zhang, Hanchen Wang, Yuanhao Qu, Yingzhou Lu, Yusuf Roohani, Ryan Li, Lin\nQiu, Junze Zhang, Yin Di, et al. Biomni: A General-Purpose Biomedical AI Agent. bioRxiv, 2025. doi:\n18\n\n\fScienceBuddy: Recursive-in-Recursive Self-Improvement\n\n10.1101/2025.05.30.656746. URL https://www.biorxiv.org/content/10.1101/2025.\n05.30.656746v1.\n[10] Jon M. Laurent, Joseph D. Janizek, Michael Ruzo, Michaela M. Hinks, Michael J. Hammerling,\nSiddharth Narayanan, Manvitha Ponnapati, Andrew D. White, and Samuel G. Rodriques. LAB-Bench:\nMeasuring Capabilities of Language Models for Biology Research. arXiv preprint arXiv:2407.10362,\n2024. doi: 10.48550/arXiv.2407.10362. URL https://arxiv.org/abs/2407.10362.\n[11] Yoonho Lee, Roshen Nair, Qizheng Zhang, Kangwook Lee, Omar Khattab, and Chelsea Finn. MetaHarness: End-to-End Optimization of Model Harnesses. arXiv preprint arXiv:2603.28052, 2026. doi:\n10.48550/arXiv.2603.28052. URL https://arxiv.org/abs/2603.28052.\n[12] Haoyue Liu, Zhichao Wang, Yongxin Guo, Haoran Shou, and Xiaoying Tang. Adaptive Prompt\nStructure Factorization: A Framework for Self-Discovering and Optimizing Compositional Prompt\nPrograms. arXiv preprint arXiv:2604.06699, 2026. URL https://arxiv.org/abs/2604.06699.\n[13] Yuchen Ma, Yue Huang, Han Bao, Haomin Zhuang, Swadheen Shukla, Michel Galley, Xiangliang\nZhang, and Stefan Feuerriegel. SkillGen: Verified Inference-Time Agent Skill Synthesis. arXiv preprint\narXiv:2605.10999, 2026. URL https://arxiv.org/abs/2605.10999.\n[14] Zhihong Shao, Peiyi Wang, Qihao Zhu, Runxin Xu, Junxiao Song, Xiao Bi, Haowei Zhang, Mingchuan\nZhang, Y. K. Li, Y. Wu, and Daya Guo. DeepSeekMath: Pushing the Limits of Mathematical Reasoning\nin Open Language Models. arXiv preprint arXiv:2402.03300, 2024. URL https://arxiv.org/\nabs/2402.03300.\n[15] Woong Shin, Craig A. Bridges, Marshall T. McDonnell, and Rafael Ferreira da Silva. Fantastic Scientific\nAgents and How to Build Them: AgentBuild for Rietveld Refinement. arXiv preprint arXiv:2606.12834,\n2026. URL https://arxiv.org/abs/2606.12834.\n[16] Noah Shinn, Federico Cassano, Edward Berman, Ashwin Gopinath, Karthik Narasimhan, and\nShunyu Yao. Reflexion: Language Agents with Verbal Reinforcement Learning. arXiv preprint\narXiv:2303.11366, 2023. doi: 10.48550/arXiv.2303.11366. URL https://arxiv.org/abs/\n2303.11366.\n[17] David Silver and Richard S. Sutton. Welcome to the Era of Experience. Preprint of a chapter\nfor Designing an Intelligence, MIT Press, 2025. URL https://storage.googleapis.com/\ndeepmind-media/Era-of-Experience%20/The%20Era%20of%20Experience%20Paper.\npdf.\n[18] Xingyao Wang, Yangyi Chen, Lifan Yuan, Yizhe Zhang, Yunzhu Li, Hao Peng, and Heng Ji. Executable\nCode Actions Elicit Better LLM Agents. arXiv preprint arXiv:2402.01030, 2024. doi: 10.48550/arXiv.\n2402.01030. URL https://arxiv.org/abs/2402.01030.\n[19] Yinjie Wang, Xuyang Chen, Xiaolong Jin, Mengdi Wang, and Ling Yang. OpenClaw-RL: Train Any\nAgent Simply by Talking. arXiv preprint arXiv:2603.10165, 2026. doi: 10.48550/arXiv.2603.10165.\nURL https://arxiv.org/abs/2603.10165.\n[20] Yinjie Wang, Tianbao Xie, Ke Shen, Mengdi Wang, and Ling Yang. RLAnything: Forge Environment,\nPolicy, and Reward Model in Completely Dynamic RL System. arXiv preprint arXiv:2602.02488, 2026.\ndoi: 10.48550/arXiv.2602.02488. URL https://arxiv.org/abs/2602.02488.\n[21] Yang Xiao, Yusong Sun, Haoyi Wu, Wenyang Hui, Wen Da, Zhaokai Luo, Mu Chuan, Yao Hu,\nWenjie Li, and Chengyue Jiang. PILOT in the Loop: Live Self-Improvement for Long-Horizon\nAgents. arXiv preprint arXiv:2608.26530, 2026. doi: 10.48550/arXiv.2608.26530. URL https:\n//arxiv.org/abs/2608.26530.\n[22] Yifan Yang, Ziyang Gong, Weiquan Huang, Qihao Yang, Ziwei Zhou, Zisu Huang, Yan Li, Xuemei Gao,\nQi Dai, Bei Liu, Kai Qiu, Yuqing Yang, Dongdong Chen, Xue-Ting Yang, and Chong Luo. SkillOpt:\nExecutive Strategy for Self-Evolving Agent Skills. arXiv preprint arXiv:2605.23904, 2026. URL\nhttps://arxiv.org/abs/2605.23904.\n[23] Shunyu Yao, Jeffrey Zhao, Dian Yu, Nan Du, Izhak Shafran, Karthik Narasimhan, and Yuan Cao.\nReAct: Synergizing Reasoning and Acting in Language Models. In International Conference on Learning\nRepresentations, 2023. URL https://arxiv.org/abs/2210.03629.\n\n19\n\n\fScienceBuddy: Recursive-in-Recursive Self-Improvement\n\n[24] Ya-Qi Yu, Hao Wang, Fangyu Hong, Xiangyang Qu, Gaojie Wu, Qiaoyu Luo, Nuo Xu, Huixin Wang,\nWuheng Xu, Yongxin Liao, Zihao Chen, Haonan Li, Ziming Li, Dezhi Peng, Minghui Liao, Jihao Wu,\nHaoyu Ren, and Dandan Tu. Reinforcement Learning with Robust Rubric Rewards. arXiv preprint\narXiv:2605.30244, 2026. URL https://arxiv.org/abs/2605.30244.\n[25] Jenny Zhang, Shengran Hu, Cong Lu, Robert Lange, and Jeff Clune. Darwin Godel Machine:\nOpen-Ended Evolution of Self-Improving Agents. arXiv preprint arXiv:2505.22954, 2025. doi:\n10.48550/arXiv.2505.22954. URL https://arxiv.org/abs/2505.22954.\n[26] Jenny Zhang, Bingchen Zhao, Wannan Yang, Jakob Foerster, Jeff Clune, Minqi Jiang, Sam Devlin,\nand Tatiana Shavrina. Hyperagents. arXiv preprint arXiv:2603.19461, 2026. doi: 10.48550/arXiv.\n2603.19461. URL https://arxiv.org/abs/2603.19461.\n[27] Qizheng Zhang, Changran Hu, Shubhangi Upasani, Boyuan Ma, Fenglu Hong, Vamsidhar Kamanuru,\nJay Rainton, Chen Wu, Mengmeng Ji, Hanchen Li, Urmish Thakker, James Zou, and Kunle Olukotun.\nAgentic Context Engineering: Evolving Contexts for Self-Improving Language Models. arXiv preprint\narXiv:2510.04618, 2025. doi: 10.48550/arXiv.2510.04618. URL https://arxiv.org/abs/\n2510.04618.\n[28] Adam Zweiger, Jyothish Pari, Han Guo, Ekin Akyürek, Yoon Kim, and Pulkit Agrawal. Self-Adapting\nLanguage Models. arXiv preprint arXiv:2506.10943, 2025. doi: 10.48550/arXiv.2506.10943. URL\nhttps://arxiv.org/abs/2506.10943.\n\n20\n\n\fScienceBuddy: Recursive-in-Recursive Self-Improvement\n\nAppendix\n\nS1. Implementation Details\nThis appendix connects the case studies to the scientific workspace and recursive-inrecursive framework described in the main text. We distinguish the fixed-model harnessevolution run from the model-learning case under a fixed harness. The role specifications\ndescribe the information boundaries and procedural responsibilities of these components;\nthe policy objective shows how model learning fits within the full recursive procedure.\n\nS1.1. Datasets and Environments\nTask composition. The 895-task collection contains 96 LitQA2, 511 DbQA, 108 ProtocolQA, and 180 GWAS tasks. LitQA2 and ProtocolQA each have one subtopic, DbQA has\nten, and GWAS has four, for 16 subtopics in total. Table S1 reports the number of tasks\nin each subtopic and the totals for each task family.\nTable S1 | Task counts across four scientific task families and 16 subtopics, totaling 895 tasks.\nFamily\n\nSubtopic\n\nLitQA2\n\nScientific literature reading\n\n96\n\nDbQA\n\nDisease–gene associations\n\n39\n\nGene location\n\n40\n\nmiRNA targets\n\n40\n\nMouse tumor gene sets\n\n80\n\nOncogenic signatures\n\n40\n\nTranscription-factor binding (GTRD)\n\n40\n\nVariant annotation: single sequence\n\n80\n\nVariant annotation: multiple sequences\n\n72\n\nVaccine-response gene sets\n\n40\n\nViral protein interactions\n\n40\n\nSubtotal\n\n511\n\nProtocolQA\n\nExperimental protocol troubleshooting\n\n108\n\nGWAS\n\nCausal genes: GWAS Catalog\n\n42\n\nCausal genes: Open Targets\n\n45\n\nCausal genes: PharmaProjects\n\n50\n\nTotal\n\nCount\n\nVariant prioritization\n\n43\n\nSubtotal\n\n180\n\n16 subtopics\n\n895\n\n21\n\n\fScienceBuddy: Recursive-in-Recursive Self-Improvement\n\nRoles of the task sets. In the standalone harness case study, adaptation conversations\nguide procedural revisions and harness selection. The initial harness and the harness\nselected on this adaptation set are subsequently compared on a separate validation set.\nThe model-learning case compares two model checkpoints on the same panel under\nthe initial harness, with four attempts per problem. Dataset counts describe the task\ninventory; the 288 conversations reported for harness adaptation describe the executed\nadaptation stream. The real researcher interactions in Section 4.1 separately illustrate\nhow scientific requests and follow-up requirements can define task contexts and rubrics.\n\nS1.2. Harness Evolution\nModels and schedule. The reported harness run uses a fixed Qwen3.5-4B task model. A\nfixed Qwen3.8-27B helper supports bounded user simulation and feedback interpretation,\nwhile GPT-6 Astra proposes harness edits. After each batch of 12 task conversations, user\nfeedback and execution evidence guide an update, giving 24 updates over 288 adaptation\nconversations. These conversations provide the feedback used for harness refinement;\nvalidation tasks are reserved for comparing the initial and adaptation-selected harnesses.\nEditable procedures. The general harness interface permits instruction, skill, and\nselected context-management updates (Section 2.1). The reported case study restricts\nadaptation to instruction and scoped-skill text in a single-file harness. The execution\nloop, Python tool interface, context handling, input-inspection settings, submission\nchecks, and budgets remain fixed. H0 starts without added instruction or skill entries;\nH24 contains four instruction entries and nine scoped skills. Each rollout executes\na fixed source snapshot, with its harness version retained in the trajectory. The role\nspecification below preserves the same instruction/skill-only edit boundary.\nRevision and checkpoint selection. Proposed instruction or skill revisions pass component validation and a fixed execution preflight. The best-performing harness on the\nadaptation set is selected for the validation comparison; validation scores do not guide revision or checkpoint selection. On the validation set, the selected harness achieves 51.1%\ncorrect, compared with 31.1% for the initial harness. This standalone experiment’s\nselection protocol is distinct from validation-based harness selection in the coupled-cycle\nexperiment.\nSimulated feedback. The simulator receives correctness and submission-status verdicts\nand selects a permitted reply for the task family. Correct answers receive confirmation,\nmissing submissions receive a format request, and incorrect answers receive a procedural\ncheck or revision request. The reply set excludes the correct option, identifier, and\nnumerical answer. The feedback interpreter sees the reply and its public conversation\ncontext, but not the private verdict or answer. It classifies the reply as acceptance,\ncorrection, new information, new requirement, or ambiguity and records a supporting\nquote and a diagnostic score 𝑞𝑡 ∈ {−1, 0, +1}. These bounded replies provide controlled\nprocedural feedback; the real researcher interactions in Section 4.1 illustrate the broader\ncollaboration setting.\nDiagnostic feedback and optimization reward. The score 𝑞𝑡 records how a followup relates to the preceding response and supports harness diagnosis. The field named\n22\n\n\fScienceBuddy: Recursive-in-Recursive Self-Improvement\n\nTable S2 | Information available to each role. Public context includes the task, supplied assets, and\nlegitimately observed tool outputs. Diagnostic feedback supports harness revision; the separately evaluated\ntrajectory reward supports policy optimization. The simulator and feedback interpreter use the fixed\nhelper model, while GPT-6 Astra performs harness diagnosis and editing.\nRole\n\nPublic context\n\nUser next reply\n\nPrivate answer\n\nVerifier verdict\n\nTask policy\n\nVisible prefix\n\nAfter response\n\nHidden\n\nThrough bounded\nuser feedback\n\nUser simulator\n\nReview context\n\nProduces reply\n\nHidden\n\nCorrectness and\nsubmission status\n\nFeedback judge\n\nPrior context\n\nObserved reply\n\nHidden\n\nHidden\n\nHarness reflector\n\nParent’s public\ntrace\n\nObserved reply\n\nHidden\n\nEvaluation\nsummaries\n\nScientific verifier\n\nRequired output\n\nNot required\n\nPrivate access\n\nProduces verdict\n\nPolicy learner\n\nRecorded policy\ninput\n\nNot backfilled\n\nNot in prompt\n\nTrajectory reward\n𝑅 𝑥 ( 𝜏)\n\nreward in the interpreter specification denotes this diagnostic score. Policy optimization\ninstead uses the separately evaluated trajectory reward 𝑅 𝑥 ( 𝜏) in Equation (6). Researcher\nfeedback can inform a task’s objectives and rubric before evaluation; it does not replace\nassessment of the resulting rollout against those criteria. The GRPO advantage below\nis defined from 𝑅 𝑥 ( 𝜏), not by substituting the interpreter’s ternary score. Table S2\nsummarizes these information boundaries.\nReflection record and interpretation. GPT-6 Astra receives recent task trajectories,\nactive procedures, rubric feedback, and relevant edit history, excluding private answers\nand evaluator internals. Each diagnosis links an unmet criterion to supporting actions\nor observations and a proposed procedural edit. The optimizer records the parent,\ncandidate, model and environment versions, evaluation conditions, and acceptance\ndecision. Rejected edits remain available for later diagnosis; stored versions are a\nhistory of decisions, not a frontier for parent sampling. The learning curves describe\nthe combined effect of successive procedural revisions at fixed model weights. Effects of\nindividual skills and feedback sources are not separately isolated.\nRole prompt specifications. The following concise specifications explain the task\ninterface, information boundaries, and edit scope of the harness-evolution case study.\nThey are expository descriptions of the roles rather than byte-for-byte archived request\npayloads. Concrete requests also supply task inputs, conversation records, permitted\nreplies, the parent harness, and the runtime’s edit schema. Private reference answers\nremain outside the policy and proposer inputs.\nTask policy.\nYou are a scientific assistant running in Science Buddy. You can reason and use Python in a\npersistent REPL. Public inputs are in /workspace/assets. The original task, including\nsequences, is in /workspace/assets/task_prompt.txt. Read long sequences from that file\ninstead of copying them into generated code. Use the exact public filenames listed below.\nPython code must print results; bare expressions are not displayed. Scientific tool/data\ndescriptions are in /opt/scitrace/TOOLS.md and /opt/scitrace/DATA.md. The available\nfrozen data lake is mounted read-only at /opt/data/biomni_data/data_lake. Check which\n23\n\n\fScienceBuddy: Recursive-in-Recursive Self-Improvement\n\nfiles and records exist before claiming database evidence. For a tool call, output one\n&lt;execute&gt;Python code&lt;/execute&gt; block and wait for its result. Otherwise, reply to the\nresearcher with a brief explanation and one &lt;answer&gt;value&lt;/answer&gt; tag. Do not claim\nto have inspected evidence or executed code unless you actually did so. Respond to the\nresearcher’s next reply, revising your work when warranted.\n\nUser simulator.\nRole-play a researcher reviewing the assistant’s ACTUAL response. This is a BOUNDED,\nREFERENCE-ASSISTED user simulator, not unrestricted expert feedback or a human trace.\nChoose the most useful and applicable reply from allowed_replies based on the conversation.\nThe options request checks or confirm completion; none identifies the correct task answer.\nDo not add scientific claims, candidate names, numerical results or facts outside the allowed\nreplies. The private correctness verdict concerns the selected answer, not every sentence of\nthe explanation. Return JSON with reply equal to one allowed reply and done equal to\nanswer_correct.\n\nFeedback interpreter.\nYou interpret feedback for trajectory diagnosis in an interactive scientific assistant. Use the\nuser’s NEXT REPLY as evidence about the assistant’s PRECEDING response. You do not\nreceive a reference answer or terminal verifier score. Do not guess one. Score +1 for explicit\nacceptance/confirmation; -1 for a correction or request to redo caused by an error, omission\nor unmet prior requirement; 0 for new requirements, newly supplied facts, unrelated\nfollow-ups or insufficient evidence. A successful tool call is not user approval. A request to\nrecheck or revise the same answer, or to supply an answer format already requested, is a\ncorrection (-1), not positive progression or a new requirement. Judge what the feedback\nsays, not whether the user is scientifically correct. Return ONLY JSON with reward (-1,0,1),\nfeedback_type (acceptance,correction,new_information, new_requirement,ambiguous),\nevidence (an EXACT substring of the user’s reply), and hint (a brief reusable improvement\ndirection, empty when not supported). The reward field is the diagnostic feedback score, not\nthe trajectory reward used for policy optimization.\n\nHarness proposer: instruction/skill-only edits.\nImprove the scientific assistant’s instructions or scoped skills using the supplied parent\nharness and interaction evidence. Identify an unmet criterion, cite the relevant actions or\nobservations, and propose one bounded procedural change: revise an instruction, or add,\nremove, or revise one scoped skill. Preserve all non-target entries and runtime settings.\nReturn the revised harness using the supplied runtime schema and edit constraints; retain\nexisting skills unless one is the target of the proposed change. Do not change context-history\nsettings, input-inspection settings, tools, execution infrastructure, submission checks,\nbudgets, rubrics, or evaluators. A complete serialized harness represents the local edit, not\npermission to rewrite every component. Avoid repeating rejected edits without new\nsupporting evidence. Do not encode task-specific answers, numerical results, or sample IDs.\nA successful tool call does not prove scientific correctness; newly supplied information is not\nnecessarily an error.\n\nS1.3. Reinforcement Learning\nCase-study configuration. The task backbone is Qwen3.5-4B. In Section 4.4, the initial harness H0 remains fixed throughout model training and evaluation. Both model\ncheckpoints are evaluated on the same problems with four attempts per problem, so the\nbefore/after comparison examines model learning under a common procedural interface. GPT-6 Astra is the diagnosis/editor model for harness adaptation (Section S1.2);\nthis fixed-H0 case does not invoke a new harness-adaptation phase. It illustrates the\n24\n\n\fScienceBuddy: Recursive-in-Recursive Self-Improvement\n\nmodel-learning component that can be coordinated with harness refinement in the full\nframework.\nEvaluation measure. Training accuracy counts correctly solved attempts. Evaluation\ncoverage, measured by pass@4, counts a problem once if at least one of its four attempts\nsucceeds. The latter compares the breadth of solved problems under an equal attempt\nbudget and is distinct from the first-response accuracy used in the harness case. The\nreported coverage rises from 48.3% to 67.8% under H0. The objective below formulates\nthis model-learning step within the recursive framework.\nFresh rollout groups. We express the model-learning component using the notation of\nthe general recursive framework. During outer stage 𝑘, the selected harness 𝐻𝑘★ remains\n\nfixed while the task model is optimized. The model-only case in Section 4.4 holds this\nharness at H0 throughout its comparison. The case study instantiates a fixed-harness\nmodel-learning step, while Section 2.4 describes how selected harnesses and validated\ntask environments can be incorporated across cycles. For each rollout batch, a frozen\ncopy 𝜋old of the current task policy generates 𝐺 trajectories per task. Records associate\nthe model inputs, generated tokens, behavior log probabilities, task and rubric versions,\nand harness identifier with each trajectory. Fresh rollout groups supply the objective\nbelow; historical researcher interactions instead support task definition and procedural\ndiagnosis. When a batch is reused for several optimizer passes, probability ratios remain\nrelative to its original collection policy.\nGroup-relative policy objective. The GRPO formulation [14] uses token-level averaging.\nFor trajectory 𝑖, let 𝑟𝑖 = 𝑅 𝑥𝑖 ( 𝜏𝑖 ) denote its evaluated trajectory reward, distinct from the\ndiagnostic feedback score 𝑞𝑡 , and let G( 𝑖) contain trajectories generated for the same\n\ntask under the same harness and rubric. The group-relative advantage is\nb𝑖 =\n𝐴\n\n𝑟𝑖 − mean 𝑗 ∈ G ( 𝑖 ) 𝑟 𝑗\n\nstd 𝑗 ∈ G ( 𝑖 ) 𝑟 𝑗 + 𝛿\n\n,\n\n𝛿 &gt; 0.\n\n(S1)\n\nAll generated tokens in a trajectory share this advantage. Groups with identical rewards have zero policy-gradient advantage. Researcher messages, tool outputs, task\ninstructions, and deterministic harness actions are excluded from the optimized tokens.\nFor generated token 𝑏𝑖,ℓ and its actual context 𝑐𝑖,ℓ , define\n𝜌𝑖,ℓ ( 𝜃) =\n\n𝜋𝜃 ( 𝑏𝑖,ℓ | 𝑐𝑖,ℓ )\n𝜋old ( 𝑏𝑖,ℓ | 𝑐𝑖,ℓ )\n\n(S2)\n\n.\n\nFor a minibatch M of complete groups, with 𝐿𝑖 generated tokens in trajectory 𝑖, the\nobjective is\nJ𝑘GRPO ( 𝜃) = Í\n\n1\n\n𝐿𝑖 h\n∑︁ ∑︁\n\n𝑖 ∈ M 𝐿𝑖 𝑖 ∈ M ℓ=1\n\nb𝑖 ,\nmin{ 𝜌𝑖,ℓ ( 𝜃) 𝐴\n\n(S3)\ni\n\nb𝑖 } − 𝛽b\nclip( 𝜌𝑖,ℓ ( 𝜃) , 1 − 𝜖, 1 + 𝜖) 𝐴\n𝑑 𝑖,ℓ ( 𝜃) .\nHere 𝜖 &gt; 0 controls clipping and 𝛽 ≥ 0 weights the sampled KL surrogate. The reference\npolicy 𝜋ref is a frozen copy of the task model at the start of the outer RL stage. Writing\n25\n\n\fScienceBuddy: Recursive-in-Recursive Self-Improvement\n\n𝑧 𝑖,ℓ = 𝜋ref ( 𝑏𝑖,ℓ | 𝑐𝑖,ℓ )/𝜋𝜃 ( 𝑏𝑖,ℓ | 𝑐𝑖,ℓ ), the surrogate is b\n𝑑 𝑖,ℓ = 𝑧 𝑖,ℓ − log 𝑧 𝑖,ℓ − 1. This sampled\n\nquantity is evaluated on behavior-policy tokens; it is not asserted to be an exact KL\ndivergence under an updated policy.\nThe trajectory reward is computed after the rollout from its outputs and task-relevant\nexecution evidence, with rubric and evaluator parameters fixed during optimization. It\ndoes not backfill later evaluation information into the contexts that generated earlier\ntokens. In the model-learning case study, both checkpoints are evaluated under H0\nusing the common pass@4 protocol. In the full recursive framework, the resulting\ncheckpoint 𝜃𝑘+1 returns to harness re-evaluation and deployment, and subsequent\nresearcher interactions initiate the next cycle (Section 2.5). The same policy-learning\nformulation thus serves the fixed-harness comparison and provides the model-update\nstep of the full recursive procedure.\n\nS1.4. Concrete Researcher Inputs\nThe following excerpts reproduce the scope refinement and presentation requirements\ndiscussed in Section 4.1. They provide the concrete researcher wording underlying the\nillustrative task transformations in Figure 7.\n(a) JAK1: study design\n\n(b) ARL4C: evidence synthesis\n\nScope refinement\n\nFollow-up request\n\nFocus first on JAK1 itself: examine\nassociations with immunotherapy\noutcomes, immune cell types, and\nimmune signatures. Investigate upstream\nand downstream regulation and cell\ninteractions afterward.\n\nOrganize the manuscript and figures,\nselect key panels, provide highlights and\na one-sentence conclusion for each results\nslide, develop consistent mechanism\nschematics, and write speaker notes.\n\nFigure S1 | Researcher input for RL task construction. Scope refinements and follow-up requests provide\ntask objectives and evaluation criteria. Both prompts are translated and abridged from real interactions.\n\n26\n\n\fScienceBuddy: Recursive-in-Recursive Self-Improvement\n\nS1.5. User Interface and Researcher Interaction\nChat and task management. The Chat view combines a task sidebar, a conversational\nworkspace, and panels for execution activity and generated results (Figure S2). Researchers can create or revisit a task, choose a starter prompt, or enter a question directly.\nThe input composer accepts pasted or uploaded files and supports follow-up instructions\nwithin the same conversation. The Compute and Results tabs provide access to analysis\nactivity and resulting artifacts.\n\nFigure S2 | Chat view in ScienceBuddy. The task sidebar appears on the left, starter prompts and the\nconversation area in the center, and Compute and Results tabs on the right. The input composer supports\nquestions, file attachments, and model selection. This screenshot shows the initial task view before\nexecution.\n\n27\n\n\fScienceBuddy: Recursive-in-Recursive Self-Improvement\n\nTrajectory inspection. The Trajectory view exposes the ordered record of a task,\nincluding user messages, system events, context summaries, tool calls, and assistant\nresponses (Figure S3). A timeline separates input, model, and tool activity. Selecting\nan event opens a detail pane with Summary, Payload, and Result tabs for inspecting its\nrecorded content. Search and export controls support reviewing the record, while the\nconversation composer remains available for subsequent input.\n\nFigure S3 | Trajectory view in ScienceBuddy. The timeline and event record expose the progression of an\nanalysis, and the right-hand pane displays details of a selected event. The screenshot shows a recorded\ncompound-property query, its tool activity, subsequent dialogue, and a selected context entry.\n\n28\n\n\fScienceBuddy: Recursive-in-Recursive Self-Improvement\n\nOrganizations\n1 PhAI Labs\n2 Department of Hepatobiliary Surgery and Transplantation, Liver Cancer Institute,\n\nZhongshan Hospital, Fudan University\n3 State Key Laboratory of Genetics and Development of Complex Phenotypes\n4 Fudan University\n5 Shanghai Academy of Natural Sciences\n6 Shunwei Capital\n7 University of Oxford\n8 Stanford University\n9 Princeton University\n\n29\n\n\f</code></pre></article>\n        \n</main>\n\n<script src=\"https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/katex.min.js\"></script>\n<script src=\"https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/contrib/auto-render.min.js\"></script>\n<script>\n\nfunction initTheme() {\n  const saved = localStorage.getItem('kb-theme') || 'light';\n  document.documentElement.setAttribute('data-theme', saved);\n  updateThemeIcon(saved);\n}\nfunction toggleTheme() {\n  const cur = document.documentElement.getAttribute('data-theme') || 'light';\n  const next = cur === 'light' ? 'dark' : 'light';\n  document.documentElement.setAttribute('data-theme', next);\n  localStorage.setItem('kb-theme', next);\n  updateThemeIcon(next);\n}\nfunction updateThemeIcon(t) {\n  const btn = document.getElementById('theme-toggle-btn');\n  if (btn) btn.innerHTML = t === 'dark' ? '☀️' : '🌙';\n}\ndocument.addEventListener('DOMContentLoaded', initTheme);\n\nfunction setViewMode(m) {\n  const grid = document.getElementById('bento-grid-view');\n  const list = document.getElementById('list-table-view');\n  const bGrid = document.getElementById('view-grid-btn');\n  const bList = document.getElementById('view-list-btn');\n  if (m === 'list') {\n    if (grid) grid.style.display = 'none';\n    if (list) list.style.display = 'flex';\n    if (bGrid) bGrid.classList.remove('active');\n    if (bList) bList.classList.add('active');\n  } else {\n    if (grid) grid.style.display = 'grid';\n    if (list) list.style.display = 'none';\n    if (bGrid) bGrid.classList.add('active');\n    if (bList) bList.classList.remove('active');\n  }\n  localStorage.setItem('kb-view', m);\n}\ndocument.addEventListener('DOMContentLoaded', () => {\n  const s = localStorage.getItem('kb-view') || 'grid';\n  setViewMode(s);\n});\n\ndocument.addEventListener('DOMContentLoaded', () => {\n  document.querySelectorAll('pre').forEach(pre => {\n    const b = document.createElement('button');\n    b.className = 'copy-code-btn';\n    b.innerText = 'Copy';\n    b.onclick = () => {\n      const c = pre.querySelector('code') ? pre.querySelector('code').innerText : pre.innerText;\n      navigator.clipboard.writeText(c).then(() => {\n        b.innerText = 'Copied!';\n        setTimeout(() => { b.innerText = 'Copy'; }, 2000);\n      });\n    };\n    pre.appendChild(b);\n  });\n});\n\nwindow.addEventListener('keydown', (e) => {\n  if ((e.key === '/' || (e.metaKey && e.key === 'k')) && document.activeElement.tagName !== 'INPUT' && document.activeElement.tagName !== 'TEXTAREA') {\n    e.preventDefault();\n    const q = document.getElementById('global-search-input');\n    if (q) q.focus();\n  }\n});\n\n// Scrollspy for TOC\nwindow.addEventListener('scroll', () => {\n  const headers = document.querySelectorAll('.article-body h1, .article-body h2, .article-body h3');\n  const scrollPos = window.scrollY + 100;\n  headers.forEach(h => {\n    if (h.offsetTop <= scrollPos) {\n      const id = h.getAttribute('id');\n      if (id) {\n        document.querySelectorAll('.reading-sidebar a').forEach(a => {\n          a.classList.toggle('active', a.getAttribute('href') === '#' + id);\n        });\n      }\n    }\n  });\n});\n\ndocument.addEventListener(\"DOMContentLoaded\", function() {\n  if (window.renderMathInElement) {\n    renderMathInElement(document.body, {\n      delimiters: [\n        {left: '$$', right: '$$', display: true},\n        {left: '$', right: '$', display: false},\n      ],\n      throwOnError : false\n    });\n  }\n});\n</script>\n\n</body>\n</html>\n"