"<!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>JIT\n\nJIT-AGENT: S CALING H ARNESS I NTELLIGENCE VIA\nJ UST- IN -T IME H ARNESS E VOLUTION\nJIT-Agent Team\n\narXiv:2608.25593v2 [cs.CL] 3 Sep 2026\n\nA BSTRACT\nAgent capability is not determined by the model alone. The agent harness, encompassing memory management, planning strategy, action protocol, and tool/skill\norchestration, can dominate the contribution of the underlying foundation model.\nYet harness design remains manual, task-specific, and fundamentally unscalable.\nWe present JIT-Agent, a harness intelligence model trained to synthesize taskadaptive agent harnesses on the fly for arbitrary off-the-shelf agentic LLMs. We\nformalize the agent harness as a composable, machine-generatable artifact governed by a fixed four-module protocol, and train JIT-Agent to customize harnesses\nfor a given task at hand, repair harnesses for stable and reliable execution, and\nself-evolve by distilling performance signals from an expanding archive of prior\nharness configurations. Equipped with JIT-Agent as a harness helper, DeepSeekV4-Flash surpasses GPT-5.6 on DeepSearchQA (+9.1) and OdysseyBench (+4.3),\nwhile the already strong GLM-5.2 gains up to +20.2 points. Across controlled\nevaluations, JIT-Agent-generated harnesses are performance-competitive with mature agent runtimes such as OpenCode and Claude Code and consistently improve\nmulti-scale model families of DeepSeek V4, Mimo-V2.5, and Qwen3.6. To our\nknowledge, JIT-Agent is the first model purpose-built for just-in-time harness\ngeneration, establishing harness intelligence as a trainable, transferable, and compounding dimension of agent capability orthogonal to model scaling.\nCode: https://github.com/bingreeky/JIT\n\n1\n\nI NTRODUCTION\n\nAgent harness matters. The capability of an LLM agent is jointly determined by two tightly coupled\nfactors: the foundation model that produces reasoning and actions, and the agent harness that situates\nthis model in a closed-loop execution environment (Meng et al., 2026b; Zhou et al., 2026; Ning\net al., 2026). The harness decides what history is retained, how local intent is formed, which tools or\nskills are exposed, how actions are executed, and when verification or recovery is triggered (Meng\net al., 2026b; Zhou et al., 2026). A strong model may fail when placed behind the wrong memory,\nplanner, or action protocol; a strong harness, in turn, can only unlock capability when the model\ncan understand and follow it (Lee et al., 2026c; Lin et al., 2026). Thus, agent intelligence is not\na property of model weights alone, but of the model–harness pair (Lee et al., 2026c; Zhou et al.,\n2026). Harness design is therefore not an implementation detail, but a first-order determinant of agent\nperformance (Meng et al., 2026b; Lin et al., 2026).\nAhead-of-Time (AOT) Harness This observation has motivated a growing line of work on testtime harness optimization (Lee et al., 2026c; Lin et al., 2026). Recent systems optimize harness code,\nprompts, tools, memories, skills, or control policies from trajectories and feedback, yielding strong\nimprovements in coding, terminal-use, web interaction, and general agentic domains (Lee et al.,\n2026c; Lin et al., 2026). Despite their differences, many of these methods share an Ahead-of-Time\n(AOT) assumption: the harness is treated as a durable artifact to be optimized over an experience\nstream, with the hope that the resulting artifact will generalize across future tasks, domains, or model\nversions (Lee et al., 2026c; Lin et al., 2026). This is a powerful paradigm when the deployment\ndistribution is stable and homogeneous (Lin et al., 2026; Zhang et al., 2025). However, it still asks\nthe optimization loop to precompile a broadly useful harness before seeing the exact structure of each\nfuture problem (Lee et al., 2026c).\nJust-in-Time (JIT) Harness. We instead turn to a Just-in-Time (JIT) view of harness construction. Different tasks plainly require different harness priors. Wide-search tasks may benefit\n1\n\n\fJIT\n\nFigure 1: Overview of JIT-Agent. Given a task, JIT-Agent composes a problem-specific agent\nharness by instantiating (rather than simply combining) four modules: memory, planning, action,\nand capability. Different task structures therefore induce distinct executable protocols and state\norganizations, as illustrated by the specialized harnesses for deep research, product generation, and\nautonomous research.\nfrom parallel evidence exploration (Qin et al., 2025); terminal tasks often favor a lean serial ReAct\nloop (Yao et al., 2023a; Merrill et al., 2026); deep-research tasks require working memory over\nretrieved evidence (Hu et al., 2025); and NL2Repo-style coding tasks are naturally mediated by a\nfilesystem that stores patches, tests, traces, and repository state (Yang et al., 2024; Ning et al., 2026).\nIn short, the appropriate harness is not only domain-dependent, but instance-dependent (Meng et al.,\n2026b; Zhou et al., 2026). Optimizing a single AOT harness across such heterogeneous demands\nis cumbersome: one must search a large design space, accumulate enough trajectories, and then\nhope that the resulting scaffold matches the next task (Lee et al., 2026c; Lin et al., 2026). We ask\nwhether another possibility is viable: Model-as-a-Harness, where a trained meta-agent generates a\ntask-specific harness on the spot, and an arbitrary agentic LLM executes under that harness.\nJIT-Agent. We propose JIT-Agent, a compact meta-agent for just-in-time harness generation and\nevolution. At inference time, JIT-Agent receives a task specification, a protocol, an executable\ntool/skill registry, and a small retrieved context of prior harnesses, and emits an executable harness\ntailored to the task at hand. The resulting harness wraps an off-the-shelf agentic LLM for execution.\nAs feedback and traces accumulate, JIT-Agent can revise the harness and update a harness archive,\nenabling test-time harness evolution while the generator itself remains fixed. Training such a system\nraises three challenges: ❶ adaptivity, namely how to match the generated harness to the task; ❷\nreliability, namely how to ensure executable behavior and recover when synthesis fails (Pan et al.,\n2026; Ning et al., 2026); and ❸ evolvability, namely how to turn execution feedback into stronger\nfuture harnesses (Lee et al., 2026c; Lin et al., 2026). Together, these three requirements define what\nwe call harness intelligence:\nHarness Intelligence\n\nHarness intelligence is the capacity to construct and refine the operational scaffold through which a\nmodel acts. It has three defining properties: adaptivity, matching the harness to the task and backbone;\nreliability, producing executable behavior and recovering when synthesis fails; and evolvability, turning\nexecution feedback into stronger future harnesses. Intelligence about the harness begins where competence\nwithin a fixed harness ends.\n\nJIT-Agent realizes harness intelligence through a three-stage training recipe over a protocol-induced\nharness space (Meng et al., 2026b; Zhou et al., 2026). First, we factor an agent harness into a four-tuple\nof memory, planning, action, and capability-orchestration modules, and build H ARNESS FACTORY, a\nunified codebase of representative scaffolds under this common interface (Hu et al., 2025; Erdogan\n2\n\n\fJIT\n\net al., 2025a; Yao et al., 2023a; Xu &amp; Yan, 2026). Following the view that code carries the\nharness (Ning et al., 2026; Pan et al., 2026), this representation makes harness generation feasible:\nJIT-Agent generates structured executable modules rather than unconstrained agent programs. ❶\nStage I then teaches task-conditioned customization from teacher-generated protocol-compliant\nexamples, giving the generator adaptivity over the shared design space. Second, ❷ Stage II converts\nfailed generations into bounded repair trajectories, turning compiler errors, interface mismatches, and\nruntime failures into supervision for reliable recovery. Third, ❸ Stage III introduces Evolutionary\nGroup-Decoupled Policy Optimization (Evo-GDPO), which optimizes JIT-Agent to propose harnesses\nthat overtake the current archive frontier while separately normalizing reward, latency, and cost. This\nsupplies evolvability by turning test-time harness improvement into a trained capability rather than\nan external search heuristic. Through this pipeline, we train JIT-Agent-27B, a harness intelligence\nmodel that can customize, repair, and evolve task-specific harnesses, shifting harness engineering\nfrom AOT artifacts to native JIT synthesis.\nExperiment Findings. Across nine benchmarks, JIT-Agent consistently strengthens its underlying\nbackbones: DeepSeek-V4-Flash surpasses GPT-5.6 by 9.1 points on DeepSearchQA and 4.3 on\nOdysseyBench, while GLM-5.2 gains up to 20.2 points. The generated harnesses also remain\ncompetitive with mature runtimes and transfer across DeepSeek V4, Mimo-V2.5, and Qwen3.6.\nContributions. (I) We formulate Model-as-a-Harness and define harness intelligence as the learned\nability to construct, repair, and evolve an agent’s operational scaffold. (II) We instantiate this paradigm\nwith JIT-Agent, which combines a four-module executable protocol, H ARNESS FACTORY, and a\nthree-stage customization–repair–evolution pipeline, and (III) validate that JIT-generated harnesses\nimprove diverse backbones while remaining competitive with strong production harnesses.\n\n2\n\nR ELATED W ORK\n\nHarness Engineering and Modularization. Harnesses have diversified across coding and generalpurpose runtimes such as Claude Code, Codex, Hermes, and OpenClaw (Anthropics, 2025; OpenAI,\n2025; Nous Research, 2026; OpenClaw Contributors, 2026), embodied systems (Zhang et al., 2026c;\nLee et al., 2026b), search agents (Apodex Team, 2026; Qin et al., 2025), and memory-centric\nsystems (Chhikara et al., 2025; Hu et al., 2026a; Zhang et al., 2025). Despite domain-specific\nimplementations, they share an operational layer that governs memory, planning and control, action verification, and tool/skill orchestration, making capability a property of the model–harness\npair (Meng et al., 2026b; Zhou et al., 2026; Pan et al., 2026). Modular representations expose these\nchoices through explicit interfaces, allowing components to be substituted and optimized independently (Chen et al., 2026b; Ning et al., 2026). We therefore use the compact executable factorization\nh = (M, P, A, F) for memory, planning, action, and capability orchestration.\nHarness Optimization. With explicit interfaces, harness construction becomes optimization over\nexecutable artifacts rather than a fixed engineering choice (Khattab et al., 2023; Yuksekgonul et al.,\n2024; Hu et al., 2024b; Shang et al., 2024). Recent methods extend optimization from prompts and\nworkflow graphs to complete harness code, commonly using a diagnose–propose–validate loop in\nwhich traces guide edits and validation determines retention (Zhang et al., 2024; Lee et al., 2026c; Lin\net al., 2026; Chen et al., 2026b). Recursive, hierarchical, and online variants improve this loop, but\nstill primarily optimize a persistent artifact against accumulated experience and are therefore aheadof-time relative to a new task instance (Lee et al., 2026a; Zhou, 2026; Nie et al., 2026; Shao et al.,\n2026). JIT-Agent instead amortizes search into a trained generator that constructs a task-conditioned\nharness just in time; Table 4 summarizes this distinction.\n\n3\n\nU NIFIED H ARNESS C ODEBASE\n\n3.1\n\nM ODULARIZED H ARNESS D ESIGN S PACE\n\nAn agent harness is the operational layer that turns a foundation model into a closed-loop agent (Meng\net al., 2026a; Zhou et al., 2026): it determines what from prior interaction is retained (Hu et al.,\n2026b), how intermediate directives are formed (Cao et al., 2025), which external capabilities are\nexposed at each stage (Xu &amp; Yan, 2026; Yang et al., 2026), and how control advances. Harness\ngeneration is therefore defined over programs rather than unconstrained text. We distinguish the\nraw generation space G, syntactically valid harnesses Hsyn , protocol-compliant harnesses HΠ , and\nexec\nexec\ntheir executable subset HΠ\n, with G ⊇ Hsyn ⊇ HΠ ⊇ HΠ\n. The fixed protocol Π specifies\n3\n\n\fJIT\n\nmodule schemas and interfaces, their lifecycle, validation rules, and the shared execution semantics.\nIt removes incidental variation in language and runtime while retaining the principal operational\nchoices that distinguish existing harnesses (Wu et al., 2023; Microsoft, 2024; LangGraph, 2025; Luo\net al., 2025). JIT-Agent makes these choices explicit through four interoperable modules: how history\nis compressed, how local intent is formed, how tools and skills are orchestrated, and how control\nadvances. Let τ be a task, πψ a frozen backbone executor, and Cτ the capability registry available\n(e.g., tools, APIs, skills) to that task. Running a harness h with πψ induces a closed-loop trajectory\n\u0001\nξ ∼ Rollout(τ , πψ , h, Cτ ; Π) = s1 , e1 , o1 , . . . , sT , eT , oT ,\n(1)\nwhere st ∈ S is the maintained controller state, et ∈ A = U ⊔ Y is either an executable call\nfrom U or a terminal output from Y, ot ∈ O is the resulting observation, and T is the protocol- or\nbudget-bounded stopping time. Our key assumption is that every h ∈ HΠ admits:\n\u0001\nh = M, P, A, F ∈ M × P × A × F,\n(2)\nwhere M, P, A, and F denote memory, planning, action, and capability-orchestration modules,\nand M, P, A, and F are their protocol-compatible implementation spaces. The tuple follows this\nconceptual decomposition; at runtime, its dependency order is M → P → F → A. All modules\noperate against the same frozen πψ , whose common runtime dependence is suppressed below. The\nprotocol maintains both the immutable event history ξ &lt;t and the mutable controller state st , which\ninteract as\nvt = M(ξ&lt;t , st ) ∈ V,\nhistory → view,\ndt = P(τ , st , vt ) ∈ Ddir ,\nview → local directive,\nCt = F(Cτ , st , vt , dt ) ⊆ Cτ ,\ndirective-conditioned capability orchestration,\n(st+1 , et ) = A(st , τ , vt , dt , Ct ) ∈ S × A, control update and action emission,\n\n(3)\n\nwhere V and Ddir are the view and directive spaces. The registry Cτ contains callable tools (e.g.,\nbash tools, APIs, and MCPs (Sarkar &amp; Sarkar, 2025)) as well as higher-level agent skills (Xu &amp; Yan,\n2026; ClaudeCode, 2025); a harness without an explicit planner remains type-consistent through the\nnull directive d∅ ∈ Ddir returned by P∅ . Thus, M constructs a view of realized history, P forms\na local directive, F activates relevant capabilities, and A updates the controller state and emits the\nnext action. The shared kernel Exec : U × 2Cτ → O sets ot = Exec(et ; Ct ) for et ∈ U and ot = ⊥\nfor et ∈ Y, where ⊥ ∈ O is the terminal null observation; it then updates ξ ≤t = ξ&lt;t ⊕ (st , et , ot ),\nwith ⊕ denoting event append. Execution starts from ξ &lt;1 = ∅ and a protocol-defined s1 ∈ S, and\nterminates when et ∈ Y, yielding y = eT ∈ Y. This factorization maps otherwise heterogeneous\nprograms into comparable coordinates in M × P × A × F: canonical ReAct uses full-history memory,\nno explicit planner, a ReAct loop, and the full capability registry; engineered variants such as\nCodex and OpenCode add compact memory and todo-based planning (OpenAI, 2025; OpenCode-AI,\n2025); and recursive systems such as ROMA, AOrchestra, and RLM instantiate subproblem memory,\ndecomposition, recursive action, and routed capabilities (Alzu’bi et al., 2026; Ruan et al., 2026;\nZhang et al., 2026a). Given this modularized design space, we next introduce H ARNESS FACTORY,\nwhose role is to test the expressiveness of HΠ and furnish diverse source material for JIT-Agent’s\nmeta-harness design.\n3.2\n\nH ARNESS FACTORY\n\nUnder the shared protocol Π and a common kernel, H ARNESS FACTORY re-implements 13 representative scaffolds spanning memory, planning, aggregation, hierarchical control, and recursive\nexecution; Table 1 gives the full inventory. These implementations form the protocol-compatible seed\nbank B0 of size K0 = 13. The bank serves a dual role: its seeds anchor Stage-I synthesis, while later\nstates supply the prior population against which new designs are evaluated. After n evolution rounds,\nB0 grows into Bn ⊇ B0 , whose entries associate each retained harness with its task and observed\nreward, latency, and cost; this evolution is formalized in Section 4.1.\n\n4\n\nM ETHOD\n\n4.1\n\nT RAINING P IPELINE\n\nTraining follows the inference-time lifecycle of JIT-Agent: synthesize a task-conditioned harness,\nrecover unstable generations, and then improve from stronger archive states online. Let τ ∼ Dtask\n4\n\n\fJIT\n\nTable 1: Seed bank B0 : 13 hand-written harnesses instantiating the four-module protocol Π. Each\nrow is a complete harness; columns follow the conceptual order of memory, planning, action, and\ncapability orchestration.\nHarness\n\n♣ Memory\n\n♦ Planning\n\n♥ Action\n\n♠ Capability Orchestration\n\nM∈M\n\nP∈P\n\nA∈A\n\nF∈F\n\nNo explicit planner\nLinear roadmap\nNo explicit planner\nDAG planning\nDAG\nNo explicit planner\nNo explicit planner\nNo explicit planner\nDAG\nNo explicit planner\nNo explicit planner\nAtomizer + DAG\nAtomizer + DAG\n\nReAct\nReAct\nReAct\nReAct\nReAct\nMarker-guided execution\nMulti-rollout aggregation\nEnsemble voting\nReActFold\nReAct\nMarker-guided execution\nRecursive execution\nRecursive execution\n\nFull registry\nFull registry\nFull registry\nFull registry\nFull registry\nFull registry\nFull registry\nFull registry\nFull registry\nFull registry\nTool search\nFull registry\nAgent Delegation\n\nR E ACT [69]\nFullHistory\nP LAN - AND -E XECUTE [14] FullHistory\nR E S UM [63]\nReSum memory\nF LASH -S EARCHER [51]\nFullHistory\nGAM [65]\nGAM retrieval\nM EMO B RAIN [50]\nReasoning graph\nAGG AGENT [29]\nIsolated rollout histories\nOAGENT [80]\nCoordinator history\nAGENT F OLD [70]\nAgentFold memory\nH I AGENT [20]\nHierarchical memory\nD EEPAGENT [30]\nThree-tier memory\nROMA [1]\nContext isolation\nAO RCHESTRA [53]\nContext isolation\n\nFigure 2: Training pipeline of JIT-Agent. Stage I learns task-conditioned harness customization.\nStage II converts failed harnesses and execution diagnostics into bounded repair trajectories. Stage III\nperforms online evolution by comparing candidate harnesses against the incumbent bank, optimizing\ndecoupled reward, latency, and cost advantages, and retaining frontier-improving designs.\n\ndenote a training task, Cτ its capability registry, and Eτ a small reference context from the harness bank.\nThe generation context is cτ = (τ , Π, Cτ , Eτ ), from which pθ generates a harness h ∈ G. A frozen\nexecutor πψ ∼ M evaluates task reward, latency, and monetary cost, while ValidΠ (h; τ , πψ , Cτ ) ∈\n{0, 1} checks protocol and execution validity and returns structured diagnostics upon failure. The\nthree stages optimize this generator through offline supervision, repair-trajectory learning, and online\npolicy improvement, respectively.\nStage I: Data Preparation. Stage I uses a frozen, stronger teacher qϕ to synthesize task-adapted\nharnesses under the fixed four-module protocol. For each task, Eτ contains three scaffolds sampled\n(d(τ ))\nfrom the task-type-matched subset B0\n, where d(τ ) denotes the task type. The teacher receives\nthe resulting context cτ , and its generation is retained only after protocol validation and execution\nchecks. Training tasks come from existing agentic benchmarks and environments (Wu et al., 2025;\nShi et al., 2025; Bai et al., 2026; Song et al., 2026), augmented with synthesized tasks.\nStage I: Training Setup. We first apply standard supervised fine-tuning to accepted teacher\ngenerations, teaching JIT-Agent to map a task and its reference context directly to a protocolcompliant harness. Since executable harnesses can still differ substantially in quality and efficiency,\nwe then compare candidates under the same backbone and evaluation seeds. A preference is retained\n5\n\n\fJIT\n\nonly when reward improves, neither efficiency axis degrades, and at least one efficiency gain is strict:\n\u0001\nh+ ≻τ h− ⇐⇒ r+ &gt; r− ∧ ℓ+ ≤ ℓ− ∧ κ+ ≤ κ− ∧ ℓ+ &lt; ℓ− ∨ κ+ &lt; κ− ,\n(4)\n∆val (τ ; h+ , h− ) = αr (r+ − r− ) + αℓ [ℓ− − ℓ+ ]+ + ακ [κ− − κ+ ]+ ,\nwhere (r± , ℓ± , κ± ) are repeated-rollout averages for (h+ , h− ), [x]+ = max(x, 0), and αr , αℓ , ακ ≥\n0 weight the reward, latency, and cost gaps. The resulting pairs supervise a standard DPO objective,\nweighted by ∆val and anchored to the frozen Stage-I SFT checkpoint. Combined with generation\nimitation, this objective preserves protocol-valid structure while favoring harnesses that are both\nmore effective and more efficient.\nStage II: Data Preparation. Stage I optimizes for protocol compliance, but some generated\nharnesses still fail static or runtime validation. Rather than discarding them, Stage II pairs each failed\ne (0) with a structured diagnostic g(0) that records compiler errors, interface mismatches,\nharness h\ntool-call failures, or runtime exceptions. At repair round k, the teacher proposes a structured revision\n∆(k+1) from patch space P; Apply updates the harness deterministically, after which validation\nproduces the next diagnostic. We retain only trajectories that become executable within two rounds:\n\u0010\n\u0011\ne (k+1) = Apply h\ne (k) , ∆(k+1) ,\nh\nk ∈ {0, 1},\no\nn\n(5)\ne (k) ; τ , πψ , Cτ ) = 1 .\nK ⋆ = min k ∈ {1, 2} : ValidΠ (h\nSupervision is constructed only when K ⋆ exists, focusing the corpus on realistic, locally recoverable\nfailures rather than those requiring wholesale redesign.\nStage II: Training Setup. Stage II trains JIT-Agent by teacher-forced imitation of the successful\n⋆\n−1\nrevisions {∆⋆(k+1) }K\nk=0 . Each revision is conditioned on cτ and the complete preceding harness–\ne (j) , g(j) )}k . Because K ⋆ ≤ 2, the model learns the short-horizon regime\ndiagnostic history {(h\nj=0\nneeded at deployment: use execution feedback to make a small number of high-leverage revisions\nthat restore protocol-valid execution.\nStage III: Data Preparation. Stage III treats test-time harness evolution as a trainable capability:\nJIT-Agent learns to propose harnesses that surpass prior designs and then become stronger references\nfor subsequent tasks. We term the resulting online objective Evolutionary Group-Decoupled Policy\nOptimization (Evo-GDPO), inspired by (Liu et al., 2026a). At online round n, we sample a task τ ,\nretrieve prior high-quality designs Eτ,n from the current bank Bn , and form cτ,n = (τ , Π, Cτ , Eτ,n ).\nThe model samples G &gt; 1 candidates independently from the current rollout policy; candidates and\nretrieved designs are evaluated under the same frozen executor πψ ∼ M, budget, and seeds. The\nhighest-reward retrieved harness, with ties broken by lower latency and then lower cost, supplies the\nincumbent statistics (br , bℓ , bκ ).\nStage III: Training Setup. Every candidate is validated before execution; one that remains invalid\nafter bounded repair receives the minimum task reward, while its repair latency and cost remain part\nof the measured efficiency. For executable candidate i, let ri , ℓ̄i , and κ̄i denote reward, mean latency,\nand mean monetary cost over repeated rollouts. The reward channel is primary, whereas efficiency\ngains activate only when incumbent reward is preserved:\nRirew = ri + λevo [ri − br ]+ , Rilat = I[ri ≥ br ] [bℓ − ℓ̄i ]+ , Ricost = I[ri ≥ br ] [bκ − κ̄i ]+ ,\n\n(6)\n\nwhere λevo ≥ 0 controls the improvement bonus and I[·] is the indicator function. Evo-GDPO normalizes the three channels independently within each candidate group before aggregation, preventing\ntheir scales from overwhelming one another:\nAm\ni =\n\nRim − mean({Rjm }G\nj=1 )\n,\nG\nm\nstd({Rj }j=1 ) + εnum\n\nm ∈ {rew, lat, cost},\n\nrew\ncost\nAΣ\n+ wlat Alat\n,\ni = wrew Ai\ni + wcost Ai\n\n(7)\n\nwrew &gt; wlat + wcost .\n\nThe nonnegative weights sum to one, and the stated inequality makes task reward dominant; εnum &gt; 0\nstabilizes normalization. We further normalize AΣ\ni across the training batch and use it in a standard\nclipped PPO objective with a token-level KL penalty to the frozen Stage-II checkpoint. Thus, unlike\n6\n\n\fJIT\n\nstandard group-relative optimization, Evo-GDPO rewards candidates for overtaking prior designs\nand, when reward is preserved, for doing so more efficiently. After optimization, we update the\nharness bank conservatively: a candidate is retained only if it matches or exceeds the current reward\nfrontier and then strictly improves at least one frontier dimension—either reward itself, latency, or\ncost. During training, this feedback updates both θ and Bn ; at deployment, θ remains frozen.\n4.2\n\nI NFERENCE A RCHITECTURE\n\nJIT-Agent supports two inference modes: static inference and streaming inference; they differ in\nwhether experience is discarded after the task or retained to support subsequent tasks.\nStatic inference. In this mode, we introduce a lightweight form of test-time scaling: JIT-Agent\ngenerates N harnesses in parallel, selects one of them, and executes only the selected harness. This\nincreases candidate diversity without increasing the number of environment rollouts. The selected\nharness follows the same validation and bounded-repair procedure described above.\nStreaming inference. Streaming inference mode is designed to carry useful experience forward\nacross a sequence of tasks. For the n-th task τ n , JIT-Agent retrieves from the current bank Bn ,\ngenerates and selects a harness h†n , and executes it once. The resulting environment feedback is then\nused only to determine whether this experience should update the bank:\nξ n ∼ Rollout(τ n , πψ , h†n , Cτn ; Π), mn = Eval(ξ n ),\nBn+1 = UpdateIII (Bn ; τ n , h†n , mn ), Eτn+1 ,n+1 = Retrieve(τ n+1 ; Bn+1 ),\n\n(8)\n\nwhere mn = (rn , ℓ̄n , κ̄n ) contains reward, mean latency, and mean monetary cost. Following the\nStage-III retention rule, UpdateIII leaves Bn unchanged when the completed harness provides no\nadmissible improvement. Otherwise, the retained harness becomes a potential reference for later\ntasks. Streaming inference therefore transfers prior experience through the evolving harness bank,\nwithout injecting environment feedback into the current rollout or updating model parameters.\n\n5\n\nE XPERIMENTS AND A NALYSIS\n\n5.1\n\nE XPERIMENT S ETUP\n\nEvaluation Benchmarks. We evaluate JIT-Agent on nine benchmarks spanning four task types.\nDeep Research includes BrowseComp-Plus (Chen et al., 2025b) (accuracy), DeepSearchQA (Gupta\net al., 2026) (answer F1), and xBench-DeepSearch (xBench-DS) (Chen et al., 2025a) (accuracy);\nDaily Work includes AgentIF-Oneday (Chen et al., 2026a) (normalized weighted rubric score) and\nPinchBench (PinchBench, 2026) (average score); Planning includes the DeepPlanning-Shopping\n(cart match rate) and DeepPlanning-Travel (composite constraint score) subsets (Zhang et al., 2026b);\nand Workspace includes OfficeBench (Wang et al., 2024) and OdysseyBench (Wang et al., 2025)\n(task success rate for both). Together, these benchmarks cover evidence-intensive search, long-horizon\ninstruction following, constraint-aware planning, and multi-application workspace execution. We\nreport all metrics on a 0–100 scale; higher is better.\nBackbone Models. JIT-Agent is trained based on Qwen3.6-27B. We primarily instantiate JIT-Agent\nwith GLM-5.2 (Z.ai, 2026) and DeepSeek-V4-Flash-Preview (DeepSeek-AI, 2026). These backbones\nprovide complementary operating points: GLM-5.2 is a strong open long-horizon model, whereas\nDeepSeek-V4-Flash emphasizes inference efficiency. To test the generalization, additional models\nfrom Qwen3.6, Mimo-V2.5 are also used.\nBaselines. We use two complementary baseline groups. First, the broad comparison includes vanilla\nQwen3.7-Plus (Qwen Team, 2026), GLM-5.2, DeepSeek-V4-Flash/Pro (both preview version),\nKimi K2.7 Code (Moonshot AI, 2026), GPT-5.6-Sol (OpenAI, 2026), and Gemini 3.1 Pro/3.5\nFlash (Google DeepMind, 2026a;b). Second, holding the backbone fixed, we compare JIT-Agent\nwith five reusable agent harnesses: C LAUDE C ODE (Anthropics, 2025), C ODEX (OpenAI, 2025),\nO PEN C ODE (OpenCode-AI, 2025), H ERMES (Nous Research, 2026), and NANO B OT (HKUDS,\n2026). The first group measures end-to-end competitiveness, while the second isolates the contribution\nof harness design from that of model weights.\n5.2\n\nM AIN R ESULTS\n\nTable 2 compares JIT-generated harnesses with vanilla backbones and frontier models across nine\nbenchmarks. Replacing the default scaffold improves all 18 matched backbone–benchmark pairs:\n7\n\n\fJIT\n\nTable 2: Main results across nine agentic benchmarks. Rows prefixed by JIT-Agent use the same\nbackbone as their vanilla counterpart but replace its default scaffold with a JIT-generated harness.\nScores are reported on a 0–100 scale; higher is better. Top-1, Top-2, and Top-3 results in each column\nare highlighted in soft green, yellow-green, and yellow, respectively; Top-1 is also bolded.\nModel\n\nDeep Research\n\nDaily Work\n\nPlanning\n\nWorkspace\n\nBC+ DSQA xBench AgentIF PinchBench Shop Travel Office Odyssey\nQwen3.7-Plus\nGLM-5.2\nDeepSeek-V4-Flash\nDeepSeek-V4-Pro\nKimi K2.7 Code\nGPT-5.6\nGemini 3.1 Pro\nGemini 3.5 Flash\n\n70.5\n72.0\n68.1\n71.4\n73.6\n76.9\n67.5\n75.0\n\n78.0\n89.2\n76.2\n72.4\n87.8\n76.0\n75.8\n88.0\n\n75.0\n76.0\n70.1\n79.0\n79.0\n81.0\n83.0\n85.0\n\n59.9\n63.0\n58.4\n56.5\n57.3\n68.0\n60.1\n64.0\n\n80.5\n87.0\n81.7\n61.1\n76.1\n84.2\n81.0\n74.2\n\n75.2\n78.2\n59.1\n71.1\n72.8\n83.7\n77.4\n76.2\n\n52.1\n62.8\n54.8\n55.2\n56.9\n84.9\n70.7\n50.3\n\n56.6\n63.0\n61.0\n62.0\n65.8\n65.3\n60.6\n63.3\n\n67.7\n75.3\n71.0\n72.0\n69.9\n68.7\n74.0\n78.0\n\nJIT-Agent + GLM-5.2\n78.0\nJIT-Agent + DeepSeek-V4-Flash 74.0\n\n93.9\n85.1\n\n88.0\n82.0\n\n69.9\n63.8\n\n93.3\n92.9\n\n83.4\n83.9\n\n83.0\n61.3\n\n68.4\n63.4\n\n78.7\n73.0\n\nTable 3: Controlled comparison with advanced agent harnesses. For each fixed backbone, we report\ntask performance (Perf.), average token consumption per case in thousands (#Tokens (K)), and API\ncost per case in USD. Performance is better when higher; tokens and cost are better when lower. The\nbest value within each backbone group is bolded.\nBackbone\n\nHarness\n\nDeepSearchQA\n\nxBench-DS\n\nAgentIF\n\nPerf. ↑ #Tokens (K) Cost ↓ Perf. ↑ #Tokens (K) Cost ↓ Perf. ↑ #Tokens (K) Cost ↓\nC LAUDE C ODE\nC ODEX\nO PEN C ODE\nDeepSeek-V4-Flash\nH ERMES\nNANO B OT\nJIT-Agent\n\n79.6\n77.8\n75.9\n69.9\n80.4\n85.1\n\n625\n760\n1,832\n1,157\n924\n400\n\n$0.088\n$0.107\n$0.258\n$0.163\n$0.131\n$0.066\n\n75.0\n70.0\n65.0\n72.0\n78.0\n82.0\n\n559\n680\n1,157\n1,254\n527\n212\n\n$0.079\n$0.096\n$0.159\n$0.177\n$0.075\n$0.039\n\n66.9\n58.5\n48.1\n60.3\n53.1\n63.8\n\n808\n870\n950\n1,000\n1,034\n476\n\n$0.114\n$0.123\n$0.135\n$0.142\n$0.147\n$0.097\n\nC LAUDE C ODE\nC ODEX\nO PEN C ODE\nH ERMES\nNANO B OT\nJIT-Agent\n\n72.8\n68.5\n64.1\n60.8\n74.2\n70.3\n\n710\n980\n1,968\n1,319\n892\n464\n\n$0.140\n$0.193\n$0.384\n$0.256\n$0.197\n$0.095\n\n58.0\n52.0\n44.0\n36.0\n63.0\n70.0\n\n650\n874\n1,300\n1,155\n597\n300\n\n$0.128\n$0.172\n$0.256\n$0.227\n$0.119\n$0.069\n\n55.4\n34.2\n38.7\n49.7\n43.5\n58.3\n\n900\n839\n961\n1,184\n950\n394\n\n$0.177\n$0.170\n$0.217\n$0.223\n$0.187\n$0.078\n\nQwen3.6-Flash\n\nthe average score rises from 74.1 to 81.8 on GLM-5.2 (+7.7) and from 66.7 to 75.5 on DeepSeekV4-Flash (+8.8). The largest gains appear on long-horizon planning, with +24.8 on DeepPlanningShopping for DeepSeek-V4-Flash (59.1 → 83.9) and +20.2 on DeepPlanning-Travel for GLM-5.2\n(62.8 → 83.0); DeepSeek-V4-Flash also gains 11.9 on xBench-DS and 8.9 on DeepSearchQA.\nDespite using open backbones, the JIT-equipped systems lead eight of nine columns: JIT-Agent +\nGLM-5.2 ranks first on seven benchmarks, including 93.9 on DeepSearchQA, 69.9 on AgentIF, and\n93.3 on PinchBench, while JIT-Agent + DeepSeek-V4-Flash leads DeepPlanning-Shopping at 83.9\nand exceeds DeepSeek-V4-Pro on every reported benchmark by 8.7 points on average. DeepPlanningTravel is the sole exception, where the JIT-equipped GLM-5.2 remains within 1.9 points of GPT-5.6.\nThese results show that task-adaptive harnesses consistently raise the capability of a fixed backbone\nrather than merely benefiting a small subset of tasks.\n5.3\n\nC OMPARISON WITH A DVANCED AGENT H ARNESSES\n\nTable 3 controls the backbone and compares six harnesses on DeepSeek-V4-Flash and Qwen3.6-Flash\nacross DeepSearchQA, xBench-DS, and AgentIF, reporting performance, tokens, and API cost per\ncase. JIT-Agent achieves the best performance in four of six settings: it exceeds the strongest fixed\nharness by 4.7 points on DeepSearchQA and 4.0 on xBench-DS with DeepSeek-V4-Flash, and by 7.0\non xBench-DS and 2.9 on AgentIF with Qwen3.6-Flash. In the two remaining settings, it trails the\nbest score by only 3.1 and 3.9 points while using substantially fewer tokens, confirming that no fixed\nharness dominates across tasks. More importantly, JIT-Agent has the lowest token consumption and\n8\n\n\fJIT\n\nReAct harness\n\nDeepSearchQA\n85.1\n\n86.0\n\nDeepPlanning-Shopping\n\n80\n\n85\n\n63.8\n\n72.1\n\necnamrofreP\n\n71.0\n\n70\n\n66.1\n\n71.6\n\n60\n\n69.0\n\n51.7\n\n50.4\n\n50.4\n\n51.3\n50.1\n\nV4\nPro\n\n3.6\n3.6\n2.5\nFlash Plus Flash\n\nDeepSeek V4 Qwen 3.6\n\nMimo 2.5\n\n70.4\n\n70.0\n\n70\n\n70.0\n\n66.0\n\n65\n\n74.0\n\n70.0\n\n72.8\n\n63.4\n\n66.0\n\n64.0\n62.0\n\n48.5\n\n60 61.0\n\n60 59.1\n\n49.4\n\n2.5\nPro\n\n76.7\n\n65\n\n45\nV4\nFlash\n\n77.8\n\n70\n\n53.3\n\n50\n\n84.1\n\n75\n\n56.5\n\n60\n\n73.0\n\n78.4\n\n58.6\n\n55\n\n80.7\n\n80\n\n58.4\n\n65.7\n\n62.3\n\n83.9\n\n75.0\n\n75\n\n85.1\n81.6\n\n63.7\n\n61.5\n\nOfficeBench\n\n87.0\n\n66.5\n\n65\n\n50\n\nJIT-Agent\n\nAgentIF-Oneday\n\n55\nV4\nFlash\n\nV4\nPro\n\n3.6\n3.6\n2.5\nFlash Plus Flash\n\nDeepSeek V4 Qwen 3.6\n\n2.5\nPro\n\nV4\nFlash\n\nMimo 2.5\n\nV4\nPro\n\n3.6\n3.6\n2.5\nFlash Plus Flash\n\nDeepSeek V4 Qwen 3.6\n\n2.5\nPro\n\nMimo 2.5\n\nV4\nFlash\n\nV4\nPro\n\n3.6\n3.6\n2.5\nFlash Plus Flash\n\nDeepSeek V4 Qwen 3.6\n\n2.5\nPro\n\nMimo 2.5\n\nFigure 4: JIT-generated harnesses consistently improve paired backbones over ReAct. The\nfour panels report DeepSearchQA, AgentIF-Oneday, DeepPlanning-Shopping, and OfficeBench.\nWithin each panel, paired bars compare the same backbone under a fixed ReAct harness and a\nJIT-generated harness, with six backbones grouped by model family and scores shown above the bars.\nDeepSearchQA uses a 100-example subset; the other three benchmarks use 50-example subsets.\n\ncost in all six settings, reducing per-case cost by 14.9–54.1% relative to the cheapest fixed alternative,\nor 36.0% on average. On DeepSeek-V4-Flash xBench-DS, it cuts tokens from 527K to 212K and\ncost from $0.075 to $0.039 while raising performance from 78.0 to 82.0; on Qwen3.6-Flash AgentIF,\nit reaches 58.3 with 394K tokens at $0.078, compared with at least 839K tokens and $0.170 for fixed\nharnesses. The gains therefore arise from task-conditioned scaffolds rather than longer trajectories.\n\n5.4\n\nC OST–P ERFORMANCE PARETO F RONTIERS\n\nFigure 3 visualizes the cost–performance\ngeometry of the controlled comparison on\nDeepSearchQA and AgentIF. Each point\nis a backbone–harness pair from Table 3;\npoints closer to the upper-left corner are\npreferable. On DeepSearchQA, DeepSeekV4-Flash + JIT-Agent is a strong Paretooptimal operating point among the evaluated pairings, scoring 85.1 at a per-case cost\nof $0.066. Relative to the strongest fixed\nharness, NanoBot, it gains 4.7 points while\nreducing cost by 49.6% ($0.131 → $0.066).\nFor Qwen3.6-Flash, the generated harness\nCost–performance trade-offs on\nprovides a lower-compute operating point: Figure 3:\nit scores 70.3 at $0.095, compared with DeepSearchQA and AgentIF. Marker color identifies\nNanoBot’s 74.2 at $0.197, cutting cost by the harness, while filled and open circles distinguish\nThe\n51.8% for a 3.9-point trade-off. AgentIF DeepSeek-V4-Flash and Qwen3.6-Flash.\nexhibits a different but complementary fron- horizontal axis is API cost per case in USD and the\ntier. With DeepSeek-V4-Flash, JIT-Agent vertical axis is task performance. The dark-green step\nreduces cost by 14.9% relative to Claude line traces the global Pareto frontier, and the pale\nCode ($0.097 vs. $0.114) while remaining yellow-green and blue-green regions contain pairings\nwithin 3.1 points of its performance (63.8 dominated by at least one Pareto-optimal point.\nvs. 66.9); both therefore lie on the frontier.\nWith Qwen3.6-Flash, JIT-Agent strictly dominates all fixed harnesses, improving the best score from\n55.4 to 58.3 while lowering the minimum observed cost from $0.170 to $0.078. The frontier is\ntherefore task-dependent, but the consistent leftward shift of the JIT points shows that task-adaptive\nharnesses improve inference efficiency rather than purchasing accuracy through longer trajectories.\n9\n\n\fJIT\n\nFigure 5: Palimpsest: graph-planned artifact execution. GraphPlanPlanning converts the\ncontact-processing request into a DAG; GraphPlanAction executes it with bounded width and\ndepth, while GraphPlanMemory stores reusable artifacts and reasoning state.\n5.5\n\nG ENERALIZATION ACROSS M ODEL PAIRS\n\nTo test transfer across model families and scales, we compare ReAct with JIT-generated harnesses on\nsix fixed backbones from DeepSeek V4, Qwen3.6, and Mimo-V2.5 across four benchmarks. Figure 4\nshows that JIT-Agent wins all 24 matched comparisons by 7.6 points on average, with family-level\ngains of 10.2, 4.0, and 8.6 points, respectively. DeepSearchQA benefits most (+15.2 on average),\nincluding +22.2 for Mimo-V2.5-Pro and +19.0 for DeepSeek-V4-Flash, while DeepPlanningShopping reaches a +24.8 gain. These consistent within-backbone improvements show that harness\nintelligence transfers across model families and variants rather than compensating for one backbone.\n5.6\n\nV ISUALIZATION OF G ENERATED H ARNESSES\n\nTo inspect the generated structures, Figure 5 presents PALIMPSEST, a harness for discovering contact\ncards, filtering and normalizing records, constructing a workbook, and delivering it by email. It\ncompiles these dependencies into a DAG: discovery precedes filtering, workbook construction waits\nfor normalized records, and delivery follows artifact verification. GraphPlanAction executes\nready nodes with bounded width and depth, while GraphPlanMemory preserves goals, evidence,\nand artifacts for downstream nodes. This task-shaped coordination of planning, memory, and\nexecution goes beyond prompt variation and turns the request into a verifiable production pipeline;\nSection C shows complementary structures for recursive delegation, context folding, gated tools,\nphase-conditioned execution, evidence tracking, numerical state, and workspace repair.\n\n6\n\nC ONCLUSION\n\nWe introduced JIT-Agent, a dedicated model for synthesizing, repairing, and evolving taskconditioned agent harnesses at inference time. By expressing the harness through a composable\nfour-module protocol and training the generator through customization learning, repair supervision,\nand Evo-GDPO, JIT-Agent turns harness construction from a manually engineered, ahead-of-time\nartifact into a learned capability. Across deep research, daily work, planning, and workspace tasks,\nJIT-generated harnesses consistently strengthen their underlying backbones, compete with frontier\nmodels and advanced fixed harnesses, and improve cost–performance trade-offs. These results\nestablish harness intelligence, i.e., the capacity to adapt the operational scaffold through which a\nmodel acts, as a trainable and transferable source of agent capability beyond model weights alone.\n\nC ONTRIBUTORS\nCore Contributors: Guibin Zhang, Leo Lu, Fangzhou Xie\n10\n\n\fJIT\n\nContributors: Kang Zhu, Junhao Wang, Zhifei Xie, Zhaochen Yu, Zihang Liu, Zhongxiang Sun,\nQiankun Li, Yue Liao, Heng Chang, Xiaobin Hu, Qibing Ren\nCorresponding: Wangchunshu Zhou, Chuanrui Hu, Yafeng Deng, and Shuicheng Yan\nAffiliations: National University of Singapore, EverMind AI, Nanyang Technological University\n\nR EFERENCES\nSalaheddin Alzu’bi, Baran Nama, Arda Kaz, Anushri Eswaran, Weiyuan Chen, Sarvesh Khetan,\nRishab Bala, Tu Vu, and Sewoong Oh. Roma: Recursive open meta-agent framework for longhorizon multi-agent systems, 2026. URL https://arxiv.org/abs/2602.01848.\nAnthropics. GitHub - anthropics/claude-code: Claude Code is an agentic coding tool that lives in\nyour terminal, understands your codebase, and helps you code faster by executing routine tasks,\nexplaining complex code, and handling git workflows - all through natural language commands. —\ngithub.com. https://github.com/anthropics/claude-code, 2025. [Accessed 04-01-2026].\nApodex Team. Apodex-1.0: Self-evolving heavy-duty solver. https://www.apodex.com/blog/\napodex-1.0, 2026.\nFei Bai, Huatong Song, Shuang Sun, Daixuan Cheng, Yike Yang, Chuan Hao, Renyuan Li, Feng\nChang, Yuan Wei, Ran Tao, Bryan Dai, Jian Yang, Wayne Xin Zhao, and Ji-Rong Wen. Clawgym: A\nscalable framework for building effective claw agents, 2026. URL https://arxiv.org/abs/2604.26904.\nPengfei Cao, Tianyi Men, Wencan Liu, Jingwen Zhang, Xuzhao Li, Xixun Lin, Dianbo Sui, Yanan\nCao, Kang Liu, and Jun Zhao. Large language models for planning: A comprehensive and\nsystematic survey, 2025. URL https://arxiv.org/abs/2505.19683.\nKaiyuan Chen, Yixin Ren, Yang Liu, Xiaobo Hu, Haotong Tian, Tianbao Xie, Fangfu Liu, Haoye\nZhang, Hongzhang Liu, Yuan Gong, Chen Sun, Han Hou, Hui Yang, James Pan, Jianan Lou,\nJiayi Mao, Jizheng Liu, Jinpeng Li, Kangyi Liu, Kenkun Liu, Rui Wang, Run Li, Tong Niu,\nWenlong Zhang, Wenqi Yan, Xuanzheng Wang, Yuchen Zhang, Yi-Hsin Hung, Yuan Jiang, Zexuan\nLiu, Zihan Yin, Zijian Ma, and Zhiwen Mo. xbench: Tracking agents productivity scaling with\nprofession-aligned real-world evaluations, 2025a. URL https://arxiv.org/abs/2506.13651.\nKaiyuan Chen, Qimin Wu, Taiyu Hou, Tianhao Tang, Xueyu Hu, Yuchen Hou, Bikun Li, Chengming\nQian, Guoyin Wang, Haolin Chen, Haotong Tian, Haoye Zhang, Haoyu Bian, Hongbing Pan,\nHongkang Zhang, Hongyi Zhou, Jiaqi Cai, Jiewu Rao, Jiyuan Ren, Keduan Huang, Lucia Zhu\nHuang, Mingyu Yuan, Naixu Guo, Qicheng Tang, Qinyan Zhang, Shuai Chen, Siheng Chen,\nTing Ting Li, Xiaoxing Guo, Yaocheng Zuo, Yaoqi Guo, Yinan Wang, Yinzhou Yu, Yize Wang,\nYuan Jiang, Yuan Tian, Yuanshuo Zhang, Yuxuan Liu, Yvette Yan Zeng, Zenyu Shan, Zihan Yin,\nXiaobo Hu, Yang Liu, Yixin Ren, and Yuan Gong. Agentif-oneday: A task-level instructionfollowing benchmark for general ai agents in daily scenarios, 2026a. URL https://arxiv.org/abs/\n2601.20613.\nTingyang Chen, Shuo Lu, Kang Zhao, Weicheng Meng, Hanlin Teng, Tianhao Li, Chao Li, Xule\nLiu, Jian Liang, Zhizhong Zhang, Yuan Xie, Heng Qu, Kun Shao, and Jian Luan. Harnessx: A\ncomposable, adaptive, and evolvable agent harness foundry, 2026b. URL https://arxiv.org/abs/\n2606.14249.\nZijian Chen, Xueguang Ma, Shengyao Zhuang, Ping Nie, Kai Zou, Andrew Liu, Joshua Green,\nKshama Patel, Ruoxi Meng, Mingyi Su, Sahel Sharifymoghaddam, Yanxi Li, Haoran Hong,\nXinyu Shi, Xuye Liu, Nandan Thakur, Crystina Zhang, Luyu Gao, Wenhu Chen, and Jimmy Lin.\nBrowsecomp-plus: A more fair and transparent evaluation benchmark of deep-research agent,\n2025b. URL https://arxiv.org/abs/2508.06600.\nPrateek Chhikara, Dev Khant, Saket Aryan, Taranjeet Singh, and Deshraj Yadav. Mem0: Building\nproduction-ready ai agents with scalable long-term memory, 2025. URL https://arxiv.org/abs/2504.\n19413.\nClaudeCode. Agent Skills - Claude Code Docs — code.claude.com. https://code.claude.com/docs/\nen/skills, 2025. [Accessed 03-01-2026].\n11\n\n\fJIT\n\nDeepSeek-AI. Deepseek-v4 preview release. https://api-docs.deepseek.com/news/news260424/,\n2026.\nLutfi Eren Erdogan, Nicholas Lee, Sehoon Kim, Suhong Moon, Hiroki Furuta, Gopala Anumanchipalli, Kurt Keutzer, and Amir Gholami. Plan-and-act: Improving planning of agents\nfor long-horizon tasks. arXiv preprint arXiv:2503.09572, 2025a.\nLutfi Eren Erdogan, Nicholas Lee, Sehoon Kim, Suhong Moon, Hiroki Furuta, Gopala Anumanchipalli, Kurt Keutzer, and Amir Gholami. Plan-and-act: Improving planning of agents\nfor long-horizon tasks, 2025b. URL https://arxiv.org/abs/2503.09572.\nGoogle DeepMind. Gemini 3.1 pro model card. https://deepmind.google/models/model-cards/\ngemini-3-1-pro, 2026a.\nGoogle DeepMind. Gemini 3.5 flash model card. https://deepmind.google/models/model-cards/\ngemini-3-5-flash/, 2026b.\nNikita Gupta, Riju Chatterjee, Lukas Haas, Connie Tao, Andrew Wang, Chang Liu, Hidekazu\nOiwa, Elena Gribovskaya, Jan Ackermann, John Blitzer, Sasha Goldshtein, and Dipanjan Das.\nDeepsearchqa: Bridging the comprehensiveness gap for deep research agents, 2026. URL https:\n//arxiv.org/abs/2601.20975.\nHKUDS. Nanobot: Lightweight open-source ai agent. https://github.com/HKUDS/nanobot, 2026.\nChuanrui Hu, Xingze Gao, Zuyi Zhou, Dannong Xu, Yi Bai, Xintong Li, Hui Zhang, Tong Li, Chong\nZhang, Lidong Bing, and Yafeng Deng. Evermemos: A self-organizing memory operating system\nfor structured long-horizon reasoning, 2026a. URL https://arxiv.org/abs/2601.02163.\nMengkang Hu, Tianxing Chen, Qiguang Chen, Yao Mu, Wenqi Shao, and Ping Luo. Hiagent: Hierarchical working memory management for solving long-horizon agent tasks with large language\nmodel, 2024a. URL https://arxiv.org/abs/2408.09559.\nShengran Hu, Cong Lu, and Jeff Clune. Automated design of agentic systems. arXiv preprint\narXiv:2408.08435, 2024b.\nYuyang Hu, Shichun Liu, Yanwei Yue, Guibin Zhang, Boyang Liu, Fangyi Zhu, Jiahang Lin, Honglin\nGuo, Shihan Dou, Zhiheng Xi, Senjie Jin, Jiejun Tan, Yanbin Yin, Jiongnan Liu, Zeyu Zhang,\nZhongxiang Sun, Yutao Zhu, Hao Sun, Boci Peng, Zhenrong Cheng, Xuanbo Fan, Jiaxin Guo,\nXinlei Yu, Zhenhong Zhou, Zewen Hu, Jiahao Huo, Junhao Wang, Yuwei Niu, Yu Wang, Zhenfei\nYin, Xiaobin Hu, Yue Liao, Qiankun Li, Kun Wang, Wangchunshu Zhou, Yixin Liu, Dawei\nCheng, Qi Zhang, Tao Gui, Shirui Pan, Yan Zhang, Philip Torr, Zhicheng Dou, Ji-Rong Wen,\nXuanjing Huang, Yu-Gang Jiang, and Shuicheng Yan. Memory in the age of ai agents, 2025. URL\nhttps://arxiv.org/abs/2512.13564.\nYuyang Hu, Shichun Liu, Yanwei Yue, Guibin Zhang, Boyang Liu, Fangyi Zhu, Jiahang Lin, Honglin\nGuo, Shihan Dou, Zhiheng Xi, Senjie Jin, Jiejun Tan, Yanbin Yin, Jiongnan Liu, Zeyu Zhang,\nZhongxiang Sun, Yutao Zhu, Hao Sun, Boci Peng, Zhenrong Cheng, Xuanbo Fan, Jiaxin Guo,\nXinlei Yu, Zhenhong Zhou, Zewen Hu, Jiahao Huo, Junhao Wang, Yuwei Niu, Yu Wang, Zhenfei\nYin, Xiaobin Hu, Yue Liao, Qiankun Li, Kun Wang, Wangchunshu Zhou, Yixin Liu, Dawei\nCheng, Qi Zhang, Tao Gui, Shirui Pan, Yan Zhang, Philip Torr, Zhicheng Dou, Ji-Rong Wen,\nXuanjing Huang, Yu-Gang Jiang, and Shuicheng Yan. Memory in the age of ai agents, 2026b.\nURL https://arxiv.org/abs/2512.13564.\nOmar Khattab, Arnav Singhvi, Paridhi Maheshwari, Zhiyuan Zhang, Keshav Santhanam, Sri Vardhamanan, Saiful Haq, Ashutosh Sharma, Thomas T Joshi, Hanna Moazam, et al. Dspy: Compiling\ndeclarative language model calls into self-improving pipelines. arXiv preprint arXiv:2310.03714,\n2023.\nLangGraph. GitHub - langchain-ai/langgraph: Build resilient language agents as graphs. —\ngithub.com. https://github.com/langchain-ai/langgraph, 2025. [Accessed 03-01-2026].\nHyunin Lee, Jinglue Xu, Jeffrey Seely, Donghyun Lee, Matei Zaharia, and Yujin Tang. Recursive\nharness self-improvement, 2026a. URL https://arxiv.org/abs/2607.15524.\n12\n\n\fJIT\n\nSanghoon Lee, Jiyeong Chae, and Kyung-Joon Park. Harness engineering for physical ai: Robot\nmiddleware is the harness layer, 2026b. URL https://arxiv.org/abs/2606.09416.\nYoonho Lee, Roshen Nair, Qizheng Zhang, Kangwook Lee, Omar Khattab, and Chelsea Finn. Metaharness: End-to-end optimization of model harnesses, 2026c. URL https://arxiv.org/abs/2603.\n28052.\nYoonsang Lee, Howard Yen, Xi Ye, and Danqi Chen. Agentic aggregation for parallel scaling of\nlong-horizon agentic tasks, 2026d. URL https://arxiv.org/abs/2604.11753.\nXiaoxi Li, Wenxiang Jiao, Jiarui Jin, Guanting Dong, Jiajie Jin, Yinuo Wang, Hao Wang, Yutao Zhu,\nJi-Rong Wen, Yuan Lu, and Zhicheng Dou. Deepagent: A general reasoning agent with scalable\ntoolsets, 2026. URL https://arxiv.org/abs/2510.21618.\nJiahang Lin, Shichun Liu, Chengjun Pan, Lizhi Lin, Shihan Dou, Zhiheng Xi, Xuanjing Huang, Hang\nYan, Zhenhua Han, Tao Gui, and Yu-Gang Jiang. Agentic harness engineering: Observabilitydriven automatic evolution of coding-agent harnesses, 2026. URL https://arxiv.org/abs/2604.25850.\nShih-Yang Liu, Xin Dong, Ximing Lu, Shizhe Diao, Peter Belcak, Mingjie Liu, Min-Hung Chen,\nHongxu Yin, Yu-Chiang Frank Wang, Kwang-Ting Cheng, Yejin Choi, Jan Kautz, and Pavlo\nMolchanov. Gdpo: Group reward-decoupled normalization policy optimization for multi-reward rl\noptimization, 2026a. URL https://arxiv.org/abs/2601.05242.\nZewen Liu, Zhan Shi, Yisi Sang, Bing He, Minhua Lin, Tianxin Wei, Dakuo Wang, Benoit Dumoulin,\nWei Jin, and Hanqing Lu. Adaptive auto-harness: Sustained self-improvement for agentic system\ndeployment on open-ended task streams, 2026b. URL https://arxiv.org/abs/2606.01770.\nXinghua Lou, Miguel Lázaro-Gredilla, Antoine Dedieu, Carter Wendelken, Wolfgang Lehrach, and\nKevin P. Murphy. AutoHarness: Improving llm agents by automatically synthesizing a code\nharness, 2026. URL https://arxiv.org/abs/2603.03329.\nJunyu Luo, Weizhi Zhang, Ye Yuan, Yusheng Zhao, Junwei Yang, Yiyang Gu, Bohan Wu, Binqi\nChen, Ziyue Qiao, Qingqing Long, Rongcheng Tu, Xiao Luo, Wei Ju, Zhiping Xiao, Yifan Wang,\nMeng Xiao, Chenwu Liu, Jingyang Yuan, Shichang Zhang, Yiqiao Jin, Fan Zhang, Xian Wu,\nHanqing Zhao, Dacheng Tao, Philip S. Yu, and Ming Zhang. Large language model agent: A\nsurvey on methodology, applications and challenges, 2025. URL https://arxiv.org/abs/2503.21460.\nQianyu Meng, Yanan Wang, Liyi Chen, Qimeng Wang, Chengqiang Lu, Wei Wu, Yan Gao, Yi Wu,\nand Yao Hu. Agent harness for large language model agents: A survey. Preprints, April 2026a.\ndoi: 10.20944/preprints202604.0428.v2. URL https://doi.org/10.20944/preprints202604.0428.v2.\nQianyu Meng, Yanan Wang, Liyi Chen, Qimeng Wang, Chengqiang Lu, Wei Wu, Yan Gao, Yi Wu,\nand Yao Hu. Agent harness for large language model agents: A survey. 2026b.\nMike A. Merrill, Alexander G. Shaw, Nicholas Carlini, Boxuan Li, Harsh Raj, Ivan Bercovich,\nLin Shi, Jeong Yeon Shin, Thomas Walshe, E. Kelly Buchanan, Junhong Shen, Guanghao Ye,\nHaowei Lin, Jason Poulos, Maoyu Wang, Marianna Nezhurina, Jenia Jitsev, Di Lu, Orfeas Menis\nMastromichalakis, Zhiwei Xu, Zizhao Chen, Yue Liu, Robert Zhang, Leon Liangyu Chen, Anurag\nKashyap, Jan-Lucas Uslu, Jeffrey Li, Jianbo Wu, Minghao Yan, Song Bian, Vedang Sharma,\nKe Sun, Steven Dillmann, Akshay Anand, Andrew Lanpouthakoun, Bardia Koopah, Changran Hu,\nEtash Guha, Gabriel H. S. Dreiman, Jiacheng Zhu, Karl Krauth, Li Zhong, Niklas Muennighoff,\nRobert Amanfu, Shangyin Tan, Shreyas Pimpalgaonkar, Tushar Aggarwal, Xiangning Lin, Xin\nLan, Xuandong Zhao, Yiqing Liang, Yuanli Wang, Zilong Wang, Changzhi Zhou, David Heineman,\nHange Liu, Harsh Trivedi, John Yang, Junhong Lin, Manish Shetty, Michael Yang, Nabil Omi,\nNegin Raoof, Shanda Li, Terry Yue Zhuo, Wuwei Lin, Yiwei Dai, Yuxin Wang, Wenhao Chai,\nShang Zhou, Dariush Wahdany, Ziyu She, Jiaming Hu, Zhikang Dong, Yuxuan Zhu, Sasha Cui,\nAhson Saiyed, Arinbjörn Kolbeinsson, Jesse Hu, Christopher Michael Rytting, Ryan Marten, Yixin\nWang, Alex Dimakis, Andy Konwinski, and Ludwig Schmidt. Terminal-bench: Benchmarking\nagents on hard, realistic tasks in command line interfaces, 2026. URL https://arxiv.org/abs/2601.\n11868.\nMicrosoft. GitHub - ag2ai/ag2: AG2 (formerly AutoGen): The Open-Source AgentOS. https:\n//github.com/ag2ai/ag2, 2024. [Accessed 31-08-2025].\n13\n\n\fJIT\n\nMoonshot AI. Kimi k2.7 code: Open-source agentic coding model. https://www.kimi.com/resources/\nkimi-k2-7-code, 2026.\nJun Nie, Yonggang Zhang, Jun Song, Qianshu Cai, Dahai Yu, Yike Guo, Xinmei Tian, and Bo Han.\nTTHE: Test-time harness evolution, 2026. URL https://arxiv.org/abs/2607.08124.\nXuying Ning, Katherine Tieu, Dongqi Fu, Tianxin Wei, Zihao Li, Yuanchen Bei, Jiaru Zou, Mengting\nAi, Zhining Liu, Ting-Wei Li, et al. Code as agent harness. arXiv preprint arXiv:2605.18747,\n2026.\nNous Research. Hermes agent. https://github.com/NousResearch/hermes-agent, 2026.\nOpenAI. Codex | AI Coding Partner from OpenAI — openai.com. https://openai.com/codex/, 2025.\nOpenAI. Gpt-5.6: Frontier intelligence that scales with your ambition. https://openai.com/index/\ngpt-5-6/, 2026.\nOpenClaw Contributors. Openclaw: Your own personal ai assistant. https://github.com/openclaw/\nopenclaw, 2026.\nOpenCode-AI. GitHub - opencode-ai/opencode: A powerful AI coding agent. Built for the terminal.\n— github.com. https://github.com/opencode-ai/opencode, 2025.\nLinyue Pan, Lexiao Zou, Shuo Guo, Jingchen Ni, and Hai-Tao Zheng. Natural-language agent\nharnesses. arXiv preprint arXiv:2603.25723, 2026.\nPinchBench. Best Models by Success Rate | PinchBench — pinchbench.com. https://pinchbench.com/,\n2026. [Accessed 11-04-2026].\nHongjin Qian, Zhao Cao, and Zheng Liu. Memobrain: Executive memory as an agentic brain for\nreasoning, 2026. URL https://arxiv.org/abs/2601.08079.\nTianrui Qin, Qianben Chen, Sinuo Wang, He Xing, King Zhu, He Zhu, Dingfeng Shi, Xinxin Liu,\nGe Zhang, Jiaheng Liu, Yuchen Eleanor Jiang, Xitong Gao, and Wangchunshu Zhou. Flashsearcher: Fast and effective web agents via dag-based parallel execution, 2025. URL https:\n//arxiv.org/abs/2509.25301.\nQwen Team. Qwen3.7-plus: Multimodal agent intelligence. https://qwen.ai/home, 2026.\nJianhao Ruan, Zhihao Xu, Yiran Peng, Fashen Ren, Zhaoyang Yu, Xinbing Liang, Jinyu Xiang,\nYongru Chen, Bang Liu, Chenglin Wu, Yuyu Luo, and Jiayi Zhang. Aorchestra: Automating\nsub-agent creation for agentic orchestration, 2026. URL https://arxiv.org/abs/2602.03786.\nAnjana Sarkar and Soumyendu Sarkar. Survey of llm agent communication with mcp: A software\ndesign pattern centric review, 2025. URL https://arxiv.org/abs/2506.05364.\nYu Shang, Yu Li, Keyu Zhao, Likai Ma, Jiahe Liu, Fengli Xu, and Yong Li. Agentsquare: Automatic\nllm agent search in modular design space. arXiv preprint arXiv:2410.06153, 2024.\nShuai Shao, Kangning Zhang, Qingyao Li, Shijian Wang, Hao Wang, Wenxiang Jiao, Yuan Lu,\nYi Guo, Weiwen Liu, and Weinan Zhang. Harness-R1: Learning to edit executable runtime\nharnesses from agent failure trajectories, 2026. URL https://arxiv.org/abs/2608.02276.\nDingfeng Shi, Jingyi Cao, Qianben Chen, Weichen Sun, Weizhen Li, Hongxuan Lu, Fangchen Dong,\nTianrui Qin, King Zhu, Minghao Liu, Jian Yang, Ge Zhang, Jiaheng Liu, Changwang Zhang, Jun\nWang, Yuchen Eleanor Jiang, and Wangchunshu Zhou. Taskcraft: Automated generation of agentic\ntasks, 2025. URL https://arxiv.org/abs/2506.10055.\nXiaoshuai Song, Haofei Chang, Guanting Dong, Yutao Zhu, Ji-Rong Wen, and Zhicheng Dou.\nEnvscaler: Scaling tool-interactive environments for llm agent via programmatic synthesis, 2026.\nURL https://arxiv.org/abs/2601.05808.\nWeixuan Wang, Dongge Han, Daniel Madrigal Diaz, Jin Xu, Victor Rühle, and Saravan Rajmohan.\nOdysseybench: Evaluating llm agents on long-horizon complex office application workflows, 2025.\nURL https://arxiv.org/abs/2508.09124.\n14\n\n\fJIT\n\nZilong Wang, Yuedong Cui, Li Zhong, Zimin Zhang, Da Yin, Bill Yuchen Lin, and Jingbo Shang.\nOfficebench: Benchmarking language agents across multiple applications for office automation,\n2024. URL https://arxiv.org/abs/2407.19056.\nJialong Wu, Wenbiao Yin, Yong Jiang, Zhenglin Wang, Zekun Xi, Runnan Fang, Linhai Zhang, Yulan\nHe, Deyu Zhou, Pengjun Xie, and Fei Huang. Webwalker: Benchmarking llms in web traversal,\n2025. URL https://arxiv.org/abs/2501.07572.\nQingyun Wu, Gagan Bansal, Jieyu Zhang, Yiran Wu, Shaokun Zhang, Erkang Zhu, Beibin Li,\nLi Jiang, Xiaoyun Zhang, and Chi Wang. Autogen: Enabling next-gen llm applications via\nmulti-agent conversation framework, August 01, 2023 2023.\nXixi Wu, Kuan Li, Yida Zhao, Liwen Zhang, Litu Ou, Huifeng Yin, Zhongwang Zhang, Xinmiao Yu,\nDingchu Zhang, Yong Jiang, Pengjun Xie, Fei Huang, Minhao Cheng, Shuai Wang, Hong Cheng,\nand Jingren Zhou. Resum: Unlocking long-horizon search intelligence via context summarization,\n2026. URL https://arxiv.org/abs/2509.13313.\nRenjun Xu and Yang Yan. Agent skills for large language models: Architecture, acquisition, security,\nand the path forward, 2026. URL https://arxiv.org/abs/2602.12430.\nB. Y. Yan, Chaofan Li, Hongjin Qian, Shuqi Lu, and Zheng Liu. General agentic memory via deep\nresearch, 2025. URL https://arxiv.org/abs/2511.18423.\nJohn Yang, Carlos E. Jimenez, Alexander Wettig, Kilian Lieret, Shunyu Yao, Karthik Narasimhan,\nand Ofir Press. Swe-agent: Agent-computer interfaces enable automated software engineering,\n2024. URL https://arxiv.org/abs/2405.15793.\nXiaofang Yang, Lijun Li, Heng Zhou, Tong Zhu, Xiaoye Qu, Yuchen Fan, Qianshan Wei, Rui\nYe, Li Kang, Yiran Qin, Zhiqiang Kou, Daizong Liu, Qi Li, Ning Ding, Siheng Chen, and\nJing Shao. Toward efficient agents: Memory, tool learning, and planning, 2026. URL https:\n//arxiv.org/abs/2601.14192.\nShunyu Yao, Jeffrey Zhao, Dian Yu, Nan Du, Izhak Shafran, Karthik Narasimhan, and Yuan Cao.\nReact: Synergizing reasoning and acting in language models, 2023a. URL https://arxiv.org/abs/\n2210.03629.\nShunyu Yao, Jeffrey Zhao, Dian Yu, Nan Du, Izhak Shafran, Karthik R Narasimhan, and Yuan\nCao. React: Synergizing reasoning and acting in language models. In The Eleventh International\nConference on Learning Representations, 2023b.\nRui Ye, Zhongwang Zhang, Kuan Li, Huifeng Yin, Zhengwei Tao, Yida Zhao, Liangcai Su, Liwen\nZhang, Zile Qiao, Xinyu Wang, Pengjun Xie, Fei Huang, Siheng Chen, Jingren Zhou, and Yong\nJiang. Agentfold: Long-horizon web agents with proactive context management, 2025. URL\nhttps://arxiv.org/abs/2510.24699.\nMert Yuksekgonul, Federico Bianchi, Joseph Boen, Sheng Liu, Zhi Huang, Carlos Guestrin, and\nJames Zou. Textgrad: Automatic \"differentiation\" via text, 2024. URL https://arxiv.org/abs/2406.\n07496.\nZ.ai. Glm-5.2: Built for long-horizon tasks. https://z.ai/blog/glm-5.2, 2026.\nAlex L. Zhang, Tim Kraska, and Omar Khattab. Recursive language models, 2026a. URL https:\n//arxiv.org/abs/2512.24601.\nGuibin Zhang, Haotian Ren, Chong Zhan, Zhenhong Zhou, Junhao Wang, He Zhu, Wangchunshu\nZhou, and Shuicheng Yan. Memevolve: Meta-evolution of agent memory systems, 2025. URL\nhttps://arxiv.org/abs/2512.18746.\nJiayi Zhang, Jinyu Xiang, Zhaoyang Yu, Fengwei Teng, Xionghui Chen, Jiaqi Chen, Mingchen\nZhuge, Xin Cheng, Sirui Hong, Jinlin Wang, Bingnan Zheng, Bang Liu, Yuyu Luo, and Chenglin\nWu. AFlow: Automating Agentic Workflow Generation, October 2024. URL http://arxiv.org/abs/\n2410.10762. arXiv:2410.10762.\n15\n\n\fJIT\n\nYinger Zhang, Shutong Jiang, Renhao Li, Jianhong Tu, Yang Su, Lianghao Deng, Xudong Guo,\nChenxu Lv, and Junyang Lin. Deepplanning: Benchmarking long-horizon agentic planning with\nverifiable constraints, 2026b. URL https://arxiv.org/abs/2601.18137.\nYixian Zhang, Huanming Zhang, Feng Gao, Xiao Li, Zhihao Liu, Chunyang Zhu, Jiaxing Qiu,\nYuchen Yan, Jiyuan Liu, Wenhao Tang, Zhengru Fang, Yi Nie, Changxu Wei, Yu Wang, Wenbo\nDing, and Chao Yu. Harness vla: Steering frozen vlas into reliable manipulation primitives via\nmemory-guided agents, 2026c. URL https://arxiv.org/abs/2607.08448.\nChenyu Zhou, Huacan Chai, Wenteng Chen, Zihan Guo, Rong Shan, Yuanyi Song, Tianyi Xu, Yingxuan Yang, Aofan Yu, Weiming Zhang, Congming Zheng, Jiachen Zhu, Zeyu Zheng, Zhuosheng\nZhang, Xingyu Lou, Changwang Zhang, Zhihui Fu, Jun Wang, Weiwen Liu, Jianghao Lin, and\nWeinan Zhang. Externalization in llm agents: A unified review of memory, skills, protocols and\nharness engineering, 2026. URL https://arxiv.org/abs/2604.08224.\nTailin Zhou. Hierarchical self-improvement: A framework for task-specific evolvable agent harnesses,\n2026. URL https://arxiv.org/abs/2608.08466.\nHe Zhu, Tianrui Qin, King Zhu, Heyuan Huang, Yeyi Guan, Jinxiang Xia, Yi Yao, Hanhao Li,\nNingning Wang, Pai Liu, Tianhao Peng, Xin Gui, Xiaowan Li, Yuhui Liu, Yuchen Eleanor Jiang,\nJun Wang, Changwang Zhang, Xiangru Tang, Ge Zhang, Jian Yang, Minghao Liu, Xitong Gao,\nJiaheng Liu, and Wangchunshu Zhou. Oagents: An empirical study of building effective agents,\n2025. URL https://arxiv.org/abs/2506.15741.\n\n16\n\n\fJIT\n\nA\n\nH ARNESS O PTIMIZATION PARADIGMS\n\nTable 4 organizes representative harness-optimization methods by when the harness is constructed and\nwhich parts of improvement are learned. Existing approaches primarily search for a durable harness\nahead of deployment or edit that artifact online, whereas JIT-Agent amortizes construction into a\ntrained generator that synthesizes an instance-specific harness and learns both repair and evolution.\nThe comparison is structural rather than a ranking of empirical performance: it clarifies which\ncapabilities are native to the optimization procedure and which remain external search operations.\nTable 4: Harness optimization paradigms. Construction distinguishes harnesses found by ahead-of-time\nsearch, ahead-of-time harnesses subsequently edited with test-time feedback, and harnesses generated just in\ntime for each task. Instance synthesis, Harness model, Learned repair, and Online evolution indicate whether a\nmethod directly synthesizes an instance-specific harness, trains the generator, learns repair from failed execution\ntrajectories, and continues improving after deployment, respectively.\nInstance Harness Learned Online\nMethod\nConstruction\nsynthesis model repair evolution\nAutoHarness (Lou et al., 2026)\nMeta-Harness (Lee et al., 2026c)\nAHE (Lin et al., 2026)\nAdaptive AH (Liu et al., 2026b)\nTTHE (Nie et al., 2026)\nRHI (Lee et al., 2026a)\nHarness-R1 (Shao et al., 2026)\n\nAOT (search)\nAOT (search)\nAOT (search)\nAOT (test-time editing)\nAOT (test-time editing)\nAOT (test-time editing)\nAOT (test-time editing)\n\n✗\n✗\n✗\n✗\n✗\n✗\n✗\n\n✗\n✗\n✗\n✗\n✗\n✗\n✓\n\n✗\n✗\n✗\n✗\n✗\n✗\n✓\n\n✗\n✗\n✗\n✓\n✓\n✓\n✓\n\nJIT\n\n✓\n\n✓\n\n✓\n\n✓\n\nJIT-Agent (ours)\n\nB\n\nA DDITIONAL R ESULTS\n\nThis section complements the aggregate comparisons in the main paper with the full streaming\nevaluation, which tests whether completed tasks can improve the harness bank for later tasks without\nchanging the generator parameters.\nB.1\n\nT EST-T IME H ARNESS E VOLUTION\n\nJIT-Agent is designed not only to generate a harness once, but also to improve its archive from\nexecution feedback. We compare Static JIT, where harness generations are independent, with\nStreaming JIT, which retrieves and updates harnesses throughout the evaluation stream.\nFigure 6 shows that Streaming JIT finishes above the static variant on DeepPlanning-Shopping,\nDeepPlanning-Travel, and OfficeBench. Across all three streams, the cumulative-accuracy advantage\nemerges as execution feedback accumulates and remains positive through the end of evaluation. The\naccompanying cost and tool-call traces suggest that the endpoint gains are not uniformly coupled to\nlarger interaction budgets. This pattern is consistent with the objective of Evo-GDPO, which retains\nharnesses only when they advance the archive frontier.\n\nC\n\nA DDITIONAL G ENERATED H ARNESS V ISUALIZATIONS\n\nThis appendix complements the representative case in Section 5.6 with nine additional harnesses\ngenerated under the same four-module protocol. The examples span bounded recursive research,\nconstraint-heavy shopping and travel, phased web production, clue-driven research, evidence-sensitive\nretrieval, numerical analysis, and workspace manipulation. They are not variants of a single execution\ntemplate: JIT-Agent selects a state representation and control regime suited to the structure of each\nrequest, then instantiates planning, action, memory, and capability orchestration around that choice.\nCollectively, the cases make task-conditioned harness customization visible at the level of execution\nsemantics rather than prompt wording.\nDeep research as bounded recursive delegation. T RAPDOOR addresses a multi-hop identity\nquestion whose clues span a historical quotation, a university merger, a memoir, and a research paper.\nHere a fixed DAG would commit too early to an uncertain evidence path, so the generated harness\nuses DynamicDecomposer to form and revise sub-questions and augments the research tool policy\nwith a synthetic delegate capability. A delegate call opens a private research subagent with its\n17\n\n\fJIT\n\nShoppingPlanning\nCumulative\naccuracy (%)\n\nOfficeBench\n100\n\n80\n\n80\n\n90\n70\n\n60\n\nStatic JIT\nStreaming JIT\n\n40\n25\n\n50\n\n75\n\n80\n70\n\n60\n\n60\n\n100\n\n25\n\n50\n\n75\n\n100\n\n60\n\n120\n\n180\n\n240\n\n60\n\n120\n\n180\n\n240\n\n120\n\n180\n\n240\n\n0.08\n\n0.6\n\n0.20\n\nPer-task\nAPI cost (USD)\n\nTravelPlanning\n\n0.06\n0.15\n\n0.4\n0.04\n\n0.10\n0.02\n\n0.2\n0.05\n\n0.00\n25\n\n50\n\n75\n\n100\n\n25\n\n50\n\n75\n\n100\n\n140\n\nPer-task\ntool calls\n\n80\n\n40\n\n120\n30\n\n100\n\n60\n\n80\n\n40\n\n20\n\n60\n20\n\n10\n\n40\n25\n\n50\n\n75\n\nQuestion index\n\n100\n\n25\n\n50\n\n75\n\nQuestion index\n\n100\n\n0\n\n60\n\nQuestion index\n\nFigure 6: Streaming test-time harness evolution across task streams. Cumulative accuracy\n(top), per-task API cost (middle), and per-task tool calls (bottom) on DeepPlanning-Shopping,\nDeepPlanning-Travel, and OfficeBench. Dashed curves represent Static JIT, where task-specific\nharness generations are independent, while solid curves represent Streaming JIT, which continuously\nincorporates execution feedback as new tasks arrive. Shaded regions show local variation around\nthe streaming trajectories. Streaming JIT finishes with higher cumulative accuracy on all three\nbenchmarks, while API-cost and tool-use trajectories remain task-dependent and of broadly similar\nscale.\n\nFigure C.1: Trapdoor: bounded research behind a delegated tool call. A synthesized delegate\ncapability is intercepted by OrchestratorLoop, which runs a bounded subagent and writes\nextracted facts into FactGraphMemory.\n\n18\n\n\fJIT\n\nown memory, research-only tools, and a five-step budget; the returned answer re-enters the parent\nloop as an ordinary observation. In parallel, FactGraphMemory extracts compact key–value facts\nfrom the growing history, allowing the parent to integrate evidence across branches without inheriting\nevery subagent trace. Thus, the harness makes recursive research a runtime primitive specifically for\na task whose uncertainty is resolved through branching evidence collection.\n\nFigure C.2: Origami: hierarchical work with folded context. ROMAPlanning creates isolated\nsubtasks; HierarchicalMemory retains their trajectories and artifacts while fold_thought\nreplaces only the active working context before aggregation.\n\nFigure C.3: Turnstile: evidence first, itinerary second. TravelPlanning emits a travel\nspecification and checklist, DataStoreMemory tracks the required evidence buckets, and\nDynamicToolPolicy exposes final_answer only after is_complete() succeeds.\n19\n\n\fJIT\n\nFigures C.2 and C.3 illustrate two task-specific ways to control long-horizon execution through\nmemory. O RIGAMI must assemble a seasonal wardrobe under coupled stock, delivery, size, reviewcount, and rating constraints. ROMAPlanning decomposes the request into dependent product\nsearches, HierarchicalAction runs at most two branches in parallel to bounded depth, and\neach branch retains its own trajectory and artifacts. When a branch grows long, fold_thought\nreplaces only its active working context; completed subtask results remain available for the final\nconstraint check. The harness therefore spends context on the unresolved portion of a combinatorial\nshopping task without discarding earlier product evidence.\nT URNSTILE, by contrast, serves a travel request that specifies dates, passengers, rooms, a\ndeparture window, a highest-rated hotel, attractions, meals, and daily routes. The generated TravelPlanning module compiles these obligations into a typed travel_spec and\ncollection checklist, and DataStoreMemory assigns a dedicated bucket to each evidence\nclass. DynamicToolPolicy exposes search tools for the missing bucket but withholds\nfinal_answer until is_complete() succeeds. Here memory is not used primarily to compress a long trace; it acts as an executable coverage contract that prevents itinerary synthesis before\nthe required travel facts have been collected.\n\nFigure C.4: Gearbox: one phase shift rewrites the agent. PhaseAction is the sole writer of a\nshared phase register; PhaseToolPolicy and PhaseAwareMemory read that state to switch\nboth exposed capabilities and typed memory schemas.\nFigures C.4 and C.5 show how explicit state can continuously reshape later decisions. G EARBOX is\ngenerated to find Chinese restaurants within a specified driving radius and publish the results as an\ninteractive one-page guide. Its PhaseAction is the sole writer of a shared search–collect–build\nregister; the transition to construction occurs only after enough structured restaurant records have\nbeen gathered. Both PhaseToolPolicy and PhaseAwareMemory read that register, switching\nfrom web discovery, to record inspection, to code and publication while compressing observations\ninto the schema needed by the current phase. The model thus creates a phase machine because the\ntask changes modality from evidence acquisition to artifact construction.\nP EGBOARD instead tackles an identification problem defined by six biographical and film clues. It\nrepresents progress as a candidate × clue matrix in which every extracted claim retains its document\nidentifier. Empty cells and contradictions drive DynamicResearchPlanning toward targeted\nsearches, while a sufficiently supported row triggers a separate verification phase that reopens cited\ndocuments and resolves conflicts. Unlike a generic research transcript, this state makes coverage and\nsource provenance directly actionable. The contrast with G EARBOX shows that generated state may\n20\n\n\fJIT\n\nFigure C.5: Pegboard: research as an evidence matrix.\nEvery observation is extracted into a candidate × clue cell with a document identifier; matrix coverage drives both\nDynamicResearchPlanning and the transition to source-grounded verification.\nbe a small phase variable or a task-shaped evidence structure, depending on what must govern the\nnext action.\n\nFigure C.6: Appraiser: evidence decides what the model sees. EvidenceGuidedReAct scores\nevery step, while EvidenceGuidedMemory stores the full run but renders only the first, last, and\ntop-K observations into build_context().\nFigures C.6 and C.7 customize what subsequent reasoning receives from prior execution. A PPRAISER\nanswers a classical materia-medica identification question by reconciling botanical traits with textual\nevidence. After every search or reading step, an auxiliary scorer assigns the observation an evidence\n21\n\n\fJIT\n\nFigure C.7: Abacus: from computation to reliable typed state. StructuredReActAction\nexecutes shell or Python code, extracts a RESULT_JSON payload from standard output, and updates\nStructuredStateMemory without asking the model to re-derive computed values.\n\nvalue; EvidenceGuidedMemory keeps the complete trajectory for auditability but renders only\nthe first, last, and top-K observations into the next context. Low-value exploration therefore stops\ncompeting with the passages most useful for identification, while no evidence is erased from persistent\nhistory. This harness is tailored to a retrieval task in which the main bottleneck is evidence salience\nrather than tool choice.\nA BACUS is generated for a numerical analysis request that first compares regional averages and\nthen ranks countries within the winning region. The harness deliberately moves aggregation out\nof language-model reasoning: StructuredReActAction invokes shell or Python, extracts a\nmarked RESULT_JSON payload from standard output, repairs its syntax if necessary, and writes\nthe values into StructuredStateMemory. Region, country, regional mean, and country mean\nare then injected as typed state into every later step, so the final answer reports interpreter-derived\nquantities instead of re-deriving them from prose. Both cases preserve a full audit trail, but each\nrenders the working view around its task’s dominant reliability requirement—evidence selection for\none and numerical fidelity for the other.\nFigures C.8 and C.9 specialize workspace execution at different scales by controlling when actions\nenter persistent history. P LAYER P IANO handles a batch migration of configuration files, including\ndatabase, logging, and API-endpoint changes. StructuredPlanning emits typed discover,\nprocess-file, and final-answer steps that a Python dispatcher executes; after each edit, a deterministic\nnon-LLM check decides whether to advance or retry. ProgressiveTaskMemory renders a\nper-file board into the system prompt and retains both originals and accepted changes, preventing a\nlarge batch from losing track of which files have actually passed verification.\nM ULLIGAN is generated for a shorter document task: extract a student identifier from a DOCX file\nand rename that same file. Its linear plan needs no hierarchy or context compression, so the harness\nretains full successful history and exposes only Word and file operations while hiding unrelated email,\nspreadsheet, and PDF tools. If an action fails, the loop appends the error locally and regenerates the\nsame step for at most two attempts; only a successful action is committed before the plan advances.\nThe two harnesses therefore share a concern for reliable workspace mutation but realize it differently:\none uses typed batch progress and per-file verification, whereas the other uses narrow tool exposure\nand transactional step repair. This task-dependent difference is precisely the behavior sought from\n22\n\n\fJIT\n\nFigure C.8: Player Piano: typed batch editing, verified file by file. A Python dispatcher interprets\nStructuredPlanning steps, SelfVerifyingAction checks each edit without an LLM,\nand ProgressiveTaskMemory maintains a per-file board and artifact store.\n\nFigure C.9: Mulligan: repair the step, preserve the history. PlanAwareToolPolicy exposes\nonly plan-relevant file and document tools; failed actions are regenerated at the same step, and\nFullHistoryMemory receives only the successful execution.\n\n23\n\n\fJIT\n\nJIT-Agent: reliability mechanisms are generated to fit the structure and failure surface of the request\nrather than imposed as one universal scaffold.\n\n24\n\n\f</code></pre></article>\n        \n</main>\n\n<script src=\"https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/katex.min.js\"></script>\n<script src=\"https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/contrib/auto-render.min.js\"></script>\n<script>\n\nfunction initTheme() {\n  const saved = localStorage.getItem('kb-theme') || 'light';\n  document.documentElement.setAttribute('data-theme', saved);\n  updateThemeIcon(saved);\n}\nfunction toggleTheme() {\n  const cur = document.documentElement.getAttribute('data-theme') || 'light';\n  const next = cur === 'light' ? 'dark' : 'light';\n  document.documentElement.setAttribute('data-theme', next);\n  localStorage.setItem('kb-theme', next);\n  updateThemeIcon(next);\n}\nfunction updateThemeIcon(t) {\n  const btn = document.getElementById('theme-toggle-btn');\n  if (btn) btn.innerHTML = t === 'dark' ? '☀️' : '🌙';\n}\ndocument.addEventListener('DOMContentLoaded', initTheme);\n\nfunction setViewMode(m) {\n  const grid = document.getElementById('bento-grid-view');\n  const list = document.getElementById('list-table-view');\n  const bGrid = document.getElementById('view-grid-btn');\n  const bList = document.getElementById('view-list-btn');\n  if (m === 'list') {\n    if (grid) grid.style.display = 'none';\n    if (list) list.style.display = 'flex';\n    if (bGrid) bGrid.classList.remove('active');\n    if (bList) bList.classList.add('active');\n  } else {\n    if (grid) grid.style.display = 'grid';\n    if (list) list.style.display = 'none';\n    if (bGrid) bGrid.classList.add('active');\n    if (bList) bList.classList.remove('active');\n  }\n  localStorage.setItem('kb-view', m);\n}\ndocument.addEventListener('DOMContentLoaded', () => {\n  const s = localStorage.getItem('kb-view') || 'grid';\n  setViewMode(s);\n});\n\ndocument.addEventListener('DOMContentLoaded', () => {\n  document.querySelectorAll('pre').forEach(pre => {\n    const b = document.createElement('button');\n    b.className = 'copy-code-btn';\n    b.innerText = 'Copy';\n    b.onclick = () => {\n      const c = pre.querySelector('code') ? pre.querySelector('code').innerText : pre.innerText;\n      navigator.clipboard.writeText(c).then(() => {\n        b.innerText = 'Copied!';\n        setTimeout(() => { b.innerText = 'Copy'; }, 2000);\n      });\n    };\n    pre.appendChild(b);\n  });\n});\n\nwindow.addEventListener('keydown', (e) => {\n  if ((e.key === '/' || (e.metaKey && e.key === 'k')) && document.activeElement.tagName !== 'INPUT' && document.activeElement.tagName !== 'TEXTAREA') {\n    e.preventDefault();\n    const q = document.getElementById('global-search-input');\n    if (q) q.focus();\n  }\n});\n\n// Scrollspy for TOC\nwindow.addEventListener('scroll', () => {\n  const headers = document.querySelectorAll('.article-body h1, .article-body h2, .article-body h3');\n  const scrollPos = window.scrollY + 100;\n  headers.forEach(h => {\n    if (h.offsetTop <= scrollPos) {\n      const id = h.getAttribute('id');\n      if (id) {\n        document.querySelectorAll('.reading-sidebar a').forEach(a => {\n          a.classList.toggle('active', a.getAttribute('href') === '#' + id);\n        });\n      }\n    }\n  });\n});\n\ndocument.addEventListener(\"DOMContentLoaded\", function() {\n  if (window.renderMathInElement) {\n    renderMathInElement(document.body, {\n      delimiters: [\n        {left: '$$', right: '$$', display: true},\n        {left: '$', right: '$', display: false},\n      ],\n      throwOnError : false\n    });\n  }\n});\n</script>\n\n</body>\n</html>\n"