"<!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>source.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>source.txt</b></div>\n          <h1 class=\"report-title\">source.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>LLM Agent 越来越需要在一条源源不断的数据流上边干活边学习（Continual Learning），但现有的 Agent 记忆框架（Harness）大多只会\"往前写、往前读\"：经验一旦写进记忆库，就很少再根据后续使用效果回头修正，于是过度泛化或过时的\"经验总结\"会留在库里反复误导后面的决策。这篇来自 MIT、Meta MRS Research 和 Yale 的工作提出 \nReHarness\n：在前向读写之外，增加一条 \n反向修订（Backward Revision）\n 通路——每次用完某条经验后，根据它这次的实际表现回头改写它，相当于给纯文本的记忆系统装上了\"反向传播\"。结果相当硬：在 3 个持续学习 Benchmark × 3 个前沿 Backbone（Claude Opus 4.8、GPT-5.5、Gemini 3.7 Flash）共 9 个组合中，ReHarness 拿下 8 个第一，平均 normalized gain 达到 \n0.240\n，比最强的全历史基线 Full Raw（0.164）高出约 46%，而 token 消耗只有后者的 \n三分之一左右\n。\n一、提出问题：Agent 的\"错题本\"为什么会越记越错\n先铺垫一下背景设定。所谓 \nAgent Harness\n（智能体支架），可以理解为套在一个参数固定的 LLM 外面的\"运行时脚手架\"：它负责记忆读写、检索、Prompt 组装等，让模型在不更新参数的情况下，通过在长任务流中积累经验来越做越好。这就像是给模型配了一本不断更新的\"错题本 + 经验手册\"。\n在这个设定下，一个典型的持续学习循环长这样：\n决策 Agent \n 处理完第 \n 个实例，留下轨迹 \n（输入、输出、环境奖励）；\n记忆 Agent \n 对轨迹做反思，生成一条文本反思 \n，写入 Harness 状态 \n（\n前向写\n）；\n下一个实例到来时，从 \n 检索相关反思辅助 \n 决策（\n前向读\n）。\n问题出在哪？论文用一个极简的排序例子把缺陷暴露得很清楚：\n图解：左图 (a) 是传统有状态 Harness 的纯前向信息流。\n 要求把 \n降序\n 排列，Agent 做对了，于是 \n 写下反思\"把大数放前面\"（\n）。到了 \n，查询变成 \n升序\n，检索到的 \n 直接误导 \n 答错；虽然 \n 随后又写了一条\"把小数放前面\"，但旧的错误反思 \n仍然留在\n 里，并在 \n 因数字重叠再次被检索到，又一次误导决策。右图 (b) 是 ReHarness：新增的修订 Agent \n 利用 \n 的失败反馈，把 \n 改写成\"仅降序时大数在前\"（\n），错误经验被就地修复，\n 顺利答对。\n这个例子的要害在于：\n纯前向的记忆演化只关心\"写了什么\"，从不关心\"写的东西后来好不好用\"\n。在分布持续漂移（Distribution Shift）的流式场景下，过度泛化的反思一旦入库就没有机制被纠正，会沿着检索链路反复传播错误。现有方法要么只做 add/delete 式的记忆管理（维护一致性，但不吸收下游反馈），要么依赖额外的训练集/验证集做离线优化——这在严格的在线流式协议下根本不存在。\n二、核心方法：ReHarness 的三步循环\n找到了病因——只有前向通路、缺少反向反馈——接下来的问题是：反向反馈在 Agent 场景下该怎么实现？这里有三个现实约束：\n实例只过一次\n：流式设定下不能回头重放历史实例收集反事实结果；\n没有验证集\n：无法在多个候选更新之间做挑选；\n模型是黑盒 API\n：拿不到参数，梯度反传无从谈起。\n作者的解法很优雅：\n既然模型参数动不了，那就在纯文本的 Harness 状态里做\"反向传播\"\n。自然语言反馈本身已被证明是有效的学习信号（如 Reflexion、TextGrad 等前人工作），于是反向反馈被实现为对文本反思的 \n修订（Revision）\n。笔者认为这个设计的聪明之处在于：它把\"学习\"完全锁定在文本空间，既不碰模型权重，也不需要任何额外数据，天然适配黑盒 API + 严格流式这两个最苛刻的条件。\n具体来说，ReHarness 的每个时间步由三步组成：\nStep 1：前向读（Forward Read）\n设当前 Harness 状态为 \n。给定查询 \n，检索 top-\n 条相关反思交给决策 Agent：\n环境返回奖励 \n，构成当前实例轨迹 \n。\nStep 2：反向修订（Backward Revision）\n这是全文的核心创新。观察完 \n 之后，修订 Agent \n 逐条回访本次被检索到的反思，结合该反思的 \n源轨迹\n 和它在当前实例上的 \n实际效果\n 进行改写：\n这里有一条关键约束必须划重点：\n 只能作为 \n反馈信号\n 使用，\n 中的任何新内容都必须 \n有据可溯地来自源轨迹 \n，防止信息泄漏（Information Leakage）。换句话说，修订只能做三件事：补入 \n 中当时被忽略的证据、纠正 \n 中缺乏支撑的假设、收紧反思的适用条件。用排序的例子说，就是把\"大数放前面\"加上限定条件改成\"仅降序时大数放前面\"。\n用修订后的反思替换库中对应条目（未被检索的保持不动），得到中间状态 \n，这就建立了反向通路 \n。\nStep 3：前向写（Forward Write）\n最后，记忆 Agent \n 照常对 \n 反思生成新条目，但有一个细节：它会把刚修订好的 \n 当作 \n示范（Demonstration）\n 来学习\"什么样的反思才是好的反思\"：\nPrompt 会引导 \n 只保留有证据支撑的解释，并鼓励 \n 覆盖示范中没有的互补视角（比如顺着 \n 的格式写出\"仅升序时小数在前\"）。\n三步合起来，前向读、前向写、反向修订构成一个完整的 \n循环（Recurrent）\n 结构——这也是论文标题中 Recurrent Harness 的由来：信息不仅沿时间向前流动，还会以反馈的形式向后回流，形成闭环。\n三、实验设置：严格流式协议下的全面评测\n方法讲完，自然要问：这套闭环在真实任务流上管不管用？先看实验怎么搭。\n评测协议与指标\n所有方法在 \n严格在线流式协议\n 下评测：没有训练集、没有验证集、不允许重复尝试，Harness 状态在每条任务流内跨实例累积、在流之间重置。每个实验重复 3 次独立采样的流式 rollout，所有方法共享相同的初始化和随机种子后各自演化。\n由于不同任务的原生指标不可比，论文沿用 CL-Bench 的做法报告 \nNormalized Gain\n（归一化增益）：\n其中 \n 是不带任何记忆的无状态 Backbone 成绩，\n 是该任务指标的理论上限。这个指标衡量的就是\"从流中经验学习\"相对裸模型带来了多少提升。\nBenchmark、基线与 Backbone\n三个持续学习 Benchmark 覆盖了相当广的任务谱系：\nCL-Bench\n：6 个任务，涵盖队列研究、代码库适配、数据库探索、销售预测、盲频谱监测、可剥削扑克，每条流含 12-120 个多轮实例，带显式分布漂移；\nMemoryBench\n：长输入长输出写作任务（HelloBench + WritingBench 的 5 个英文任务），覆盖学术、创意、政治写作，每条流 17-47 个单轮实例，由 GPT-5.6-Sol 评分；\nMemoryArena\n：5 个领域（旅行规划、网购、渐进式网络搜索、数学与物理形式推理），每个领域 20-270 个任务，每个任务含 2-16 个相互依赖的多轮实例。\n基线共 7 个，分为几派：原子记忆派的 \nMem0\n；反思库派的 \nRBank\n（只追加不修改）、\nDoT\n（基于检索经验生成多样反思）、\nACE\n（维护全局 playbook 并做增删改合并）；Prompt 优化派的 \nGEPA-Online\n（把 GEPA 改造为纯在线顺序更新）；以及原始上下文派的 \nTop-K Raw\n 和 \nFull Raw\n（直接检索/塞入原始轨迹做 In-Context Learning）。所有方法使用同一 Backbone（Claude Opus 4.8 / GPT-5.5 / Gemini 3.7 Flash），检索统一用 Qwen3-Embedding-8B 取 top-5。\n四、实验结果：全面领先，且更省 token\n总体性能\n先把主结果表摆出来（数值为各任务流上的平均 normalized gain，加粗为该列最优）：\nMethod\nCL-Bench Claude\nCL-Bench GPT\nCL-Bench Gemini\nMemBench Claude\nMemBench GPT\nMemBench Gemini\nMemArena Claude\nMemArena GPT\nMemArena Gemini\nAverage\nMem0\n0.103\n0.220\n0.092\n0.049\n0.016\n0.053\n0.093\n0.322\n0.235\n0.131\nRBank\n0.073\n0.065\n0.040\n0.023\n0.004\n0.045\n0.014\n0.017\n0.023\n0.034\nDoT\n0.125\n0.081\n-0.008\n0.053\n0.027\n0.010\n0.129\n0.179\n0.042\n0.071\nACE\n0.042\n0.088\n0.036\n0.085\n-0.018\n0.028\n0.045\n0.004\n0.073\n0.043\nGEPA-Online\n0.076\n0.239\n0.132\n0.138\n0.064\n-0.134\n0.126\n0.129\n0.058\n0.092\nTop-K Raw\n0.165\n0.268\n0.190\n0.035\n0.041\n0.037\n0.145\n0.340\n0.291\n0.168\nFull Raw\n0.191\n0.299\n0.234\n0.063\n0.024\n-0.013\n0.082\n0.358\n0.237\n0.164\nReHarness\n0.217\n0.317\n0.233\n0.160\n0.096\n0.064\n0.305\n0.358\n0.408\n0.240\n几个值得注意的读数：\nReHarness 平均增益 \n0.240\n，在 9 个组合中 8 个排名第一或并列第一；\n原始上下文基线（Top-K Raw / Full Raw）确实是强对手，平均超过大多数结构化记忆方法——这与 CL-Bench 原论文的发现一致；\n纯反思方法（RBank、DoT、ACE）表现不稳，部分设置甚至出现 \n负增益\n（学了还不如不学）；\nGEPA-Online 在 MemoryBench × Gemini 上崩塌到 -0.134，说明仅靠 Prompt 优化做持续学习不够鲁棒。\n统计显著性方面，作者对每个带种子的任务流做双侧配对 Wilcoxon 符号秩检验（Bonferroni 校正），ReHarness 对 \n所有\n 基线优势显著（\n），包括对 Top-K Raw（\n）和 Full Raw（\n）。\n任务级拆解\n上面那张图（Figure 2）展示了 16 个任务上各方法的归一化增益（对三个 Backbone 取平均），纵轴为 Normalized Gain，每个任务一组柱子，青绿色为 ReHarness。\n图解：三组子图分别对应 CL-Bench、MemoryBench、MemoryArena。可以看到各方法在不同任务上波动很大，不少方法在某些任务上掉到零以下（不如无状态 Backbone）；而 ReHarness（每组最右侧的青绿柱）在几乎所有任务上都保持领先或贴近最优。两个例外值得说明：CL-Bench 的 Poker 任务上它只有边际增益；MemoryArena 的 Travel 任务上 Mem0 异常强势。\n为什么 Poker 上不灵？论文的解释很坦诚：扑克有隐藏牌和运气成分，单局奖励与策略质量 \n弱耦合\n，下游奖励对反向修订而言是噪声信号。Raw 类方法把原始牌局轨迹原样保留、把解读推迟给决策时的 Agent，反而不受这个信用分配（Credit Assignment）问题的影响。换句话说，\nReHarness 最受益的场景是反馈具有诊断性（diagnostic）的任务\n——失败能明确指向哪条经验错了。\nToken 效率\n多了一次反思调用和 \n 次修订调用，ReHarness 会不会更贵？恰恰相反。以 CL-Bench × Claude 单次 rollout 为例：\n方法\n输入 token\n输出 token\n总 token\n相对倍数\nAPI 成本（含缓存）\nTop-K Raw\n~52.20M\n~0.46M\n~52.66M\n1.3×\n~\\$85\nReHarness\n~37.19M\n~4.38M\n~41.57M\n1.0×\n~\\$254\nFull Raw\n~141.68M\n~0.44M\n~142.12M\n3.4×\n~\\$314\n原因在于：压缩后的反思大幅降低了每次决策时重复读入原始轨迹的上下文成本，对多轮长实例尤其明显。虽然 ReHarness 输出 token 更多（要生成修订），但输入端的节省完全覆盖了这部分开销。对比 Full Raw，ReHarness 便宜约 20% 且增益更高（0.217 vs 0.191）；Top-K Raw 更便宜但增益明显更低（0.165）。\n五、深入分析：修订到底改了什么、有没有效\n主结果之后，论文用四个递进的分析回答了读者最关心的质疑。我们逐个看。\n分析一：修订会不会\"偷看答案\"？\n反向修订最大的风险是信息泄漏——修订时把当前实例 \n 的内容直接抄进反思，那等于作弊。论文借鉴 FActScore 的思路，用 GPT-5.6-Sol 把每条修订后的反思拆成事实性断言，分类为：grounded（被源轨迹 \n 蕴含）、leaked（不被 \n 蕴含但被 \n 蕴含）、unsupported（两者都不蕴含）。\nLLM\nGrounded 率（↑）\n每次修订 Δ\nLeakage 率（↓）\n每次修订 Δ\nUnsupported 率（↓）\n每次修订 Δ\nClaude\n0.953\n-0.003\n0.021\n0.006\n0.026\n0.002\nGPT\n0.987\n-0.002\n0.008\n0.003\n0.005\n0.001\nGemini\n0.963\n0.007\n0.013\n0.004\n0.024\n-0.002\n三个 Backbone 的 grounded 率都在 \n95% 以上\n，泄漏率仅 0.8%-2.1%，且修订前后这些比率几乎不变（grounding 每次修订最多下降 0.3%）。这说明 Backbone 基本遵守了\"只把 \n 当反馈、不当素材\"的约束。\n分析二：修订真的产生了有用的信息吗？\n接地性只证明\"没作弊\"，还要证明\"改得对\"。论文设计了一个巧妙的 \n反事实重放（Counterfactual Replay）\n 实验：完成 \n 并得到修订后状态 \n 之后，\n回到同一个实例\n 用 \n 重新辅助决策（注意这违反在线协议，仅作诊断）。它回答的问题是：\"基于过去轨迹中本来就有的信息，早该怎么记才能帮到这个实例？\"\n设置\n修订依据\n应用于\nCohort\nCodebase\nDatabase\nSales\nSpectrum\nPoker\nAverage\n无修订（仅前向）\n--\n--\n-0.053\n0.359\n0.279\n0.258\n0.033\n-0.012\n0.144\nReHarness\n-0.019\n0.378\n0.361\n0.408\n0.162\n0.009\n0.217\n反事实重放\n0.046\n0.509\n0.402\n0.698\n0.314\n0.041\n0.335\n两个结论：其一，反事实重放（0.335）大幅超过 ReHarness（0.217），说明修订确实从过去轨迹中挖掘出了\"本该被记下\"的信息，修订是 \n有意义的\n；其二，即便只用合规的方式把修订结果应用到后续实例，ReHarness 依然在所有任务上超过无修订基线（0.144），在数据库探索、销售预测、盲频谱监测上提升尤其大——反向修订的价值不是纸面富贵。\n分析三：它到底在改什么？（定性案例）\n图解：(a) 盲频谱监测的早期修订。\n 中 \n 观测到五个发射机峰值（奖励 0.297），但 \n 过度泛化，写下\"报告可信的额外信道以填补大的静默空隙\"。这条反思被检索后，\n 的 \n 编造了未观测到的发射机，奖励跌到 0.219。\n 以此为反馈，把假设标记为\"推测性\"，改为\"优先保留已确认峰值\"，\n 奖励回升到 0.367。(b) 数据库探索的后期修订。早期流中固化的反思\"评分值来自 prc 列\"在 \n 后遭遇 schema 漂移（新增 prc_v2 列）；\n 中 \n 只查 prc 而失败（奖励 0），\n 把规则改为\"不预设哪列被评分、枚举所有价格类列\"，\n 中 \n 两次查询即命中正确答案（奖励 0.867）。\n这两个案例分别展示了 ReHarness 的两类典型修复：\n纠正早期的过度泛化\n 和 \n在分布漂移后更新过时经验\n。\n分析四：稳定性与可塑性如何兼得？\n持续学习的经典矛盾是稳定性（Stability，漂移后旧能力是否保留）与可塑性（Plasticity，漂移后能否快速适应新分布）的权衡。论文沿用 CL-Bench 的分解方式：稳定性测分布漂移后第一个实例的增益（此时还没有漂移后的反馈），可塑性测漂移之后、下一次漂移之前的实例增益。\nMethod\nClaude Stab.\nClaude Plas.\nGPT Stab.\nGPT Plas.\nGemini Stab.\nGemini Plas.\nAvg Stab.\nAvg Plas.\nMem0\n0.002\n0.101\n0.014\n0.206\n-0.026\n0.118\n-0.003\n0.142\nRBank\n0.004\n0.069\n0.001\n0.065\n-0.022\n0.062\n-0.006\n0.065\nDoT\n-0.003\n0.127\n-0.002\n0.083\n0.000\n-0.007\n-0.002\n0.068\nACE\n0.000\n0.042\n0.011\n0.077\n-0.028\n0.065\n-0.006\n0.061\nGEPA-Online\n0.000\n0.076\n0.006\n0.223\n-0.017\n0.149\n-0.004\n0.153\nTop-K Raw\n-0.012\n0.177\n0.009\n0.260\n0.011\n0.179\n0.003\n0.205\nFull Raw\n-0.005\n0.196\n0.010\n0.290\n0.024\n0.210\n0.010\n0.232\nReHarness\n0.003\n0.214\n0.025\n0.291\n0.016\n0.217\n0.015\n0.241\n一个触目惊心的现象：Mem0、RBank、DoT、ACE、GEPA-Online 的平均稳定性增益都是 \n负的\n——纯前向的记忆状态在分布漂移时不仅帮不上忙，反而有害。ReHarness 则同时拿下平均稳定性第一和每个 Backbone 的可塑性第一：反向修订让它在漂移前就积累了更稳健的经验，漂移后又能更快纠错。\n图解：(a) CL-Bench 代码库适配任务（Claude）上的 Harness 状态演化热力图。横轴是状态转移 \n，纵轴是反思的源轨迹，颜色深浅表示新旧反思之间的字符级编辑距离（修订幅度）；对角线格子是前向写入的新反思，同一行右侧的非零格子是后续修订。可以清楚看到：\n 的分布漂移（虚线）之前，对旧反思的修订随状态稳定而减弱、增益爬升；漂移之后，旧反思（如来自 \n、\n 的）出现大幅修订，而增益在漂移后保持平稳；随后修订逐渐集中到与漂移后分布相关的近期反思上。上方曲线为增益变化。(b) top-\n 扫描（对数横轴）：ReHarness 从 \n 到 \n 增益急剧上升，\n 保持平稳，更大的 \n 反而下降（过度修订引入反思漂移）；Top-K Raw 则在 \n 时才逼近 Full Raw 的虚线水平\n这组消融还回答了一个实用性问题：\nReHarness 不需要很大的修订集\n。\n 就是甜点，主实验全程固定该值。另一个消融是去掉 Step 3 中作为示范的修订反思 \n：CL-Bench × Claude 上增益从 0.217 掉到 0.191——说明修订过的经验不仅自己有用，还能\"教\"记忆 Agent 写出更好的新反思。\n六、附录精读：Prompt 与完整数据\n三个 Agent 的 Prompt 设计\n图解：自上而下分别是决策 Agent \n、记忆 Agent \n、修订 Agent \n 使用的完整 Prompt。可以看到三者分工清晰：\n 接收查询和检索到的反思做决策；\n 被引导只保留有操作证据支撑的解释；\n 的 Prompt 则明确嵌入了接地性约束——修订内容必须源自源轨迹，当前轨迹仅作反馈。\n完整修订案例\n正文 Figure 3 的两个案例，附录给出了完整轨迹、反思与修订文本：\n图解：盲频谱监测案例的完整版本，包含各实例的完整观测、决策过程、原始反思与修订后反思的全文对照。可以细看 \n 如何把\"填补静默空隙\"的推测性建议逐句校准为证据导向的指导。\n图解：数据库探索案例的完整版本，展示 schema 漂移前后完整的多轮查询轨迹。重点看 \n 失败后 \n 生成的修订全文：\"不预设哪列被评分\" + \"枚举所有价格类列\"，以及 \n 中 \n 如何据此两次查询即收敛。\n分 Backbone 完整结果\n以下三张表给出每个 LLM 在各任务上的完整 normalized gain（均值 ± 标准差，3 次 rollout），供复现参考。\nCL-Bench（Claude Opus 4.8）：\nMethod\nCohort\nCodebase\nDatabase\nSales\nSpectrum\nPoker\nAverage\nMem0\n-0.045 ± 0.014\n0.408 ± 0.022\n-0.016 ± 0.014\n0.284 ± 0.011\n0.000 ± 0.018\n-0.013 ± 0.002\n0.103 ± 0.006\nRBank\n-0.065 ± 0.002\n0.238 ± 0.007\n-0.119 ± 0.006\n0.376 ± 0.011\n0.000 ± 0.001\n0.005 ± 0.003\n0.073 ± 0.002\nDoT\n-0.074 ± 0.002\n0.499 ± 0.009\n0.056 ± 0.006\n0.252 ± 0.026\n0.033 ± 0.004\n-0.017 ± 0.001\n0.125 ± 0.007\nACE\n-0.015 ± 0.004\n0.231 ± 0.004\n-0.005 ± 0.004\n0.051 ± 0.006\n0.000 ± 0.001\n-0.010 ± 0.003\n0.042 ± 0.001\nGEPA-Online\n-0.028 ± 0.006\n0.238 ± 0.023\n0.040 ± 0.014\n0.171 ± 0.004\n-0.023 ± 0.004\n0.056 ± 0.002\n0.076 ± 0.008\nTop-K Raw\n-0.119 ± 0.010\n0.179 ± 0.006\n0.371 ± 0.005\n0.267 ± 0.020\n0.275 ± 0.003\n0.014 ± 0.005\n0.165 ± 0.003\nFull Raw\n-0.047 ± 0.002\n0.364 ± 0.010\n0.406 ± 0.004\n0.229 ± 0.013\n0.216 ± 0.007\n-0.020 ± 0.012\n0.191 ± 0.004\nReHarness\n-0.019 ± 0.012\n0.378 ± 0.011\n0.361 ± 0.004\n0.408 ± 0.018\n0.162 ± 0.014\n0.009 ± 0.002\n0.217 ± 0.006\nCL-Bench（GPT-5.5）：\nMethod\nCohort\nCodebase\nDatabase\nSales\nSpectrum\nPoker\nAverage\nMem0\n-0.047 ± 0.006\n0.402 ± 0.019\n0.349 ± 0.012\n0.365 ± 0.033\n0.233 ± 0.014\n0.020 ± 0.002\n0.220 ± 0.006\nRBank\n-0.029 ± 0.003\n0.319 ± 0.009\n-0.053 ± 0.005\n0.068 ± 0.005\n0.000 ± 0.001\n0.087 ± 0.004\n0.065 ± 0.002\nDoT\n-0.105 ± 0.002\n0.228 ± 0.010\n0.226 ± 0.005\n0.078 ± 0.016\n0.138 ± 0.002\n-0.080 ± 0.005\n0.081 ± 0.005\nACE\n-0.109 ± 0.003\n0.152 ± 0.001\n0.118 ± 0.006\n0.322 ± 0.012\n0.000 ± 0.001\n0.044 ± 0.004\n0.088 ± 0.003\nGEPA-Online\n0.121 ± 0.006\n0.694 ± 0.014\n0.307 ± 0.011\n0.110 ± 0.005\n0.124 ± 0.009\n0.076 ± 0.003\n0.239 ± 0.008\nTop-K Raw\n0.011 ± 0.012\n0.636 ± 0.020\n0.465 ± 0.008\n-0.002 ± 0.030\n0.302 ± 0.005\n0.196 ± 0.005\n0.268 ± 0.007\nFull Raw\n-0.068 ± 0.002\n0.638 ± 0.008\n0.482 ± 0.001\n-0.022 ± 0.013\n0.344 ± 0.004\n0.421 ± 0.017\n0.299 ± 0.003\nReHarness\n0.234 ± 0.014\n0.500 ± 0.009\n0.515 ± 0.009\n0.437 ± 0.011\n0.198 ± 0.017\n0.016 ± 0.001\n0.317 ± 0.004\nCL-Bench（Gemini 3.7 Flash）：\nMethod\nCohort\nCodebase\nDatabase\nSales\nSpectrum\nPoker\nAverage\nMem0\n0.190 ± 0.007\n0.066 ± 0.010\n0.271 ± 0.010\n-0.337 ± 0.014\n0.357 ± 0.007\n0.003 ± 0.002\n0.092 ± 0.005\nRBank\n-0.014 ± 0.003\n0.058 ± 0.010\n0.017 ± 0.007\n0.182 ± 0.005\n0.000 ± 0.001\n-0.003 ± 0.005\n0.040 ± 0.002\nDoT\n-0.124 ± 0.002\n0.247 ± 0.013\n0.077 ± 0.005\n-0.249 ± 0.011\n0.014 ± 0.006\n-0.011 ± 0.003\n-0.008 ± 0.004\nACE\n-0.047 ± 0.003\n0.129 ± 0.003\n0.089 ± 0.004\n0.085 ± 0.014\n0.000 ± 0.001\n-0.038 ± 0.004\n0.036 ± 0.003\nGEPA-Online\n0.039 ± 0.004\n0.286 ± 0.005\n0.459 ± 0.009\n0.041 ± 0.004\n-0.043 ± 0.005\n0.012 ± 0.004\n0.132 ± 0.007\nTop-K Raw\n0.209 ± 0.018\n0.701 ± 0.012\n0.365 ± 0.007\n-0.356 ± 0.029\n0.222 ± 0.003\n-0.004 ± 0.009\n0.190 ± 0.006\nFull Raw\n-0.036 ± 0.002\n0.440 ± 0.009\n0.426 ± 0.003\n0.343 ± 0.002\n0.160 ± 0.007\n0.070 ± 0.011\n0.234 ± 0.003\nReHarness\n0.044 ± 0.010\n0.610 ± 0.004\n0.432 ± 0.007\n-0.141 ± 0.024\n0.458 ± 0.009\n-0.005 ± 0.002\n0.233 ± 0.003\nMemoryBench（Claude Opus 4.8）：\nMethod\nHB-Academic\nHB-Creative\nWB-Academic\nWB-Creative\nWB-Politics\nAverage\nMem0\n0.073 ± 0.004\n0.182 ± 0.009\n0.000 ± 0.004\n0.053 ± 0.003\n-0.065 ± 0.009\n0.049 ± 0.002\nRBank\n-0.055 ± 0.004\n0.111 ± 0.004\n0.026 ± 0.002\n0.033 ± 0.003\n0.000 ± 0.003\n0.023 ± 0.002\nDoT\n0.077 ± 0.002\n0.179 ± 0.004\n-0.013 ± 0.002\n0.047 ± 0.003\n-0.026 ± 0.003\n0.053 ± 0.003\nACE\n0.115 ± 0.004\n0.134 ± 0.001\n0.064 ± 0.007\n0.113 ± 0.005\n0.000 ± 0.004\n0.085 ± 0.004\nGEPA-Online\n0.166 ± 0.005\n0.132 ± 0.002\n0.090 ± 0.029\n0.173 ± 0.003\n0.130 ± 0.006\n0.138 ± 0.013\nTop-K Raw\n0.118 ± 0.003\n-0.008 ± 0.004\n0.026 ± 0.002\n0.040 ± 0.002\n0.000 ± 0.002\n0.035 ± 0.001\nFull Raw\n0.122 ± 0.003\n0.167 ± 0.003\n0.000 ± 0.003\n0.080 ± 0.005\n-0.052 ± 0.002\n0.063 ± 0.002\nReHarness\n0.199 ± 0.009\n0.158 ± 0.002\n0.141 ± 0.006\n0.173 ± 0.006\n0.130 ± 0.005\n0.160 ± 0.003\nMemoryBench（GPT-5.5）：\nMethod\nHB-Academic\nHB-Creative\nWB-Academic\nWB-Creative\nWB-Politics\nAverage\nMem0\n0.094 ± 0.003\n0.070 ± 0.008\n-0.016 ± 0.005\n0.000 ± 0.003\n-0.066 ± 0.005\n0.016 ± 0.003\nRBank\n-0.009 ± 0.005\n0.101 ± 0.006\n-0.032 ± 0.002\n0.009 ± 0.003\n-0.049 ± 0.003\n0.004 ± 0.003\nDoT\n0.100 ± 0.003\n0.092 ± 0.002\n-0.016 ± 0.004\n0.009 ± 0.004\n-0.049 ± 0.003\n0.027 ± 0.002\nACE\n-0.008 ± 0.002\n0.071 ± 0.004\n-0.063 ± 0.005\n0.009 ± 0.003\n-0.098 ± 0.004\n-0.018 ± 0.004\nGEPA-Online\n0.163 ± 0.007\n0.139 ± 0.002\n0.032 ± 0.007\n0.000 ± 0.009\n-0.016 ± 0.006\n0.064 ± 0.006\nTop-K Raw\n0.169 ± 0.001\n0.051 ± 0.007\n-0.032 ± 0.003\n0.035 ± 0.004\n-0.016 ± 0.002\n0.041 ± 0.001\nFull Raw\n0.157 ± 0.007\n0.102 ± 0.003\n-0.016 ± 0.003\n-0.009 ± 0.006\n-0.115 ± 0.004\n0.024 ± 0.003\nReHarness\n0.215 ± 0.010\n0.172 ± 0.002\n0.048 ± 0.005\n0.044 ± 0.010\n0.000 ± 0.007\n0.096 ± 0.006\nMemoryBench（Gemini 3.7 Flash）：\nMethod\nHB-Academic\nHB-Creative\nWB-Academic\nWB-Creative\nWB-Politics\nAverage\nMem0\n0.135 ± 0.002\n0.026 ± 0.010\n0.076 ± 0.004\n-0.045 ± 0.004\n0.071 ± 0.001\n0.053 ± 0.002\nRBank\n0.031 ± 0.003\n0.193 ± 0.004\n0.000 ± 0.002\n-0.025 ± 0.004\n0.024 ± 0.004\n0.045 ± 0.003\nDoT\n0.045 ± 0.002\n0.094 ± 0.006\n-0.076 ± 0.001\n-0.025 ± 0.003\n0.012 ± 0.002\n0.010 ± 0.002\nACE\n0.098 ± 0.004\n0.069 ± 0.002\n-0.013 ± 0.003\n0.000 ± 0.004\n-0.012 ± 0.004\n0.028 ± 0.005\nGEPA-Online\n-0.062 ± 0.010\n0.119 ± 0.002\n-0.772 ± 0.010\n0.032 ± 0.005\n0.012 ± 0.007\n-0.134 ± 0.010\nTop-K Raw\n0.113 ± 0.002\n0.131 ± 0.006\n-0.013 ± 0.002\n-0.032 ± 0.003\n-0.012 ± 0.002\n0.037 ± 0.001\nFull Raw\n-0.032 ± 0.006\n0.153 ± 0.003\n-0.063 ± 0.002\n-0.064 ± 0.005\n-0.060 ± 0.004\n-0.013 ± 0.003\nReHarness\n0.040 ± 0.009\n0.173 ± 0.002\n0.013 ± 0.004\n0.032 ± 0.002\n0.060 ± 0.004\n0.064 ± 0.003\nMemoryArena（Claude Opus 4.8）：\nMethod\nTravel\nShopping\nSearch\nMath\nPhysics\nAverage\nMem0\n0.451 ± 0.022\n0.029 ± 0.028\n-0.057 ± 0.003\n0.016 ± 0.002\n0.024 ± 0.014\n0.093 ± 0.005\nRBank\n0.037 ± 0.003\n0.043 ± 0.002\n0.019 ± 0.002\n-0.020 ± 0.003\n-0.010 ± 0.004\n0.014 ± 0.001\nDoT\n0.085 ± 0.004\n0.121 ± 0.010\n0.124 ± 0.002\n0.013 ± 0.004\n0.300 ± 0.008\n0.129 ± 0.008\nACE\n-0.002 ± 0.001\n0.079 ± 0.001\n0.048 ± 0.004\n0.012 ± 0.002\n0.089 ± 0.007\n0.045 ± 0.003\nGEPA-Online\n0.009 ± 0.004\n0.219 ± 0.014\n0.105 ± 0.007\n0.077 ± 0.002\n0.218 ± 0.007\n0.126 ± 0.005\nTop-K Raw\n0.292 ± 0.022\n0.138 ± 0.007\n-0.514 ± 0.011\n0.148 ± 0.001\n0.663 ± 0.017\n0.145 ± 0.007\nFull Raw\n0.274 ± 0.008\n0.179 ± 0.012\n-0.819 ± 0.027\n0.192 ± 0.002\n0.582 ± 0.005\n0.082 ± 0.006\nReHarness\n0.443 ± 0.022\n0.221 ± 0.008\n0.210 ± 0.007\n0.138 ± 0.003\n0.511 ± 0.007\n0.305 ± 0.003\nMemoryArena（GPT-5.5）：\nMethod\nTravel\nShopping\nSearch\nMath\nPhysics\nAverage\nMem0\n0.771 ± 0.013\n0.466 ± 0.024\n0.000 ± 0.003\n0.103 ± 0.002\n0.271 ± 0.008\n0.322 ± 0.010\nRBank\n0.000 ± 0.003\n0.011 ± 0.003\n0.014 ± 0.002\n0.010 ± 0.003\n0.048 ± 0.003\n0.017 ± 0.001\nDoT\n0.176 ± 0.007\n0.383 ± 0.006\n0.060 ± 0.003\n0.119 ± 0.006\n0.155 ± 0.009\n0.179 ± 0.005\nACE\n-0.012 ± 0.001\n0.059 ± 0.002\n0.009 ± 0.004\n0.015 ± 0.002\n-0.051 ± 0.007\n0.004 ± 0.003\nGEPA-Online\n-0.149 ± 0.005\n0.327 ± 0.008\n0.321 ± 0.003\n-0.011 ± 0.006\n0.155 ± 0.007\n0.129 ± 0.002\nTop-K Raw\n0.781 ± 0.002\n0.425 ± 0.013\n0.023 ± 0.020\n0.150 ± 0.001\n0.319 ± 0.015\n0.340 ± 0.009\nFull Raw\n0.787 ± 0.023\n0.471 ± 0.010\n0.014 ± 0.022\n0.168 ± 0.003\n0.350 ± 0.011\n0.358 ± 0.009\nReHarness\n0.816 ± 0.024\n0.407 ± 0.008\n0.101 ± 0.007\n0.115 ± 0.004\n0.351 ± 0.010\n0.358 ± 0.006\nMemoryArena（Gemini 3.7 Flash）：\nMethod\nTravel\nShopping\nSearch\nMath\nPhysics\nAverage\nMem0\n0.904 ± 0.010\n0.005 ± 0.031\n-0.030 ± 0.003\n0.089 ± 0.003\n0.209 ± 0.002\n0.235 ± 0.008\nRBank\n-0.005 ± 0.002\n0.037 ± 0.002\n0.045 ± 0.001\n-0.031 ± 0.003\n0.069 ± 0.004\n0.023 ± 0.001\nDoT\n0.009 ± 0.004\n0.072 ± 0.017\n0.082 ± 0.002\n0.013 ± 0.005\n0.035 ± 0.007\n0.042 ± 0.004\nACE\n-0.009 ± 0.001\n0.058 ± 0.001\n0.090 ± 0.002\n0.048 ± 0.002\n0.180 ± 0.008\n0.073 ± 0.004\nGEPA-Online\n0.000 ± 0.007\n0.070 ± 0.012\n0.201 ± 0.004\n-0.008 ± 0.003\n0.028 ± 0.008\n0.058 ± 0.004\nTop-K Raw\n0.940 ± 0.014\n0.221 ± 0.013\n-0.269 ± 0.014\n0.156 ± 0.001\n0.407 ± 0.013\n0.291 ± 0.007\nFull Raw\n0.945 ± 0.017\n0.182 ± 0.008\n-0.537 ± 0.016\n0.142 ± 0.002\n0.452 ± 0.010\n0.237 ± 0.010\nReHarness\n0.930 ± 0.021\n0.226 ± 0.009\n0.291 ± 0.005\n0.086 ± 0.002\n0.508 ± 0.004\n0.408 ± 0.003\n细读这些完整数据会发现一个正文没强调的现象：Raw 类方法在 Search（渐进式网络搜索）上会出现灾难性负增益（Full Raw 在 Claude 上 -0.819），原始轨迹塞得越多越迷路，而 ReHarness 反而拿到 +0.210 / +0.291——这从侧面说明 \n压缩成反思 + 持续修订\n 比堆原始上下文更能抗干扰。\n七、总结与展望\n回顾全文要点：\n问题\n：现有 Agent Harness 只做前向读写，过度泛化/过时的反思会在记忆库中持续误导后续决策；\n方法\n：ReHarness 在前向读写之外增加反向修订通路，用当前轨迹作反馈、以源轨迹为接地约束改写被检索的反思，构成完整的循环结构，无需参数更新、无需重放、无需验证集；\n结果\n：3 个 Benchmark × 3 个 Backbone 平均 normalized gain 0.240，9 个组合中 8 个第一，对所有基线统计显著，token 仅为 Full Raw 的约 1/3；\n分析\n：修订 95%+ 接地、泄漏率 &lt;2.1%；反事实重放证明修订信息有效；稳定性与可塑性双第一；\n 即为甜点；\n局限\n：在奖励噪声大的任务（如扑克）上反向修订信号弱，效果打折；且仍需存储原始轨迹以备修订，有额外存储开销。\n笔者认为，这篇工作更大的价值在于把一个经典思想——\"用下游反馈修正上游表示\"——干净地移植到了纯文本的 Agent 记忆空间：当模型权重越来越封藏在 API 之后，\nHarness 层的循环适配\n 很可能成为 Agent 持续学习的主战场。下一步值得关注的方向，是如何在弱反馈/噪声奖励场景下让修订信号更鲁棒，以及如何降低保留原始轨迹的存储成本。\n本文参考自 Recurrent Harness for Agentic Continual Learning\n          \n        \n                \n                \n预览时标签不可点\n                \n        \n        \n         \n        \n        \n        \n        &lt;div id=\"js_temp_bottom_area\" class=\"</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"