"<!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>2026-09-25\n\nRRSI: Regularized Recursive\nSelf-Improvement of Agent Harnesses\nPeng Xia1,2* , Rujun Han1 , Zifeng Wang1 , Yanfei Chen1 , Yufan Zhuang1 , Yoonho Lee3 , Chengsong Huang4 , Han\nYu1 , Zhongying CuiZhu1 , Yifei Ming1 , Huaxiu Yao2 , Burak Gokturk1 , Tomas Pfister1 and Chen-Yu Lee1\n\narXiv:2609.24972v2 [cs.LG] 23 Sep 2026\n\n1\n\nGoogle Cloud AI Research, 2\n\nUNC-Chapel Hill, 3\n\nStanford University, 4\n\nWashington University in St. Louis\n\nAn LLM agent’s capability is largely magnified by its harness, namely the prompts, control flow, tooling,\nmemory, and context management surrounding the frozen backbone model. Recent methods increasingly\nautomate this process by iteratively proposing and selecting component-wise edits of an agent harness,\npractically establishing a form of recursive self-improvement (RSI) at the agent-system level. However,\nsuch recursive evolution may overfit by memorizing the training tasks, showing large in-distribution\ngains that shrink or even vanish on out-of-distribution benchmarks. We introduce Regularized Recursive\nSelf-Improvement of Agent Harnesses (RRSI), which incorporates the principles of regularizations\ninto harness self-improvement by constraining the evolution candidate proposal and selection. The\nproposer operates with a temporally annealed budget, limiting how many edits a candidate can bundle,\nand it encourages unexplored trajectories based on evolution history. The selector is equipped with a\ncritic and a pruner: the critic screens benchmark-specific proposals, while the pruner, removes changes\nthat are too small, too expensive, or no longer useful. Together these constraints favor reusable agent\nmechanisms over benchmark-specific ones or even noises. Across eight benchmarks spanning coding,\nagentic workspace and engineering design tasks, RRSI gains up to 14.1 points on the split it evolves\nagainst and up to 4.7 points on the five out-of-distribution benchmarks, while producing a harness that\nruns on 30% fewer policy tokens than the unregularized evolution.\n\ngithub.com/google-research/rrsi\n\nregularized-rsi.com\n\n1. Introduction\nModern LLM agents are systems rather than standalone models (Lopopolo, 2026; Rajasekaran, 2026).\nA frozen backbone model is wrapped in a harness of prompts, control flow, tool interfaces, memory\nand context management. Agent harness decides whether the same model reads the right file before\nediting it, recovers from a failed command, manages efficient working context, and writes its findings\ninto the deliverables. Much recent progress in agent products came from harness engineering rather\nthan from new model weights (Karten et al., 2026a; Weng, 2026; Zhang and Khattab, 2026). However,\nthis engineering relies on manual efforts, where humans inspect failed trajectories and tweak the\nscaffold by hand, so progress is limited by how many trajectories an engineer can read.\nRecent methods automate this loop by using LLMs to optimize harness components from task\nfeedback (Chen et al., 2026; Karten et al., 2026b; Lee et al., 2026a,b; Lin et al., 2026a; Lou et al., 2026;\nNie et al., 2026; Niklaus, 2026; Zhang et al., 2026a,e). Such iterative harness evolution provides\na practical form of recursive self-improvement (RSI) (RSI-Exam Team, 2026; Team et al., 2026;\nWang et al., 2025; Zhang et al., 2026b) at the agent-system level, where feedback from the current\nsystem is used to improve the harness that shapes its subsequent behavior. However, as illustrated in\nFigure 1 (a), test-time harness evolution repeatedly proposes and selects edits using feedback from a\nfinite evolve set, creating an adaptive overfitting risk: evolve-set performance may improve without\ncorresponding gains on unseen tasks. Recent studies observe substantial gaps between evolution and\nheld-out performance, and show that apparent improvements can arise from task-specific fitting or\n* This work was done while Peng was a Student Researcher at Google Cloud AI Research.\nCorresponding author(s): pxia@cs.unc.edu, {rujunh, chenyulee}@google.com\n\n\fRRSI : Regularized Recursive Self-Improvement of Agent Harnesses\n\n\u0000\u0000\n\u0000\n\u0000\n\n\u0000\u0018\u0000\u0018\u0000\u0019\u0000\n\n\u0000'\u00008\n\u00008\u0000!\u00002\u00009\u0000(\n\u0000\u0000V\u0000\u0000\u0002\u0000;\n\n\u0000\u0011\u0000'\u0000;\u0000!\u0000f\u0000\f\u0000!\u00008\u00002\u0000'\u00009\u00009\n\n\u0000\u001b\u00002\u00008\u0000'\u0000+\u0000&lt;\u0000£\u0000!\u00008\u0000-\u0000A\u0000'\u0000&amp;\n\u0000\u0003\u0000\f\u0000\t \u0000\f\u0000!\u00008\u00002\u0000'\u00009\u00009\u0000\u001e\n\u0000\u001a\u0000\u001a\u0000\f\u0000\t\n\n\u0000l\u0000$\u0000m\u0000\u0002\u0000\u0003\u0000+\u0000'\u00002\u0000;\u0000-\u0000$\u0000\u0002\u0000&gt;\u00003\u00008\u00000\u00009\u00006\u0000!\u0000$\u0000'\n\n\u0000l\u0000&amp;\u0000m\u0000\u0002\u0000\t\u00002\u0000+\u0000-\u00002\u0000'\u0000'\u00008\u0000-\u00002\u0000+\u0000\u0002\u0000&amp;\u0000'\u00009\u0000-\u0000+\u00002\n\n\u0000\u0019\u0000\u001d\u0000\t\u0000f\u0000#\u0000'\u00002\u0000$\u0000,\u0000\u0002\u0000\u001c\u0000'\u00008\u0000-\u0000(\u0000-\u0000'\u0000&amp;\n\n\u0000\u000e\u00003\u0000#\u0000\u0005\u0000'\u00002\u0000$\u0000,\u0000T\u0000\u0002\u0000\u000b\u0000\b\u0000\u0016\u0000=\u0000!\u0000£\u0000T\n\u0000\u0003\u0000\u0016\u0000\t\u0000\u001e\u0000f\u0000\u0003\u0000+\u0000'\u00002\u0000;\u00009\n\n\u0000\n\u00008\u00003\u00002\u0000;\u0000-\u0000'\u00008\u0000f\u0000\t\u00002\u0000+\n\n\u0000¥\u0000\n\n\u0000\u0013\u0000\u0013\u0000\b\u0000\u0002\u0000,\u0000'\u0000£\u0000&amp;\u0000f\u00003\u0000&lt;\u0000;\u0000\u0002\u00009\u0000$\u00003\u00008\u0000'\n\n\u00008\u0000'\u0000£\u0000!\u0000;\u0000-\u0000=\u0000'\u0000\u0002\u0000+\u0000!\u0000-\u00002\u0000\u0002\u00003\u00002\u0000\u0002\u0000\u0013\u0000\u0013\u0000\b\u0000\u0002\u0000,\u0000'\u0000£\u0000&amp;\u0000f\u00003\u0000&lt;\u0000;\u0000\u0002\u0000l\u0000¦\u0000m\n\n\u0000l\u0000!\u0000m\u0000\u0002\u0000\t\u0000=\u00003\u0000£\u0000&lt;\u0000;\u0000-\u00003\u00002\u0000\u0002\u0000#\u0000&lt;\u0000@\u00009\u0000\u0002\u0000;\u0000,\u0000'\u0000\u0002\u0000'\u0000=\u00003\u0000£\u0000=\u0000'\u0000\u0002\u00009\u00006\u0000£\u0000-\u0000;\n\n\u0000l\u0000#\u0000m\u0000\u0002\u0000\u0006\u00003\u0000&amp;\u0000-\u00002\u0000+\n\n\u0000 \u0000+\u0000!\u0000-\u00002\u0000\u0002\u0000&amp;\u00003\u0000'\u00009\u0000\u0002\u00002\u00003\u0000;\u0000\u0002\u0000;\u00008\u0000!\u00002\u00009\u0000(\u0000'\u00008\n\u0000\n\u0000\n\u0000\n\u0000¤\n\u00008\u0000'\u0000£\u0000!\u0000;\u0000-\u0000=\u0000'\u0000\u0002\u0000+\u0000!\u0000-\u00002\u0000\u0002\u00003\u00002\u0000\u0002\u0000;\u0000,\u0000'\u0000\u0002\u0000'\u0000=\u00003\u0000£\u0000=\u0000'\u0000\u0002\u00009\u00006\u0000£\u0000-\u0000;\u0000\u0002\u0000l\u0000¦\u0000m\n\n\u0000\u0000¤\n\n\u0000¥\u0000\u0000W\u0000¥\n\n\u0000¥\u0000\n\u0000¥\u0000\n\u0000¥\u0000\n\n\u0000¥\u0000\u0000W\u0000\n\n\u0000¥\u0000\u0000W\u0000\n\n\u0000¥\u0000\n\u0000\f\u0000\n\n\u00006\u00008\u0000-\u00003\u00008 \u0000\u0018\u0000\u0018\u0000\u0019\u0000\n\n\u0000\u0000\n\n\u0000\u0000\u0000W\u0000¤\n\n\u0000\u0000\n\n\u0000\u0000\u0000W\u0000\n\n\u0000\u0000\n\n\u0000\u0000\n\n\u0000\u0000\n\n\u0000\u0000 \u0000\u0000\u0000W\u0000 \u0000\u0000\u0000W\u0000\n\n\u0000\u0000¥ \u0000\u0000\u0000W\u0000 \u0000\u0000\u0000W\u0000\n\n\u0000\u0000¥\n\n\u0000\u0000¤\n\n\u0000\u0000¤\n\n\u0000\u0000\n\u0000\f\u0000\n\n\u00006\u00008\u0000-\u00003\u00008 \u0000\u0018\u0000\u0018\u0000\u0019\u0000\n\n\u0000\f\u0000\n\n\u00006\u00008\u0000-\u00003\u00008 \u0000\u0018\u0000\u0018\u0000\u0019\u0000\n\nFigure 1 | Evolution overfits on the split it is scored on whereas RRSI generalizes the improvements.\n(a) Gains on the evolve split against gains out of distribution for the agentic workspace benchmark.\nPrior methods retain little of their evolve-set gain and several end below 𝐻0 , the initial harness. (b-d)\nOut-of-distribution held-out score for 𝐻0 , average of the four baseline methods and our RRSI on\nSWE-bench Verified, the mean of JobBench, GDPval and APEX-Agents, and Frontier-Eng.\nincreased test-time computation rather than reusable mechanisms (Ding et al., 2026; Lin et al., 2026b;\nWang et al., 2026b). Accordingly, recent works explicitly separate evolution and evaluation tasks to\nmeasure generalization (Huang et al., 2026d; Ke et al., 2026; Zhang et al., 2026d). We therefore\nstudy the generalization problem in recursive self-improvement, which is defined as evolved harness\ntransferring to unseen benchmarks with different task descriptions, tool interfaces, or verifiers.\nOur study shows that overfitting can arise through several coupled behaviors (Yang et al., 2026a;\nZhang et al., 2026d). The evolution search may encode benchmark-specific patterns, promote\ncandidates favored by the evaluation noise, or accumulate complexity that improves evolve-set scores\nwithout improving the underlying agent mechanism. These benchmark-specific fitting, noise chasing,\nand complexity accumulation all widen the evolve-to-transfer gap. Inspired by these observations, our\nsolution regularizes how recursive harness improvements use finite and noisy feedback.\nWe introduce RRSI, a framework for regularizing the RSI of agent harness that keeps the harness\nfully editable while constraining how finite evolve-set feedback guides the search. As illustrated\nin Figure 2, RRSI regularizes both sides of the evolution loop: it encourages simpler and more\nreusable edits when proposing candidates, and applies robust selection criteria to avoid retaining\nimprovements driven by benchmark-specific signals, evaluation noise, or unnecessary complexity.\nIn this way, RRSI favors edits that transfer beyond evolution set without restricting which harness\ncomponents may be updated.\nWe evaluate RRSI on eight benchmarks spanning three domains that differ in task type, tooling\nand verifier. In each domain the harness is evolved on a single suite, and is then run unchanged on\nheld-out benchmarks. As shown in Figure 1 (b–d), it gains up to 14.1 points on the evolving split and\nimproves all six held-out splits, by up to 4.7 points out of distribution, on fewer policy tokens than\nunregularized evolution spends. More importantly, these gains generalize beyond the environment\nused for evolution. RRSI retains its improvements across substantially different tasks and evaluation\nsettings, indicating that it learns broadly useful harness changes. More importantly, RRSI generalizes\nacross held-out environments, outperforming the average prior baseline by up to 22.9%.\n\n2\n\n\fRRSI : Regularized Recursive Self-Improvement of Agent Harnesses\n\nOur contributions are threefold: (1) We identify the overfitting as a key challenge in harnessbased recursive self-improvement. (2) We propose RRSI, which regularizes both proposal and\nselection during harness evolution while keeping each harness component editable. (3) Across eight\nbenchmarks in three domains, RRSI improves both transfer and efficiency, showing the effectiveness\nof our proposed approach.\n\n2. Preliminaries\nAgents and Harnesses. We consider an agent 𝐴 = ( 𝜋, 𝐻 ) built from a backbone policy 𝜋 and a harness\n𝐻 . The harness is everything around the weights (Lopopolo, 2026; Rajasekaran, 2026): the system\nand task prompts, the control flow that decides when the agent plans, acts, reflects or stops, the tool\ninterfaces and their descriptions, the memory and skill files the agent may consult, and the context\nmanagement that decides what the policy sees at each step. Given a task 𝑥 with its environment, the\nagent produces a trajectory 𝜏 ∼ 𝐴 (· | 𝑥 ) and a deliverable, which a verifier scores as 𝑟 ( 𝑥, 𝜏) ∈ [0, 1].\nThe verifier can be a unit-test suite in coding environments or a LLM-as-a-judge program in agentic\nworkspace environments. For a task set D, we measure task performance and policy-token cost as\n𝑆 ( 𝐻 ; D) = 𝔼𝑥 ∼D 𝔼𝜏∼ 𝐴 (· | 𝑥 ) [ 𝑟 ( 𝑥, 𝜏)] ,\n\n𝐶 ( 𝐻 ; D) = 𝔼𝑥 ∼D 𝔼𝜏∼ 𝐴 (· | 𝑥 ) [ 𝑐 ( 𝜏)] ,\n\n(1)\n\nwhere 𝑐 ( 𝜏) is the number of policy tokens consumed by the trajectory.\nHarness Evolution. Harness evolution treats 𝐻 as the optimization variable while keeping the\nbackbone policy fixed (Lee et al., 2026b). Most methods instantiate the same generic loop. At round\n𝑡 , the current harness 𝐻𝑡 is executed on an evolve set Devolve to obtain trajectories; these trajectories\nare summarized into feedback F𝑡 ; a proposer LLM generates candidate harnesses; the candidates are\nevaluated on the same evolve set; and the best candidate is selected as the next incumbent. Abstractly,\nH𝑡 = { 𝐻𝑡(1) , . . . , 𝐻𝑡( 𝑚𝑡 ) } ∼ 𝑃0 (· | 𝐻𝑡 , F𝑡 ) ,\n\n𝐻𝑡+1 = arg max 𝑆ˆ( 𝐻 ′ ; Devolve ) ,\n\n(2)\n\n𝐻 ′ ∈ H𝑡 ∪{ 𝐻𝑡 }\n\nwhere 𝑃0 denotes the unconstrained proposal process and 𝑆ˆ is the empirical score obtained from a\nfinite number of stochastic agent runs. With 𝑘 trials per task, we use\n𝑆ˆ( 𝐻 ) =\n\n1\n𝑘 |Devolve |\n\n∑︁\n\n𝑘\n∑︁\n\n𝑥 ∈ Devolve 𝑗=1\n\n( 𝑗)\n\n𝑟 ( 𝑥, 𝜏𝑥 ) ,\n\n𝐶ˆ( 𝐻 ) =\n\n1\n𝑘 |Devolve |\n\n∑︁\n\n𝑘\n∑︁\n\n( 𝑗)\n\n𝑐 ( 𝜏𝑥 ) .\n\n(3)\n\n𝑥 ∈ Devolve 𝑗=1\n\nUnlike ordinary evaluation, this reuse of Devolve is adaptive: the candidates proposed at round 𝑡\ndepend on measurements obtained from the same tasks in earlier rounds. Harness evolution can\ntherefore be viewed as adaptive empirical optimization over an unusually expressive search space.\n\n3. RRSI\nWe study RSI through iterative harness evolution, where feedback from the current agent system\nis repeatedly used to propose and select modifications to the harness. RRSI follows this recursive\nimprovement process and keeps the harness edit space open, but regularizes how the evolution moves\nthrough that space. The key idea is to translate regularization principles from machine learning into\nan adaptive harness search: sparse updates limit how many mechanisms can change in response\nto one round of feedback, evidence-aware credit assignment prevents the search from repeatedly\nspending its capacity on hypotheses it has already falsified, and conservative selection prevents\nleakage, evaluation noise, or unjustified resource growth from becoming permanent harness state.\n3\n\n\fRRSI : Regularized Recursive Self-Improvement of Agent Harnesses\n\nProposal-side regularization\n\nRRSI\n\ncontrols how search capacity is used\n\nA\n\nAnnealed update sparsity\n\nRegularized transition rule\n\nhigh\n\nupdate\ncapacity\nlow\n\n0\n\nrounds (t)\n\nLeakage screening\nReject benchmark-specific\nor task-specific logic.\n\nT\n\nH′ ~ Preg( · | Hₜ, feedback)\n\nEarly rounds allow broader edits; later rounds\nfavor sparse, attributable changes.\n\nE\n\nSample a regularized candidate H′\nfrom current harness and\nfeedback history.\n\nNoise-adjusted performance floor\nPrevent acceptance of gains\nthat may be explained by\nevaluation noise.\n\nEvidence-aware credit assignment\n\n✓\n\n✕\n\n✓\n\n•••\n\nUse the full history of gains and regressions,\n\nStructured exploration\ntried (Tₜ)\n\nuntried (Uₜ)\n\n⋯\n\nstall\n\n⋯\n\nSelection:\n\nF\n\nSet Hₜ₊₁ to the best admissible\ncandidate if it improves robustly;\notherwise keep Hₜ.\n\n!\n\nWhen progress stalls, redirect search toward\nunderexplored components.\n\nComplexity-aware acceptance (L1-style)\nExtra complexity must be\njustified by measurable gain.\n\nHₜ₊₁ = best admissible H′ or Hₜ\n\nnot just the latest win.\n\nC\n\nD\n\nProposal:\n\nUpdate budget decreases over time.\n\nB\n\nSelection-side regularization\ncontrols which gains may become permanent state\n\nG\n\nStructural pruning (L0-style)\nPrune components with\nno recent positive\ncontribution.\n\nFigure 2 | Overview of RRSI. RRSI regularizes the search trajectory, not restricting the potential\nharness edit space: proposal-side constraints control how search capacity is used, while selection-side\nconstraints control which measured improvements are allowed to become a permanent state.\n3.1. A Regularization View of Harness Evolution\nLet Ω ( 𝐻 ) denote the set of harnesses reachable from 𝐻 by arbitrary source edits. RRSI deliberately\nleaves Ω ( 𝐻 ) open: prompts, control flow, configuration, context management, tools, skills, memory,\nand subagents may all be modified, added, or removed. Instead of restricting this hypothesis space\ndirectly, we regularize the search trajectory through it. At each round 𝑡 , the proposer uses feedback\nfrom the finite evolve set to generate candidate edits to the current harness 𝐻𝑡 , and the selector\ndetermines which, if any, should replace the incumbent.\nThis view separates two complementary forms of regularization. On the proposal side, we constrain\nhow much adaptive capacity can be exercised in a single round and where that capacity is spent. On\nthe selection side, we constrain which empirical improvements are strong enough, efficient enough,\nand sufficiently free of leakage to survive. Our complexity control framework takes inspiration from\nthree classical regularization approaches (Goodfellow et al., 2016; Hastie et al., 2009; Louizos et al.,\n2018), and we explain the analogy below. The edit budget is the closest to an 𝐿0 -style cardinality\nconstraint as it directly limits the number of independently active edits in an update. Structural\npruning is analogous to Lasso/ 𝐿1 -style sparsification because persistently unproductive components\nare removed from the retained harness, producing a sparser structure. Complexity-aware acceptance\nis analogous to Ridge/ 𝐿2 -style shrinkage since it suppresses unchecked growth in the aggregate\nresource footprint without requiring any particular component to be eliminated. Detailed algorithm\ndescription can be found in Appendix C.\n3.2. Regularizing the Proposal Distribution\nThe proposal distribution determines how aggressively the search can respond to feedback from the\nevolve set. RRSI regularizes it in three ways: it anneals how much update capacity a single round\nmay exercise, it makes credit assignment evidence-aware over the whole run, and it structures where\nthat capacity is spent.\n\n4\n\n\fRRSI : Regularized Recursive Self-Improvement of Agent Harnesses\n\n𝐿0 -Style Annealed Update Sparsity.\n\nAn unconstrained proposer can bundle many unrelated modifications into one candidate. Such candidates have high effective capacity: they can fit more\nidiosyncrasies of the current feedback, and any measured change is difficult to attribute to a particular\nmechanism. We therefore cap the number of independently attributable edits that may be included in\none proposal. At round 𝑡 of a 𝑇 -round run, this budget is\nl\n\u0001m\n𝑏𝑡 = 𝑏min + ( 𝑏max − 𝑏min ) · 12 1 + cos( 𝜋𝑡 /𝑇 ) .\n(4)\nThe schedule decreases from 𝑏max to 𝑏min : early rounds may combine several coordinated changes to\ndiscover new mechanisms, whereas later rounds become increasingly sparse and attributable. This is\nour most direct classical analogy: if the independently attributable edits in a candidate are represented\nby binary activity indicators, the budget bounds their cardinality, i.e., an 𝐿0 -style constraint on the\nupdate. The analogy applies to update sparsity rather than to a fixed model parameter vector; the\nedit pool can change across rounds, and we do not optimize an 𝐿0 -penalized objective.\nEvidence-Aware Credit Assignment. Constraining the size of an update only helps if the search\nknows what earlier updates established. Every evaluation is another adaptive look at the same finite\nevolve set, so repeatedly testing hypotheses that earlier rounds already falsified spends search capacity\nwithout adding useful evidence (Dwork et al., 2015). RRSI therefore records, for every evaluated\ncandidate, the component it modifies, the hypothesis it tests, the source diff, the resulting score and\ncost changes, and whether the candidate was accepted. The proposer conditions on this history in\nlater rounds: rejected mechanisms remain negative evidence, while successful mechanisms retain\nexplicit credit. As later rounds allow fewer edits per candidate, it becomes easier to identify which\nchange is responsible for an observed improvement.\nStructured Exploration. The same history reveals when the proposer has collapsed onto a narrow\nedit family, for example repeatedly rewriting prompts while leaving agent structural mechanisms\nuntouched. We treat the search as stalled when its progress over the previous 𝑤 rounds remains\nwithin the empirical noise band 𝛿. During a stall, a small portion of the proposal budget is reserved\nfor components that have not yet been exercised in the run. This plays a role similar to diversity\nor entropy regularization: it redirects limited proposal capacity toward underexplored mechanisms\nwithout changing which mechanisms the harness is allowed to contain (Haarnoja et al., 2018).\n3.3. Regularizing Candidate Selection\nStandard harness evolution can promote the candidate with the largest measured score even when\nthat score reflects explicit leakage, stochastic variation, or costly growth. RRSI retains the same\nempirical objective but regularizes which candidates are allowed to become permanent state. A\ncandidate must satisfy several non-compensatory criteria before its score can justify replacing the\nincumbent.\nLeakage Screening. Before full evaluation, a critic reads each candidate diff and rejects edits that\nexplicitly encode task names, entity names, task-specific values, answers, or other logic specific to the\nevolve benchmark, as well as edits that add inert machinery. The screen targets benchmark-specific\ncontent rather than particular harness components: generic prompt or tool-description improvements\nremain valid candidates. Screening before evaluation is important because a leaking candidate never\nreceives the inflated evolve-set score that could make it attractive to subsequent rounds.\n\n5\n\n\fRRSI : Regularized Recursive Self-Improvement of Agent Harnesses\n\nStability-Aware Acceptance. Repeatedly selecting among noisy evaluations can convert stochastic\nwinners into permanent search state. Before evolution, we repeatedly evaluate the unchanged base\nharness and estimate an empirical noise band 𝛿. Let 𝑆★ denote the best evolve-set score observed so\nfar. A candidate must satisfy the noise-adjusted floor\n𝑆ˆ( 𝐻 ′ ) ≥ 𝑆★ − 𝛿.\n\n(5)\n\nThe floor prevents the search from walking downhill through a sequence of regressions that are\nindividually small enough to be mistaken for noise. More broadly, it makes selection conservative to\nfluctuations induced by repeated stochastic evaluation on the same evolve set (Dwork et al., 2015).\nRidge/ 𝐿2 -Style Complexity-Aware Acceptance. For a candidate 𝐻 ′ relative to the current harness\n𝐻𝑡 , let\n𝐶ˆ( 𝐻 ′ ) − 𝐶ˆ( 𝐻𝑡 )\nΔ𝑆 = 𝑆ˆ( 𝐻 ′ ) − 𝑆ˆ( 𝐻𝑡 ) ,\nΔ𝐶 =\n.\n(6)\n𝐶ˆ( 𝐻𝑡 )\nFor a candidate whose gain exceeds the noise band, Δ𝑆 &gt; 𝛿, we require\nΔ𝐶 ≤ 𝛽0 + 𝛽1 Δ𝑆.\n\n(7)\n\nHere, 𝛽0 sets the cost increase tolerated for a negligible score gain, while 𝛽1 controls how much\nadditional cost is allowed as the measured improvement increases. We select these values on the\nevolve set and keep them fixed for all transfer evaluations. Thus additional inference cost must\nbe justified by measurable performance improvement. This process is analogous to Ridge/ 𝐿2 -style\nshrinkage: it discourages unconstrained growth in the overall magnitude of the solution, which is\nrepresented by the harness’s aggregate resource footprint in our approach. As a shrinkage method, it\ndoes not require any particular component to be removed for sparsity. We use policy-token cost as a\ncommon measurable proxy for this footprint. This is an analogy to Ridge’s non-sparsifying complexity\ncontrol. The detailed rule for candidates whose measured change falls within the noise band is\ndeferred to the Appendix C.3.\nLasso/ 𝐿1 -Style Structural Pruning. The annealed budget in Equation (4) sparsifies each update;\npruning sparsifies the retained harness. RRSI tracks whether recently exercised components have\nproduced a strictly positive measured gain over a fixed pruning window. Components that remain\nunproductive are reported to the proposer as deletion targets in subsequent rounds. This process\nimitates the Lasso/ 𝐿1 -style sparsification: mechanisms with insufficient evidence of utility are removed\nentirely, so the retained harness becomes structurally sparser rather than merely cheaper in aggregate.\nThe correspondence is again qualitative, i.e., Lasso reduces the number of parameters through 𝐿1\nregularization, whereas our pruning rule deletes discrete harness components based on their observed\ncontribution. The shared intuition is selective sparsification: a mechanism must continue to earn its\nplace rather than persist simply because score-only evolution has no incentive to remove it (Hastie\net al., 2009).\n\n4. Experiments\nWe evaluate RRSI on eight benchmarks spanning three domains: Terminal-Bench 2.1 and SWE-bench\nVerified for coding, Harvey LAB, JobBench, GDPval and APEX-Agents for agentic workspace tasks,\nand EngDesign and Frontier-Eng for engineering design. Our experiments address the following\nquestions: 1) How does RRSI compare to state-of-the-art harness evolution methods? 2) Do the gains\n6\n\n\fRRSI : Regularized Recursive Self-Improvement of Agent Harnesses\n\ntransfer to in-distribution held-out tasks and to out-of-distribution benchmarks that the search never\nsaw? 3) What is the contribution of different components? 4) How does the harness evolve over a\nrun, and what does it cost in tokens?\n4.1. Experimental Setup\nEnvironments. We evolve harnesses in three types of tasks, i.e., coding tasks, agentic workspace\ntasks and engineering design tasks. For coding, Terminal-Bench 2.1 (Merrill et al., 2026) is a suite of\n89 containerized terminal tasks in which the agent drives a real shell and is verified by the task’s own\nunit tests. For agentic workspace tasks, Harvey LAB (Harvey AI, 2026) is a legal-work benchmark\nspanning 25 practice areas. It is split into a fixed evolve set of 120 tasks and a pristine in-distribution\nheld-out set of 40 tasks. For engineering design, EngDesign (Guo et al., 2025) contributes 61 design\ntasks, each graded by its own frozen simulator rather than by a judge model. To test its generalization\ncapability, we additionally evaluate on out-of-distribution (OOD) held-out benchmarks: SWE-bench\nVerified (Jimenez et al., 2024) for repository-level bug fixing on the coding task, JobBench (Li et al.,\n2026), GDPval (Patwardhan et al., 2026) and APEX-Agents (Vidgen et al., 2026) on the agentic\nworkspace task, and Frontier-Eng (Chi et al., 2026) on the engineering design task.\nBaselines. We compare against the unevolved base harness 𝐻0 that every run starts from, and against\nfour recent harness evolution methods, Meta-Harness (Lee et al., 2026b), AHE (Lin et al., 2026a),\nTTHE (Nie et al., 2026) and HarnessX (Chen et al., 2026). All the baselines start from the same 𝐻0\nand share the frozen policy, the evolve set and the candidate budget. The detailed descriptions of\nbaselines are given in Appendix B.\nImplementation Details. The policy is frozen throughout Claude Opus 4.8 (Anthropic, 2026a) across\nall three domains. The proposer, the analyst that writes the cross-round failure feedback and the\nleakage critic are all Claude Opus 4.8. The base harness we used are Terminus-2 (for coding) (Merrill\net al., 2026), a ReAct loop (Yao et al., 2022) over an MCP tool gateway, a dynamic toolbelt (Vidgen\net al., 2026), and ReSum-style context management (for Harvey LAB and EngDesign). Further\nhyperparameters are given in Appendix D.1.\n4.2. Main Results\nRRSI improves every split outside the evolve set, in all three domains. Figure 3 reports every\nnumber against the unevolved base harness 𝐻0 measured in the same window, so no gain can be\nattributed to drift in the evaluation infrastructure. The evolve-set gains are 6.0 points on TerminalBench 2.1, 4.9 on EngDesign and 1.1 on Harvey LAB. What matters is what remains once the harness\nleaves those splits. SWE-bench Verified gains 1.8 points although repository-level bug fixing was never\nscored. The in-distribution held-out split of Harvey LAB gains 2.3, and the three out-of-distribution\nagentic benchmarks gain between 3.5 and 4.7 points, 7.2% to 13.1%. Frontier-Eng gains 4.3 Medal\npoints, a 24.3% relative improvement. No held-out split regresses anywhere, which is the failure a\nmemorizing harness produces.\nRRSI consistently outperforms baselines on all held-out datasets. Table 1 runs the four prior\nmethods from the same 𝐻0 on the same evolve split under the same candidate budget. Every one of\nthem works well on evolve set. The performance on in-distribution held-out split is quite similar. The\nseparation appears out of distribution, and there the ranking inverts. Meta-Harness, the strongest\nbaseline on the evolve split, adds 0.9 points to the out-of-distribution average; HarnessX lands on the\nbase one; AHE and TTHE finish below the harness they started from, TTHE by 1.7 points. RRSI posts\nthe smallest evolve-set gain of any evolved harness and the only out-of-distribution average that clears\n𝐻0 by more than a point, 43.6 against 39.7, which is the trade the regularizers are designed to make.\n7\n\n\fRRSI : Regularized Recursive Self-Improvement of Agent Harnesses\n\n\u0000\u001a\u0000'\u00008\u00001\u0000-\u00002\u0000!\u0000£\u0000f\n\u0000\u0005\u0000'\u00002\u0000$\u0000,\u0000\u0002\u0000\u0000W\u0000\n\u0000\t\u0000=\u00003\u0000¡\u0000=\u0000'\n\n\u0000\u0019\u0000\u001d\u0000\t\u0000f\u0000#\u0000'\u00002\u0000$\u0000,\n\u0000\u001c\u0000'\u00008\u0000-\u0000(\u0000-\u0000'\u0000&amp;\n\u0000\f\u0000!\u00008\u0000=\u0000'\u0000@\u0000\u0002\u0000\u0010\u0000\u0003\u0000\u0005 \u0000\f\u0000!\u00008\u0000=\u0000'\u0000@\u0000\u0002\u0000\u0010\u0000\u0003\u0000\u0005\n\u0000\u0013\u0000\u0013\u0000\b\n\n\u0000\u0000¤\u0000W\u0000\n\n\u0000¥\u0000\u0000W\u0000\n\n\u0000\u0000\u0000W\u0000¥\n\n\u0000¥\u0000\u0000W\u0000\n\n\u0000¥\u0000\u0000W\u0000¥\n\n\u0000\t\u0000=\u00003\u0000¡\u0000=\u0000'\n\n\u0000\n\u0000\b\u0000\u0002\u0000,\u0000'\u0000¡\u0000&amp;\u0000d\u00003\u0000&lt;\u0000;\n\n\u0000\u0000\u0000W\u0000\n\n\u0000\u0000\u0000W\u0000\n\n\u0000¥\u0000\u0000W\u0000 \u0000\u0000\u0000W\u0000\n\n\u0000¥\u0000¤\u0000W\u0000\n\n\u0000¥\u0000\u0000W\u0000\n\n\u0000\u0000\u0000W\u0000\n\n\u0000\u000e\u00003\u0000#\u0000\u0005\u0000'\u00002\u0000$\u0000,\n\n\u0000\u000b\u0000\b\u0000\u0016\u0000=\u0000!\u0000£\n\n\u0000\u0013\u0000\u0013\u0000\b\n\n\u0000\u0013\u0000\u0013\u0000\b\n\n\u0000\u0000\u0000W\u0000\n\n\u0000\u0003\u0000\u0016\u0000\t\u0000\u001e\u0000f\n\u0000\u0003\u0000+\u0000'\u00002\u0000;\u00009\n\u0000\u0013\u0000\u0013\u0000\b\n\n\u0000\u0000\u0000W\u0000\n\n\u0000\u0000\u0000W\u0000\n\n\u0000\u0000¥\u0000W\u0000¥\n\n\u0000\t\u0000=\u00003\u0000¡\u0000=\u0000'\n\n\u0000\u0000\u0000W\u0000\n\n\u0000\u0000\u0000W\u0000\n\n\u0000\u0000¤\u0000W\u0000\n\n\u0000\t\u00002\u0000+\u0000\b\u0000'\u00009\u0000-\u0000+\u00002\n\n\u0000\u0000\u0000W\u0000\n\n\u0000\u0000\u0000W\u0000\n\n\u0000\u0000\u0000W\u0000\n\n\u0000\n\u00008\u00003\u00002\u0000;\u0000-\u0000'\u00008\u0000f\n\u0000\t\u00002\u0000+\n\u0000\u0013\u0000\u0013\u0000\b\n\n\u0000\u0000\u0000W\u0000\n\n\u0000\u0000\u0000W\u0000\n\n\u0000\u0000\u0000W\u0000\n\n\u0000\u0000\u0000W\u0000\n\n\u0000\u0000\u0000W\u0000\n\n\u0000\u0006\u00003\u0000&amp;\u0000-\u00002\u0000+\n\n\u0000\u0003\u0000+\u0000'\u00002\u0000;\u0000-\u0000$\u0000\u0002\u0000&gt;\u00003\u00008\u00000\u00009\u00006\u0000!\u0000$\u0000'\n\n\u0000\f\u0000\u0000T\u0000\u0002\u0000&lt;\u00002\u0000'\u0000=\u00003\u0000£\u0000=\u0000'\u0000&amp;\u0000\u0002\u0000,\u0000!\u00008\u00002\u0000'\u00009\u00009\n\n\u0000\u0018\u0000\u0018\u0000\u0019\u0000\n\u0000T\u0000\u0002\u00009\u00006\u0000£\u0000-\u0000;\u0000\u0002\u0000-\u0000;\u0000\u0002\u0000-\u00009\u0000\u0002\u00009\u0000$\u00003\u00008\u0000'\u0000&amp;\u0000\u0002\u00003\u00002\n\n\u0000\t\u00002\u0000+\u0000-\u00002\u0000'\u0000'\u00008\u0000-\u00002\u0000+\u0000\u0002\u0000&amp;\u0000'\u00009\u0000-\u0000+\u00002\n\n\u0000\u0018\u0000\u0018\u0000\u0019\u0000\n\u0000T\u0000\u0002\u00009\u00006\u0000£\u0000-\u0000;\u0000\u0002\u0000-\u0000;\u0000\u0002\u00002\u0000'\u0000=\u0000'\u00008\u0000\u0002\u00009\u0000'\u0000'\u00009\n\nFigure 3 | Main results in all three domains.\nIn-Distribution\nMethod\n\nOut-of-Distribution\n\nHarvey LAB (Evolve)\n\nHarvey LAB (ID Held-out)\n\nJobBench\n\nGDPval\n\nAPEX-Agents\n\n𝐻0 (no evolution)\n\n89.4\n\n86.9\n\n36.0\n\n48.8\n\n34.2\n\nMeta-Harness (Lee et al., 2026b)\nAHE (Lin et al., 2026a)\nTTHE (Nie et al., 2026)\nHarnessX (Chen et al., 2026)\n\n93.0\n90.7\n91.1\n91.8\n\n89.2\n88.7\n88.5\n89.1\n\n37.1\n37.2\n35.2\n36.3\n\n49.1\n47.2\n47.0\n48.5\n\n35.7\n33.1\n31.7\n34.3\n\nRRSI (ours)\n\n90.5\n\n89.2\n\n40.7\n\n52.3\n\n37.9\n\nTable 1 | Comparison with prior harness evolution methods on agentic workspace tasks.\nThe transfer is not an artifact of judge-mediated grading or of a shared task format. Harvey LAB,\nJobBench and GDPval are all scored by a judging model, so a harness could in principle raise its score\nby writing the way a judge rewards rather than by producing better work. The engineering design\ninstance closes that route: each EngDesign and Frontier-Eng task is graded by its own simulation or\ntestbench, the grading is deterministic, and a design either meets the stated constraints or does not.\nThe gains survive there unchanged, and deterministic grading also removes judge variance from the\nmeasurement.\n4.3. Analysis\nThe main results establish that the evolved harnesses transfer; this section asks what produced that\nproperty, whether it depends on the backbone the search was run with, and what it costs. Unless\nstated otherwise, every run below uses the agentic workspace instance and shares the base harness,\npolicy, evolve split, round count and candidate budget of the main experiment, so that arms differ\nonly in the factor under study.\nAblation Analysis. We ablate the two groups of regularizers, (i) the proposal-side constraints and\n(ii) the acceptance-side constraints. As shown in Table 2, removing either group raises the evolve-set\nscore and lowers transfer. Without the acceptance constraints the evolve-set score rises from 90.5 to\n91.5 while the out-of-distribution average falls from 43.6 to 41.0 and token cost rises by half, showing\nthat an unconstrained selection rule spends most of its accepted edits on noise and on context rather\n\n8\n\n\fRRSI : Regularized Recursive Self-Improvement of Agent Harnesses\n\nVariant\n\nHarvey LAB (Evolve)\n\nHarvey LAB (ID Held-out)\n\nOOD Avg.\n\nTokens/trial (m) ↓\n\n𝐻0 (no evolution)\nUnregularized evolution\n\n89.4\n92.8\n\n86.9\n88.9\n\n39.7\n40.3\n\n1.56\n3.80\n\nw/o proposal regularizers\nw/o acceptance regularizers\nRRSI\n\n90.7\n91.5\n90.5\n\n88.8\n88.7\n89.2\n\n41.9\n41.0\n43.6\n\n2.69\n3.59\n2.42\n\nTable 2 | Ablation study of the regularizers on agentic workspace tasks. OOD Avg. is the mean over\nJobBench, GDPval and APEX-Agents.\nPolicy\n\nBenchmark\n\n𝐻0\n\nRRSI\n\nΔ\n\nClaude Opus 4.8\n\nTerminal-Bench 2.1 (Evolve)\nSWE-bench Verified (OOD)\n\n74.2\n82.0\n\n80.2\n83.8\n\n+6.0\n+1.8\n\nGemini 3.5 Flash\n\nTerminal-Bench 2.1 (Evolve)\nSWE-bench Verified (OOD)\n\n64.6\n76.8\n\n78.7\n79.0\n\n+14.1\n+2.2\n\nTable 3 | Policy robustness in the coding domain. Harness evolution is run independently with each\nfrozen policy on Terminal-Bench, and the harness is evaluated unchanged on SWE-bench Verified.\nthan on mechanism. Removing the proposal constraints costs only 0.2 points on the evolve split but\n1.7 out of distribution, suggesting that steering where the search looks matters even when nothing is\nrejected. The most significant degradation comes from removing both, which lifts the evolve-set score\nto 92.8, the highest of any arm, and leaves the out-of-distribution average at 40.3, within a point of\nthe unevolved harness, at 3.80 million tokens per trial against our 2.42.\nRRSI is not tied to one policy family. To test whether the gains from regularized harness evolution\ndepend on the policy used during search, we independently run the coding evolution with two policy\nmodels from different families: Claude Opus 4.8 and Gemini 3.5 Flash (Google, 2026b). For each\npolicy, we start from the same coding harness, evolve only on Terminal-Bench 2.1, and evaluate the\nresulting harness on both the evolve benchmark and SWE-bench Verified. As shown in Table 3, under\nGemini 3.5 Flash, RRSI improves Terminal-Bench 2.1 from 64.6 to 78.7 and transfers a 2.2-point\ngain to SWE-bench Verified. Under Claude Opus 4.8 the pattern is the same: Terminal-Bench 2.1\nrises from 74.2 to 80.2 and SWE-bench Verified from 82.0 to 83.8, although the stronger policy starts\ncloser to the ceiling of both suites and leaves less room to gain. In both cases the harness improves\nthe unseen benchmark without ever being scored on it, which suggests that the benefits of RRSI are\nnot specific to a particular backbone.\nThe evolved harness still helps under a backbone the search never used. A harness is a program,\nnot a set of weights, so a mechanism that helps only the policy it was searched against is an artifact\nof that policy rather than a reusable one. We take the final harness of the coding run, evolved with\nGemini 3.5 Flash, and evaluate it unchanged with Gemini 3.1 Flash Lite, a smaller model that never\ntook part in the search. As shown in Table 4, Terminal-Bench 2.1 accuracy rises from 11.2 to 14.6,\na 30.4% relative gain against a base score less than a fifth of the search policy’s. The mechanisms\ntherefore do not depend on the capability level they were searched at, although the absolute gain is\nsmaller because a weaker backbone leaves fewer tasks within reach of any harness.\nRRSI produces the lightest harness of any evolved harness. Two regularizers act directly on cost:\nthe 𝐿1 -style budget refuses growth that is not paid for when it is proposed, and the pruning rule\nremoves growth that has stopped being paid for since. No prior method carries either constraint,\nand Figure 4 (a) shows the consequence: all four sit in the region RRSI dominates, spending more\n\n9\n\n\fRRSI : Regularized Recursive Self-Improvement of Agent Harnesses\n\nEvaluation policy\n\n𝐻0\n\nRRSI\n\nΔ\n\nGemini 3.5 Flash (search policy)\nGemini 3.1 Flash Lite (unseen)\n\n64.6\n11.2\n\n78.7\n14.6\n\n+14.1\n+3.4\n\nTable 4 | Cross-model transfer on Terminal-Bench 2.1. The harness evolved with Gemini 3.5 Flash as\nthe frozen policy is run unchanged with a weaker backbone that never took part in the search.\n\n\u0000l\u0000!\u0000m\u0000\u0002\u0000\u0006\u00003\u00009\u0000;\u0000\u0002\u0000!\u0000+\u0000!\u0000-\u00002\u00009\u0000;\u0000\u0002\u0000;\u00008\u0000!\u00002\u00009\u0000(\u0000'\u00008\n\u0000\u0000\n\u0000\u0000\n\u0000\u0000\n\n\u0000\u0011\u0000'\u0000;\u0000!\u0000f\u0000\f\u0000!\u00008\u00002\u0000'\u00009\u00009\n\n\u0000\u0000\n\n\u0000\f\u0000\n\n\u0000\u0000\n\n\u0000\f\u0000!\u00008\u00002\u0000'\u00009\u00009\u0000\u001e\n\n\u0000\u0003\u0000\f\u0000\t\n\n\u0000\u001a\u0000\u001a\u0000\f\u0000\t\n\n\u0000\u0000¥\n\n\u0000$\u00003\u00009\u0000;\u0000£\u0000-\u0000'\u00008\u0000\u0002\u0000!\u00002\u0000&amp;\u0000\u0002\u0000&gt;\u00003\u00008\u00009\u0000'\u0000\u0002\u00003\u0000&lt;\u0000;\u0000\u0002\u00003\u0000(\u0000\u0002\u0000&amp;\u0000-\u00009\u0000;\u00008\u0000-\u0000#\u0000&lt;\u0000;\u0000-\u00003\u00002\n\n\u0000\u0000W\u0000\n\n\u0000\u0000\u0000W\u0000¤\n\n\u0000\u0003\u0000\f\u0000\t\n\n\u0000\u0018\u0000\u0018\u0000\u0019\u0000\n\n\u0000\u0000\n\n\u0000\u0013\u0000\u0013\u0000\b\u0000\u0002\u0000\u0003\u0000=\u0000+\u0000W\n\n\u0000l\u0000#\u0000m\u0000\u0002\u0000\u001a\u00008\u0000!\u0000/\u0000'\u0000$\u0000;\u00003\u00008\u0000@\u0000\u0002\u0000£\u0000'\u00002\u0000+\u0000;\u0000,\n\n\u0000\u0000W\u0000\n\u0000\u0000W\u0000\n\u0000\u0000W\u0000\n\u0000\u0000W\u0000\n\u0000\u0000W\u0000\n\u00006\u00003\u0000£\u0000-\u0000$\u0000@\u0000\u0002\u0000;\u00003\u00000\u0000'\u00002\u00009\u0000\u0002\u00006\u0000'\u00008\u0000\u0002\u0000;\u00008\u0000-\u0000!\u0000£\u0000\u0002\u0000l\u00001\u0000-\u0000£\u0000£\u0000-\u00003\u00002\u00009\u0000m\n\n\u0000\f\u0000!\u00008\u00002\u0000'\u00009\u00009\u0000\u001e\n\n\u0000\u0000\u0000W\u0000\n\n\u0000\u0011\u0000'\u0000;\u0000!\u0000f\u0000\f\u0000!\u00008\u00002\u0000'\u00009\u00009\n\n\u0000\u0000¥\u0000W\u0000\n\n\u0000\u001a\u0000\u001a\u0000\f\u0000\t\n\n\u0000\u0000\u0000W\u0000\n\n\u0000\u0018\u0000\u0018\u0000\u0019\u0000\n\n\u0000\u0000¤\u0000W\u0000\n\u0000\u0000\u0000W\u0000\n\n\u0000\f\u0000\n\n\u0000\n\n\u0000\u0000\n\n\u0000\u0000\n\u0000\u0000\n\u00009\u0000;\u0000'\u00006\u00009\u0000\u0002\u00006\u0000'\u00008\u0000\u0002\u0000;\u00008\u0000-\u0000!\u0000£\n\n\u0000\u0000\n\nFigure 4 | Cost of the final harness of each arm, measured on the evolve split of the agentic workspace\ninstance. OOD Avg. is the mean over JobBench, GDPval and APEX-Agents. The shaded region in (a) is\neverything RRSI dominates: more policy tokens per trial for a lower out-of-distribution average.\npolicy tokens per trial for a lower out-of-distribution average. AHE is the extreme case, at 3.82 million\ntokens per trial, 58% more than ours, for 4.4 points less out of distribution. The ordering carries over\nto trajectory length in Figure 4 (b), where RRSI runs 26.3 steps per trial against 27.3 to 34.6 for\nthe prior methods. No evolved harness is as cheap as 𝐻0 , at 1.56 million tokens and 21.2 steps, so\nevolution does buy part of its gain with test-time compute; the budget decides how much.\n\n5. Related Work\nAgent harnesses. The harness, and not only the backbone model, determines what an agent can\naccomplish: engineering reports from frontier labs describe how prompt structure, tool interfaces, context compaction and recovery logic decide whether a long-running agent finishes a task at all (Lopopolo,\n2026; Rajasekaran, 2026), and recent analyses argue that harnesses compose and generalize in their\nown right (Wang et al., 2026a; Weng, 2026; Zhang and Khattab, 2026). A well-designed harness\ncan even substitute for scale, recovering much of a larger backbone’s capability at a fraction of the\ncost (Yang et al., 2026a). This engineering is overwhelmingly manual, and because the best harness\nis tied to a specific backbone, its cost is paid again with every model release (Huang et al., 2026b).\nHarness evolution. The closest line of work automates that loop: an LLM proposer rewrites the\nharness and edits are kept if they raise a benchmark score (Chen et al., 2026; Karten et al., 2026b; Lee\net al., 2026a,b; Lin et al., 2026a; Liu et al., 2026b; Nie et al., 2026; Zhang et al., 2026a), or a single\ncomponent is evolved, such as skills (Xia et al., 2026a; Yang et al., 2026b), memory (Liu et al., 2026a;\nOuyang et al., 2026; Tang et al., 2025; Wu et al., 2026) or a preference signal over rollouts (Pan\net al., 2026). This inherits both the mechanisms and the risks of self-improving agents that search\n\n10\n\n\fRRSI : Regularized Recursive Self-Improvement of Agent Harnesses\n\nover their own code under an empirical fitness signal (Huang et al., 2026a,c; Wang et al., 2025; Xia\net al., 2026b,c; Zhang et al., 2026b,c). Throughout, the search is driven by the score on the suite it\noptimizes against, with no term for generalization, and the cost is not hypothetical: reported gains\noften do not survive a change of suite (Huang et al., 2026d; Wang et al., 2026b), and delta attribution\nseparates edits that install a reusable mechanism from those that merely fit the evolution tasks (Ding\net al., 2026). Concurrent work also targets generalization directly, either as an explicit objective of\nthe search (Zhang et al., 2026d) or by replacing greedy selection with a diversity-preserving archive\nover candidate harnesses (Luo et al., 2026). Our contribution is orthogonal to what these methods\nedit. We keep the same open edit space and instead regularize the search dynamics: credit assigned\nover the full evolution history, task-specific logic filtered before scoring, and acceptance against a\nnoise-adjusted baseline, so what survives is a mechanism rather than a fit to the evolution suite.\n\n6. Conclusion\nWe study iterative harness evolution as a practical form of recursive self-improvement at the agentsystem level, and show that this recursive process itself requires regularization. Because a finite\nevolve set is reused adaptively across rounds, apparent self-improvement can reflect benchmarkspecific fitting, evaluation noise, or unnecessary complexity rather than transferable progress. RRSI\naddresses this problem by regularizing both proposal and selection while leaving the harness edit\nspace open. Across coding, agentic workspace, and engineering design tasks, the resulting harnesses\nimprove held-out and cross-benchmark performance while using less inference cost than unregularized\nevolution. These results suggest that making agent systems increasingly capable through recursive\nself-improvement requires controlling not only what can change, but also how repeated feedback is\nconverted into persistent changes.\n\nLimitations\nOur study focuses on harness-level recursive self-improvement with frozen backbone models, and\ntherefore does not address settings where model weights are updated during evolution. In addition,\nRRSI still relies on a finite evolve set and several regularization hyperparameters, so its effectiveness\nmay depend on the quality of the feedback signal and the chosen search budget. Finally, although\nwe evaluate transfer across multiple domains, benchmarks, and policy models, broader validation is\nneeded to determine how well the method generalizes to substantially different agent architectures,\ntool ecosystems, and longer-running self-improvement processes.\n\nReferences\nAnthropic. Introducing claude opus 4.8, 2026a. URL https://www.anthropic.com/news/\nclaude-opus-4-8.\nAnthropic. Introducing claude sonnet 4.6, 2026b. URL https://www.anthropic.com/news/\nclaude-sonnet-4-6.\nT. Chen, S. Lu, K. Zhao, W. Meng, H. Teng, T. Li, C. Li, X. Liu, J. Liang, Z. Zhang, et al. Harnessx:\nA composable, adaptive, and evolvable agent harness foundry. arXiv preprint arXiv:2606.14249,\n2026.\nY. Chi, D. Hong, D. Jiang, T. Luo, K. Yang, B. Zhang, Z. Cao, X. Fan, B. He, H. Hao, et al. Frontier-eng:\nBenchmarking self-evolving agents on real-world engineering tasks with generative optimization.\narXiv preprint arXiv:2604.12290, 2026.\n11\n\n\fRRSI : Regularized Recursive Self-Improvement of Agent Harnesses\n\nW. Ding, Q. Lu, C. Yu, S. Li, S. Jin, X. Liu, and G. Durrett. What evolves when we talk about harness\nevolution? wenwen-d.github.io, August 2026. URL https://wenwen-d.github.io/blog/\nharness-delta-attribution/.\nC. Dwork, V. Feldman, M. Hardt, T. Pitassi, O. Reingold, and A. Roth. Generalization in adaptive data\nanalysis and holdout reuse. Advances in neural information processing systems, 28, 2015.\nI. Goodfellow, Y. Bengio, A. Courville, and Y. Bengio. Deep learning, volume 1. MIT press Cambridge,\n2016.\nGoogle. Gemini 3.1 pro: Best for complex tasks and bringing creative concepts to life, 2026a.\nhttps://deepmind.google/models/gemini/pro/.\nGoogle.\n\nGemini 3.5: frontier intelligence with action, 2026b. https://blog.google/\ninnovation-and-ai/models-and-research/gemini-models/gemini-3-5/.\n\nX. Guo, Y. Li, X. Kong, Y. Jiang, X. Zhao, Z. Gong, Y. Zhang, D. Li, T. Sang, B. Zhu, et al. Toward\nengineering agi: Benchmarking the engineering design capabilities of llms. Advances in Neural\nInformation Processing Systems, 2025.\nT. Haarnoja, A. Zhou, P. Abbeel, and S. Levine. Soft actor-critic: Off-policy maximum entropy deep\nreinforcement learning with a stochastic actor. In International conference on machine learning,\npages 1861–1870. Pmlr, 2018.\nHarvey AI.\n\nHarvey lab: The legal agent benchmark, 2026. URL https://github.com/\nharveyai/harvey-labs/tree/v1.0. Announcement: https://www.harvey.ai/blog/\nintroducing-harveys-legal-agent-benchmark.\n\nT. Hastie, R. Tibshirani, J. H. Friedman, and J. H. Friedman. The elements of statistical learning: data\nmining, inference, and prediction, volume 2. Springer, 2009.\nC. Huang, H. Liu, T. Zheng, R. Dai, L. Huang, J. Li, Z. Li, Z. Wei, Y. Meng, and J. Huang. G-zero:\nSelf-play for open-ended generation from zero data. arXiv preprint arXiv:2605.09959, 2026a.\nC. Huang, Z. Wang, R. Han, J. Yan, Y. Chen, Z. CuiZhu, K. Jiang, P. Xia, H. Yu, Y. Zhuang, et al.\nEnvharness: Awakening static worlds for agent learning. arXiv preprint arXiv:2608.19880, 2026b.\nC. Huang, W. Yu, X. Wang, H. Zhang, Z. Li, R. Li, J. Huang, H. Mi, and D. Yu. R-zero: Self-evolving\nreasoning llm from zero data. In International Conference on Learning Representations, volume\n2026, pages 130770–130790, 2026c.\nL. Huang, C. Yang, H. Zhou, H. Song, Z. Chen, R. Le, Y. Song, W. X. Zhao, and T. Zhang. Evo-bench:\nCan language models improve agent harness? arXiv preprint arXiv:2608.09096, 2026d.\nC. E. Jimenez, J. Yang, A. Wettig, S. Yao, K. Pei, O. Press, and K. Narasimhan. Swe-bench: Can language\nmodels resolve real-world github issues? In International Conference on Learning Representations,\nvolume 2024, pages 54107–54157, 2024.\nS. Karten, A. L. Zhang, K. Thomas, S. Müller, and P. I. Team. Prime agent: A self-improving rlm\nharness. Prime Intellect Blog, 2026a.\nS. Karten, J. Zhang, T. Upaa Jr, R. Feng, W. Li, C. Shi, C. Jin, and K. Vodrahalli. Continual harness:\nOnline adaptation for self-improving foundation agents. arXiv preprint arXiv:2605.09998, 2026b.\n\n12\n\n\fRRSI : Regularized Recursive Self-Improvement of Agent Harnesses\n\nZ. Ke, V. Patil, H. Shi, Y. Li, Y. Liu, S. Shekkizhar, A. Koul, J. Wang, X. P. Nguyen, S. Yavuz, et al. Evoharnessbench: Can your agents keep pace with an evolving harness? arXiv preprint arXiv:2609.04280,\n2026.\nH. Lee, J. Xu, J. Seely, D. Lee, M. Zaharia, and Y. Tang. Recursive harness self-improvement. arXiv\npreprint arXiv:2607.15524, 2026a.\nY. Lee, R. Nair, Q. Zhang, K. Lee, O. Khattab, and C. Finn. Meta-harness: End-to-end optimization of\nmodel harnesses. The Third Conference on Language Modeling, 2026b.\nY. Li, Y. Feng, Z. Xu, Z. Ma, K. Zheng, F. Jiang, X. Sun, R. Shao, Z. Chen, Y. Huang, et al. Jobbench:\nAligning agent work with human will. arXiv preprint arXiv:2605.26329, 2026.\nJ. Lin, S. Liu, C. Pan, L. Lin, S. Dou, Z. Xi, X. Huang, H. Yan, Z. Han, T. Gui, et al. Agentic harness\nengineering: Observability-driven automatic evolution of coding-agent harnesses. arXiv preprint\narXiv:2604.25850, 2026a.\nM. Lin, J. Wu, Z. Wang, Z. Shi, Y. Sang, B. He, Z. Liu, T. Wei, Z. Wu, Z. Zhang, et al. Harness updating\nis not harness benefit: Disentangling evolution capabilities in self-evolving llm agents. arXiv preprint\narXiv:2605.30621, 2026b.\nJ. Liu, X. Ye, P. Xia, Z. Zheng, C. Xie, M. Ding, and H. Yao. Evolvemem: Self-evolving memory\narchitecture via autoresearch for llm agents. arXiv preprint arXiv:2605.13941, 2026a.\nZ. Liu, Z. Shi, Y. Sang, B. He, M. Lin, T. Wei, D. Wang, B. Dumoulin, W. Jin, and H. Lu. Adaptive\nauto-harness: Sustained self-improvement for agentic system deployment on open-ended task\nstreams. arXiv preprint arXiv:2606.01770, 2026b.\nR. Lopopolo. Harness engineering: leveraging codex in an agent-first world, 2026. https://openai.\ncom/index/harness-engineering/.\nX. Lou, M. Lázaro-Gredilla, A. Dedieu, C. Wendelken, W. Lehrach, and K. P. Murphy. Autoharness:\nimproving llm agents by automatically synthesizing a code harness. arXiv preprint arXiv:2603.03329,\n2026.\nC. Louizos, M. Welling, and D. P. Kingma. Learning sparse neural networks through 𝑙_0 regularization.\nIn International Conference on Learning Representations, 2018.\nX. Luo, F. Wang, C. Hu, D. Xue, and Y. Deng. Self-evolving agent harnesses via gated semantic\nquality-diversity. arXiv preprint arXiv:2607.13683, 2026.\nM. Merrill, A. Shaw, N. Carlini, B. Li, H. Raj, I. Bercovich, L. Shi, J. Shin, T. Walshe, E. K. Buchanan,\net al. Terminal-bench: Benchmarking agents on hard, realistic tasks in command line interfaces. In\nInternational Conference on Learning Representations, volume 2026, pages 40903–40986, 2026.\nJ. Nie, Y. Zhang, J. Song, Q. Cai, D. Yu, Y. Guo, X. Tian, and B. Han. Tthe: Test-time harness evolution.\narXiv preprint arXiv:2607.08124, 2026.\nJ. Niklaus. Don’t train the model, evolve the harness, 2026. URL https://huggingface.co/\nspaces/joelniklaus/harness-optimization.\nS. Ouyang, J. Yan, I. Hsu, Y. Chen, K. Jiang, Z. Wang, R. Han, L. Le, S. Daruki, X. Tang, et al.\nReasoningbank: Scaling agent self-evolving with reasoning memory. In International Conference on\nLearning Representations, volume 2026, pages 94327–94354, 2026.\n\n13\n\n\fRRSI : Regularized Recursive Self-Improvement of Agent Harnesses\n\nW. Pan, S. Liu, C.-Y. Lin, J. Zeng, X. Tang, X. Zhou, Y. Lu, and X. Jia. Retrospective harness optimization:\nImproving llm agents via self-preference over trajectory rollouts. arXiv preprint arXiv:2606.05922,\n2026.\nT. Patwardhan, R. Dias, E. Proehl, G. Kim, M. Wang, O. Watkins, S. Fishman, M. Aljubeh, P. Thacker,\nL. Fauconnet, et al. Gdpval: Evaluating ai model performance on real-world economically valuable\ntasks. In International Conference on Learning Representations, volume 2026, pages 24005–24040,\n2026.\nQwen Team. Qwen3.6-Plus: Towards real world agents, April 2026. URL https://qwen.ai/blog?\nid=qwen3.6.\nP. Rajasekaran. Harness design for long-running application development, 2026. https://www.\nanthropic.com/engineering/harness-design-long-running-apps.\nRSI-Exam Team. Rsi-exam: Benchmarking recursive self-improvement through executable research,\n2026. URL https://github.com/aiming-lab/RSI-Exam.\nX. Tang, T. Qin, T. Peng, Z. Zhou, D. Shao, T. Du, X. Wei, P. Xia, F. Wu, H. Zhu, et al. Agent kb:\nLeveraging cross-domain experience for agentic problem solving. arXiv preprint arXiv:2507.06229,\n2025.\nN. Team, G. Cao, G. Dai, T. Guo, K. Han, H. Hu, Z. Jiang, X. Kuang, B. Li, Y. Li, et al. Neohorse-1:\nTowards recursive self-improvement via agentic post-training with routing harness. arXiv preprint\narXiv:2609.08183, 2026.\nB. Vidgen, A. Mann, A. Fennelly, J. W. Stanly, L. Rothman, M. Burstein, J. Benchek, D. Ostrofsky,\nA. Ravichandran, D. Sur, et al. Apex-agents. arXiv preprint arXiv:2601.14242, 2026.\nR. Wang, Y. Shi, Z. Li, Z. Li, Y. Yu, J. Yang, K. Panaganti, H. Mi, D. Zhou, et al. Harness handbook:\nMaking evolving agent harnesses readable, navigable, and editable. arXiv preprint arXiv:2607.13285,\n2026a.\nW. Wang, P. Piękos, L. Nanbo, F. Laakom, Y. Chen, M. Ostaszewski, M. Zhuge, and J. Schmidhuber.\nHuxley-g\\\" odel machine: Human-level coding agent development by an approximation of the\noptimal self-improving machine. arXiv preprint arXiv:2510.21614, 2025.\nY. Wang, H. Zhu, Z. Hu, Y. Yuan, Z. Chen, S. Senthil, H. Hajishirzi, Y. Tsvetkov, P. Dasigi, and T. Xiao.\nRethinking the evaluation of harness evolution for agents. In COLM 2026 The 2nd Workshop on\nLifelong Agents: Learning, Aligning, and Evolving, 2026b.\nL. Weng. Harness engineering for self-improvement. lilianweng.github.io, July 2026. URL https:\n//lilianweng.github.io/posts/2026-07-04-harness/.\nS. Wu, H. Zhu, Y. Zhang, X. Wang, and S. Yeung-Levy. Automem: Automated learning of memory as a\ncognitive skill. arXiv preprint arXiv:2607.01224, 2026.\nP. Xia, J. Chen, H. Wang, J. Liu, K. Zeng, Y. Wang, S. Han, Y. Zhou, X. Zhao, H. Chen, et al. Skillrl: Evolving agents via recursive skill-augmented reinforcement learning. arXiv preprint arXiv:2602.08234,\n2026a.\nP. Xia, J. Chen, X. Yang, H. Tu, J. Liu, K. Xiong, S. Han, S. Qiu, H. Ji, Y. Zhou, et al. Metaclaw: Just\ntalk–an agent that meta-learns and evolves in the wild. arXiv preprint arXiv:2603.17187, 2026b.\n\n14\n\n\fRRSI : Regularized Recursive Self-Improvement of Agent Harnesses\n\nP. Xia, K. Zeng, J. Liu, C. Qin, F. Wu, Y. Zhou, C. Xiong, and H. Yao. Agent0: Unleashing self-evolving\nagents from zero data via tool-integrated reasoning. The Third Conference on Language Modeling,\n2026c.\nC. Yang, X. Zhao, T. Wu, and C. Kästner. Better harnesses, smaller models: Building 90% cheaper\nagents via automated harness adaptation. arXiv preprint arXiv:2607.08938, 2026a.\nY. Yang, Z. Gong, W. Huang, Q. Yang, Z. Zhou, Z. Huang, Y. Li, X. Gao, Q. Dai, B. Liu, et al. Skillopt:\nExecutive strategy for self-evolving agent skills. arXiv preprint arXiv:2605.23904, 2026b.\nS. Yao, J. Zhao, D. Yu, N. Du, I. Shafran, K. Narasimhan, and Y. Cao. React: Synergizing reasoning\nand acting in language models. arXiv preprint arXiv:2210.03629, 2022.\nA. Zhang and O. Khattab. Language model harnesses are compositional generalizers. July 2026. URL\nhttps://alexzhang13.github.io/blog/2026/harness/.\nH. Zhang, S. Zhang, K. Li, C. Zhang, Y. Chen, Y. Zhang, L. Bai, and S. Hu. Self-harness: Harnesses\nthat improve themselves. arXiv preprint arXiv:2606.09498, 2026a.\nJ. Zhang, S. Hu, C. Lu, R. Lange, and J. Clune. Darwin gödel machine: open-ended evolution of\nself-improving agents. In International Conference on Learning Representations, volume 2026, pages\n104223–104294, 2026b.\nJ. Zhang, B. Zhao, W. Yang, J. Foerster, J. Clune, M. Jiang, S. Devlin, and T. Shavrina. Hyperagents.\narXiv preprint arXiv:2603.19461, 2026c.\nL. Zhang, R. Zhou, D. Song, Z. Chen, Y. Tian, J. Yang, H. Ma, C. Li, G. Feng, X. Li, et al. Harnesscompass:\nGuiding automatic harness evolution toward generalizable and effective agent harnesses. arXiv\npreprint arXiv:2608.01918, 2026d.\nY. Zhang, Y. Dai, J. Tan, L. Yang, R. Mullur, T. Hoang, Z. Hu, J. Zhu, P. Mui, S. Savarese, et al. Darwinx:\nEvolving agent harnesses through natural selection. arXiv preprint arXiv:2608.07545, 2026e.\n\n15\n\n\fRRSI : Regularized Recursive Self-Improvement of Agent Harnesses\n\nContents of Appendix\nA Evaluation\n\n17\n\nA.1 Terminal-Bench 2.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n\n17\n\nA.2 SWE-bench Verified . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n\n17\n\nA.3 Harvey LAB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n\n17\n\nA.4 JobBench . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n\n17\n\nA.5 GDPval . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n\n17\n\nA.6 APEX-Agents\n\n. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n\n18\n\nA.7 EngDesign . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n\n18\n\nA.8 Frontier-Eng . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n\n18\n\nB Baseline Methods\n\n18\n\nC Method Details\n\n19\n\nC.1 Round-Level Formulation\n\n. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n\n19\n\nC.2 Proposal-Side Bookkeeping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n\n19\n\nC.3 Selection-Side Bookkeeping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n\n21\n\nD Experiments\nD.1 Hyperparameter Setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\nE Qualitative Case Study\n\n22\n22\n23\n\n16\n\n\fRRSI : Regularized Recursive Self-Improvement of Agent Harnesses\n\nA. Evaluation\nThis shows how each environment is run and scored. A harness and its baseline are always evaluated\nin the same window, with the same tool environment, the same judge and the same number of trials.\nA.1. Terminal-Bench 2.1\nEach task is a container image with a task description, a working directory and a set of unit tests that\nare hidden from the agent (Merrill et al., 2026). The agent drives a real shell through the harness,\nand a task counts as solved only if the task’s own test suite passes after the agent stops, so the reward\nis exact and cannot be produced by a plausible-looking answer. The reported accuracy is the fraction\nof the 89 tasks solved in this way. Containers are torn down and rebuilt between arms so that no\nstate carries from one evaluation to the next.\nA.2. SWE-bench Verified\nEach instance is a real GitHub issue paired with the repository snapshot at the time of the report (Jimenez et al., 2024). The agent must produce a patch, which is then applied to the snapshot\nand checked against the instance’s fail-to-pass tests, which must go from failing to passing, and its\npass-to-pass tests, which must remain passing. The reported resolve rate is the fraction of instances\nthat satisfy both conditions.\nA.3. Harvey LAB\nEach task provides a folder of source documents in Word, Excel and PDF form and requires the\nagent to produce deliverable files under exact requested filenames (Harvey AI, 2026), which are\ngraded by a strict per-criterion rubric of 20 to 100 independently judged criteria per task, roughly\n14,000 criterion verdicts per full evaluation. A criterion is judged in isolation by an LLM judge\n(Gemini-3.5-Flash (Google, 2026b)) that reads the produced deliverable together with that single\ncriterion, and the score of a run is the fraction of criteria passed over all tasks, so a task with a long\nrubric contributes proportionally more evidence than a short one and a missing deliverable fails every\ncriterion it was supposed to satisfy rather than being dropped. The 160 tasks are partitioned once\ninto a 120-task evolve set and a 40-task held-out set, and the partition is fixed for the experiment.\nA.4. JobBench\nTasks are drawn from real professional workflows (Li et al., 2026), each shipping a task folder of\ninput files and a wrapper prompt, with the reference material the agent would need to look up\ndeliberately withheld so that part of the work is genuine retrieval. The harness exposes a filesystem,\na code execution tool for producing office and PDF deliverables, and a grounded web search tool.\nDeliverables are graded by the benchmark’s own weighted rubric, and the reported number is the\nweighted rubric score over the evaluated split. We use an LLM judge (average score of Gemini-3.5-Flash\nand Claude Opus 4.8).\nA.5. GDPval\nFor each task the deliverable produced by the harness is placed side by side with the human expert\ndeliverable shipped with the benchmark (Patwardhan et al., 2026), a panel of three judges of different\nprovenance picks the better of the two, and the reported number is the win rate against the expert\n17\n\n\fRRSI : Regularized Recursive Self-Improvement of Agent Harnesses\n\nover 185 tasks. The panel combines an open-weight model served locally (Qwen3.6-35B-A3B (Qwen\nTeam, 2026)) with two proprietary models from different vendors (Claude Sonnet 4.6 (Anthropic,\n2026b) and Gemini-3.1 Pro (Google, 2026a)), each pair is judged in both presentation orders to\nremove position bias, and the verdict for a task is the majority vote of the three. Each judge therefore\nissues 204 comparisons per harness, and a win rate above 50% means the harness produces the\npreferred deliverable more often than the human expert it is compared against.\nA.6. APEX-Agents\nEach task places the agent in a sandboxed world with its own MCP tool surface, covering a filesystem,\nPDF reading, spreadsheets, mail, chat, calendar, documents and code execution, and spanning three\nprofessional domains (Vidgen et al., 2026). A task is graded by a per-task rubric judged by an LLM\njudge (Gemini-3.5-Flash), and a task counts as a success under pass@1 only when its rubric is satisfied\non the single sampled rollout. We evaluate the full set of 480 tasks and always report over that full\ndenominator, so a task whose rollout is missing because of an infrastructure failure counts as a failure\nrather than being excluded, which prevents a harness that crashes on hard worlds from looking better\nthan one that attempts them.\nA.7. EngDesign\nWe used the license-free subset of EngDesign (Guo et al., 2025), of which we take the 61 tasks that run\nwithout proprietary simulators. Each task states a design goal together with the physical constraints\nthe design must satisfy, and each is graded by its own frozen simulation or testbench rather than by\na judge model, so grading is deterministic and every point of variance we measure comes from the\npolicy. Evolution runs on all 61 tasks with no in-distribution held-out split, since the suite is too small\nto spend tasks on one.\nA.8. Frontier-Eng\nFrontier-Eng (Chi et al., 2026) collects real-world engineering optimization problems from 26 domains.\nEach task asks the agent to produce a design or a program that is scored by a frozen task-specific\nsimulator or evaluator on a continuous objective, so as with EngDesign no judge model is involved and\ngrading is deterministic. Because the objectives are not commensurable across tasks, the benchmark\nreports a Medal Score: for each task the three best feasible results of the frozen v1 snapshot are the\ngold, silver and bronze thresholds, a submission earns 1, 0.67 or 0.33 for reaching each, and the\nscore is the mean credit over the 47 tasks of the v1 set, which we report as a percentage. We use\nFrontier-Eng only as an out-of-distribution test surface. Its EngDesign domain reuses tasks from our\nevolve set and is excluded, and tasks whose evaluation environment could not be built in our sandbox\nreceive no credit in either arm, so 38 of the 47 tasks contribute credit and both arms are scored on\nexactly the same tasks.\n\nB. Baseline Methods\nWe briefly summarize the four harness-evolution baselines used in our experiments.\nMeta-Harness (Lee et al., 2026b). Meta-Harness formulates harness engineering as an outer-loop\noptimization problem over executable harness code. Its agentic proposer has access to the source\ncode, evaluation scores, and execution traces of previous candidates, and uses this accumulated\nexperience to propose improved harnesses.\n18\n\n\fRRSI : Regularized Recursive Self-Improvement of Agent Harnesses\n\nAgentic Harness Engineering (AHE) (Lin et al., 2026a). AHE uses an observability-driven evolution\nloop for coding-agent harnesses. It organizes harness components, execution experience, and edit\noutcomes into explicit representations so that an evolving agent can diagnose failures, propose\nchanges, and evaluate the effects of previous edits.\nTest-Time Harness Evolution (TTHE) (Nie et al., 2026). TTHE evolves executable harnesses\nduring test-time adaptation while keeping the underlying model weights fixed. It maintains multiple\ncandidate harnesses, proposes modifications from execution traces, and uses an agentic judge to\nselect a harness that persists to subsequent inputs.\nHarnessX (Chen et al., 2026). HarnessX represents an agent harness as a composition of modular,\ntyped primitives spanning components such as prompts, tools, memory, and control flow. Its tracedriven adaptation mechanism uses execution feedback to modify and select harness configurations,\nenabling the runtime scaffold to evolve over time.\n\nC. Method Details\nThis section gives the round-level formulation and implementation details omitted from Section 3.\nIt specifies the same proposal- and selection-side regularizers used in the experiments. As in the\nmain text, the 𝐿0 , Lasso/ 𝐿1 , and Ridge/ 𝐿2 terminology is used only to indicate analogous roles in\ncomplexity control. The procedure does not optimize the corresponding norm-penalized objectives,\nand heterogeneous harness components are not treated as coordinates of a shared continuous\nparameter vector.\nC.1. Round-Level Formulation\nLet Ω ( 𝐻 ) denote the set of harnesses reachable from 𝐻 by arbitrary source edits. RRSI leaves Ω ( 𝐻 )\nopen and instead regularizes the transition through this space. A round takes the form\n\u0001\nH𝑡 ∼ 𝑃reg · | 𝐻𝑡 , F𝑡 , L𝑡 , 𝑏𝑡 , E𝑡 , B𝑡 ⊆ Ω ( 𝐻𝑡 ) ,\n𝐻𝑡+1 = arg max 𝑆ˆ( 𝐻 ′ ) ,\n(8)\n𝐻 ′ ∈ H𝑡 ∩A𝑡\n\nwith 𝐻𝑡+1 = 𝐻𝑡 if no candidate is admissible. Here F𝑡 is feedback from the current round, L𝑡 is the\nedit history, 𝑏𝑡 is the annealed edit budget from Equation (4), E𝑡 contains exploration directives,\nB𝑡 contains structural pruning targets inferred from recent history, and A𝑡 is the set of candidates\nallowed to replace the incumbent.\nA run applies Algorithms 1 and 2 for 𝑡 = 0, . . . , 𝑇 − 1, starting from 𝐻0 with 𝑆★ = 𝑆ˆ( 𝐻0 ). Before\nevolution, the unchanged base harness is evaluated repeatedly to estimate the empirical noise tolerance\n𝛿.\nC.2. Proposal-Side Bookkeeping\nAtomic edit representation. At round 𝑡 , the proposer drafts a pool 𝐸𝑡 of atomic edits to 𝐻𝑡 , and a\ncandidate applies a subset of that pool. Write this subset as 𝑧𝑡 ∈ {0, 1} | 𝐸𝑡 | , with 𝑧𝑡, 𝑗 = 1 when edit 𝑗\nis included. The pool is redrawn each round from the open space Ω ( 𝐻𝑡 ), so | 𝐸𝑡 | need not be fixed\nacross rounds. The annealed budget in Equation (4) imposes\n∥ 𝑧𝑡 ∥ 0 ≤ 𝑏𝑡 .\n\n(9)\n\nThus 𝑏𝑡 limits the number of independently attributable edits bundled into one candidate rather\nthan the set of components that may eventually be modified. This is the most direct of our classical\n19\n\n\fRRSI : Regularized Recursive Self-Improvement of Agent Harnesses\n\nAlgorithm 1 RRSI, proposal side.\n\nAlgorithm 2 RRSI, selection side.\n\nRequire: 𝐻𝑡 , history L𝑡 , round 𝑡 of 𝑇\nRequire: 𝑏min , 𝑏max , stall window 𝑤, noise band 𝛿\n1: F𝑡 ← \u0006Analyze( 𝐻𝑡 , Devolve )\n\u0007\n)\n2: 𝑏𝑡 ← 𝑏min + ( 𝑏max − 𝑏min ) 12 (1 + cos 𝜋𝑡\n𝑇\n⊲ 𝐿0 -style edit-cardinality control\n3: 𝜎𝑡 ← 𝟙[𝑆ˆ𝑡 − 𝑆ˆ𝑡 −𝑤 ≤ 𝛿]\n4: T𝑡 ← { ℓ𝑖 : ( 𝑡𝑖 , ℓ𝑖 , . . .) ∈ L𝑡 }\n5: U𝑡 ← K \\ T𝑡\n6: E𝑡 ← ( 𝜎𝑡 , U𝑡 , 𝑚draft )\n7: B𝑡 ← { ℓ ∈ T𝑡 : 𝑔𝑡 ( ℓ) ≤ 0}\n⊲ Lasso/ 𝐿1 -style pruning targets\n8: H𝑡 ∼ 𝑃reg (· | 𝐻𝑡 , F𝑡 , L𝑡 , 𝑏𝑡 , E𝑡 , B𝑡 )\n9: tag each atomic edit with component and hypothesis\nmetadata\n10: return candidates that pass the pre-evaluation screen\n\nRequire: screened H𝑡 , ( 𝐻𝑡 , 𝑆ˆ𝑡 , 𝐶ˆ𝑡 ), 𝑆★, 𝛿, 𝑘\nRequire: 𝛽0 , 𝛽1 , 𝑤𝑠 , 𝑤𝑐 , 𝑤𝑛\n1: A𝑡 ← ∅\n2: for 𝐻 ′ ∈ H𝑡 in parallel do\n3:\n𝑆ˆ′ , 𝐶ˆ′ ← Evaluate( 𝐻 ′ , Devolve , 𝑘)\n4:\nΔ𝑆 ← 𝑆ˆ′ − 𝑆ˆ𝑡 ; Δ𝐶 ← ( 𝐶ˆ′ − 𝐶ˆ𝑡 )/𝐶ˆ𝑡\n5:\n𝜈 ← 𝜈𝑡 ( 𝐻 ′ )\n⊲ new structural component types\n6:\nif Δ𝑆 &gt; 𝛿 then\n7:\n𝑐 ← [ Δ𝐶 ≤ 𝛽0 + 𝛽1 Δ𝑆]\n⊲ gain-dependent cost rule, Eq. (7)\n8:\nelse\n9:\n𝑐 ← [ 𝑤𝑠 Δ𝑆 − 𝑤𝑐 Δ𝐶 + 𝑤𝑛 𝜈 &gt; 0]\n⊲ within-band rule, Eq. (17)\n10:\nend if\n11:\n𝑔 ← DomainGuard( 𝐻𝑡 , 𝐻 ′ )\n12:\nif 𝑆ˆ′ ≥ 𝑆★ − 𝛿 and 𝑐 and 𝑔 then\n13:\nA𝑡 ← A𝑡 ∪ { 𝐻 ′ }\n14:\nend if\n15: end for\n16: 𝐻𝑡+1 ← arg max 𝐻 ′ ∈ A𝑡 𝑆ˆ′ , or 𝐻𝑡 if A𝑡 = ∅\n17: 𝑆★ ← max(𝑆★, 𝑆ˆ𝑡+1 )\n18: record each measured edit with 𝑎 = 1 iff its candidate\nis 𝐻𝑡+1 ≠ 𝐻𝑡\n19: return 𝐻𝑡+1\n\nanalogies: it is a cardinality constraint on the update, not an 𝐿0 penalty on a fixed model parameter\nvector.\nEdit history and component-level summaries. Every atomic edit in an evaluated candidate is\ntagged with a component ℓ, a hypothesis ℎ, and the candidate source diff 𝑑 . A candidate containing\nmultiple edits contributes one history record per edit; all edits in that candidate share the same\nmeasured Δ𝑆, Δ𝐶 , and round outcome. Ignoring candidates that fail before a valid measurement is\nobtained, the history before round 𝑡 can be written\nL𝑡 = {( 𝑡𝑖 , ℓ𝑖 , ℎ𝑖 , 𝑑 𝑖 , Δ𝑆𝑖 , Δ𝐶 𝑖 , 𝑎𝑖 ) : 𝑖 ≤ 𝑛𝑡 },\n\n𝑎𝑖 ∈ {0, 1},\n\n(10)\n\nwhere 𝑎𝑖 = 1 iff the candidate carrying edit 𝑖 was selected as the winner of its round and therefore\nentered the accepted evolution path. Candidates that are admissible but lose to a higher-scoring\nadmissible candidate have 𝑎𝑖 = 0.\nTwo summaries used by the proposer are\nT𝑡 = { ℓ𝑖 : 𝑖 ≤ 𝑛𝑡 },\n\n𝑔𝑡 ( ℓ) = max{ Δ𝑆𝑖 : ℓ𝑖 = ℓ, 𝑡 − 𝑡𝑖 ≤ 𝑛prune },\n\nmax ∅ = −∞.\n\n(11)\n\nHere T𝑡 is the set of components with at least one measured edit, and 𝑔𝑡 ( ℓ) is the best recent measured\ngain associated with component ℓ over the pruning window. Because bundled edits inherit the\ncandidate-level measurement, this evidence becomes more attributable as the edit budget anneals\ntoward one.\nStructured exploration state. Let K denote the editable component vocabulary. In the implementation,\nK = {prompt, control_flow, config, output_plumbing,\n(12)\ncontext_mgmt, client_tool, skill, memory, subagent} .\n20\n\n\fRRSI : Regularized Recursive Self-Improvement of Agent Harnesses\n\nThe exploration directive is\nE𝑡 = ( 𝜎𝑡 , U𝑡 , 𝑚draft ) ,\n\n𝜎𝑡 = 𝟙[𝑆ˆ𝑡 − 𝑆ˆ𝑡 − 𝑤 ≤ 𝛿] ,\n\nU𝑡 = K \\ T𝑡 ,\n\n(13)\n\nwhere 𝜎𝑡 indicates that progress over the previous 𝑤 rounds has not exceeded the empirical noise\ntolerance, U𝑡 contains components not yet exercised by a measured edit, and 𝑚draft reserves candidate\nslots for exploratory edits when the search is stalled.\nStructural pruning. The pruning target set is\nB𝑡 = { ℓ ∈ T𝑡 : 𝑔𝑡 ( ℓ) ≤ 0} .\n\n(14)\n\nThus a component is marked as unproductive when it has been exercised but has produced no strictly\npositive measured gain in the recent pruning window. The proposer receives B𝑡 together with any\npreviously accepted edits associated with those components and is instructed to remove unproductive\nmachinery in subsequent proposals. This is analogous in role to Lasso/ 𝐿1 -style sparsification because\nthe mechanism acts by deleting discrete structure from the retained harness; it is not an 𝐿1 -penalized\ncontinuous optimization problem.\nC.3. Selection-Side Bookkeeping\nNoise-adjusted floor. The leakage critic is applied before full evaluation. For every candidate that\nreaches selection, the first non-compensatory performance requirement is the stability floor from\nEquation (5),\n𝑆ˆ( 𝐻 ′ ) ≥ 𝑆★ − 𝛿.\nThis permits fluctuations within the empirically calibrated tolerance while preventing the search from\naccumulating a sequence of small regressions.\nNovelty used by the within-band rule. The shaped rule uses novelty only for structural components.\nLet\nKstr = {client_tool, skill, memory, subagent}\n(15)\nand let 𝑁𝑡 ( ℓ) be the number of previously accepted edit records tagged with component ℓ before\nround 𝑡 . If comp( 𝐻 ′ ) is the set of component types touched by candidate 𝐻 ′ , the implementation\ncomputes\n∑︁\n𝜈𝑡 ( 𝐻 ′ ) =\n𝟙[ ℓ ∈ comp( 𝐻 ′ ) ∧ 𝑁𝑡 ( ℓ) = 0] .\n(16)\nℓ ∈ Kstr\n\nHence 𝜈 ( 𝐻 ′ ) counts distinct structural component types touched by the candidate that have never\n𝑡\n\npreviously appeared in a winning edit. Prompt, control-flow, configuration, output-plumbing, and\ncontext-management edits do not receive this novelty bonus.\nAcceptance when the gain exceeds the noise tolerance. For Δ𝑆 &gt; 𝛿, the selector uses the gaindependent cost condition from Equation (7),\nΔ𝐶 ≤ 𝛽0 + 𝛽1 Δ𝑆.\n\nThe rule allows more inference cost only when accompanied by a larger measured improvement. This\nis the part of complexity-aware acceptance that motivates the Ridge/ 𝐿2 -style analogy in the main\ntext: it suppresses unchecked growth in aggregate resource footprint without requiring an individual\ncomponent to be eliminated. The analogy is functional rather than mathematical; the rule is not a\nsquared-norm penalty.\n21\n\n\fRRSI : Regularized Recursive Self-Improvement of Agent Harnesses\n\nAcceptance when the gain does not exceed the noise tolerance. For candidates that pass the\nstability floor but whose measured gain does not exceed the empirical tolerance, Δ𝑆 ≤ 𝛿, the\nimplementation does not use Equation (7). Instead it applies the shaped admissibility condition\n𝑤𝑠 Δ𝑆 − 𝑤𝑐 Δ𝐶 + 𝑤𝑛 𝜈𝑡 ( 𝐻 ′ ) &gt; 0.\n\n(17)\n\nHere 𝑤𝑠 , 𝑤𝑐 , 𝑤𝑛 ≥ 0 control, respectively, the contribution of the measured score change, relative\ninference-cost change, and previously unused structural component types. The purpose of this branch\nis to avoid treating a small score fluctuation as sufficient evidence by itself. Within this region,\nreducing cost contributes positively through −𝑤𝑐 Δ𝐶 , and trying a structural mechanism that has never\npreviously entered the accepted evolution path contributes through 𝑤𝑛 𝜈𝑡 ( 𝐻 ′ ). Depending on the\nevolution instance, a within-band score change may also contribute through 𝑤𝑠 Δ𝑆.\nThe coding instance sets 𝑤𝑠 = 0. Consequently, a score increase that remains within 𝛿 cannot\nby itself make a coding candidate admissible; the candidate must instead obtain sufficient credit\nfrom lower cost and/or structural novelty. The agentic-workspace and engineering-design instances\nuse positive 𝑤𝑠 . All three weights are fixed for an evolution instance and are reported in Table 5.\nEquation (17) is an implementation-level tie-breaking/admissibility rule inside the uncertainty region;\nit is not itself identified with an 𝐿 𝑝 penalty.\nDomain-specific non-compensatory guards. After the stability and cost checks, the implementation\nmay apply a domain-specific guard 𝑔 ( 𝐻𝑡 , 𝐻 ′ ) ∈ {0, 1}. The coding and agentic-workspace instances\nuse no additional guard, so 𝑔 = 1. The engineering-design instance additionally rejects a candidate if\nits valid-output rate falls by more than 0.03 relative to the incumbent or if its no-submission rate rises\nby more than 0.02. These guards prevent a gain in the primary pass-rate objective from compensating\nfor a substantial degradation in basic execution validity.\nFinal round selection. A candidate is admissible only if it satisfies the noise-adjusted floor, the\nappropriate branch of the complexity-aware rule, and all active domain guards. Among admissible\ncandidates, the selector chooses the one with the largest measured score; if none is admissible, the\nincumbent is retained. The running best score is then updated as 𝑆★ ← max(𝑆★, 𝑆ˆ( 𝐻𝑡+1 )).\n\nD. Experiments\nD.1. Hyperparameter Setting\nRRSI introduces a small number of hyperparameters that control update sparsity, exploration, pruning,\nand the cost–performance trade-off. We select these parameters using only the evolve environment\nand operational considerations; held-out and OOD benchmarks are not used for tuning. The noise\ntolerance 𝛿 is calibrated from repeated evaluations of the unchanged base harness. The edit-budget\nparameters ( 𝑏min , 𝑏max ) determine how many independent changes can be bundled into one candidate,\nwhile 𝑤 and 𝑚draft control when and how strongly the search explores underused components. The\npruning window 𝑛prune determines how much recent evidence is required before a component is\ntreated as unproductive. Finally, ( 𝛽0 , 𝛽1 ) encode the allowed trade-off between measured gain and\nadditional inference cost. Table 5 lists the values used in each instance. Scores 𝑆ˆ are fractions in [0, 1]\nand Δ𝐶 is the relative change in policy tokens per trial, so 𝛿 and 𝛽1 are expressed in those units: on the\ncoding instance 𝛿 corresponds to 3 passes out of 89 × 𝑘 = 178 trials, on the agentic workspace instance\nto 60 criteria out of roughly 14,100 criterion verdicts, and on the engineering design instance to 5\npasses out of 61 × 𝑘 = 244 trials. Likewise 𝛽1 corresponds to a 25% token allowance per additional\n22\n\n\fRRSI : Regularized Recursive Self-Improvement of Agent Harnesses\n\nHyperparameter\n\nRole\n\nCoding\n\nAgentic workspace\n\nEngineering design\n\n𝑇\n𝑘\n\nevolution rounds\ntrials per task per evaluation\n\n20\n2\n\n20\n2\n\n40\n4\n\n𝛿\n𝑏min\n𝑏max\n𝑤\n𝑚draft\n𝑛prune\n𝛽0\n𝛽1\n\nempirical noise tolerance\nfinal-round edit budget\ninitial edit budget\nstall-detection window\nreserved exploratory proposals\npruning window\nbase cost allowance\ngain-dependent cost allowance\n\n0.017\n1\n4\n3\n1\n4\n0.10\n44.5\n\n0.004\n1\n3\n3\n1\n4\n0.10\n35.4\n\n0.020\n1\n4\n3\n1\n5\n0.15\n24.4\n\nTable 5 | Hyperparameters used by RRSI in each evolution setting. All choices are fixed without\nconsulting held-out or OOD benchmarks.\npass (coding), per 100 additional criteria (agentic workspace) and a 10% allowance per additional\npass (engineering design).\n\nE. Qualitative Case Study\nTo complement the aggregate results, we inspect representative decisions made during RRSI evolution.\nTable 6 summarizes several examples from the released trajectories. The complete round-by-round\nrecords, including proposals, critic decisions, acceptance decisions, and exact harness diffs, are\navailable on our project website.\nThese examples provide a more concrete view of the regularization behavior. In particular, the\ntwo candidates from the first coding round are superficially similar, yet only the candidate with\na sufficiently large measured improvement survives the cost-aware selection rule. Conversely, the\nround-8 candidate reduces inference cost but is still rejected because its performance falls below\nthe admissible floor. The engineering example shows the complementary case: a small and reusable\ncontrol-flow correction is retained with little resource growth. Together, these trajectories suggest\nthat RRSI does not simply accumulate edits that improve the evolve-set score, but selectively retains\nchanges whose measured benefit is sufficiently robust relative to their complexity.\n\n23\n\n\fRRSI : Regularized Recursive Self-Improvement of Agent Harnesses\n\nDomain\nRound\n\n/\n\nHarness change\n\nOutcome\n\nWhat it illustrates\n\nCoding, R0-A\n\nAdds a bounded pre-completion verification audit and guidance for non-blocking\npolling of long-running jobs.\n\nAccepted:\n+3.93\npoints on the evolve\nset.\n\nA reusable behavioral\nmechanism can justify\na relatively broad earlyround update when the\ngain exceeds the noise\nthreshold.\n\nCoding, R0-B\n\nAdds a similar verification reminder and\nlong-running-work guidance, but with a\nsmaller measured gain and additional inference cost.\n\nRejected by cost rule:\n+1.69 points, +26.1%\ncost.\n\nAn apparent improvement is not automatically retained when it\nlies within the noise\nband and requires substantial additional computation.\n\nCoding, R8-B\n\nPins the original task instruction into the\ncompletion gate so that the policy rechecks the literal specification before submission.\n\nRejected by floor:\n−2.81 points despite\n−13.6% cost.\n\nLower cost alone cannot\ncompensate for a candidate whose performance\nfalls below the noiseadjusted\nacceptance\nfloor.\n\nEngineering,\nR2\n\nAdds a bounded recovery hint for the re- Accepted:\ncurring “workdir must be an existing direc- 122/244 → 128/244\ntory” tool-use error.\npasses, +1.6% tokens.\n\nThe search can retain\nsmall,\ntask-agnostic\ncontrol-flow fixes that\nimprove reliability with\nlittle added complexity.\n\nTable 6 | Representative harness-evolution decisions from RRSI. The examples show that evolution\nis not driven by score alone: candidate specificity, evaluation stability, and inference cost jointly\ndetermine whether a change is retained.\n\n24\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"