"<!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>Preprint. Work in progress.\n\nP LUGIN RSI: R ECURSIVE I MPROVEMENT OF AGENT\nH ARNESSES WITH R EUSABLE P LUGINS\nYaorui Shi1,2 , Yuchun Miao2,3 , Yuxin Chen2,4 , Jiayuan Zhang2 , Yueqing Sun2 ,\nXierui Song2,† , Xiang Wang1 , An Zhang1,†\n1\n\narXiv:2609.32423v2 [cs.AI] 18 Oct 2026\n\n†\n\nUniversity of Science and Technology of China 2 Meituan\n3\nWuhan University 4 National University of Singapore\n\nCorresponding authors: guqi03@meituan.com, an zhang@ustc.edu.cn\n\nA BSTRACT\nThe harness surrounding a language model is a central determinant of agent performance.\nRecent methods optimize harnesses by searching over complete programs, where individual\nmechanisms are difficult to isolate and reuse. We introduce PluginRSI, which represents a\nharness as a composition of atomized plugins and organizes harness evolution around these\nplugins. Individual plugins are improved independently and accumulated in a shared library,\nthen recombined into new harnesses at each iteration. PluginRSI improves over existing\nharness optimization methods across software engineering, command-line interaction, and\nquestion-answering tasks. The resulting harnesses retain their advantage when transferred\nto other solver models without further optimization. The evolved plugin library accelerates\nsubsequent optimization from the initial harness, which helps faster and higher convergence\non unseen tasks. These results show that accumulating reusable mechanisms provides an\neffective basis for continued harness improvement.\nDate: October 20, 2026\nHomepage: https://syr-cn.github.io/PluginRSI/\nCode: https://github.com/syr-cn/PluginRSI\n\nEverything is a plugin.\n—- DeepSeek Harness\n\n1\n\nI NTRODUCTION\n\nRecursive self-improvement aims to enable large language model (LLM) agents to become more\ncapable as they continue to operate (Liu et al., 2026a; Ren et al., 2026; Duan et al., 2026). Such\nimprovement can come from updating the underlying model parameters or refining the harness that\norganizes an agent’s interaction mechanisms such as tools, roles and skills (Zhang et al., 2024; Meng\net al., 2026; Ma et al., 2026). Harness optimization pursues the latter, allowing agent behavior to\nbe adapted without the training cost of weight updates (Ning et al., 2026; Pan et al., 2026). Modern\nharnesses use plugin systems to implement new mechanisms as independent, reusable components,\nsupporting continued improvement (DeepSeek-AI, 2026; Anthropic, 2025; OpenAI, 2026a).\nRecent work explores recursive harness optimization by iteratively rewriting harness implementations based on execution feedback (Hu et al., 2025; Zhang et al., 2025; 2026b; Lee et al., 2026; Lin\net al., 2026a; Karten et al., 2026; Zhang et al., 2026a). Despite its effectiveness, iterative harness\nrewriting faces two limitations. First, it limits the exploration of new mechanisms. Multiple mechanisms are coupled within the harness implementation, making it difficult to independently explore\nnew mechanisms and incorporate their benefits into the harness. Consequently, optimization could\nrepeatedly converge to similar designs. Second, valuable mechanisms are difficult to preserve and\nreuse. Rewriting can overwrite effective local mechanisms, preventing improvements from accumulating into reusable experience across iterations. Together, these limitations hinder continued\nimprovement by restricting mechanism discovery and the accumulation of reusable mechanisms.\n1\n\n\fPreprint. Work in progress.\n\n(a)\n\n!!\n\n!!\"#\n\nToo Complex\nEdit Harness\nProposer\n\nEvaluation\nFeedback\n\nAccumulate\n\nReuse\n\n(b)\n\nPlugin Library\n\n!!\n\n!!\"#\n\nDesign with Plugins\nEvaluation\n\nProposer\nFeedback\n\nFigure 1: Comparison of harness optimization paradigms. (a) Prior approaches expose the\ncomplete harness Ht as the object of modification. (b) PluginRSI explores recursive optimization\nof plugin-parameterized harnesses, where each plugin encapsulates an independent mechanism that\ncan be accumulated and reused.\nWe argue that harness evolution should center on discovering new mechanisms and reusing them\nacross candidates, rather than repeatedly rewriting harness implementations. Inspired by this, we\nstudy the recursive optimization of plugin-parameterized harnesses. As shown in Figure 1, pluginparameterized harnesses encapsulate individual mechanisms as plugins with standardized interfaces.\nThis formulation allows individual mechanisms to be developed and their contributions evaluated\nwhile keeping the rest of the harness unchanged. A shared plugin library retains empirically beneficial implementations, allowing mechanisms discovered during optimization to accumulate and be\nreused to construct subsequent harness candidates.\nTowards this end, we introduce PluginRSI, an algorithm that enables recursive harness\nimprovement by accumulating and reusing plugins. PluginRSI features a shared plugin library\nthat accumulates beneficial harness-design mechanisms as plugins. Each harness consists of a set of\nplugins drawn from this library and a workflow that coordinates their execution. One optimization\niteration begins with a plugin mutation step, where execution feedback guides changes to the plugins\nused by a candidate harness, exploring new mechanisms while keeping the remaining harness fixed.\nPlugin variants that improve harness performance are added to the library. Harness recomposition\nthen selects plugins from the updated library and revises the workflow to assemble new harness\ncandidates, building on the mechanisms discovered in earlier iterations.\nWe evaluate PluginRSI on software engineering, command-line interaction, and question-answering\ntasks. Across these settings, PluginRSI outperforms baseline methods. On SWE-bench Verified,\nit improves held-out resolve rates over Meta-Harness by 6–10 percentage points across two optimization backbones. The resulting harnesses retain their advantage across solver models without\nfurther optimization. Optimization curves show that PluginRSI finds strong harnesses with fewer\nsolver rollouts. Ablations demonstrate the contributions of both plugin mutation and harness recomposition, with strong performance retained without the initial plugin library. The accumulated\nplugins support larger harness implementations with compact workflows and accelerate subsequent\noptimization. Reusing the evolved library from the initial harness reaches a held-out resolve rate of\n69% after two evolution steps, compared with 65% without reuse.\n\n2\n\nP ROBLEM F ORMULATION\n\n2.1\n\nO PTIMIZATION O BJECTIVE\n\nA harness specifies how an agent interacts with its environment by defining and coordinating tools,\nskills, and other mechanisms. Together, a harness H and a policy model Θ define an agent Φ(· |\n2\n\n\fPreprint. Work in progress.\n\nPlugin Library\n\n1 Plugin Mutation\n\nReuse\n\nAdd if \"# &gt; %\n\n!!\n\n2 Harness Recomposition\n\n!!\"#\nSelect Plugins\nMutate\n\n×!\n\nBalanced\nSubset\nEvaluation\n\nProposer\nFull\n.\nEvaluation\n\nPropose ! mutations\n\nRevise Workflow\n\nProposer\n\nFeedback\n\nFigure 2: Overview of PluginRSI. (1) Plugin mutation explores individual plugin changes in\nparallel while keeping the remaining harness fixed. (2) Harness recomposition selects plugins\nfrom the updated library and revises the workflow to construct a new harness candidate.\nH, Θ). Given a task x sampled from a task distribution D, the agent generates a trajectory τ ∼ Φ(· |\nx, H, Θ), whose performance is evaluated by a reward function r(τ, x). We define the expected\nreward of a harness as\nJ(H) = Ex∼D,τ ∼Φ(·|x,H,Θ) [r(τ, x)] .\n(1)\nHarness optimization seeks a harness H ⋆ ∈ arg maxH J(H) that maximizes Eq. 1 while keeping\nthe policy model Θ fixed.\n2.2\n\nR ECURSIVE H ARNESS O PTIMIZATION\n\nRecursive harness optimization uses feedback from previously evaluated harnesses to guide the construction of new candidates. A separate proposer agent Φproposer examines a candidate’s implementation and execution trajectories, reviews the agent’s behavior, and proposes new candidates. Both\nthe policy model Θ and the proposer Φproposer remain fixed throughout the search.\nThe search begins with an initial harness H0 . We consider a search procedure in which, at iteration\nt, the proposer generates a new candidate based on the previous best harness and its feedback:\n\u0010\n\u0011\nbt, T b ,\nHt ∼ Φproposer · | H\n(2)\nHt\nb t ∈ arg max\nJ(H) is the best harness found so far, and THb t denotes the execuwhere H\nH∈{Hi }t−1\ni=0\nb\ntion trajectories collected for Ht . The agent defined by the proposed harness, Φ(· | Ht , Θ), is then\nevaluated on tasks sampled from D, producing rewards and trajectories for subsequent iterations.\nAfter T iterations, the search returns H ∗ ∈ arg maxH∈{Hi }Ti=0 J(H).\n\n3\n\nP LUGIN RSI: P LUGIN -O RIENTED H ARNESS O PTIMIZATION\n\nWe introduce PluginRSI, a recursive harness optimization algorithm that operates over pluginparameterized harnesses. The algorithm represents a harness through plugin implementations and\nthe workflow that coordinates them, while maintaining a shared library that retains beneficial implementations across iterations (§3.1).\nThe optimization loop of PluginRSI is described in §3.2.1 and illustrated in Figure 2. At each iteration, PluginRSI first explores new mechanisms through plugin mutation, where individual plugins\nare selected, mutated, and evaluated while the remaining harness is kept fixed (§3.2.2). Plugin variants that yield empirical gains are accumulated in the shared plugin library. The algorithm then\nperforms harness recomposition, which selects plugins from the updated library and revises the\nworkflow that coordinates them to explore new harness designs (§3.2.3).\n3.1\n\nP LUGIN -PARAMETERIZED H ARNESSES\n\nA plugin p is an executable implementation of a harness mechanism exposed through a standardized\ninterface. This interface separates a mechanism’s implementation from the workflow that invokes\n3\n\n\fPreprint. Work in progress.\n\nit. In PluginRSI, each plugin consists of two components: (1) a YAML specification defining its\ninterface and associated configuration, including input and output schemas, prompts, rubrics, and\nmetadata, and (2) an executable implementation written in Python code. Further schema details\nare provided in Appendix J.\nBuilding on this abstraction, we represent a plugin-parameterized harness as H = H(W, P), where\nP denotes the set of selected plugins and W denotes the workflow. The plugins in P implement\nthe agent’s roles, tools, skills, and memory mechanisms according to the schema. The workflow W\ndetermines when these plugins are invoked and how their outputs are used in subsequent interactions.\nThe function H is a deterministic program that compiles W and P into an executable harness.\nThis representation supports two complementary optimization operations. First, individual plugin\nimplementations can be discovered or refined while keeping the workflow and the remaining plugins\nfixed. Second, plugins can be selected from a plugin library and the workflow revised to coordinate\ntheir execution. These operations correspond to the plugin mutation and harness recomposition\nstages of PluginRSI, respectively, as discussed in §3.2.\n\n3.2\n3.2.1\n\nT HE O PTIMIZATION L OOP\nI NITIALIZATION AND OVERVIEW.\n\nThe search starts from an initial harness H = H0 = H(W0 , P0 ) and a plugin library L, with P0 ⊆\nL. The harness H is iteratively evaluated on validation tasks Dval , and the scores and execution\ntrajectories are used for analysis to propose a new harness H ′ . Here Dval and Dtest are disjoint\nvalidation and test datasets drawn from task distribution D, where Dtest is held-out and not involved\nin the optimization process.\nEach iteration consists of two stages. The plugin mutation stage explores changes to individual\nplugins and adds beneficial implementations to L. Harness recomposition then selects plugins\nfrom the updated library and revises the workflow to construct a new candidate. After T iterations,\nthe algorithm returns the best harness on Dval . Algorithm 1 summarizes this process.\n3.2.2\n\nP LUGIN MUTATION .\n\nPlugin mutation uses execution feedback to guide changes to individual mechanisms in the current\nharness. At each iteration, we generate N mutation candidates in parallel from H, with each candidate using a separately sampled minibatch M of b tasks from Dval . Based on the current harness’s\nmost recent evaluation results, each minibatch contains equal numbers of correctly and incorrectly\nsolved tasks. The separate sampling of minibatches provides varied execution feedback to encourage\ndiverse mechanism exploration.\nFor each minibatch, the proposer agent examines H and its execution feedback on that minibatch\nto select a plugin pi ∈ P and produce a modified implementation p′i . The modified plugin replaces\npi while the workflow and the remaining plugins stay fixed. The resulting plugin set is compiled\nwith the unchanged workflow to obtain Hi = H(W, (P \\ {pi }) ∪ {p′i }). We evaluate Hi on its\ncorresponding minibatch and compare with the score of H on the same minibatch. Plugin variants\nwith empirical improvements are added to L.\n3.2.3\n\nH ARNESS RECOMPOSITION .\n\nHarness recomposition uses the implementations accumulated in L to explore new harness designs.\nThis process allows both the plugin selection P and the workflow W to change.\nAt this stage, the proposer examines previous harness execution feedback and the mutation results.\nThese comparisons guide the selection of a plugin set P ′ ⊆ L that incorporates promising implementations from the updated library. The proposer also revises the workflow from W → W ′ to\nimprove the plugin coordination, including when they are invoked and how information flows. The\nnew harness candidate is then compiled as H ′ = H(W ′ , P ′ ) and evaluated on Dval .\n4\n\n\fPreprint. Work in progress.\n\nAlgorithm 1 PluginRSI: Plugin-Oriented Harness Optimization\nRequire: Initial harness H0 = H(W0 , P0 ), proposer agent Φproposer , validation tasks Dval\nRequire: Minibatch size b, iterations T , mutation candidates per iteration N\nEnsure: Optimized harness H ∗\n1: Initialize plugin library L and incumbent (H, W, P) ← (H0 , W0 , P0 )\n2: Evaluate initial (S[H], TH ) ← Evaluate(H, Dval )\n3: for t = 1, . . . , T do\n4:\n// Step 1: Plugin Mutation\n5:\nfor i = 1, . . . , N in parallel do\n▷ parallel exploration on different subsets\n6:\nM ← balanced minibatch of b tasks from Dval ,\n7:\nGather score SM [H] and execution trace TH,M for H on M\n8:\nΦproposer selects and mutates plugin pi → p′i\n9:\nHi ← H (W, (P \\ {pi }) ∪ {p′i })\n▷ recompile with mutated plugin\n10:\nGather score SM [Hi ] and execution trace THi ,M for Hi on M\n11:\nAdd each p′i with SM [Hi ] &gt; SM [H] to L\n▷ accumulate beneficial plugins\n12:\nend for\n13:\n// Step 2: Harness Recomposition\n14:\nΦproposer revises workflow W → W ′ and selects plugins P ′ ⊆ L\n15:\nH ′ ← H(W ′ , P ′ )\n▷ recompile with new workflow and plugins\n16:\nEvaluate H ′ on Dval to obtain (S[H ′ ], TH ′ )\n17:\nif S[H ′ ] &gt; S[H] then\n18:\n(H, W, P) ← (H ′ , W ′ , P ′ )\n19:\nend if\n20: end for\n21: return H\n\n4\n\nE XPERIMENTS\n\n4.1\n\nE XPERIMENTAL S ETUP\n\nBenchmarks and protocol. We evaluate on software engineering tasks from SWE-bench Verified (Chowdhury et al., 2024); command line interaction tasks from Terminal-Bench-2.1 (Merrill et al., 2026); and Question-Answering (QA) tasks from SuperGPQA (Du et al., 2026a), SciCite (Cohan et al., 2019), FinanceQA (Mateega et al., 2025), FrontierScience (Wang et al., 2026)\nand OlympiadBench (He et al., 2024). We split SWE-bench Verified into 400 held-in and 100 heldout tasks, and Terminal-Bench-2.1 into 59 held-in and 30 held-out tasks, as detailed in Appendix I.\nFor QA, we sample 50 tasks from each of eight domains with random seed 50. We optimize on 150\ntasks from Olympiad-Math, SciCite, and SuperGPQA-Economics, and evaluate on the other five\ndomains. For each optimization method, we select the harness with the highest held-in score and fix\nit for subsequent evaluation. We report resolve rates (%) for SWE-bench and Terminal-Bench, and\naccuracies for QA.\nBackbone models. We separately optimize SWE-Bench Verified harnesses with GPT-5.6\nTerra (OpenAI, 2026b) and Kimi-K3 (Team et al., 2026) as proposers. We use Kimi-K3 as the\nsolver for Terminal-Bench and QA. We then conduct evaluation on three different base models\nGPT-5.6 Terra, Kimi-K3 and GLM-5.2 (Zeng et al., 2026) to measure cross-model utility. By default, reasoning effort is set to xhigh for the proposer and none for the solver. We also evaluate\neach selected harness with the other solver backbones, keeping its workflow and plugins fixed. Full\nmodel configurations are provided in Appendix E.\nBaselines. We compare with two groups of methods. (1) Expert-curated harnesses include ReAct (Yao et al., 2023), which follows a reasoning–acting loop in zero-shot and few-shot settings; and\nACE (Zhang et al., 2026d), which accumulates experience in a context playbook. (2) Automatically\noptimized harnesses include GEPA (Agrawal et al., 2026b), which performs reflective evolution at\nthe prompt level; and Darwin-Godel Machine (DGM) (Zhang et al., 2026b) and Meta-Harness (Lee\net al., 2026), which search over complete harness implementations. All methods share the same task\nsplits, API endpoints, and environment sandboxes.\n5\n\n\fPreprint. Work in progress.\n\nTable 1: Comparison on SWE-bench Verified (Chowdhury et al., 2024). Harnesses are optimized\nand selected on 400 held-in tasks, then fixed for evaluation across solver backbones. Values are\nresolve rates (%). † marks the score used for harness selection. Bold marks the best result in each\ncolumn within each optimization setting.\nHeld-In (400)\nMethod\n\nGPT-5.6 Terra\n\nKimi-K3\n\nHeld-Out (100)\nGLM-5.2\n\nGPT-5.6 Terra\n\nKimi-K3\n\nGLM-5.2\n\n39.00\n55.00\n43.00\n\n41.00\n47.00\n37.00\n\n41.00\n41.00\n31.00\n\nReAct (Zero-Shot)\nReAct (Few-Shot)\nACE\n\n38.25\n52.50\n46.75\n\nExpert-Curated Harnesses\n41.00\n37.75\n44.25\n38.25\n41.00\n30.25\n\nGEPA\nDGM\nMeta-Harness\nPluginRSI\n\n50.50†\n49.00†\n54.50†\n58.50†\n\nAutomatically Optimized Harnesses w/ GPT-5.6 Terra\n42.50\n39.25\n51.00\n42.00\n37.25\n50.00\n54.00\n45.25\n55.00\n60.50\n48.00\n65.00\n\n44.00\n51.00\n53.00\n60.00\n\n48.00\n43.00\n44.00\n52.00\n\nGEPA\nDGM\nMeta-Harness\nPluginRSI\n\n55.00\n57.75\n58.25\n58.00\n\nAutomatically Optimized Harnesses w/ Kimi-K3\n61.00†\n47.00\n61.00\n58.00†\n50.00\n58.00\n64.25†\n59.75\n60.00\n66.75†\n59.50\n64.00\n\n62.00\n55.00\n63.00\n69.00\n\n52.00\n51.00\n59.00\n64.00\n\nTable 3: Results on QA benchmarks. We optimize harnesses on 150 tasks from three held-in\ndomains. Both optimization and evaluation are on Kimi-K3. Values are accuracies rounded to 3\ndecimals. Bold indicates the best results.\nHeld-In (150)\n\nHeld-Out (250)\n\nMethod\n\nMath\n\nSciCite\n\nEco\n\nAvg.\n\nFin\n\nFS\n\nPhysics\n\nLaw\n\nMed\n\nAvg.\n\nOverall\n\nReAct\nGEPA\nMeta-Harness\nPluginRSI\n\n0.480\n0.680\n0.780\n0.880\n\n0.540\n0.640\n0.680\n0.780\n\n0.420\n0.580\n0.800\n0.800\n\n0.480\n0.633\n0.753\n0.820\n\n0.280\n0.380\n0.480\n0.560\n\n0.620\n0.660\n0.740\n0.720\n\n0.140\n0.200\n0.280\n0.280\n\n0.320\n0.620\n0.800\n0.820\n\n0.300\n0.500\n0.540\n0.560\n\n0.332\n0.472\n0.568\n0.588\n\n0.388\n0.533\n0.638\n0.675\n\n4.2\n\nM AIN R ESULTS\n\nResults on SWE-bench Verified. Table 1 shows that PluginRSI improves performance with both\noptimization backbones. We observe higher held-in results for both GPT- and Kimi-optimized harnesses. With GPT-5.6 Terra and Kimi-K3, it achieves held-out resolve rates of 65.00% and 69.00%,\nexceeding the best baseline by 10.00 and 6.00 percentage points, respectively. These gains are\nlarger than the corresponding held-in gains of 4.00 and 2.50 points. The discovered improvements\ntherefore remain effective beyond the tasks used for harness selection.\nTransfer across backbone models. The optimized harnesses retain their advantage when Table 2: Results on Terminal-Bench-2.1 with\ntransferred to other solver models without fur- Kimi-K3. Values are resolve rates (%). Bold\nther optimization. The harness optimized with marks the best result in each column.\nGPT-5.6 Terra achieves held-out resolve rates\nMethod\nHeld-In (59) Held-Out (30)\nof 60.00% with Kimi-K3 and 52.00% with\nReAct (Zero-Shot)\n47.5\n50.0\nGLM-5.2, exceeding the strongest baselines by\nACE\n54.2\n56.7\n7.00 and 4.00 points. The harness optimized\nGEPA\n57.6\n63.3\nwith Kimi-K3 achieves 64.00% with both GPTDGM\n57.6\n60.0\n5.6 Terra and GLM-5.2, improving over the\nMeta-Harness\n64.4\n66.7\nstrongest baselines by 3.00 and 5.00 points.\nPluginRSI\n69.5\n73.3\nFor some held-in cross-model evaluations we\nalso observe a performance degradation against\nbaseline methods, e.g., 58.00% against previous best 58.25%, where the performance gaps remain\nmodest. We regard these as comparable results.\n6\n\n\fPreprint. Work in progress.\n\n(a) Held-in scores\n\n(b) Held-out scores\n\n60\n\nSolve Rate (%)\n\nSolve Rate (%)\n\n65\n\n55\n50\n45\nMeta-Harness\nOurs\n\n40\n0\n\n2000\n\n4000\n\n6000\n\n8000\n\nMeta-Harness\nOurs\n\n10000\n\n0\n\nSolver Rollouts\n\n2000\n\n4000\n\n6000\n\n8000\n\n10000\n\nSolver Rollouts\n\nFigure 3: Optimization dynamics. Held-in and held-out resolve rates of the best held-in harness\nagainst cumulative solver rollouts. PluginRSI yields higher performing harness with fewer solver\nrollouts, and held-in performances aligns better with held-out scores.\n\nResults on Terminal-Bench. Table 2 shows that the benefits extend to command-line interaction\ntasks. With Kimi-K3, PluginRSI achieves 69.5% on held-in tasks and 73.3% on held-out tasks,\ncompared with 64.4% and 66.7% for Meta-Harness. The improvements are larger on held-out tasks.\nResults on QA benchmarks. Table 3 shows the results. Math and Physics are from OlympiadBench (He et al., 2024); Eco(nomics), Law, and Med(icine) are from SuperGPQA (Du et al., 2026a).\nFS stands for FrontierScience (Wang et al., 2026) and Fin stands for FinanceQA (Mateega et al.,\n2025). PluginRSI improves held-in accuracy from 0.753 to 0.820 and overall accuracy from 0.638\nto 0.675 over baselines. Held-out accuracy increases more modestly from 0.568 to 0.588. The\nsmaller held-out gains are expected given the limited overlap among QA domains, as different domains require different specialized strategies. For example, strategies discovered for mathematical\nreasoning may not directly transfer to law questions.\nObs. 1: PluginRSI improves harness performance across task settings. The advantages are\nretained across solver models, and are larger on unseen similar tasks.\n\n4.3\n\nO PTIMIZATION DYNAMICS\n\nWe examine how efficiently PluginRSI improves harness performance. Figure 3 compares PluginRSI with Meta-Harness using GPT-5.6 Terra. We plot the best held-in scores and the held-out\nscores of the corresponding harnesses against cumulative solver rollouts. The x-axis is the number of solver rollouts for fair comparison, since the plugin mutation stage introduces extra burden.\nAppendix L provides a token cost analysis.\nPluginRSI rapidly reaches a held-in resolve rate that Meta-Harness does not attain within the evaluated budget. Harnesses with better held-in performance also improve on held-out tasks, with early\ngains followed by further improvements in later iterations. Meta-Harness improves more gradually\non held-in tasks, while its held-out performance fluctuates and remains lower at the end of optimization.\nObs. 2: PluginRSI finds higher-performing harnesses with fewer solver rollouts, with held-in\nimprovements accompanied by held-out gains.\n4.4\n\nA BLATION S TUDY\n\nWe examine the contributions of the plugin library and the two optimization stages. Table 4 reports\nresults under Kimi-K3 optimization and transfer to GPT-5.6 Terra and GLM-5.2. For the w/o initial\nplugins variant, we retain only the four basic plugins from the 75-plugin library and keep the initial workflow unchanged. For the w/o harness recomposition variant, we adopt the mutation-stage\nharness with the highest score on its b-task minibatch.\n7\n\n\fPreprint. Work in progress.\n\nTable 4: Ablation study on SWE-bench Verified. Harnesses are optimized and selected with KimiK3 on 400 held-in tasks, then fixed for evaluation across solver backbones. Values are resolve rates\n(%) and † marks the score used for harness selection. Bold marks the best result in each column.\nHeld-In (400)\n\nHeld-Out (100)\n\nGPT-5.6 Terra\n\nKimi-K3†\n\nGLM-5.2\n\nGPT-5.6 Terra\n\nKimi-K3\n\nGLM-5.2\n\nMeta-Harness\n+ Plugin Library\n+ Plugin Library w/o Initial Plugins\n\n58.25\n58.25\n61.00\n\n64.25\n65.50\n64.75\n\n59.75\n55.25\n56.25\n\n60.00\n58.00\n62.00\n\n63.00\n64.00\n62.00\n\n59.00\n56.00\n58.00\n\nPluginRSI\nw/o Initial Plugins\nw/o Plugin Mutation\nw/o Harness Recomposition\n\n58.00\n62.25\n52.25\n57.25\n\n66.75\n67.00\n58.50\n62.50\n\n59.50\n57.75\n46.25\n59.00\n\n64.00\n62.00\n49.00\n57.00\n\n69.00\n67.00\n57.00\n59.00\n\n64.00\n63.00\n50.00\n60.00\n\nMethod\n\nPlugin library and initial plugins. Adding an initialized or empty plugin library to Meta-Harness\ngives Kimi-K3 held-out resolve rates of 64.00% and 62.00%, close to its original 63.00%. This\nsuggests that providing a plugin library alone yields limited gains. Meanwhile, removing the initial\nplugins from PluginRSI yields similar Kimi-K3 held-in scores (66.75% versus 67.00%), and reduces\nheld-out scores by only 1.00–2.00 points across the three solvers. Strong performance is retained\nwithout these initial plugins.\nPlugin mutation and harness recomposition. Removing plugin mutation or harness recomposition reduces the Kimi-K3 held-out resolve rate from 69.00% to 57.00% and 59.00%, respectively.\nBoth ablations also reduce held-out scores with GPT-5.6 Terra and GLM-5.2. These results support\ncombining local improvements to plugins with global changes to their coordination.\nObs. 3: Both plugin mutation and harness recomposition improve held-out performance. A\nplugin library alone does not bring obvious gains.\n4.5\n\nP LUGIN ACCUMULATION AND R EUSE\n\nWe examine how plugins accumulate during optimization and whether the evolved library accelerates subsequent harness optimization.\n\nReusing evolved plugins. Figure 4 compares\noptimization from the initial harness, the initial\nharness with the evolved library, and the evolved\nharness with its plugins. Reusing the library from\nthe initial harness reaches a held-out resolve rate\nof 69% after two evolution steps, compared with\n65% without reuse. This approaches the 70%\nreached after three steps of continued optimization from the evolved harness. The results show\nthat the evolved library preserves useful improvements that accelerate optimization from a different starting harness.\n\nHeld-out solve rate (%)\n\nPlugin accumulation. Figure 5(a) shows that the library grows from 75 to 132 plugins over\n15 evolution steps, with additions across all four categories. Figure 5(b) tracks candidate size in\nPython lines of code (LoC). By the final step, PluginRSI candidates reach approximately 1,300\nLoC, compared with 400 LoC for Meta-Harness. Most of this growth comes from plugin implementations, while the workflow remains below 300 LoC. These results show that accumulated plugins\nsupport larger harness implementations while keeping the workflow compact.\n70\n65\n60\n55\n\nInitial harness\nInitial harness + evolved plugins\nEvolved harness + plugins\n\n50\n0\n\n1\n\n2\n\n3\n\n4\n\n5\n\nEvolution step\n\nFigure 4: Plugin reuse effectiveness. On heldout tasks, optimizing from initial harness w/ the\nevolved plugin library accelerates convergence.\n\nObs. 4: Accumulated plugins support larger harness implementations with compact workflows. Reusing the evolved library accelerates subsequent optimization.\n\n8\n\n\fPreprint. Work in progress.\n\nTotal plugins\nSkill\nTool\nRole\nMemory\n\nNumber of plugins\n\n140\n120\n100\n80\n\n75\n\n80\n\n84\n\n89\n\n93\n\n99\n\n95\n\n104\n\n106\n\n109\n\n115\n\n117\n\n120\n\n124\n\n128\n\n132\n\n60\n40\n\n1200\n1000\n800\n600\n400\n200\n\n20\n0\n\nMeta-Harness\nOurs\nOurs (workflow)\nOurs (plugins)\n\n1400\n\nComplexity (Python LoC)\n\n160\n\n0\n\n1\n\n2\n\n3\n\n4\n\n5\n\n6\n\n7\n\n8\n\n9\n\n0\n\n10 11 12 13 14 15\n\nEvolution step\n\n0\n\n1\n\n2\n\n3\n\n4\n\n5\n\n6\n\n7\n\n8\n\n9\n\n10 11 12 13 14 15\n\nEvolution step\n\n(a) Number of Plugins\n\n(b) Harness implementation size\n\nFigure 5: Plugin accumulation statistics. (a) Number of plugins in the plugin library. (b) Candidate implementation size during optimization. PluginRSI explores more complex harness structure\nby reusing discovered plugins, while the workflow implementation remains relatively brief.\n\n5\n\nR ELATED W ORK\n\nSelf-Improving Agent. Existing work enables agents to improve from feedback through model\nparameter updates and the refinement of external artifacts. Policy learning approaches let agents\nthemselves automatically generate tasks and interaction trajectories, and be optimized via reinforcement learning (Zhao et al., 2026; Huang et al., 2026; Qi et al., 2025; Zhai et al., 2025; Xia et al.,\n2026b) or supervised fine-tuning (Zweiger et al., 2026). For artifact optimization, prompt optimizers\nupdate instructions using execution feedback (Zhou et al., 2022; Yuksekgonul et al., 2024; Agrawal\net al., 2026b), while context and memory methods organize information and experiences for subsequent tasks (Zhang et al., 2026d; Ouyang et al., 2026; Shi et al., 2026b; Shinn et al., 2023; Zhao\net al., 2024; Yan et al., 2026; Shi et al., 2026c). Other approaches acquire and retain reusable behaviors as agent skills (Wang et al., 2024; Xia et al., 2026a; Ma et al., 2026). PluginRSI studies the\nimprovement of executable mechanisms and their coordinating workflows via harness optimization.\nRecursive Harness Optimization. Recursive harness optimization improves agent performance\nby searching over harness designs. Existing methods explore this space by iteratively rewriting\nharness implementations. One line of work targets specific aspects of the harness, including agentic\nworkflows (Hu et al., 2025; Zhang et al., 2025), prompts and role assignments (Agrawal et al.,\n2026b;a), and executable components (Yang et al., 2026b; Yu et al., 2026; Fei et al., 2025; Shi et al.,\n2026a). Other studies directly optimize algorithms (Romera-Paredes et al., 2024; Novikov et al.,\n2025) and executable implementations of agents (Zhang et al., 2026b;c; Lee et al., 2026; Zhang\net al., 2026a; Karten et al., 2026; Liu et al., 2026b). However, mechanisms remain entangled within\nthe harness during iterative rewriting, making their individual contributions difficult to evaluate and\npreventing their reuse. PluginRSI uses a plugin system to decouple individual mechanisms, enabling\ntheir evaluation with the rest of the harness fixed and their reuse across candidates.\nModular Harness Design. Expert-curated agent systems adopt modular harness designs to organize human-designed mechanisms into composable components. For example, DeepSeek Harness\nexposes runtime capabilities as swappable plugins (DeepSeek-AI, 2026). This modular organization allows human-designed mechanisms to be incorporated into harness engineering (Shang et al.,\n2025; Du et al., 2026b; Han et al., 2025). Recent work (Chen et al., 2026; Luo et al., 2026) combines\ntyped processors to automatically edit harness components and configurations. PluginRSI explores\nrecursive harness optimization of plugin-parameterized harnesses, focusing on how plugins can be\nindependently discovered, accumulated and reused across iterations.\n\n6\n\nC ONCLUSION\n\nWe introduce PluginRSI, a plugin-oriented algorithm for recursive harness optimization. It improves\nindividual mechanisms through plugin mutation and recomposes harnesses from an accumulated\nplugin library. Experiments show performance gains across software engineering, command-line\n9\n\n\fPreprint. Work in progress.\n\ninteraction, and QA tasks. On SWE-bench Verified, PluginRSI finds stronger harnesses with fewer\nsolver rollouts and retains its held-out advantage across solver models. Ablations support the contributions of both optimization stages. Reusing the evolved library accelerates subsequent optimization\nfrom the initial harness. These results show that harness evolution can accumulate reusable mechanisms that support further improvement.\n\nR EFERENCES\nLakshya A Agrawal, Donghyun Lee, Shangyin Tan, Wenjie Ma, Karim Elmaaroufi, Sanjit A. Seshia,\nKoushik Sen, Dan Klein, Ion Stoica, Joseph E. Gonzalez, Omar Khattab, Alexandros G. Dimakis,\nand Matei Zaharia. optimize anything: A universal api for optimizing any text parameter. In\nProceedings of the ACM Conference on AI and Agentic Systems, pp. 1300–1304, 2026a.\nLakshya A Agrawal, Shangyin Tan, Dilara Soylu, Noah Ziems, Rishi Khare, Krista Opsahl-Ong,\nArnav Singhvi, Herumb Shandilya, Michael J Ryan, Meng Jiang, et al. Gepa: Reflective prompt\nevolution can outperform reinforcement learning. In International Conference on Learning Representations, volume 2026, pp. 8479–8565, 2026b.\nAnthropic. Claude code. https://github.com/anthropics/claude-code, 2025, 2025. URL https:\n//github.com/anthropics/claude-code.\nTingyang Chen, Shuo Lu, Kang Zhao, Weicheng Meng, Hanlin Teng, Tianhao Li, Chao Li, Xule\nLiu, Jian Liang, Zhizhong Zhang, Yuan Xie, Heng Qu, Kun Shao, and Jian Luan. HarnessX: A\ncomposable, adaptive, and evolvable agent harness foundry. arXiv preprint arXiv:2606.14249,\n2026.\nNeil Chowdhury, James Aung, Chan Jun Shern, Oliver Jaffe, Dane Sherburn, Giulio Starace, Evan\nMays, Rachel Dias, Marwan Aljubeh, Mia Glaese, Carlos E. Jimenez, John Yang, Leyton Ho, Tejal Patwardhan, Kevin Liu, and Aleksander Madry. Introducing SWE-bench verified, 2024. URL\nhttps://openai.com/index/introducing-swe-bench-verified/. Accessed:\n2026-09-22.\nArman Cohan, Waleed Ammar, Madeleine van Zuylen, and Field Cady. Structural scaffolds for\ncitation intent classification in scientific publications. In Jill Burstein, Christy Doran, and Thamar\nSolorio (eds.), Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and\nShort Papers), pp. 3586–3596, Minneapolis, Minnesota, June 2019. Association for Computational Linguistics. doi: 10.18653/v1/N19-1361.\nDeepSeek-AI. Deepseek harness: Everything is a plugin.\nharness/en/, 2026. Accessed: 2026-09-22.\n\nhttps://deepseek.com/\n\nXeron Du, Yifan Yao, Kaijing Ma, Bingli Wang, Tianyu Zheng, Minghao Liu, Yiming Liang, Xiaolong Jin, Zhenlin Wei, Chujie Zheng, et al. Supergpqa: Scaling llm evaluation across 285 graduate\ndisciplines. Advances in Neural Information Processing Systems, 38, 2026a.\nYiming Du, Yuxin Jiang, Tao Yuan, Jianbo Dai, Shaowei Wang, Jierun Chen, Chaofan Tao, Xianzhi\nYu, Lifeng Shang, Kam-Fai Wong, et al. Lego-rl: Harness-native reinforcement learning for\ncoding agents. arXiv preprint arXiv:2608.17393, 2026b.\nYi Duan, Ying Liu, Zirui Tang, Haodong Chen, Jun Zhou, Yumou Liu, Bangrui Xu, Yukai Wu,\nSidi Chen, Yuhan Zhou, et al. The last ai built by humans: Toward genuine recursive selfimprovement. arXiv preprint arXiv:2609.11873, 2026.\nXiang Fei, Xiawu Zheng, and Hao Feng. Mcp-zero: Active tool discovery for autonomous llm\nagents. arXiv preprint arXiv:2506.01056, 2025.\nDongge Han, Camille Couturier, Daniel Madrigal Diaz, Xuchao Zhang, Victor Rühle, and Saravan\nRajmohan. Legomem: Modular procedural memory for multi-agent llm systems for workflow\nautomation. arXiv preprint arXiv:2510.04851, 2025.\n10\n\n\fPreprint. Work in progress.\n\nChaoqun He, Renjie Luo, Yuzhuo Bai, Shengding Hu, Zhen Thai, Junhao Shen, Jinyi Hu, Xu Han,\nYujie Huang, Yuxiang Zhang, et al. Olympiadbench: A challenging benchmark for promoting\nagi with olympiad-level bilingual multimodal scientific problems. In Proceedings of the 62nd\nAnnual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp.\n3828–3850, 2024.\nShengran Hu, Cong Lu, and Jeff Clune. Automated design of agentic systems. In The Thirteenth\nInternational Conference on Learning Representations, 2025.\nChengsong Huang, Wenhao Yu, Xiaoyang Wang, Hongming Zhang, Zongxia Li, Ruosen Li, Jiaxin Huang, Haitao Mi, and Dong Yu. R-zero: Self-evolving reasoning llm from zero data. In\nInternational Conference on Learning Representations, volume 2026, pp. 130770–130790, 2026.\nCarlos E Jimenez, John Yang, Alexander Wettig, Shunyu Yao, Kexin Pei, Ofir Press, and Karthik\nNarasimhan. Swe-bench: Can language models resolve real-world github issues? In In International Conference on Learning Representations, volume 2024, pages 54107–54157, 2024.\nSeth Karten, Joel Zhang, Tersoo Upaa Jr, Ruirong Feng, Wenzhe Li, Chengshuai Shi, Chi Jin, and\nKiran Vodrahalli. Continual harness: Online adaptation for self-improving foundation agents.\narXiv preprint arXiv:2605.09998, 2026.\nYoonho Lee, Roshen Nair, Qizheng Zhang, Kangwook Lee, Omar Khattab, and Chelsea Finn. MetaHarness: End-to-end optimization of model harnesses. In Conference on Language Modeling,\n2026.\nJiahang Lin, Shichun Liu, Chengjun Pan, Lizhi Lin, Shihan Dou, Zhiheng Xi, Xuanjing\nHuang, Hang Yan, Zhenhua Han, Tao Gui, and Yu-Gang Jiang. Agentic harness engineering: Observability-driven automatic evolution of coding-agent harnesses. arXiv preprint\narXiv:2604.25850, 2026a.\nMinhua Lin, Hanqing Lu, Zhan Shi, Bing He, Rui Mao, Zhiwei Zhang, Zongyu Wu, Xianfeng\nTang, Hui Liu, Zhenwei Dai, et al. Position: Agentic evolution is the path to evolving llms. arXiv\npreprint arXiv:2602.00359, 2026b.\nShuaiqi Liu, Zhengkai Lin, Yuxiang Zhang, Yuanyi Ren, Yue Wu, Yongbin Li, Zheng Wang, Zhihang Fu, and Jieping Ye. The path to recursive self-improving agents: Foundation, framework,\nand future directions. Preprints, August 2026a. doi: 10.20944/preprints202608.0051.v1.\nZewen Liu, Zhan Shi, Yisi Sang, Bing He, Minhua Lin, Tianxin Wei, Dakuo Wang, Benoit Dumoulin, Wei Jin, and Hanqing Lu. Adaptive auto-harness: Sustained self-improvement for agentic\nsystem deployment on open-ended task streams. arXiv preprint arXiv:2606.01770, 2026b.\nXiaotian Luo, Fengxingyu Wang, Chuanrui Hu, Dizhan Xue, and Yafeng Deng. Self-evolving agent\nharnesses via gated semantic quality-diversity. arXiv preprint arXiv:2607.13683, 2026.\nZiyu Ma, Shidong Yang, Yuxiang Ji, Xucong Wang, Yong Wang, Yiming Hu, Tongwen Huang, and\nXiangxiang Chu. Skillclaw: Let skills evolve collectively with agentic evolver. arXiv preprint\narXiv:2604.08377, 2026.\nSpencer Mateega, Carlos Georgescu, and Danny Tang. Financeqa: A benchmark for evaluating\nfinancial analysis capabilities of large language models. arXiv preprint arXiv:2501.18062, 2025.\nQ. Meng, Y. Wang, L. Chen, Y. Li, W. Wu, W. Jiang, Q. Wang, C. Lu, Y. Gao, Y. Wu, and Y. Hu.\nAgent harness for large language model agents: A survey. Preprints, 2026. doi: 10.20944/\npreprints202604.0428.v3.\nMike A. Merrill, Alexander G. Shaw, Nicholas Carlini, Boxuan Li, Harsh Raj, Ivan Bercovich, Lin\nShi, Jeong Yeon Shin, Thomas Walshe, E. Kelly Buchanan, Junhong Shen, Guanghao Ye, Haowei\nLin, Jason Poulos, Maoyu Wang, Marianna Nezhurina, Jenia Jitsev, Di Lu, Orfeas Menis Mastromichalakis, Zhiwei Xu, Zizhao Chen, Yue Liu, Robert Zhang, Leon Liangyu Chen, Anurag\nKashyap, Jan-Lucas Uslu, Jeffrey Li, Jianbo Wu, Minghao Yan, Song Bian, Vedang Sharma,\nKe Sun, Steven Dillmann, Akshay Anand, Andrew Lanpouthakoun, Bardia Koopah, Changran\n11\n\n\fPreprint. Work in progress.\n\nHu, Etash Guha, Gabriel H. S. Dreiman, Jiacheng Zhu, Karl Krauth, Li Zhong, Niklas Muennighoff, Robert Amanfu, Shangyin Tan, Shreyas Pimpalgaonkar, Tushar Aggarwal, Xiangning\nLin, Xin Lan, Xuandong Zhao, Yiqing Liang, Yuanli Wang, Zilong Wang, Changzhi Zhou, David\nHeineman, Hange Liu, Harsh Trivedi, John Yang, Junhong Lin, Manish Shetty, Michael Yang,\nNabil Omi, Negin Raoof, Shanda Li, Terry Yue Zhuo, Wuwei Lin, Yiwei Dai, Yuxin Wang, Wenhao Chai, Shang Zhou, Dariush Wahdany, Ziyu She, Jiaming Hu, Zhikang Dong, Yuxuan Zhu,\nSasha Cui, Ahson Saiyed, Arinbjörn Kolbeinsson, Jesse Hu, Christopher Michael Rytting, Ryan\nMarten, Yixin Wang, Alex Dimakis, Andy Konwinski, and Ludwig Schmidt. Terminal-bench:\nBenchmarking agents on hard, realistic tasks in command line interfaces, 2026.\nXuying Ning, Katherine Tieu, Dongqi Fu, Tianxin Wei, Zihao Li, Yuanchen Bei, Jiaru Zou, Mengting Ai, Zhining Liu, Ting-Wei Li, et al. Code as agent harness. arXiv preprint arXiv:2605.18747,\n2026.\nAlexander Novikov, Ngân Vũ, Marvin Eisenberger, Emilien Dupont, Po-Sen Huang, Adam Zsolt\nWagner, Sergey Shirobokov, Borislav Kozlovskii, Francisco JR Ruiz, Abbas Mehrabian,\net al. Alphaevolve: A coding agent for scientific and algorithmic discovery. arXiv preprint\narXiv:2506.13131, 2025.\nOpenAI. Codex. Note: Product page, 2026a. URL https://openai.com/codex/.\nOpenAI. GPT-5.6: Frontier intelligence that scales with your ambition, 2026b. URL https:\n//openai.com/index/gpt-5-6/.\nSiru Ouyang, Jun Yan, I-Hung Hsu, Yanfei Chen, Ke Jiang, Zifeng Wang, Rujun Han, Long T. Le,\nSamira Daruki, Xiangru Tang, Vishy Tirumalashetty, George Lee, Mahsan Rofouei, Hangfei Lin,\nJiawei Han, Chen-Yu Lee, and Tomas Pfister. ReasoningBank: Scaling agent self-evolving with\nreasoning memory. In The Fourteenth International Conference on Learning Representations,\n2026.\nLinyue Pan, Lexiao Zou, Shuo Guo, Jingchen Ni, and Hai-Tao Zheng. Natural-language agent\nharnesses. arXiv preprint arXiv:2603.25723, 2026.\nZehan Qi, Xiao Liu, Iat Long Iong, Hanyu Lai, Xueqiao Sun, Jiadai Sun, Xinyue Yang, Yu Yang,\nShuntian Yao, Wei Xu, et al. Webrl: Training llm web agents via self-evolving online curriculum\nreinforcement learning. In International Conference on Learning Representations, volume 2025,\npp. 79791–79821, 2025.\nZhe Ren, Yimeng Chen, Dandan Guo, Guowei Rong, Tonghui Li, RB Xiong, Qingfeng Lan, Wenyi\nWang, Li Nanbo, Yibo Yang, et al. Self-improvements in modern agentic systems: A survey.\narXiv preprint arXiv:2607.13104, 2026.\nBernardino Romera-Paredes, Mohammadamin Barekatain, Alexander Novikov, Matej Balog,\nM Pawan Kumar, Emilien Dupont, Francisco JR Ruiz, Jordan S Ellenberg, Pengming Wang,\nOmar Fawzi, et al. Mathematical discoveries from program search with large language models.\nNature, 625(7995):468–475, 2024.\nYu Shang, Yu Li, Keyu Zhao, Likai Ma, Jiahe Liu, Fengli Xu, and Yong Li. AgentSquare: Automatic LLM agent search in modular design space. In The Thirteenth International Conference on\nLearning Representations, 2025.\nYaorui Shi, Yuxin Chen, Zhengxi Lu, Yuchun Miao, Shugui Liu, Qi Gu, Xunliang Cai, Xiang Wang,\nand An Zhang. Skill1: Unified evolution of skill-augmented agents via reinforcement learning.\narXiv preprint arXiv:2605.06130, 2026a.\nYaorui Shi, Yuxin Chen, Siyuan Wang, Sihang Li, Hengxing Cai, Qi Gu, Xiang Wang, and\nAn Zhang. Look back to reason forward: Revisitable memory for long-context llm agents. In\nInternational Conference on Learning Representations, volume 2026, pp. 78055–78082, 2026b.\nYaorui Shi, Shugui Liu, Yu Yang, Wenyu Mao, Yuxin Chen, Qi GU, Hui Su, Xunliang Cai, Xiang Wang, and An Zhang. MemOCR: Layout-aware visual memory for efficient long-horizon\nreasoning. In Forty-third International Conference on Machine Learning, 2026c.\n12\n\n\fPreprint. Work in progress.\n\nNoah Shinn, Federico Cassano, Ashwin Gopinath, Karthik R Narasimhan, and Shunyu Yao. Reflexion: language agents with verbal reinforcement learning. In Thirty-seventh Conference on Neural\nInformation Processing Systems, 2023.\nKimi Team, Tongtong Bai, Yifan Bai, Yiping Bao, Jianfeng Cai, Xinyuan Cai, Peizhou Cao, Yuxuan Cao, Ziwei Chai, Y Charles, et al. Kimi k3: Open frontier intelligence. arXiv preprint\narXiv:2607.24653, 2026.\nGuanzhi Wang, Yuqi Xie, Yunfan Jiang, Ajay Mandlekar, Chaowei Xiao, Yuke Zhu, Linxi Fan,\nand Anima Anandkumar. Voyager: An open-ended embodied agent with large language models.\nTransactions on Machine Learning Research, 2024. ISSN 2835-8856.\nMiles Wang, Robi Lin, Kat Hu, Joy Jiao, Neil Chowdhury, Ethan Chang, and Tejal Patwardhan.\nFrontierscience: Evaluating ai’s ability to perform expert-level scientific tasks. arXiv preprint\narXiv:2601.21165, 2026.\nChunqiu Steven Xia, Yinlin Deng, Soren Dunn, and Lingming Zhang. Agentless: Demystifying\nllm-based software engineering agents. arXiv preprint arXiv:2407.01489, 2024.\nPeng Xia, Jianwen Chen, Hanyang Wang, Jiaqi Liu, Kaide Zeng, Yu Wang, Siwei Han, Yiyang\nZhou, Xujiang Zhao, Haifeng Chen, Zeyu Zheng, Cihang Xie, and Huaxiu Yao. SkillRL: Evolving agents via recursive skill-augmented reinforcement learning. In ICLR 2026 Workshop on\nLifelong Agents: Learning, Aligning, Evolving, 2026a.\nPeng Xia, Kaide Zeng, Jiaqi Liu, Can Qin, Fang Wu, Yiyang Zhou, Caiming Xiong, and Huaxiu\nYao. Agent0: Unleashing self-evolving agents from zero data via tool-integrated reasoning. In\nThird Conference on Language Modeling, 2026b.\nSikuan Yan, Xiufeng Yang, Zuchao Huang, Ercong Nie, Zifeng Ding, Zonggen Li, Xiaowen Ma,\nJinhe Bi, Kristian Kersting, Jeff Z. Pan, Hinrich Schuetze, Volker Tresp, and Yunpu Ma. Memoryr1: Enhancing large language model agents to manage and utilize memories via reinforcement\nlearning. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 12805–12825, July 2026. ISBN 979-8-89176-390-6.\nJ. Yang, C. E. Jimenez, A. Wettig, K. Lieret, S. Yao, K. R. Narasimhan, and O. Press.\nSwe-agent: agent-computer interfaces enable automated software engineering.\nIn The\nThirty-Eighth Annual Conference on Neural Information Processing Systems, 2024. URL\nhttps://openreview.net/forum?id=mXpq6ut8J3&amp;referrer=%5Bthe%\n20profile%20of%20Shunyu%20Yao%5D(%2Fprofile%3Fid%3D˜Shunyu_Yao1).\nJohn Yang, Kilian Lieret, Carlos Jimenez, Alexander Wettig, Kabir Khandpur, Yanzhe Zhang,\nBinyuan Hui, Ofir Press, Ludwig Schmidt, and Diyi Yang. Swe-smith: Scaling data for software engineering agents. Advances in Neural Information Processing Systems, 38, 2026a.\nYifan Yang, Ziyang Gong, Weiquan Huang, Qihao Yang, Ziwei Zhou, Zisu Huang, Yan Li, Xuemei\nGao, Qi Dai, Bei Liu, et al. Skillopt: Executive strategy for self-evolving agent skills. arXiv\npreprint arXiv:2605.23904, 2026b.\nShunyu Yao, Jeffrey Zhao, Dian Yu, Nan Du, Izhak Shafran, Karthik R Narasimhan, and Yuan\nCao. React: Synergizing reasoning and acting in language models. In The Eleventh International\nConference on Learning Representations, 2023.\nZhuoyun Yu, Xin Xie, Wuguannan Yao, Chenxi Wang, Lei Liang, Xiang Qi, and Shumin Deng. Skilladaptor: Self-adapting skills for llm agents from trajectories. arXiv preprint arXiv:2606.01311,\n2026.\nMert Yuksekgonul, Federico Bianchi, Joseph Boen, Sheng Liu, Zhi Huang, Carlos Guestrin, and\nJames Zou. Textgrad: Automatic” differentiation” via text. arXiv preprint arXiv:2406.07496,\n2024.\nAohan Zeng, Xin Lv, Zhenyu Hou, Zhengxiao Du, Qinkai Zheng, Bin Chen, Da Yin, Chendi Ge,\nChenghua Huang, Chengxing Xie, et al. Glm-5: from vibe coding to agentic engineering. arXiv\npreprint arXiv:2602.15763, 2026.\n13\n\n\fPreprint. Work in progress.\n\nYunpeng Zhai, Shuchang Tao, Cheng Chen, Anni Zou, Ziqian Chen, Qingxu Fu, Shinji Mai, Li Yu,\nJiaji Deng, Zouying Cao, et al. Agentevolver: Towards efficient self-evolving agent system. arXiv\npreprint arXiv:2511.10395, 2025.\nHangfan Zhang, Shao Zhang, Kangcong Li, Chen Zhang, Yang Chen, Yiqun Zhang, Lei Bai, and\nShuyue Hu. Self-Harness: Harnesses that improve themselves. arXiv preprint arXiv:2606.09498,\n2026a.\nJenny Zhang, Shengran Hu, Cong Lu, Robert Tjarko Lange, and Jeff Clune. Darwin Gödel machine:\nOpen-ended evolution of self-improving agents. In The Fourteenth International Conference on\nLearning Representations, 2026b.\nJenny Zhang, Bingchen Zhao, Wannan Yang, Jakob Foerster, Jeff Clune, Minqi Jiang, Sam Devlin,\nand Tatiana Shavrina. Hyperagents. arXiv preprint arXiv:2603.19461, 2026c.\nJiayi Zhang, Jinyu Xiang, Zhaoyang Yu, Fengwei Teng, Xiong-Hui Chen, Jiaqi Chen, Mingchen\nZhuge, Xin Cheng, Sirui Hong, Jinlin Wang, Bingnan Zheng, Bang Liu, Yuyu Luo, and Chenglin\nWu. AFlow: Automating agentic workflow generation. In The Thirteenth International Conference on Learning Representations, 2025.\nQizheng Zhang, Changran Hu, Shubhangi Upasani, Boyuan Ma, Fenglu Hong, Vamsidhar Kamanuru, Jay Rainton, Chen Wu, Mengmeng Ji, Hanchen Li, Urmish Thakker, James Zou, and Kunle\nOlukotun. Agentic context engineering: Evolving contexts for self-improving language models.\nIn The Fourteenth International Conference on Learning Representations, 2026d.\nShaokun Zhang, Jieyu Zhang, Jiale Liu, Linxin Song, Chi Wang, Ranjay Krishna, and Qingyun Wu.\nOffline training of language model agents with functions as learnable weights. In Proceedings of\nthe 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine\nLearning Research, pp. 60315–60335. PMLR, 21–27 Jul 2024.\nAndrew Zhao, Daniel Huang, Quentin Xu, Matthieu Lin, Yong-Jin Liu, and Gao Huang. Expel:\nLlm agents are experiential learners. In Thirty-Eighth AAAI Conference on Artificial Intelligence,\npp. 19632–19642. AAAI Press, 2024. doi: 10.1609/aaai.v38i17.29936.\nAndrew Zhao, Yiran Wu, Tong Wu, Quentin Xu, Yang Yue, Matthieu Lin, Shenzhi Wang, Qingyun\nWu, Zilong Zheng, and Gao Huang. Absolute zero: Reinforced self-play reasoning with zero\ndata. Advances in Neural Information Processing Systems, 38:105816–105879, 2026.\nYongchao Zhou, Andrei Ioan Muresanu, Ziwen Han, Keiran Paster, Silviu Pitis, Harris Chan,\nand Jimmy Ba. Large language models are human-level prompt engineers. arXiv preprint\narXiv:2211.01910, 2022.\nAdam Zweiger, Jyo Pari, Han Guo, Yoon Kim, and Pulkit Agrawal. Self-adapting language models.\nAdvances in Neural Information Processing Systems, 38:74084–74115, 2026.\n\n14\n\n\fPreprint. Work in progress.\n\nA\n\nR EPRODUCIBILITY STATEMENT\n\nWe describe the optimization procedure in Section 3 and Algorithm 1, and the evaluation protocol in\nSection 4.1. Appendix E reports model configurations, search hyperparameters and the API access\nperiod. Appendices H and G provide the initial harness, seed plugin sources, and proposer prompts.\nAppendix I describes the SWE-Bench Verified split, and Appendix J specifies the plugin interfaces.\nAn anonymous code repository is linked in the abstract.\n\nB\n\nE THICS STATEMENT\n\nThe experiments and research within the scope of this paper raise few ethical concerns, such as potentially harmful insights and discrimination/bias/fairness concerns. Our experiments use existing\nbenchmarks for software engineering, command-line interaction, and question answering. Automatically evolved harnesses can improve software development, but generated code and commands may\nalso introduce errors or unintended changes. Deployment beyond benchmark environments should\ntherefore include code review and appropriate execution permissions.\n\nC\n\nU SE OF AI S TATEMENT\n\nWe used generative AI tools to assist with literature review, code development and manuscript polishing. In particular, GPT-5.6 Sol assisted with mechanism extraction for the seed plugin library (as\nstated in Appendix G), and all resulting plugins underwent manual inspection. The use of LLMs\nas proposers and solvers is described in the method and implementation details (as stated in Appendix E).\n\nD\n\nL IMITATIONS AND F UTURE W ORK\n\nDespite its effectiveness, this work faces several limitations. First, we evaluate harness evolution\non fixed task sets over a limited number of iterations. Longer-term evolution under changing task\ndistributions remains to be explored, together with the management of a growing plugin library.\nSecond, the transfer of discovered mechanisms depends on the task domain and solver model. Gains\nare smaller across dissimilar QA domains; thus, optimizing across multiple domains and models\ncould improve broader reuse. Third, plugin mutation evaluates each change with the remaining\nharness fixed. This can miss mechanisms that require coordinated changes to other plugins or the\nworkflow. Future work could explore harness optimization on long-horizon tasks, more significant\ncross-domain transferability and the plugin-workflow joint optimization.\n\nE\n\nI MPLEMENTATION D ETAILS\n\nFor the SWE-Bench experiments in Table 1, we use GPT-5.6 Terra and Kimi-K3 as proposers in\nthe respective optimization settings, with the same backbone serving as the optimization solver.\nHarnesses are selected using held-in scores from the corresponding optimization solver and then\nfixed for evaluation across GPT-5.6 Terra, Kimi-K3, and GLM-5.2. For Terminal-Bench, QA and all\nablation experiments, Kimi-K3 serves as both proposer and optimization solver. Reasoning effort is\nset to xhigh for the proposer and none for all solvers. At each iteration, PluginRSI generates N =\n8 plugin mutation candidates per iteration and evaluates each on a separately sampled minibatch of\nb = 20 tasks.\nEach minibatch contains 10 tasks solved by the current harness and 10 unsolved tasks. For example, on SWE-Bench Verified, each iteration evaluates mutation candidates and one recomposition\ncandidate using |Dval | + N × b = 400 + 8 × 20 = 560 solver rollouts. We run our method for\nT = 15 iterations and the baselines for T = 25 iterations. The subsequent harness recomposition\nstage generates one candidate, which is evaluated on all held-in tasks. Tables 5 and 6 summarize the\nsearch hyperparameters and model configurations. For all models, we use response APIs accessed\nin September 2026. It is worth noting that we observe an obvious performance degradation in GPTseries models around the end of August. Although the cause of this degradation remains unclear, we\nreran all experiments in September to ensure a fair comparison.\n15\n\n\fPreprint. Work in progress.\n\nBaseline implementations. ReAct follows a reasoning–acting loop with either zero-shot instructions or few-shot demonstrations. ACE augments the harness with a context playbook that accumulates experience. In our experiment we only turn on the “online” memory of ACE with no cross-task\nexperience. Thus, it is considered an “expert-curated” baseline instead of an automatically updated\none.\nAll the automatically optimized harnesses start from a ReAct-style initial harness. GEPA revises\nprompt instructions using execution feedback, where we let it recursively optimize the solver’s system prompt. DGM and Meta-Harness revise complete executable harness implementations from\nthe initial harness. All methods use the same task splits, API endpoints, and environment sandboxes, with model backbones following the corresponding experimental setting. All automatically\noptimized baselines run for 25 iterations. The selected harness is then kept fixed for held-out and\ncross-model evaluation.\nPlugin reuse setup. The evolved harness and plugin library used in Figure 4 come from the search\nthat produced the best held-in-selected PluginRSI result in the corresponding optimization setting\nof Table 1. The three conditions start from the initial harness with the initial library, the same\ninitial harness with the evolved library, and the selected evolved harness with its evolved library,\nrespectively. The subsequent harness optimization runs on the held-out 100 tasks following the\nheld-in protocol in Section 4.1.\nTable 5: Hyperparameters.\nHyperparameter\n\nValue\n\nProposer Agent\nOptimization iterations (T )\nMutation candidates per iteration (N )\nMutation minibatch size (b)\nRecomposition candidates per iteration\nSolved:Unsolved tasks per minibatch\nMax interaction turns\nRandom Seed\n\n15\n8\n20\n1\n10:10\n40\n42\n\nSolver Agent\nMax interaction turns\nTimeout seconds\n\n20\n360\n\nTable 6: Model configurations for the proposer and solvers.\n\nF\n\nRole\n\nModel\n\nReasoning\n\nMax Output Tokens\n\nProposer\nProposer\nSolver\nSolver\nSolver\n\nGPT-5.6 Terra\nKimi-K3\nGPT-5.6 Terra\nKimi-K3\nGLM-5.2\n\nxhigh\nxhigh\nnone\nnone\ndisabled\n\n16,384\n16,384\n8,192\n8,192\n8,192\n\nA DDITIONAL R ESULTS\n\nWe further compare against SkillOPT (Yang et al., 2026b), A-Evolve (Lin et al., 2026b) and Agentic Harness Engineering (AHE) (Lin et al., 2026a) on SWE-bench Verified with Kimi-K3 as both\nproposer and solver.\nThe results in Table 7 show that the advantage of PluginRSI also holds over the additional baselines. Compared with SkillOPT, A-Evolve, and AHE, PluginRSI improves held-out resolve rates by\n16\n\n\fPreprint. Work in progress.\n\nTable 7: Results on SWE-bench Verified with Kimi-K3 as both proposer and solver. Values are\nresolve rates (%). Bold marks the best result in each column.\nMethod\n\nHeld-In (400)\n\nHeld-Out (100)\n\n61.00\n58.00\n54.75\n61.75\n60.25\n64.25\n66.75\n\n62.00\n55.00\n60.00\n57.00\n63.00\n63.00\n69.00\n\nGEPA\nDGM\nSkillOPT (Yang et al., 2026b)\nA-Evolve (Lin et al., 2026b)\nAHE (Lin et al., 2026a)\nMeta-Harness\nPluginRSI\n\nTable 8: Sources used to construct the seed plugin library. Repository and specification names link\nto their corresponding resources.\nSource category\n\nPapers and resources\n\nResearch papers\n\nSWE-agent (Yang et al., 2024), Agentless (Xia et al., 2024),\nSWE-smith (Yang et al., 2026a), and SWE-Bench (Jimenez et al.,\n2024).\n\nAgent implementations\n\nmini-SWE-agent, Aider, DeepSeek Harness, and OpenHands\nSoftware Agent SDK.\n\nSkill instructions and\norganization\n\nAgent Skills specification, Anthropic Skills, Superpowers, Addy\nOsmani Agent Skills, and OpenHands Extensions.\n\nTrajectories and\nevaluation records\n\nSWE-Bench experiment repository and SWE-smith trajectory corpus.\n\n9.00, 12.00, and 6.00 points, respectively. These results further support the effectiveness of pluginoriented harness optimization beyond the tasks used during search. For computational burdens, we\ndo not put these baseline methods in § 4.2 for comparison.\n\nG\n\nI NITIAL H ARNESS\n\nSeed Plugin Library. We construct the seed plugin library L0 from prior research and open-source\nagent systems, with sources summarized in Table 8. We manually curate the paper list and use GPT5.6 Sol to extract role responsibilities and prompts, reusable skill procedures, tool schemas, and\nmemory record structures. We adapt these assets into Python plugins with standardized interfaces\nand manually inspect all plugins. Each plugin retains its configuration, supporting resources, and\nprovenance documenting its sources and adaptation. The resulting library contains 75 components\nacross four categories (Table 9), from which each harness selects the components it uses.\nRoles render prompts specifying responsibilities and constraints, with input/output metadata where\napplicable. Tools expose structured argument schemas and executable operations: repository actions\nrun in the task environment, while patch submission writes a prediction artifact. Skills provide\nloadable instructions and supporting resources. Memory components manage the mechanisms to\nstore and retrieve task-local evidence using lexical overlap.\nSeed Workflow. The initial harness instantiates four plugins from L0 . The harness starts with a\ncoder role, a terminal tool, a debugging skill, and an experience-bank memory. The workflow loads\nthe skill instructions into the role prompt and exposes the selected tools to the solver. At each turn,\nit retrieves task-local observations, queries the solver, executes any requested tools, and stores their\noutputs in memory. Execution ends when the solver returns without tool calls or reaches the limit\nof 20 turns. Memory is initialized separately for each task. The complete workflow and its plugin\nconfiguration are shown in Figure 6.\n17\n\n\fPreprint. Work in progress.\n\nTable 9: Composition of the seed plugin library. Coverage is summarized by function.\nCategory\n\nCount\n\nFunctional coverage\n\nRoles\n\n20\n\nBaseline coding and boundary enforcement; task analysis and context\npreparation; fault localization and diagnosis; patch planning, generation, and\nranking; verification and finalization; experience extraction and plugin or\nworkflow editing.\n\nTools\n\n16\n\nTerminal and shell execution; file access and repository navigation; text and\nsymbol search; patch application; Git inspection; test discovery and\nexecution; linting and failure inspection; patch submission.\n\nSkills\n\n31\n\nTask analysis and repository orientation; skill routing and instruction\nloading; code localization and call-chain tracing; reproduction and\ndebugging; patching and contract preservation; testing and completion\nchecks; blocker diagnosis and recovery; lesson extraction and skill\nimprovement; harness-authoring guidance.\n\nMemory\n\n8\n\nA baseline experience bank and seven structured record types: trajectories,\ntask outcomes, failure signatures, lesson candidates, counterexamples,\ncomponent credit, and skill evaluations.\n\nTotal\n\n75\n\nclass Workflow:\nasync def run(self, task, runtime, plugins):\ntools = {alias: plugin for alias, plugin in plugins.items() if isinstance(plugin, Tool)}\nmemories = [plugin for plugin in plugins.values() if isinstance(plugin, Memory)]\nguidance = \"\\n\".join(plugin.load({}).instructions for plugin in plugins.values() if isinstance(plugin, Skill))\nsystem = \"\\n\".join(plugin.render({\"guidance\": guidance}) for plugin in plugins.values() if isinstance(plugin, Role))\nschemas = [dict(plugin.schema(), name=alias) for alias, plugin in tools.items()]\nmessages = [{\"role\": \"system\", \"content\": system}, {\"role\": \"user\", \"content\": task.instruction}]\nfor turn in range(MAX_TURNS):\nif turn:\nrecalled = [item.content for memory in memories for item in await memory.retrieve({\"query\": task.instruction})]\nif recalled:\nmessages.append({\"role\": \"user\", \"content\": \"Relevant task-local observations:\\n\" + \"\\n\".join(recalled)})\nresponse = await runtime.model.complete(messages, schemas)\nmessages.extend(response[\"output\"])\ncalls = [item for item in response[\"output\"] if item[\"type\"] =$ \"function_call\"]\nif not calls:\nreturn SolveResult(response[\"output_text\"])\nfor call in calls:\nresult = await tools[call[\"name\"]].execute(json.loads(call[\"arguments\"]))\nmessages.append({\"type\": \"function_call_output\", \"call_id\": call[\"call_id\"], \"output\": result.content})\nfor memory in memories:\nawait memory.update({\"content\": result.content, \"metadata\": {\"turn\": turn, \"tool\": call[\"name\"]}})\nreturn SolveResult(\"Turn limit reached.\", termination_reason=\"turn_limit\")\n\nFigure 6: Python implementation of the initial harness workflow.\n\nH\n\nS YSTEM P ROMPT FOR P ROPOSER\n\nThe proposer uses separate instructions for plugin mutation and harness recomposition. Each proposal starts a new conversation, with the current harness, accessible plugin references, evaluation\nfeedback, and historical candidate summaries supplied as context. Trajectory summaries provide an\noverview of the feedback, while file-reading actions allow the proposer to inspect full implementations and relevant trajectory segments. The phase-specific instructions are given below.\nPlugin Mutation. Each mutation branch receives the current harness and its scores and execution\ntrajectories on a separately sampled minibatch. The proposer uses this feedback to select a plugin used by the harness and develop a modified implementation, while keeping the workflow, the\nremaining plugins, and the selected instance’s configuration fixed. The mutation instructions are\nsummarized in Plugin Mutation Instructions.\nHarness Recomposition. The proposer receives the incumbent’s full held-in feedback and the mutation results from the current iteration. It selects plugins from the updated library and revises the\n18\n\n\fPreprint. Work in progress.\n\nworkflow to coordinate them. Plugin implementations remain fixed during this stage. The detailed\nraw prompt is included in System Prompt for Harness Recomposition.\nBoth prompts are followed by a shared file-action protocol, which is included in File-Action\nProtocol. The available actions are list files, read file, read file range,\nwrite file, and submit proposal.\nPlugin Mutation Instructions\nUse this local experiment to invent a plugin-level solution to a concrete failure in the supplied trajectories.\nRead summaries, then inspect relevant full trace ranges and plugin code to identify where the attempt\nwent wrong; check successes for regressions.\nInspect the current harness and the supplied minibatch feedback. Develop one transferable mechanism\nthat could fix that failure. You may revise the existing implementation or replace it from scratch; the\ncopied code is only a scaffold. You may revise the selected plugin’s implementation or replace it from\nscratch.\nDo not implement explicit content hashing or digests. Use direct string equality for deduplication.\nWrite the modified implementation to a new new plugins/&lt;kind&gt;/&lt;name&gt;/&lt;version&gt;/\npackage for the selected plugin.\nlibrary/ is READ-ONLY. Never write plugins under\nchild/plugins/ or any other child/ subdirectory.\nKeep every workflow file byte-for-byte unchanged. In harness.yaml, change only the selected instance’s plugin reference to the new version; keep its alias, configuration, and all other manifest values\nunchanged.\nCreate exactly one new plugin with the same kind/name as the selected source reference and a new\nversion. Implement a transferable improvement, not task-specific answers.\nOther plugins and the shared runtime/evaluator are immutable. Keep the public interface and existing\ninstance configuration compatible. Do not install dependencies or inspect hidden tests.\nUse local feedback and your previous attempts, including failures, to refine the mechanism. In hypothesis, cite the task/trace evidence, the failure mechanism and the expected repair.\nDeliver actual files and call submit proposal with hypothesis, changes:list[string],\nnew plugin refs. New plugin provenance requires label, sources, upstream assets,\nadaptation and parent refs.\n\nSystem Prompt for Harness Recomposition\nBuild a better complete Harness by integrating useful ideas from this round’s plugin experiments. Prioritize newly published plugins with positive local score gains; read their implementations and relevant\nparent/child trajectories to understand which failures they repaired, any regressions, and when their\nmechanisms should help.\nLocal gains are evidence for integration, not a guarantee of full-set improvement.\nRedesign workflow control flow, context and plugin composition so selected plugins are actually used\nwhere they can help. Combine compatible mechanisms; avoid blindly stacking plugins or preserving the\nincumbent assembly by default. Use rejected attempts to avoid repeating failures.\nIn hypothesis, name the selected plugin refs, supporting local results and how the workflow will use\nthem; explain if no new plugin is suitable.\nDo not implement explicit content hashing or digests. Use direct string equality for deduplication.\nYou may rewrite the entire child workflow package, helpers, resources and plugin assembly. Use only\nfrozen allowed plugin refs. Do not create or modify plugin packages in this phase.\nDo not change the model, runtime, evaluator, resource ceilings or hidden tests; do not install dependencies. Do not hard-code task answers.\nDeliver executable files and submit proposal with new plugin refs=[].\n\n19\n\n\fPreprint. Work in progress.\n\nFile-Action Protocol (shared for both stages).\nUse the same confined file actions described below, but encode them in ordinary text.\nEvery response must be one JSON object:\n{\n\"actions\": [\n{\n\"name\": \"read file\",\n\"arguments\": {\n\"path\": \"child/workflow.py\"\n}\n}\n],\n\"final\": false\n}\nYou may batch actions. Their results arrive as quoted data in the next user message.\nUse final=true only after delivering all executable files and proposal result.json. Use\nsubmit proposal for final metadata. Each changes entry must be a string, not an object.\nNever emit API function calls, shell commands as actions, prose outside JSON, or a mere diff description.\nFile actions have exactly the same read/write scope as the supplied coding-agent contract.\n\nI\n\nDATASET S PLIT\n\nSWE-Bench Verified. We use a fixed partition of the 500 tasks in SWE-Bench Verified into a heldin split Dval of 400 tasks and a held-out split Dtest of 100 tasks. The partition is specified by disjoint\ntask-ID lists and is shared across all methods and solver backbones. During optimization, mutation\nminibatches are sampled exclusively from Dval , and recomposition candidates are evaluated on the\nfull held-in split. We select the harness with the highest held-in resolve rate under the corresponding\noptimization solver and keep its workflow and plugin configuration fixed for held-out and crossmodel evaluation.\nSubdomain composition. We treat each source repository as a subdomain and compare its proportion within each split in Figure 7. Normalizing by split size allows a direct comparison despite\nthe 4:1 size ratio. Django accounts for 45.25% of held-in tasks and 50% of held-out tasks; SymPy\naccounts for 14.25% and 18%, respectively, while Sphinx accounts for 9.75% and 5%. The heldin split covers all 12 repositories, whereas the held-out split covers 10: the two Seaborn tasks and\nthe single Flask task occur only in the held-in split. Thus, the held-out evaluation measures tasklevel generalization within the benchmark, rather than transfer to unseen repositories, and does not\nprovide held-out evidence for Seaborn or Flask.\n\nJ\n\nP LUGIN S CHEMA\n\nPlugin packages. Each plugin is implemented as a versioned Python package stored at\n&lt;library&gt;/&lt;kind&gt;/&lt;name&gt;/&lt;version&gt;/. The package contains a plugin.yaml manifest, init .py, an implementation module, and supporting resources such as prompts and\nrubrics. The manifest specifies how the plugin is loaded and configured, while the Python implementation defines its behavior. Figure 8 shows an example plugin manifest and its use in a harness.\nPlugin manifest. All four plugin categories share the same manifest structure. The fields kind,\nname, and version identify a plugin through a reference such as tool/terminal/v0001,\nand entrypoint specifies its implementation class. Instance configurations are defined by\nconfig schema using JSON Schema. The loader fills in default values and validates the configuration before creating the instance. For example, the terminal plugin in Figure 8(a) specifies\nan output limit and an execution timeout. Optional provenance metadata records the plugin’s\nsources, adaptation details, and parent references.\n20\n\n\fPreprint. Work in progress.\n\n181\n\ndjango/django\n57\n\nsympy/sympy\nsphinx-doc/sphinx\n\n5\n\nmatplotlib/matplotlib\n\n5\n\n50\n\n18\n\n39\n29\n25\n7\n\nscikit-learn/scikit-learn\nastropy/astropy\n\n17\n5\n\npydata/xarray\n\n18\n4\n\npytest-dev/pytest\n\n3\n\n16\n\n8\n2\n\npylint-dev/pylint\npsf/requests\n\n1\n\n7\n\n2\n\nmwaskom/seaborn 0\n\nHeld-in (n = 400)\nHeld-out (n = 100)\n\n1\n\npallets/flask 0\n0%\n\n10%\n\n20%\n30%\nShare of tasks within each split\n\n40%\n\n50%\n\nFigure 7: Sub-domain distribution of held-in and held-out tasks on Swe-Bench-Verified.\n(b) Harness manifest: harness.yaml\n\n(a) Plugin manifest: plugin.yaml\nschema_version: 1\nkind: tool\n\nschema_version: 1\nentrypoint: workflow:Workflow\n\nname: terminal\nversion: v0001\n\nplugins:\ncoder:\nref: role/coder/v0001\nconfig: {}\n\nentrypoint: implementation:Terminal\ndescription: Execute a shell command.\n\nterminal:\nref: tool/terminal/v0001\n\nconfig_schema:\ntype: object\nproperties:\nmax_output_bytes:\n\nconfig:\ntimeout_seconds: 180\n\ntype: integer\nminimum: 1\n\ndebugging:\nref: skill/debugging/v0001\nconfig: {}\nexperience:\n\ndefault: 30000\ntimeout_seconds:\n\nref: memory/experience_bank/v0001\nconfig:\n\ntype: number\nexclusiveMinimum: 0\n\ntop_k: 5\n\ndefault: 180\nadditionalProperties: false\nprovenance:\nsources: []\nadaptation: Environment-command wrapper.\nparent_refs: []\n\nFigure 8: Examples of plugin and harness manifests. (a) plugin.yaml defines a terminal tool and\nits instance configuration. (b) harness.yaml assembles a harness by mapping workflow aliases\nto versioned plugins and their configurations.\nPlugin interfaces. Each plugin implements the Python interface of its category, as summarized\nin Table 10. The workflow invokes these methods to render role prompts, load skill instructions,\nexecute tools, and manage memory. Tool-call argument schemas are exposed through schema(),\nseparately from the instance configuration defined in plugin.yaml.\nHarness assembly. The harness.yaml manifest selects plugin versions and assigns each instance an alias and configuration. The loader checks the selected packages and their interfaces, then\ninstantiates them with the specified configurations. The workflow accesses these instances through\n21\n\n\fPreprint. Work in progress.\n\nTable 10: Plugin interfaces exposed to the workflow.\nCategory\n\nInterface\n\nFunction\n\nRole\n\nrender(context)\n\nTool\n\nschema()\nexecute(arguments)\nload(context)\n\nReturns a prompt string constructed from the supplied context.\nExposes the tool-call schema and asynchronously executes an operation, returning a ToolResult.\nReturns a SkillContent containing instructions\nand associated resources.\nAsynchronously stores an experience and retrieves a\nlist of MemoryItem objects.\n\nSkill\nMemory\n\nupdate(experience)\nretrieve(query)\n\nTable 11: Selected plugin mutations and their screening results. Values are resolved tasks before\nand after mutation on each candidate’s minibatch, using cached outcomes for the original harness.\nFor incremental evidence retrieval, one verifier timeout leaves 19 tasks with valid outcomes in both\nevaluations.\nCategory Discovered mechanism\n\nBefore After\n\nRole\n\nRepair-scope control\nDiscriminative checks and lifecycle continuity\n\n10/20\n10/20\n\n13/20\n13/20\n\nSkill\n\nSemantic source preservation\nExplicit precedence and representation checks\nPublic-path checks with reachability controls\n\n10/20\n10/20\n10/20\n\n13/20\n13/20\n14/20\n\nMemory\n\nIncremental evidence retrieval\nTest-outcome classification\n\n10/19\n10/20\n\n14/19\n12/20\n\nTool\n\nFailure-aware terminal feedback\n\n10/20\n\n14/20\n\nthe plugins mapping; for example, plugins[\"terminal\"] refers to the terminal instance in\nFigure 8(b). Its asynchronous run(task, runtime, plugins) method coordinates model\ncalls and plugin execution and returns a SolveResult. Each versioned plugin reference identifies a fixed implementation. Plugin mutation creates a new version and updates the corresponding\nreference while preserving the instance alias, configuration, and category interface. Harness recomposition selects existing plugin versions and revises the workflow that coordinates them.\n\nK\n\nD ISCOVERED P LUGINS\n\nWe examine how plugin mutation changes the mechanisms that guide solver behavior. Table 11\nsummarizes eight selected mutations across roles, skills, memory, and tools, with one example from\neach category illustrated below.\nRole: repair-scope control. The mutated coder role refines how the solver determines the scope\nof a repair. While the original role encourages small edits, the mutated instructions place guards,\ntransactions, or cleanup around the smallest sequence of persistent mutations that requires them\n(Figure 9). In django django-16100, the original solver wraps the entire admin view in a\ntransaction, whereas the solver using the mutated role limits the transaction to the affected bulkwrite loop and resolves the task. This case illustrates how a general preference for small edits\nbecomes an explicit rule for locating the repair boundary.\nSkill: semantic source preservation. The debugging skill adds explicit checks on where a repaired operation should obtain its values. The mutated instructions require the solver to identify the\nintended source and define the behavior when it is absent (Figure 10). In pydata xarray-6461,\nthe original solver falls back to the condition’s attributes when the source is scalar. With the mutated\nskill, it returns empty attributes and resolves the task. The change preserves the intended source\nsemantics rather than introducing a fallback solely to avoid an exception.\n22\n\n\fPreprint. Work in progress.\n\n(a) Before mutation\n\n(b) After mutation\n\nRole guidance: system prompt.md\n\nRole guidance: system prompt.md\n\nWork in short evidence loops: orient and locate\nthe responsible code, obtain a minimal\nreproduction or identify the closest existing\ntest, then make the smallest plausible edit and\nadd or update a focused regression test.\n\nFor a partial batch write, validation failure,\ntransaction, cache update, or state reset, put the\nguard, rollback scope, or cleanup at the\nsmallest sequence of persistent mutations\nthat needs it.\n\nFigure 9: Repair-scope control in the coder role. The mutated instructions specify where to place\nguards, transactions, or cleanup when repairing persistent mutations.\n(a) Before mutation\n\n(b) After mutation\n\nSkill guidance: SKILL.md\n\nSkill guidance: SKILL.md\n\nMake the smallest implementation change that\nenforces the stated invariant; preserve unrelated\nAPIs, ordering, types, and independently\nmeaningful occurrences.\n\nDo not replace an invalid positional access with\na fallback to a different input merely because it\navoids the exception; decide whether the\ncorrect absent-source result is empty, a\ndocumented default, or an explicitly defined\nalternative.\n\nFigure 10: Semantic source preservation in the debugging skill. The mutated instructions require an\nexplicit decision about the correct behavior when the intended source is absent.\nMemory: incremental evidence retrieval. The memory plugin changes how execution evidence\nis returned to the solver (Figure 11). The original implementation retrieves raw tool outputs by\nlexical overlap, which can repeatedly return information already present in the conversation. The\nmutated plugin deduplicates stored outputs and summarizes recent entries that it has not previously\nreturned, together with guidance for subsequent verification. Retrieval thus emphasizes newly collected evidence while reducing repeated memory output.\nTool: failure-aware terminal feedback. The terminal tool adds interpretation of command output\nto its original truncation behavior (Figure 12). It inspects the complete output for execution and test\nfailures, including those masked by a successful shell status, and appends recovery guidance. It also\ntracks the focused test command and its first failure diagnostic, prompting the solver to inspect the\nfailure when the same pair recurs. On its screening minibatch, this mutation resolves five previously\nunsolved tasks with one regression.\n\n23\n\n\fPreprint. Work in progress.\n\n(a) Before mutation\n\n(b) After mutation\n\nMemory: implementation.py\n\nMemory: implementation.py\n\n# Store every incoming output.\nself.entries.append(item)\n\n# Skip duplicate outputs in update\n().\nif any(\nexisting[\"content\"] == content\nfor existing in self.entries\n):\nreturn\n\n# Rank outputs by query overlap.\nwords = set(re.findall(\nr\"\\w+\", str(query).lower()\n))\nranked = sorted(\nenumerate(self.entries),\nkey=lambda pair: (\nlen(words &amp; set(re.findall(\nr\"\\w+\",\npair[1][\"content\"].\nlower()\n))),\npair[0]\n),\nreverse=True\n)\n\n# Retrieve only undelivered entries\n.\nunseen = self.entries[\nself._delivered_count:\n]\nself._delivered_count = len(self.\nentries)\nif not unseen:\nreturn []\n# Summarize recent unseen evidence.\nselected = unseen[-top_k:]\nclassified = [\nself._summary(item)\nfor item in selected\n]\nkinds = [\nkind for kind, _ in classified\n]\n# ... build checkpoint and guidance\n\n# Return the highest-ranked outputs\n.\nreturn [\nMemoryItem(**item)\nfor _, item in\nranked[:self.config[\"top_k\"]]\n]\n\nFigure 11: Incremental evidence retrieval in the memory plugin. Mutation replaces retrieval by\nlexical overlap with deduplication and summaries of entries not previously returned. Code excerpts\nare reformatted and omit supporting logic.\n\n24\n\n\fPreprint. Work in progress.\n\n(a) Before mutation\n\n(b) After mutation\n\nTool: implementation.py\n\nTool: implementation.py\n\n# Execute the requested command.\nresult = await (\nself.services.environment.\nexecute(\ncommand,\nself.config.get(\n\"timeout_seconds\", 180\n)\n)\n)\n\n# Interpret output before\ntruncation.\n# ... compute status/failure\nindicators\nnotice = self._evidence_notice(\ncommand, raw_content,\nreported_nonzero,\nexplicit_failure\n)\nnotice += self.\n_repeat_failure_notice(\ncommand, raw_content,\nreported_nonzero,\nexplicit_failure\n)\nresult.content = self._truncate(\nraw_content + notice\n)\nreturn result\n\n# Convert the output to text.\ncontent = (\nresult.content\nif isinstance(result.content,\nstr)\nelse str(result.content)\n)\n# Bound the output and return it.\nresult.content = self._truncate(\ncontent)\nreturn result\n\n# Inside _repeat_failure_notice():\n# ... extract the failure\ndiagnostic\nfocus = self._focused_test_command(\ncommand)\nprevious = self.\n_read_failure_checkpoint()\nrepeated = (\nprevious.get(\"focus\") == focus\nand previous.get(\"diagnostic\")\n== diagnostic\n)\nself._write_failure_checkpoint(\nfocus, diagnostic\n)\n# ... construct repeated-failure\nguidance\n\nFigure 12: Failure-aware terminal feedback. The mutated tool interprets command output and tracks\nrepeated failures to guide subsequent checks. Code excerpts are reformatted and omit supporting\nlogic.\n\n25\n\n\fPreprint. Work in progress.\n\nL\n\nT OKEN C OST A NALYSIS\n\nFigure 13 compares token usage between PluginRSI and Meta-Harness. We report total tokens per\nsolver rollout, including proposer usage, and separately examine solver and proposer costs. For\nPluginRSI, proposer costs are further divided into plugin mutation and harness recomposition. Total\ninput and output tokens per solver rollout increase by 7.5% and 19.8%, respectively. Solver token\nusage remains similar, while the additional mutation stage contributes to the proposer overhead.\n(a) Overall token cost\nper solver rollout\nSolver\n\n(b) Solver token usage\nper rollout\n\n(c) Proposer token usage\nper proposal\n\nProposer\n\nMeta-Harness\n\n129.20\n\nOurs\n\n138.89\n\nMeta-Harness\n\nMeta-Harness\n\nOurs (Mutation)\n\n0\n\n100\n\nOurs\n\n200\n\nOurs (Recomposition)\n0\n\nInput tokens (K)\n\n1.61\n\nMeta-Harness\n\n200\n\n400\n\n0\n\n250\n\nInput tokens (K)\n\n500\n\n750\n\n1,000\n\nInput tokens (K)\n\nMeta-Harness\n\nMeta-Harness\n\nOurs (Mutation)\n1.93\n\nOurs\n\n0\n\n1\n\n2\n\nOutput tokens (K)\n\nOurs\n\nOurs (Recomposition)\n0\n\n2\n\nOutput tokens (K)\n\n4\n\n0\n\n5\n\n10\n\n15\n\n20\n\nOutput tokens (K)\n\nFigure 13: Token cost analysis. (a) Total token usage per solver rollout, including solver and proposer tokens. (b) Solver tokens per rollout. (c) Proposer tokens per proposal, with plugin mutation\nand harness recomposition reported separately.\n\n26\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"