"<!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>ClawLoop: Self-Improving Agents via Harness-Native Training Loops\nHansi Yang1∗ , Linji Hao2∗ , Hongyan Hao1 , An Wang1 , Han Wu2† , Qi Gu1† , Xunliang Cai1\n1\n\nyanghansi@meituan.com\n\nMeituan, China 2 Peking University\nhaolinji26@stu.pku.edu.cn\n\narXiv:2610.14118v1 [cs.AI] 9 Oct 2026\n\nAbstract\nThe rapid advancement of Large Language Models (LLMs)\nhas driven their deployment toward general-purpose harness\nenvironments, where LLM-based agents operate in sandbox workspaces and interact directly with file systems and\nshells. While numerous post-training pipelines exist for tooluse agents, their counterparts for harness-based agents remain\nscarce and are predominantly one-shot and teacher-dependent:\na stronger external model synthesizes tasks and collects trajectories, the target agent is trained once, and evaluation results are consumed by human researchers rather than fed\nback into the loop. Such pipelines are inherently bounded\nby the capability of the external model and the scope of human prior, leaving no room for self-improvement. To address\nthese limitations, we propose ClawLoop, a framework that\nenables self-improving without any external teacher model\nand with minimal prior dependencies. ClawLoop composes\nthree phases into a self-sustaining cycle: Task Synthesis, which\ngenerates a diverse pool of training tasks via two complementary construction routines, applies diagnosis-conditioned\ndifficulty growth followed by both agent-free and agent-based\ntask validation; Training, which updates the agent via SFT\nand/or RL; and Diagnosis and Feedback, which analyzes the\nagent’s rollout behaviors to produce a capability analysis report that will be used as feedback for task synthesis in the next\niteration. Using Qwen3.6-27B as the loop model, ClawLoop\nyields consistent improvements on SkillsBench, Claw-EvalLive, and ClawGym-Bench. The iteratively refined tasks are\nfurther transferred to smaller-scale Qwen3.5-4B and 9B models with gains across all benchmarks, validating data quality\nindependently of the loop model.\n\n1\n\nIntroduction\n\nWith the rapid advancement of Large Language Models\n(LLMs), their deployment scenarios have evolved significantly: from chatbots to RAG systems, and further from\ntool-using agents to general-purpose harness-augmented\nagents (OpenClaw Contributors 2026; OpenAI 2025; Anthropic 2025) most recently. Unlike prior tool-use agents\nthat interact through predefined tools, harness agents are\ngranted with audited and extensible permissions and can directly operate on real file systems and shells. Such enhanced\n∗\n†\n\nThese authors contributed equally.\nCorresponding author.\n\nguqi03@meituan.com\n\npermission enables LLM-based agents to tackle tasks of substantially greater complexity than tool-use frameworks.\nWhile diverse harnesses have provided a basis for LLMs\nto take over more workloads from various real-life scenarios,\nthese models still require comprehensive post-training targeting harness environments before they can reliably serve as\nautonomous agents. The central bottleneck of post-training\nlies in training data. Since harness environments span an\nenormous task space, obtaining diverse training data with\nhigh quality has extend far beyond existing data synthesis\npipelines, let alone manual annotations. While numerous\nworks have proposed various task synthesis pipelines for\ngeneral tool-use agents (Song et al. 2026; Fang et al. 2025;\nCai et al. 2025; Tian et al. 2026; Tu et al. 2026; Wang et al.\n2026), these works are restricted to constructing tasks within\nfixed domains. Specifically, the “domain” often consists of\nseveral predefined tools with schemas exposed to the agent,\nand the agent’s interaction is limited to these tools. Such limitation is critical for present-day harness environments, as\nreal-life tasks completed inside a harness generally involve\nopen-ended compositions of file operations, shell commands,\nskill execution, and multi-step reasoning, whose complexity\nis well beyond predefined tools and cannot be covered by\nthese pipelines. To the best of our knowledge, ClawGym (Bai\net al. 2026) is the only work that performs task synthesis and\ntraining inside modern harness environments. However, it\nleaves several key gaps unaddressed. First, existing pipelines\nassume access to an external stronger model (e.g., MiniMaxM2.5, GLM-5.1) to provide training signal, whether as a task\nsynthesizer, a trajectory collector, or both. The existence of\nsuch external models naturally introduces an intrinsic capability ceiling (the capability of the external model itself).\nSecond, they are inherently one-shot. Tasks are synthesized\nonce based on human prior, the agent is trained once, and\nevaluation results inform human researchers rather than being fed back to drive further improvement.\nWe observe that a harness environment already provides\nthe essential ingredients to close a self-improving loop. An\nLLM model can instantiate arbitrary workspaces, execute\nagent trajectories, and verify outcomes via both code-based\nand rubric-based checks. What is missing is not infrastructure, but a mechanism by which the agent identifies its own\nweaknesses, generates targeted practice, and iteratively improves, a capability arguably central to how humans learn. To\n\n\fthis end, we propose ClawLoop, an iterative self-improving\nframework that unifies task synthesis, model training, and\nself-diagnosis into a closed loop.Figure 1 summarizes how\nthese components interact within one iteration of the closed\nloop. ClawLoop enables the agent to autonomously synthesize training tasks, collect its own trajectories, diagnose\nfailure patterns from rollout traces, and generate targeted\ntasks for the next round of training, all without an external\nteacher model.\nOur contributions can be summarized as follows:\n• We propose ClawLoop, a closed-loop, teacher-free iterative training framework for general agents. Unlike all prior\npipelines that rely on the existence of an external strong\nmodel and only operate in a single pass, ClawLoop enables the agent to synthesize its own tasks, collect its\nown trajectories, diagnose its weaknesses, and iteratively\nimprove, all within the same harness environment it is\ntrained to operate in.\n• As the core of our proposed ClawLoop framework, we\ndesign a multi-stage task synthesis mechanism, comprising seed task generation, diagnosis-conditioned difficulty\ngrowth, and task validation based on self-reflection. Such\nmechanism ensures that generated tasks possess rigorous code-level verifiability while maintaining sufficient\ncomplexity required for deep reasoning.\n• Using Qwen3.6-27B inside the loop, we demonstrate that\nClawLoop yields consistent improvements across diverse\nbenchmarks for harness-based agents. The constructed\ntasks are also used to train smaller-scale Qwen3.5-4B and\n9B models and we observe gains on all benchmarks across\ndifferent model scales, further validating the quality of\nthese tasks. Comprehensive ablation studies isolate the\ncontribution of each component and provide a complete\nunderstanding of our proposed framework.\n\n2\n\nRelated Work\n\nTask Synthesis and Environment Generation The first\ncomplete harness-based agent training paradigm is ClawGym (Bai et al. 2026), which proposes large-scale synthesis\nof diverse tasks paired with mock workspaces and hybrid\nverifiers. There have also been many works on scalable task\nsynthesis, which can be broadly categorized into three lines:\nrepository-level coding task construction, such as SWEbench (Jimenez et al. 2024), SWE-Gym (Pan et al. 2024),\nR2E-Gym (Jain et al. 2025), and SWE-smith (Yang et al.\n2026); tool-use task and environment synthesis, including\nASTRA (Tian et al. 2026), AutoForge (Cai et al. 2025), EnvScaler (Song et al. 2026), ScaleEnv (Tu et al. 2026), Agent\nWorld Model (Wang et al. 2026), and Agent-World (Dong\net al. 2026); and capability-oriented task synthesis, such\nas Self-Challenging (Zhou et al. 2026), Agent0 (Xia et al.\n2025), and Tool-R0 (Acikgoz et al. 2026).These approaches\ndemonstrate the value of executable environments and verifiable tasks, but generally focus on repository-level coding,predefined tool ecosystems, or environment scaling.\nSelf-Improving Language Models The idea of selfimproving in language models has been explored along sev-\n\neral axes for many years. Early approaches bootstrap new supervision from an LLM’s own output. STaR (Zelikman et al.\n2022) iteratively trains itself on self-generated reasoning\ntraces that lead to correct answers, while Self-Instruct (Wang\net al. 2023) expands instruction-tuning data with modelgenerated instructions and responses. The first work that\nintroduces the idea of self-improving to agentic domains is\nAgent0 (Xia et al. 2025), which places a Curriculum Agent\nabove an Executor Agent and generates tasks near the executor’s capability frontier from zero seed data, retaining tasks\nby uncertainty, tool-use frequency, and repetition penalties.\nA complementary line keeps the underlying model weights\nfixed and treats the non-parametric agent harness as the optimization target. An example is Agentic Context Engineering\n(ACE) (Zhang et al. 2025), which evolves a structured context playbook from successful and failed trajectories. SelfHarness (Zhang et al. 2026a) mines model-specific failure\npatterns and converts them into bounded harness modifications that are accepted only after regression testing.\nEvaluation Benchmarks for LLM-Based Agents with\nHarness The development of various harnesses also calls\nfor comprehensive benchmarks to evaluate the capability\nof LLM to take real-life workloads with the help of these\nharnesses. The pioneering work, PinchBench (PinchBench\nContributors 2026), evaluates models as the reasoning backbone of OpenClaw(OpenClaw Contributors 2026) on practical workflows such as research, coding, scheduling, and file\nmanagement. Following it, a growing family of OpenClawspecific benchmarks has been proposed (Qwen Team and\nData Team 2026; Ding et al. 2026; Long et al. 2026; Zhang\net al. 2026b; Xu et al. 2026; Meng et al. 2026). Among\nthese benchmarks, Claw-Eval (Ye et al. 2026) and Claw-EvalLive (Li et al. 2026a) evaluate evolving real-world workflows\nthrough refreshable task signals and execution-grounded\ngrading. ClawGym-Bench (Bai et al. 2026) provides executable tasks with mock workspaces and task-specific verifiers, offering a controlled diagnostic setting for Claw-style\nagents. In addition to these OpenClaw-based benchmark,\nSkillsBench (Li et al. 2026b) is a general agent benchmark\nthat measures whether agents can effectively use procedural Skills across diverse professional domains without being\ntied to a particular harness, allowing us to assess whether the\nimprovements produced by ClawLoop generalize beyond\nOpenClaw-specific environments.\n\n3\n\nPreliminary\n\nWe first clarify the boundary of harness in this work. Specifically, we use a harness as a sandbox execution environment\nin which an LLM-based agents can operate. It generally provides a Docker container with a shell, file system, package\nmanager, and network access, plus APIs for workspace provisioning and trajectory recording. We use the same harness\nused for training rollouts and evaluation, ensuring distribution match between training and inference.\nBased on a given harness, we rigorously define task as a\ntuple τ = ⟨p, s0 , A, F, Vτ ⟩. Each component in this tuple\nis defined as follows:\n• p is a natural-language instruction that generally describes\n\n\fFigure 1: Overview of ClawLoop. Within a specific iteration, the agent need to experience three phases: 1. Task Synthesis\nand Selection, 2. Train and 3. Diagnosis and Feedback. All phases operate on the same harness substrate, forming a closed,\nteacher-free self-improvement loop.\n\nthe task and is exposed to the agent as its initial user\nprompt;\n• s0 ∈ S is the initial workspace state (files, environment\nvariables, installed tools), and we use S to denote the set\nof all possible workspace states supported by the harness\nin our loop;\n• A is the action space available to the agent (shell commands, file edits, tool invocations);\n• F : S × A → S is the deterministic transition function\nimplemented by the harness sandbox;\n• Vτ : S → {0, 1} is the verifier to check whether an agent\nhas completed the task or not.\nWe note that such definition is slightly different from general\ntool-use tasks as in existing literature (Song et al. 2026; Tu\net al. 2026; Dong et al. 2026), as the harness introduces\nadditional complexity to both the workspace state (including\nfile systems and installed tools/skills) and the agent’s action\nspace (including shell scripts or programming languages).\nFor a given task τ , an LLM-based agent (denoted as πθ )\ncan then interact with the sandbox environment to produce\na trajectory, denoted as ξ = (s0 , a1 , s1 , . . . , aT , sT ), where\nat ∼ πθ (· | p, s0 , a1:t−1 , s1:t−1 ).\n\n4\n\nClawLoop Framework\n\nIn this section, we describe the complete framework of\nClawLoop. It starts with a pre-trained LLM agent (de-\n\nnoted as π0 ) deployed inside a harness sandbox environment, and consists of K repeating iterations indexed by\nk ∈ {1, 2, . . . , K}. At iteration k, based on the most recently updated agent πk−1 , ClawLoop proceeds through\nthree phases, as is shown in Figure 1,:\n1. Task Synthesis and Selection. The agent first generates\na diverse task pool Pk , which is split into a training set Tk\nand a held-out evaluation set Ek = Pk \\ Tk . Tasks in Tk\nare then used to collect rollout trajectories, forming the\nbasis for the next training phase.\n2. Training. Based on the rollout trajectories from Tk , we\nupdate the agent πθk−1 → πθk via SFT on successful trajectories and/or RL on tasks that satisfy a reward threshold.\n3. Diagnosis and Feedback. The updated agent πθk is further evaluated on the held-out evaluation set Ek . The resulting rollout trajectories are fed into the agent itself to\nidentify recurring failure patterns. Any possible feedback\nwill be used in the next iteration to refine the task synthesis and selection phase.\nWe then describe each phase in detail in the following\nsubsections.\n\n4.1\n\nPhase 1: Task Synthesis\n\nThe key component of our framework is task synthesis, which\nserves as the engine driving iterative self-improvement. Our\n\n\ftask synthesis pipeline begins with two complementary routines. The first, capability-driven synthesis, starts from a\ntarget capability and constructs the workspace environment\nneeded to exercise it. The second, domain-grounded synthesis, takes the opposite direction. It starts from a specific\nprofessional domain (e.g. database management, workload\nplanning) equipped with domain-specific tools. The agent\nthen decomposes it into constituent skills based on its internal structure, and induces concrete tasks from those skills.\nTogether, these two routines produce an initial pool of seed\ntasks that offer breadth both across capability dimensions\nand professional domains where domain-specific knowledge\nis stored in skills. The seed tasks are then optionally passed\nthrough a difficulty growth routine, which adjusts task complexity upward for categories where the agent has already\ndemonstrated proficiency, ensuring that the curriculum remains challenging as the agent improves. Finally, all candidate tasks undergo a two-stage validation process—static\nchecks on task well-formedness and workspace integrity, followed by execution-based validation that runs each task’s\nverifier against a gold solution to filter out ill-posed or unsolvable tasks before they enter the training set.\nCapability-driven synthesis This route is organized by\na catalog of capabilities rather than by any concrete\ntoolset. Each entry binds a workflow pattern—reconciliation,\ncross-source audit, multi-document merge, or domain\ncalculation—to a target capability, spanning an analysis track\nwhose deliverables are structured artifacts and a terminal\ntrack whose deliverables are workspace end-states. Each capability is then instantiated across a wide range of domains,\ndeliberately including unusual and long-tail ones (e.g. beekeeping hive inventories, trail maintenance records, amateur\nradio contact logs). Decoupling the capability skeleton from\nthe surface domain in this way—vary the domain, keep the\ncapability—lets a single capability be practiced under many\ndifferent surface forms, which discourages the agent from\nlatching onto domain-specific surface cues instead of the\nunderlying workflow.\nThe pivotal design decision is that the synthesis LLM\nnever writes task data directly. Instead it writes a runnable\ngenerator build(seed) → (s0 , y, C), which TaskForge\nexecutes in a sandbox to obtain a multi-source evidence environment s0 , the answer key y, and an answer contract\nC. Because y is obtained by executing code over synthesized\nsource data rather than by asking a model to assert an answer,\nthe answer key is grounded in computation, not in model belief. Generators must be seeded to ensure reproducibility and\nmust create at least two sources that require cross-referencing\nto complete the task. If generation fails, the sandbox errors\nare fed back to guide the repair process. The contract C addresses a subtler gap: an answer key alone underdetermines\na task, since rules used to compute y—the filtering criterion,\nrounding convention, tie-break, or join key—often cannot be\nrecovered from the environment by inspection. C therefore\ndeclares each such hidden decision explicitly, along with a\nschema fixing the deliverable’s shape and numeric tolerance,\nwhile containing no answer values.\n\nDomain-grounded synthesis Despite general capabilities\nthat are shared in any domains, we further note that real-life\ntasks often require some domain knowledge that is unique to a\nspecific domain. A simple example may be a term definition,\nwhile a more complex example may be a complete pipeline to\nsatisfy a requirment. Such knowledge may be stored in some\nskills for this domain, and an LLM-based agent should be\nable to quickly grasp and utilize such knowledge to complete\ndomain-specific tasks. As such, we need to introduce some\nprofessional domains into the task synthesis routine, which\nenable the agent to learn to find, understand and execute such\nskills to complete tasks within a given domain.\nWe first introduce the definition of executable domain,\nwhich is basically a collection of executable tools with\nschemas exposed to the agent, together with a database that\ncan completely describe the domain environment and support tool execution. Executable domains can be sourced from\nexisting MCP servers or constructed following existing data\nsynthesis works targeting general tool-user agents (Song et al.\n2026; Tu et al. 2026; Dong et al. 2026; Wang et al. 2026).\nGiven an executable domain, we combine abstract syntax\ntree (AST) inspection with LLM-based analysis (conducted\nby the agent itself) to extract a tripartite graph connecting\ntools, the atomic parameters and return fields that they consume and produce, and the database tables that they read\nand write. This tripartite graph enables us to cluster tools\ninto skills based on a weighted affinity score over shared\ngraph nodes. The resulting clusters are provided to the selfevolving agent as its prior, which the agent may override\nwhen accompanied by a justification. Each accepted cluster\nis materialized into an executable command-line script with\ndatabase access rewritten to operate on a state snapshot, a\nskill document, and a capability specification extracted from\nthe generated code rather than from its documentation.\nTasks are then constructed from the skills available in\neach domain through two stages. In the first stage, an abstract task graph is sampled according to structural features.\nExamples of these features include long-range dependencies,\nbranching, convergence, error-recovery paths, and multiple\nsub-goals. These features collectively serve as the difficulty\ncontrol for this route. Nodes in this graph represent knowledge states (e.g., “the order details are now known”), and\nedges between two nodes represent agent actions that transition the workspace from one knowledge state to another.\nThe graph contains neither business content nor tool names,\nensuring that its structure is determined before its semantics.\nIn the second stage, the graph is grounded in a concrete domain. The initial workspace is seeded with exactly the background and reference data required to make the task meaningful. A coverage check rejects any graph whose transitions\nare unsupported by the available skills. The instruction is\nthen generated under an information barrier that separates it\nfrom the gold trajectory, preventing leakage of the reference\nsolution. Specifically, the instruction specifies initial parameters but refers to background records without reproducing\ntheir contents, requiring the agent to retrieve the relevant\ninformation; it defines the goal state while withholding the\nprocedure, execution order, and branch conditions. Terminal\nstates are represented as structured predicates over the final\n\n\fdatabase state and compiled into an executable test suite. The\ntests evaluate only the final state and locate records using\nbusiness-semantic keys rather than hard-coded identifiers,\nensuring that any correct solution can pass.\n\nTable 1: Comparison of different pipelines on Qwen3.6-27B.\nBest results are bolded.\nBenchmark\n\nBase\n\nClawGym\n\nClawLoop\n\nGrowing Difficulty from Seed Tasks While the above two\nsteps can already construct some seed tasks from scratch, our\npivot studies demonstrate that these tasks often has limited\nreasoning depth, and the agent still fail to overcome reallife task complexity after training with these tasks. As such,\nwe consider two approaches for the self-evolving agent to\nincrease task difficulties: multi-hop and dirtiness draw.\nThe multi-hop draw promotes a task to the multi-step retrieval structure typical of realistic agent workloads. Concretely, it produces a workspace with three kinds of sources:\nan index file that lists entity identifiers and their associated\nfilenames but contains none of the values needed to answer\nthe question; a set of per-entity detail files, no single one of\nwhich is sufficient to compute the final answer; and at least\none cross-cutting reference source (e.g., a rate table or threshold lookup). Solving such a task requires the agent to read the\nindex, fetch each relevant entity, and join information across\nall three source types—naturally increasing the number of\ntool calls and reasoning steps. Importantly, this structure is\nenforced by construction rather than merely described in the\nprompt.\nThe dirtiness draw injects controlled noise into the\nworkspace: distractors, missing fields, schema inconsistencies, and unit mismatches. The injection is constrained so that\nthe ground-truth solution logic remains well-defined over the\nperturbed data, ensuring that tasks stay solvable despite the\nadded friction.\nDeliverable formats are round-robined across structured\nJSON, CSV, multi-file output, and raw reports. For the last\ncase, a machine-checkable sidecar file carries the grading\ncriteria, so that the agent learns to produce free-form text as\nan output modality while every format remains deterministically verifiable.\n\nSkillsBench (Avg @ 5)\nClaw-Eval-Live (Avg Score)\nClawGym-Bench (Avg Score)\n\n46.3\n69.3\n67.6\n\n52.6\n74.6\n61.9\n\n57.2\n76.9\n68.4\n\nExecution-grounded validation Finally, for a given task,\nwe introduce some validation process to filter out low-quality\ntasks (e.g., unsolvable tasks or tasks with inconsistency). This\nprocess involves both agent-free and agent-based validation.\nFor agent-free validation, we consider the following aspects:\n• Oracle: the synthesis LLM writes a reference solution and\na deterministic test-based verifier, and the oracle must run\nand pass its own verifier.\n• Leakage audit: deterministic checks confirm the instruction does not leak the answer key and the verifier admits\nno trivial solution. Any task whose tests already pass in\nthis state would assign a reward without requiring the\nagent to perform any work and is therefore discarded as a\nfalse positive in reward assignment.\nFor tasks that can pass agent-free validation, we further introduce agent-based validation. Specifically, the current agent\nπθk−1 is deployed in sandbox containers, and its rollouts are\ncollected in parallel across a pool of harness instances for\neach constructed tasks. We let the agent perform N trials\nfor each task, and only keep tasks with number of passed\n\ntrials in a specific range [Nl , Nh ]. Specifically, we restrict\nNl &gt; 0, Nh &lt; N , as setting Nl = 0 will keep tasks that\ncurrent agent cannot complete (too difficult or with some\ninconsistency), and setting Nh = N will keep tasks that\ncurrent agent can always complete (too easy).\n\n4.2\n\nPhase 2: Train\n\nAfter obtaining a sufficient number of tasks that pass all admission criteria with suitable difficulty levels, ClawLoop\napplies standard training techniques to update the agent.\nWe employ two complementary methods: supervised finetuning (SFT) on self-generated successful trajectories, and\nreinforcement learning (RL) via Group Relative Policy Optimization (GRPO) for further refinement.\nSelf-distilled SFT with multi-turn loss masking. This\nprocess directly follows from the task validation step, where\neach trajectory ξi is stored together with its outcome reward\n(i)\nri = Vτi (sT ). Only successful trajectories (ri = 1) for\nvalidated tasks are retained for supervised fine-tuning, making this a form of self-distillation: the agent learns from its\nown correct behavior rather than from an external teacher’s\ndemonstrations. Following standard practice for multi-turn\nagent training, we mask the loss on environment observation tokens (tool outputs, file contents) and compute crossentropy only on the agent’s own action tokens:\nLSFT = −\n\nTi\nX X\n\n\u0001\n(i)\n(i)\n(i)\n(i)\n(i)\nmt log πθ at | pi , s0 , a1:t−1 , s1:t−1 ,\n\ni: ri =1 t=1\n\n(1)\n\n(i)\nwhere mt ∈ {0, 1} is the per-token turn mask that zeroes\n\nout all observation positions.\nRL with GRPO. While SFT on successful trajectories provides a strong warm-start, it is inherently limited to imitating existing successes and cannot improve beyond the current policy’s best behavior. We therefore apply Group Relative Policy Optimization (GRPO) (Shao et al. 2024) with\noutcome-based rewards to push the agent beyond its SFT\nceiling. For each task τi that passes the validation (neither\ntoo easy nor too difficult), the same N rollouts collected during agent-based validation form the group; the advantage of\nrollout j is computed relative to the group mean:\n(i)\n\n(i)\n\nÂj =\n\nrj − r̄(i)\n(i)\n\nσr + ϵ\n\n.\n\n(2)\n\n\fTable 2: Performance comparison of Qwen3.5-4B and 9B models trained with different pipelines.\nScale\n\nModel\n\nTeacher\n\nTraining\nAlgorithm\n\nSkillsBench\n(Avg @ 5)\n\nClaw-Eval-Live\n(Avg Score)\n\nClawGym-Bench\n(Avg Score)\n\n4B\n\nQwen3.5-4B (Base)\nClawGym\nClawLoop\n\n—\nMiniMax M2.5+GLM-5.1\nNone\n\n—\nSFT\nRL\n\n5.8\n6.2\n8.4\n\n32.4\n36.8\n48.0\n\n33.0\n34.6\n44.1\n\n9B\n\nQwen3.5-9B (Base)\nClawGym\nClawLoop\n\n—\nMiniMax M2.5+GLM-5.1\nNone\n\n—\nSFT\nRL\n\n6.4\n6.7\n10.8\n\n58.3\n64.3\n71.7\n\n32.0\n35.3\n43.6\n\nTable 3: Ablation study on different routines used in task\nsynthesis phase for self-improving Qwen3.6-27B models.\nBenchmark\nSkillsBench\nClaw-Eval-Live\nClawGym-Bench\n\n4.3\n\nCapability only\n54.5\n73.2\n67.2\n\nDomain only\n\nClawLoop\n\n55.9\n70.1\n67.8\n\n57.2\n76.9\n68.4\n\nPhase 3: Diagnosis and Feedback\n\nTo close the self-evolving loop, the agent needs to diagnose\nits own behavior and provide feedback to the task synthesis\nphase in next iteration. Similar to the validation part in task\nsynthesis, we deploy the updated agent πθk in another set of\nsandbox containers, and collect its rollouts for tasks in the\nheld-out evaluation set Ek In addition to the pass rates on\nindividual tasks, ClawLoop analyzes why the agent fails by\nsummarizing failed trajectories, extracting behavioral patterns, and feeding these insights back into the next iteration’s\ntask synthesis phase.\nTrajectory summarization. For each failed trajectory ξ\nfrom any tasks in the evaluation set Ek , we prompt the agent\nitself to produce a structured summary consisting of: (i) the\nfailure point: the specific action or decision where the trajectory diverged from a successful path; (ii) the root cause:\nwhether the failure stems from misunderstanding the task,\nchoosing the wrong tool, making incorrect edits, or prematurely terminating; (iii) the missing capability: what the\nagent would need to have done differently. Note that trajectory summarization is a substantially easier task than solving\nthe original problem, as it requires only post-hoc analysis of\na concrete execution trace rather than open-ended planning.\nThese summaries serve as structured diagnostic evidence\nrather than reward signals.\nPattern aggregation. The per-trajectory summaries are\nthen classified by skill category and aggregated to identify recurring failure patterns. Concretely, summaries within each\ncategory are clustered by root cause, and the most frequent\nfailure modes are surfaced as diagnostic reports. For example, consider the capability “multi-file refactoring”, we have\nobserved a common pattern “agent modifies the target file\nbut fails to update import statements in dependent modules”\nduring the iterative process. These aggregated patterns provide actionable guidance for the next round of task synthesis,\n\ndirecting it to generate tasks that specifically target the identified weaknesses.\n\n5\n\nExperiments\n\nIn this section, we conduct experiments to demonstrate the effectiveness of ClawLoop. The loop is implemented by OpenClaw (OpenClaw Contributors 2026), and we use Qwen3.627B(Qwen Team 2026) as the agent inside the loop, which\nruns K = 3 iterations of the ClawLoop cycle, and the task\nsynthesis phase of each iteration generates 1024 new training\ntasks. Each task has N = 8 rollouts for both validation and\nself-distilled SFT, and we set Nl = 1, Nh = 5 to filter out\ntasks that are too easy or too hard for RL. To evaluate the\nperformance of our trained models, we consider the following three benchmark, covering different specific capabilities\nof harness-based agents:\n• Harness-free benchmark. We choose SkillsBench (Li\net al. 2026b), which consists of 86 tasks spanning 11\nprofessional domains. This benchmark targets on evaluating how well agent can utilize skills consisting of domain knowledge, and can be combined to any harness not\nrestricted to OpenClaw.\n• OpenClaw (OpenClaw Contributors 2026)-based benchmark. Among different OpenClaw-based benchmarks, we\nchoose Claw-Eval-Live (Li et al. 2026a) and ClawGymBench (Bai et al. 2026) as the representative. Claw-EvalLive has 105 tasks specifically targeting real-life working scenarios. These tasks do not explicitly depends on\nspecific skills and can evaluate how agent directly working with files. ClawGym-Bench has 200 tasks constructed\nfrom the same pipeline to construct training tasks in ClawGym.\n\n5.1\n\nMain Results\n\nTable 1 compares ClawLoop against the Qwen3.6-27B\nbase model and ClawGym. ClawLoop consistently surpasses ClawGym across all three benchmarks by a clear\nmargin, demonstrating that iterative self-improvement with\ndiagnostic feedback produces higher-quality training signal than a single-pass synthesis pipeline. Notably, gains\non ClawGym-Bench (within-distribution) are comparable to\nthose on SkillsBench and Claw-Eval-Live, suggesting genuine capability improvement rather than distribution-specific\noverfitting.\nBeyond evaluating the self-improving framework itself,\nwe examine whether the tasks constructed by ClawLoop\n\n\fQwen3.5-4B\n\nQwen3.5-9B\n\n80\n\nQwen3.6-27B\n\n75\n\n70\n\n12\n60\n8\n45\n4\n\nPass@1 (%)\n\n75\n\nPerformance (%) (lines)\n\nAverage rollout turns (bars)\n\n16\n\n65\n\n60\n\n55\n\n50\n\n40\n\n0\n\n0\n\n1\n\n2\n\n30\n\nEasy\n\nMedium\n\nIteration K\n\n3 K=3\n\n4\n\n5\n\nHard\n\nTask difficulty\n\nFigure 2: Impact on the strength of growing difficulty in task\nsynthesis phase: average rollout turns for constructed tasks\nand average scores on Claw-Eval-Live.\n\ntransfer to other models. Smaller models trained on these\ntasks serve as independent probes of data quality, since any\nimprovement cannot be attributed to the synthesizer’s own\ncapacity. Table 2 reports results for Qwen3.5-4B and 9B models trained on ClawLoop-generated data versus ClawGymgenerated data. Despite ClawGym relying on stronger external teacher models (MiniMax-M2.5 and GLM-5.1) for\nboth task synthesis and trajectory collection, models trained\non ClawLoop data achieve comparable or superior performance, validating that our iterative, teacher-free pipeline produces training data of equal or higher quality than teacherdependent alternatives.\n\n5.2\n\nSkillsBench\nClaw-Eval-Live\nClawGym-Bench\n\n45\n\nAblation Study\n\nSynthesis route Note that the two task synthesis routines (capability-driven and domain-grounded) are modularly independent, Table 3 reports the performance of\nQwen3.6-27B within ClawLoop when one routine is removed from the task synthesis phase. Removing either routine degrades overall performance, but the two routines affect\ndifferent benchmarks. Dropping the capability-driven routine\ncauses the largest decline on Claw-Eval-Live, whereas dropping the domain-grounded routine primarily hurts SkillsBench and ClawGym-Bench. This asymmetry aligns with\nthe nature of each benchmark: Claw-Eval-Live emphasizes\nbroad, general-purpose agent capabilities that the capabilitydriven routine is designed to cover, while SkillsBench and\nClawGym-Bench are more heavily structured around specific\nskill categories that the domain-grounded routine targets.\nImpact of difficulty growth We further analyze the impact of the difficulty growth routine. As shown in Figure 2,\nincreasing task difficulty produces an immediate and visible effect: average trajectory length grows substantially, as\nharder tasks demand more reasoning steps, tool invocations,\nand error-recovery cycles. However, longer trajectories do\nnot necessarily indicate better training signal. In practice, we\nfind that a moderate schedule—raising difficulty by at most\n\nFigure 3: Impact on the number of self-improving iterations\nK to the model’s final performance on different benchmarks\n\none level per iteration—strikes the best balance, yielding trajectories that are challenging enough to drive improvement\nwhile maintaining sufficient success rates for effective learning.\nImpact of K. Finally, Figure 3 examines how the number\nof self-improving iterations K affects performance across all\nthree benchmarks. Performance improves steadily in early\niterations but saturates at different rates. SkillsBench continues to benefit from additional iterations, whereas ClawEval-Live and ClawGym-Bench plateau around K = 3. We\nattribute this to the broader domain coverage of SkillsBench,\nwhich provides a larger space for the curriculum to explore\nbefore exhausting novel task diversity. Based on this observation, we set K = 3 in our main experiments to balance\ncomputational cost and final performance.\n\n6\n\nConclusion\n\nIn this paper, we propose ClawLoop, a self-improving\nframework for harness-based LLM agents with minimal\nprior dependencies and no reliance on any external strong\nteacher model. As the core component of this self-improving\nframework, the task synthesis phase starts with two complementary routines that construct seed tasks from different\nperspectives. The seed tasks then pass through a diagnosisconditioned difficulty growth routine and are validated via\nboth agent-free and agent-based procedures to ensure their\nquality for latter training. The complete framework, composing task synthesis, model training, and self-diagnosis into a\nunified loop, enables agents to identify and address their own\nweaknesses without human intervention during the training\ncycle. Using Qwen3.6-27B inside the loop, we demonstrate\nthat ClawLoop yields consistent improvements across diverse benchmarks for harness-based agents. The constructed\ntasks are further used to train smaller-scale Qwen3.5-4B and\n9B models, with gains observed across all benchmarks and\nmodel scales. We leave exploration of longer training horizons with adaptive stopping criteria to future work.\n\n\fReferences\nAcikgoz, E. C.; Qian, C.; Hübotter, J.; Ji, H.; HakkaniTür, D.; and Tur, G. 2026. Tool-r0: Self-evolving llm\nagents for tool-learning from zero data. arXiv preprint\narXiv:2602.21320.\nAnthropic. 2025. Claude 3.7 Sonnet and Claude Code.\nhttps://www.anthropic.com/news/claude-3-7-sonnet. Product announcement, accessed May 12, 2026.\nBai, F.; Song, H.; Sun, S.; Cheng, D.; Yang, Y.; Hao, C.; Li,\nR.; Chang, F.; Wei, Y.; Tao, R.; Dai, B.; Yang, J.; Zhao, W. X.;\nand Wen, J.-R. 2026. ClawGym: A Scalable Framework for\nBuilding Effective Claw Agents. arXiv:2604.26904.\nCai, S.; Fang, R.; Wu, J.; Li, B.; Wang, X.; Jiang, Y.; Su, L.;\nZhang, L.; Yin, W.; Zhang, Z.; et al. 2025. AutoForge: Automated Environment Synthesis for Agentic Reinforcement\nLearning. arXiv preprint arXiv:2512.22857.\nDing, S.; Dai, X.; Xing, L.; Ding, S.; Liu, Z.; JingYi, Y.;\nYang, P.; Zhang, Z.; Wei, X.; Fang, X.; et al. 2026. Wildclawbench: A benchmark for real-world, long-horizon agent\nevaluation. arXiv preprint arXiv:2605.10912.\nDong, G.; Lu, J.; Huang, J.; Zhong, W.; Liu, L.; Huang,\nS.; Li, Z.; Zhao, Y.; Song, X.; Li, X.; et al. 2026. Agentworld: Scaling real-world environment synthesis for evolving\ngeneral agent intelligence. arXiv preprint arXiv:2604.18292.\nFang, R.; Cai, S.; Li, B.; Wu, J.; Li, G.; Yin, W.; Wang, X.;\nWang, X.; Su, L.; Zhang, Z.; et al. 2025. Towards general\nagentic intelligence via environment scaling. arXiv preprint\narXiv:2509.13311.\nJain, N.; Singh, J.; Shetty, M.; Zheng, L.; Sen, K.; and Stoica, I. 2025. R2e-gym: Procedural environments and hybrid\nverifiers for scaling open-weights swe agents. arXiv preprint\narXiv:2504.07164.\nJimenez, C. E.; Yang, J.; Wettig, A.; Yao, S.; Pei, K.;\nPress, O.; and Narasimhan, K. 2024. Swe-bench: Can language models resolve real-world github issues? In International Conference on Learning Representations, volume\n2024, 54107–54157.\nLi, C.; Tang, Z.; Huang, M.; Lin, Y.; Huang, S.; Liu, S.; Ye,\nB.; Li, R.; Li, L.; Wang, B.; and Yuan, Y. 2026a. Claw-EvalLive: A Live Agent Benchmark for Evolving Real-World\nWorkflows. arXiv:2604.28139.\nLi, X.; Liu, Y.; Chen, W.; You, B.; Di, Z.; He, Y.; Zheng, S.;\nChoe, K. W.; Sun, J.; Wang, S.; et al. 2026b. SkillsBench:\nBenchmarking how well agent skills work across diverse\ntasks. arXiv preprint arXiv:2602.12670.\nLong, X.; Du, L.; Xu, Y.; Xu, R.; Lu, Q.; Gao, Y.; Xie, Q.;\nLiu, F.; Ding, N.; Wang, H.; et al. 2026. LiveClawBench:\nBenchmarking LLM agents on complex, real-world assistant\ntasks. arXiv preprint arXiv:2604.13072.\nMeng, F.; Du, L.; Wu, Z.; Chen, G.; Liu, X.; Liao, J.; Jiang,\nC.; Wan, Z.; Gu, J.; Zhou, P.; et al. 2026. ClawMark: A\nLiving-World Benchmark for Multi-Turn, Multi-Day, Multimodal Coworker Agents. arXiv preprint arXiv:2604.23781.\nOpenAI. 2025. Introducing Codex. https://openai.com/\nindex/introducing-codex/. Product release, accessed May\n12, 2026.\n\nOpenClaw Contributors. 2026. OpenClaw: An Open-Source\nFramework for Claw Coding Agents. https://github.com/\nopenclaw/openclaw.\nPan, J.; Wang, X.; Neubig, G.; Jaitly, N.; Ji, H.; Suhr, A.; and\nZhang, Y. 2024. Training software engineering agents and\nverifiers with swe-gym. arXiv preprint arXiv:2412.21139.\nPinchBench Contributors. 2026. PinchBench: Real-World\nBenchmarks for OpenClaw Agents. https://github.com/\npinchbench/skill. GitHub repository, accessed July 29, 2026.\nQwen Team. 2026. Qwen3.6-27B: Flagship-Level Coding in\na 27B Dense Model.\nQwen Team; and Data Team, A. 2026. QwenClawBench:\nReal-user-distribution benchmark for OpenClaw agents.\nShao, Z.; Wang, P.; Zhu, Q.; et al. 2024. DeepSeekMath:\nPushing the Limits of Mathematical Reasoning in Open Language Models. arXiv preprint arXiv:2402.03300.\nSong, X.; Chang, H.; Dong, G.; Zhu, Y.; Wen, J.-R.; and Dou,\nZ. 2026. Envscaler: Scaling tool-interactive environments\nfor llm agent via programmatic synthesis. arXiv preprint\narXiv:2601.05808.\nTian, X.; Wang, H.; Chen, S.; Zhou, H.; Yu, K.; Zhang, Y.;\nOuyang, J.; Yin, J.; Chen, J.; Guo, B.; et al. 2026. ASTRA:\nAutomated Synthesis of agentic Trajectories and Reinforcement Arenas. arXiv preprint arXiv:2601.21558.\nTu, D.; Hao, H.; Yang, H.; Chen, Y.; Zhang, Y.-K.; Xia, Z.;\nYang, Y.; Sun, Y.; Liu, X.; Shen, F.; et al. 2026. ScaleEnv:\nScaling Environment Synthesis from Scratch for Generalist Interactive Tool-Use Agent Training. arXiv preprint\narXiv:2602.06820.\nWang, Y.; Kordi, Y.; Mishra, S.; Liu, A.; Smith, N. A.;\nKhashabi, D.; and Hajishirzi, H. 2023. Self-instruct: Aligning language models with self-generated instructions. In\nProceedings of the 61st annual meeting of the association for\ncomputational linguistics (volume 1: long papers), 13484–\n13508.\nWang, Z.; Xu, C.; Liu, B.; Wang, Y.; Han, S.; Yao, Z.; Yao, H.;\nand He, Y. 2026. Agent world model: Infinity synthetic environments for agentic reinforcement learning. arXiv preprint\narXiv:2602.10090.\nXia, P.; Zeng, K.; Liu, J.; Qin, C.; Wu, F.; Zhou, Y.; Xiong,\nC.; and Yao, H. 2025. Agent0: Unleashing self-evolving\nagents from zero data via tool-integrated reasoning. arXiv\npreprint arXiv:2511.16043.\nXu, W.; Li, S.; Ye, T.; Cao, Q.; Chen, Y.; Gao, H.; Wang,\nY.; Li, Q.; Li, K.; Xu, S.; et al. 2026. ResearchClawBench:\nA benchmark for end-to-end autonomous scientific research.\narXiv preprint arXiv:2606.07591.\nYang, J.; Lieret, K.; Jimenez, C.; Wettig, A.; Khandpur, K.;\nZhang, Y.; Hui, B.; Press, O.; Schmidt, L.; and Yang, D. 2026.\nSwe-smith: Scaling data for software engineering agents.\nAdvances in Neural Information Processing Systems, 38.\nYe, B.; Li, R.; Yang, Q.; Liu, Y.; Yao, L.; Lv, H.; Xie, Z.;\nAn, C.; Li, L.; Kong, L.; Liu, Q.; Sui, Z.; and Yang, T. 2026.\nClaw-Eval: Towards Trustworthy Evaluation of Autonomous\nAgents. arXiv:2604.06132.\n\n\fZelikman, E.; Wu, Y.; Mu, J.; and Goodman, N. 2022. Star:\nBootstrapping reasoning with reasoning. Advances in Neural\nInformation Processing Systems, 35: 15476–15488.\nZhang, H.; Zhang, S.; Li, K.; Zhang, C.; Chen, Y.; Zhang,\nY.; Bai, L.; and Hu, S. 2026a. Self-harness: Harnesses that\nimprove themselves. arXiv preprint arXiv:2606.09498.\nZhang, Q.; Hu, C.; Upasani, S.; Ma, B.; Hong, F.; Kamanuru,\nV.; Rainton, J.; Wu, C.; Ji, M.; Li, H.; et al. 2025. Agentic\ncontext engineering: Evolving contexts for self-improving\nlanguage models. arXiv preprint arXiv:2510.04618.\nZhang, Y.; Wang, Y.; Zhu, Y.; Du, P.; Miao, J.; Lu, X.; Xu,\nW.; Hao, Y.; Cai, S.; Wang, X.; et al. 2026b. ClawBench: Can\nAI Agents Complete Everyday Online Tasks? arXiv preprint\narXiv:2604.08523.\nZhou, Y.; Levine, S.; Weston, J.; Li, X.; and Sukhbaatar, S.\n2026. Self-challenging language model agents. Advances\nin Neural Information Processing Systems, 38: 113959–\n113991.\n\n\fA\n\nExperimental Details\n\nThis section provides the implementation details omitted\nfrom the main text due to space constraints. We describe the\nharness and infrastructure configuration (§A.1), the training\nconfiguration for all model scales (§A.2), and the evaluation\nprotocol (§A.3).\n\nA.1\n\nHarness and Infrastructure\n\nAll three phases of ClawLoop execute inside the same harness substrate, instantiated via OpenClaw (OpenClaw Contributors 2026). Each rollout runs in an isolated Docker container provisioned from a common base image that contains a\nPOSIX shell, a Python 3.11 interpreter, standard commandline utilities, and a package manager. Containers are networkisolated from external services: any package required by a\nsynthesized task is pre-installed in the base image or vendored into the workspace at generation time, which keeps\nrollouts reproducible and prevents the agent from retrieving\nsolutions from the open internet. Each container is capped\nat a wall-clock budget of 24 hours and a maximum of 300\nagent turns; exceeding either budget terminates the trajectory and records it as a failure, so that non-termination is\npenalized rather than silently discarded. Rollout collection\nis parallelized across a pool of 32 concurrent container instances.\nA single ClawLoop iteration therefore consists of three\ndistinct compute workloads: task synthesis (LLM inference plus sandboxed generator execution), rollout collection\n(LLM inference plus container execution), and gradient updates. Table 4 reports the measured cost of each workload.\n\nwithin each iteration: self-distilled SFT on successful trajectories, followed by GRPO (Shao et al. 2024) for further\nrefinement beyond the SFT ceiling. Every task admitted to the\npool receives N = 8 rollouts, which serve simultaneously as\nthe validation signal, the source of successful trajectories for\nSFT, and the group used for advantage estimation in GRPO.\nReusing a single set of rollouts for all three purposes is what\nkeeps the loop’s compute cost tractable; §C examines the\nconsequences for each training stage.\nTwo details of the SFT setup are specific to the harness\nsetting and worth making explicit. First, the per-token mask\nmt in Eq. 1 zeroes out every environment observation position. This matters more here than in typical multi-turn chat\ntraining, because a single harness observation (a large file\nread or a verbose build log) can span thousands of tokens\nand would otherwise dominate the loss. Second, trajectories\nare packed to the maximum sequence length rather than truncated: truncating a harness trajectory would remove the final\nverification turns, which are exactly the behaviors we want\nthe agent to learn.\nTable 5: Training hyperparameters. Loop-level settings follow the main text; per-stage optimization settings are listed\nseparately for SFT and GRPO.\nHyperparameter\nLoop-level settings\nIterations (K)\nTasks synthesized per iteration\nRollouts per task (N )\nAdmission band (Nl , Nh )\n\nTable 4: Compute cost per ClawLoop iteration for the\nQwen3.6-27B loop model. All workloads run on the same\n32×H800 allocation, so GPU hours are wall-clock hours\nscaled by 32.\nWorkload\n\nWall-clock (h)\n\nGPU hours\n\nTask synthesis (1,024 tasks)\nValidation rollouts on Tk\nTraining — SFT\nTraining — GRPO\nDiagnosis rollouts on Ek\n\n15.98\n30.76\n8.03\n18.52\n0.94\n\n511\n984\n257\n593\n30\n\nTotal per iteration\n\n74.23\n\n2,375\n\nThe breakdown shows that rollout collection, not gradient\ncomputation, is the dominant cost: validation rollouts alone\naccount for roughly 41% of the per-iteration total, and exceed\nthe combined SFT and GRPO training time. This is characteristic of harness-native training, where every reward signal\nrequires executing an agent trajectory against a real environment rather than scoring a static output. The diagnosis pass\nis comparatively cheap because Ek is a small held-out split\ndisjoint from the training pool Tk , so only a fraction of the\niteration’s tasks are re-run for diagnosis.\n\nA.2\n\nTraining Configuration\n\nTable 5 lists all training hyperparameters. As described in the\nmain text, ClawLoop employs two complementary methods\n\nOptimization settings\nLearning rate\nBatch size\nEpochs\nWarmup ratio\nLR schedule\nMax sequence length\nKL penalty (β)\nOptimizer\nWeight decay\nSampling temperature\nHardware\n\nA.3\n\nSFT\n\nGRPO\n3\n1,024\n8\n1, 5\n\n2 × 10−5 5 × 10−7\n128\n64\n3\n1\n0.03\n0.05\ncosine\ncosine\n65,536\n65,536\n—\n0.04\nAdamW\nAdamW\n0.1\n0.0\n1.0\n1.0\n32 H800 GPUs\n\nEvaluation Protocol\n\nAll three external benchmarks are evaluated with the harness\nconfiguration held fixed across methods, so that differences\nreflect the policy rather than the scaffold. SkillsBench (Li\net al. 2026b) is reported as Avg@5, i.e. the mean over five\nindependent samples per task, which reduces the variance\nintroduced by its relatively small size (86 tasks). Claw-EvalLive (Li et al. 2026a) and ClawGym-Bench (Bai et al. 2026)\nare reported as the average score produced by their respective\nofficial graders. Decoding uses temperature 0.7 and top-p\n0.95 for all evaluations.\nNone of the three benchmarks is used for training, task\nselection, or difficulty scheduling at any point in the loop; the\ndiagnosis phase observes only the held-out synthesized split\n\n\fEk . This separation is what allows the benchmarks to serve as\nan independent check on whether the loop produces genuine\ncapability gains rather than fitting its own task distribution.\n\nB\n\nComplete Algorithm\n\nAlgorithm 1 provides a complete pseudocode description of\nthe ClawLoop training loop.\nAlgorithm 1 ClawLoop: Iterative Self-Improvement Loop\nRequire: Base model πθ0 , number of iterations K, rollouts\nper task N , admission band [Nl , Nh ]\nRequire: Initial diagnostic feedback F0 = ∅\n1: for k = 1 to K do\n2:\n// Phase 1: Task Synthesis\n3:\nPkraw ← DualRouteSynthesis(Fk−1 )\n▷\nDiagnosis-conditioned difficulty growth\n4:\nPkaf ← AgentFreeValidation(Pkraw ) ▷ Generator\nruns, verifier executable\n5:\nfor each task τi ∈ Pkaf do ▷ Agent-based validation\n6:\nfor j = 1 to N do\n(i)\n7:\nξj ← Rollout(πθk−1 , τi ) in harness sandbox\n(i)\n(i)\n8:\nrj ← Vτi (sT )\n9:\nend for\n10:\nend for\nP (i)\n11:\nPk ← {τi : Nl ≤ j rj ≤ Nh }\n▷ Neither too\neasy nor too hard\n12:\nTk , Ek ← Split(Pk )\n▷ Ek = Pk \\ Tk\n13:\n14:\n15:\n\n// Phase 2: Train\n(i)\n(i)\nDSFT ← {ξj : τi ∈ Tk , rj = 1}\n▷ Reuse\nvalidation rollouts\n16:\nθ′ ← SFT(πθk−1 , DSFT ) ▷ Multi-turn loss masking\n(i)\n17:\nθk ← GRPO(πθ′ , {(τi , {ξj }N\nj=1 )}τi ∈Tk )\n18:\n19:\n20:\n\n// Phase 3: Diagnose and Feedback\nΞk ← {Rollout(πθk , τ ) : τ ∈ Ek } ▷ Held-out split\nonly\n21:\nsummariesk ← SummarizeFailures({ξ ∈ Ξk :\nr(ξ) = 0})\n▷ Failure point, root cause, missing capability\n22:\nFk ← AggregatePatterns(summariesk )\n▷\nRecurring failure patterns\n23: end for\n24: return πθK\n\nC\n\nSFT and RL within the Loop\n\nThe main text describes SFT and GRPO as complementary\nstages: SFT provides a warm-start by imitating the agent’s\nown successes, and GRPO pushes past the ceiling that imitation imposes. This section explains why the two stages\ncontribute differently at different model scales.\nWhy the two stages contribute differently. Self-distilled\nSFT requires a supply of successful trajectories, and that\nsupply is a function of the model’s own success rate on the\n\nvalidated pool. The 27B loop model clears the admission\nband on enough tasks that each iteration yields between 892\nand 1,978 successful trajectories (Table 6), which is sufficient\nfor SFT alone to produce a stable gradient signal. Smaller\nmodels do not: on the same pool their success rate is low\nenough that SFT sees few positive examples, and the resulting\nupdate is both noisy and biased toward the easiest tasks in the\npool. GRPO compensates because it extracts signal from the\ncontrast between rollouts within a group, so a task on which\nthe model succeeds once out of eight attempts still produces\na usable advantage estimate, whereas SFT would retain that\nsingle trajectory and discard the seven informative failures.\nThis is why the gains reported for the 4B and 9B models in\nTable 2 are attributed primarily to the RL stage.\nInteraction with task admission. This also explains why\nthe admission band [Nl , Nh ] with Nl &gt; 0 and Nh &lt; N\nmatters more for RL than for SFT. Tasks solved on every attempt produce zero advantage under Eq. 2 because the group\nis unanimous, and tasks solved on no attempt produce zero\nadvantage for the same reason; in both cases the group standard deviation σr collapses and the task contributes nothing\nbut compute. The main text’s setting of Nl = 1 and Nh = 5\nout of N = 8 rollouts retains exactly the tasks whose outcome is uncertain under the current policy, which is where\nthe gradient signal is concentrated. Because the band is defined relative to πθk−1 , it moves with the agent: a task that\nis informative at iteration k may be unanimously solved by\niteration k + 1 and is then excluded automatically, without\nany external curriculum schedule.\nScaling behavior. The main text reports ClawLoop results\nat three scales: Qwen3.5-4B and 9B as consumers of the curriculum, and Qwen3.6-27B as the loop model. Two caveats\nbound what these results establish about scaling. First, a single loop model drives the curriculum at all three scales, so\nwe cannot separate the effect of scale on the consumer of the\ncurriculum from its effect on the producer; varying the loop\nmodel itself would be required for that. Second, the 4B and\n9B models never run their own diagnosis phase, and instead\ninherit a curriculum shaped by the 27B model’s weakness\nprofile. That this transfers at all is precisely the finding reported in the main text, and it is what licenses treating the\nsmaller models as independent probes of data quality. But it\nalso means those models are not self-improving in the sense\nthe framework defines, and their gains should be read as evidence about the curriculum rather than as instances of the\nfull loop.\n\nD\n\nLoop Dynamics\n\nThe main text reports what the loop achieves at its endpoint.\nThis section reports what happens inside the loop: how the\ntask pool and the trajectories it elicits evolve across iterations.\nThese quantities are the loop’s internal state, and tracking\nthem is what allows us to distinguish genuine curriculum\nprogression from a pool that merely grows without becoming\nmore informative.\n\n\fD.1\n\nPer-Iteration Statistics\n\nTable 6 summarizes the state of the loop at each iteration.\nThe two validation stages play distinct roles. Agent-free validation checks only that a candidate is well-formed — that its\ngenerator runs deterministically and its verifier is executable\n— and it admits a stable ∼89% of candidates in every iteration, indicating that the synthesis routine’s basic output\nquality does not degrade as the loop proceeds. Agent-based\nvalidation is the selective stage: it retains only tasks whose\ndifficulty falls inside the admission band [Nl , Nh ] = [1, 5],\nand because that band is defined relative to the current policy,\nit is the stage through which the agent’s own improvement\nfeeds back into the curriculum.\nTable 6: Per-iteration loop statistics for the Qwen3.6-27B\nloop model. The admission rate is reported relative to the\n1,024 candidates synthesized per iteration.\nQuantity\n\nk=1\n\nk=2\n\nk=3\n\nCandidates synthesized\nPassed agent-free validation\nPassed agent-based validation\nAdmission rate (%)\n\n897\n672\n65.6\n\n1,024\n910\n469\n45.8\n\n913\n567\n55.4\n\nSFT trajectories retained\nMean trajectory turns\nMean trajectory tokens\n\n1,978\n5.6\n1,207\n\n892\n11.4\n2,946\n\n1,694\n8.7\n1,899\n\nThe admission rate does not decay monotonically: it falls\nsharply from 65.6% at k=1 to 45.8% at k=2, then recovers\nto 55.4% at k=3. The trajectory statistics move in lockstep,\nwith mean turns rising from 5.6 to 11.4 before settling at 8.7\nand mean token counts tracing the same shape. This is the\ndifficulty-growth routine overshooting and then correcting.\nAt k=2 the routine escalates difficulty too aggressively in\nresponse to the agent’s first-round gains, pushing many candidates past the upper bound Nh : the admission rate drops,\nand the tasks that do survive are markedly longer. By k=3 the\nescalation has been damped and the pool settles at a difficulty\nthe agent can engage productively, with the admission rate\nand trajectory length both landing between their k=1 and\nk=2 values. The loop therefore converges on an appropriate\ndifficulty level by traversing it from both sides rather than\napproaching it monotonically.\n\nD.2\n\nDiminishing Returns\n\nFigure 3 in the main text shows that performance saturates\naround K = 3 for two of the three benchmarks. Table 6\nsuggests a mechanistic reading. The binding constraint is\nnot how many candidates are synthesized, which is fixed at\n1,024 per iteration, but how many land inside the admission\nband: only 45.8% to 65.6% survive agent-based validation,\nso between a third and a half of the synthesis budget yields\nno training signal at all. Discarded tasks are those the agent\nsolves on every attempt or on none, and both produce zero\nadvantage under Eq. 2 because the group is unanimous. The\nk=2 overshoot shows that keeping candidates inside the band\nrequires the synthesis routine to track a moving policy, and\nthat this tracking is imprecise. This points to the difficulty\n\ncontroller, rather than the number of iterations, as the limiting\nfactor: a routine that placed a larger fraction of its output\ninside the band would extract more from the same budget.\n\nE\n\nCase Study\n\nTo make the synthesized tasks concrete, this section examines two instances drawn from the same task family in the\nTaskForge pool, together with the trajectories they elicited\nfrom the loop model. The two instances differ substantially\nin difficulty, and comparing them shows where the additional\ndifficulty is absorbed: not in a longer sequence of task steps,\nbut in a markedly longer verification phase. Task instructions\nare translated from the original Chinese.\n\nE.1\n\nTwo Instances of an Aggregation Task\n\nBoth instances belong to an aggregation-and-reporting family in which the agent must join two CSV inputs, compute\ngrouped statistics under explicit business rules, and emit report files that a verifier checks field by field.\nInstance A (harder).\nFrom the order ledger (orders.csv) and the product\nmaster table (products.csv), generate a group of orderamount distribution and category-tier reports (covering distribution statistics, quartile analysis, refund metrics, valuetier summaries, and a voided-order audit log), writing multiple JSON files to /output/. Detailed requirements are\nin /input/requirements.md; the output contract is\nin /input/task_spec.json.\n\nInstance B (easier).\nRead\n/input/orders.csv\nand\n/input/customers.csv and join orders to customers by customer_id. For each customer compute\na spending profile (total_paid, total_refunded,\nnet_spending, and the corresponding order counts),\nassign a tier by net_spending (HIGH_VALUE ≥ 500,\nSTANDARD for 0 &lt; · &lt; 500, AT_RISK ≤ 0), and write\neach tier to its own CSV file plus a tier_summary.csv\naggregate.\n\nWorkspace and hidden decisions. Neither instance is answerable from any single input file: the order ledger carries\ntransaction amounts but not the category or customer attributes needed to group them, and the joined dimension table\nsupplies those attributes without the amounts. Both instances\nalso depend on decisions that the data alone underdetermines,\nand these are declared in skill files that the workspace makes\navailable to the agent rather than left implicit. For Instance\nA, the tier-classification skill specifies that a category median falling exactly on a threshold is assigned to the higher\ntier, that tiers are computed from the unrounded median with\nrounding applied only at output, and that categories with no\nvalid orders are omitted from the summary entirely. Instance\nB is governed analogously by skills covering decimal money\naggregation, dirty-record handling, and the representation of\nempty tiers. Without such declarations the tasks would be illposed: several defensible outputs would exist, and a verifier\nchecking exact values would penalize the agent for a choice\nthe instruction never constrained.\n\n\fE.2\n\nThe Two Trajectories\n\nTable 7 places the two trajectories side by side, grouped\ninto phases. Both agents solved their instance, and both were\nadmitted to the training pool.\nTable 7: The two trajectories by phase. Turn indices refer to\nagent turns; a single turn may issue several tool calls.\nPhase\n\nInstance A (harder)\n\nInstance B (easier)\n\nExplore\n\nA1–A5: read requirements, output contract,\nboth CSVs, config, and\nsix skill files\n\nA1: read both CSVs\nand five skill files\n\nImplement\n\nA6: write generation\nscript\n\nA2–A3: create output\ndirectory, write script\n\nExecute\n\nA7: run script\n\nA4: run script\n\nVerify\n\nA8–A13: recompute\naggregates independently, dump and\nre-read\nall\nthree\noutputs, cross-check\ntier totals against the\ndistribution\nreport,\naudit sort order\n\nA5: read back all four\noutputs\n\nFinalize\n\nA14–A15:\nremove\nscratch script, report\n\nA6: report\n\nThe phase structure is identical, and the two trajectories\ndiverge almost entirely in the verification phase. Instance A\ndevotes six of its fifteen turns (40%) to checking its own\noutput, whereas Instance B spends one turn of six (17%).\nTable 8 quantifies the gap.\nTable 8: Trajectory statistics for the two instances.\nQuantity\n\nInstance A\n\nInstance B\n\nDifficulty score\n\n0.53\n\n0.14\n\nAgent turns\nTool calls\nShell executions\nSkill files consulted\nReasoning tokens\n\n15\n24\n9\n6\n67,994\n\n6\n14\n2\n5\n4,067\n\nThe scaling is uneven, and the pattern is informative. Turn\ncount grows by 2.5× and tool calls by only 1.7×, but shell\nexecutions grow by 4.5× and reasoning tokens by nearly\n17×. The harder instance does not require many more actions; it requires far more deliberation per action, and most of\nthat deliberation is spent confirming that the actions already\ntaken were correct.\n\nE.3\n\nWhat the Verification Phase Contains\n\nThe content of Instance A’s verification turns is worth describing, because it is the behavior that self-distilled SFT retains when the trajectory is admitted. After running its script,\nthe agent recomputed the global revenue aggregate independently and obtained a figure that appeared to contradict its\n\nown earlier estimate; it then re-derived the sum term by term,\nfound the true total to be 6984.997, and confirmed that this\nrounds to the reported 6985.00. It next cross-checked the tier\nsummary against the distribution report, verifying that the\nper-category revenues sum to the reported tier totals. Finally,\nits audit of sort order flagged an apparent violation among\ncategories sharing an identical median; on inspection the\nagent determined that its own checking script was at fault,\nhaving rejected equal medians outright instead of verifying\nthat the alphabetical tie-break had been applied correctly,\nand that the output was in fact correct.\nThis last step is the most interesting of the three, because\nthe agent is not merely re-running its solution but auditing its own audit, and correctly concluding that the solution\nstands and the check was wrong. Behavior of this kind is\nwhat the admission band is designed to select for. A task\nthat the agent solves on the first attempt without verification\nproduces a trajectory with little of this content, while a task\nit cannot solve at all produces none; tasks in between elicit\ntrajectories in which the agent must check itself, and those\nare the trajectories that enter the SFT set.\nWe note that these two instances are illustrative rather\nthan a controlled comparison. They come from the same\ntask family but are not the same task, so the difference in\nverification effort cannot be attributed to difficulty alone with\nany precision. The aggregate trend in Table 6, where mean\ntrajectory length tracks the admission rate across iterations,\nis the quantitative form of the same observation.\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"