"<!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>S3Gym: Can LLMs Turn Self-Testing and Self-Judging\ninto Self-Improvement?\n\n1\n\nByteDance Seed, 2 M-A-P, 3 TokenWave.AI\n\narXiv:2608.31100v1 [cs.CL] 31 Aug 2026\n\nFull author list in Contributions\n\nAbstract\nLarge language models (LLMs) increasingly interact with external environments and accumulate\nsubstantial behavioral experience, yet existing agent benchmarks largely evaluate them as fixed\npolicies. It therefore remains unclear whether an agent can actively test its behavior, judge the\nresulting experience, and use that experience to improve future decisions. We introduce S3 Gym,\nan interactive benchmark for evaluating LLM self-improvement through three coupled capabilities:\nSelf-Testing, Self-Judging, and Self-Improvement. S3 Gym separates permissive exploration from\nstrict held-out evaluation and instantiates this protocol in seven text-based games with executable\nenvironment verifiers. We evaluate three pathways for incorporating interaction experience: direct\nHistory ICL, score-conditioned Summary Memory, and parameter Training.\nOur experiments reveal that self-improvement is neither automatic nor uniform. Context-level\nexperience improves performance for several model–game pairs, but the most effective pathway\ndepends strongly on the task structure: summaries are beneficial when experience can be compressed\ninto reusable strategic rules, yet often underperform raw history when success depends on precise,\nstate-contingent information. Parameter training produces substantial gains on some tasks, but\nalso exhibits unstable improvement and severe negative transfer on others. These findings show that\nrecognizing successful actions is insufficient; agents must also transform feedback into executable\nand transferable policies. S3 Gym provides a unified framework for diagnosing this process and\nidentifying the bottlenecks that prevent agents from translating interaction experience into reliable\nself-improvement.\nDate: September 1, 2026\nProject Page: https://self-developing-agents.github.io/\n\n1\n\nIntroduction\n\nLarge language models (LLMs) are increasingly deployed as autonomous agents that invoke tools, execute\ncode, and interact with external environments through repeated observation–reasoning–action–feedback loops.\nSuch interaction is central to applications including automated research, software engineering, and open-ended\ndecision-making, where agents continually accumulate behavioral experience. Existing benchmarks evaluate\nmulti-turn decision-making, environment exploration, and task completion [15, 16], but they typically treat\nthe evaluated model as a fixed policy. As a result, they primarily answer a static question—how capable is the\nmodel at the time of evaluation?—while offering limited insight into whether the model can use its own past\ninteractions to improve future behavior. We refer to this experience-driven capability as Self-Improvement.\nTheories of experiential learning and reflective inquiry suggest that experience becomes useful only when\n\n1\n\n\fit is actively examined, abstracted, and tested again. Dewey and Kolb emphasize the transformation of\nexperience into knowledge through reflection and reapplication [8, 14], while Popper characterizes progress as\nthe iterative exposure of conjectures to tests that can reveal error [21]. The same principle applies to LLM\nagents: collecting trajectories alone does not guarantee learning. An agent must generate informative evidence,\ninterpret the causes of success and failure, and convert those interpretations into improved behavior. We\ntherefore decompose experience-driven learning into three interdependent capabilities: Self-Testing, in which\nthe agent explores strategies and gathers diagnostic evidence; Self-Judging, in which it evaluates actions,\noutcomes, and their potential reusability; and Self-Improvement, in which the resulting experience alters\nfuture decisions [2, 23].\nExperience that has been tested and judged can be incorporated at different levels of persistence. At the shortterm in-context learning level, an agent directly conditions future decisions on previous observations, actions,\nand scores. At the intermediate external-memory level, long trajectories are compressed into natural-language\nrules, failure patterns, or reusable skills, as in Reflexion and Voyager [26, 30]. At the long-term training\nlevel, selected or corrected trajectories are internalized through parameter updates, following the broader\ndirection explored by STaR, ReST, and Re-ReST [9, 11, 37]. These mechanisms make different trade-offs:\nraw histories preserve detailed evidence but consume context, summaries provide compact abstractions but\ndepend on judgment quality, and training offers persistent internalization but may also amplify incorrectly\njudged experience. A unified evaluation protocol is therefore needed to compare these pathways under the\nsame interaction and testing conditions.\nTo address this need, we introduce S3 Gym, short for Self-Testing, Self-Judging, and Self-Improvement\nGym, an interactive benchmark for evaluating whether LLMs can become more capable through their own\nenvironmental experience. Each evaluation consists of an Exploration Phase and an Evaluation Phase,\nreflecting the distinction between searching for new strategies and exploiting acquired knowledge [17]. During\nexploration, the agent interacts with relatively permissive environment configurations, generating successful,\nunsuccessful, and partially successful trajectories. Importantly, S3 Gym explicitly separates model-generated\nself-judgments from environment-verifiable outcomes: self-judgments determine how interaction experience\nis organized and reused, whereas environment scores measure the resulting behavioral performance. The\nupdated agent is then evaluated on stricter and held-out configurations, providing a direct test of whether\nexperience acquired during exploration transfers to new conditions and whether errors in Self-Judging become\na bottleneck to subsequent Self-Improvement.\nWe instantiate S3 Gym (Figure 1) with text-based games, following the game-based evaluation paradigm of\nKORGym [25]. Whereas KORGym evaluates LLM reasoning through diverse interactive games, S3 Gym uses\nsuch environments as controlled testbeds for experience-driven self-improvement. Their multi-turn interaction, partial observability, delayed consequences, and long-horizon decision-making provide rich behavioral\ntrajectories, while programmatically verifiable rules enable reproducible evaluation with objective step-level\nor terminal scores. Related environments, including TextWorld, ALFWorld, and ScienceWorld, have similarly\ndemonstrated the utility of textual interaction for evaluating planning, embodied reasoning, and scientific\nproblem solving [5, 27, 31]. S3 Gym includes seven games—Chess, Minesweeper, Nullify, Tetris, Snake,\nPvZ, and Trust Evolution—covering latent-rule induction, constraint satisfaction, numerical transformation, spatial planning, resource allocation, survival, and multi-agent strategy. Each game provides related but\ndistinct exploration and evaluation configurations, requiring agents to extract transferable knowledge from\nexperience rather than memorize isolated actions or seeds.\n\n2\n\n\fFigure 1 Conceptual overview of experience-driven improvement in humans and LLM agents. Both processes involve\ngenerating experience through Self-Testing, interpreting it through Self-Judging, and incorporating it through reusable\nmemory or learning mechanisms.\n\nOur main contributions are summarized as follows:\n• A unified formulation of experience-driven self-improvement. We formalize LLM self-improvement as\nan iterative process that connects Self-Testing, Self-Judging, and subsequent behavioral change, and\nintroduce S3 Gym with separate exploration and held-out evaluation phases.\n• A systematic comparison of experience-integration pathways. We evaluate three mechanisms for\nincorporating interaction experience—History ICL, Summary Memory, and parameter Training—under\na unified protocol.\n• An explicit evaluation of Self-Judging. By comparing model-generated judgments with verifier-computed\noutcomes, we assess whether agents can identify useful and harmful experience and translate those\njudgments into actionable improvement directions.\n• Comprehensive empirical and diagnostic analyses. We evaluate representative LLMs across seven\ninteractive environments and analyze improvement dynamics, judgment reliability, summary effectiveness,\ncross-game consistency, and common failure modes.\n\n2\n\nBackground\n\nMost agent benchmarks begin after the problem has already been made executable: the task is specified,\nthe reward or judge is defined, and the execution scaffold is fixed. This setting is necessary for controlled\ncomparison, but it hides the work that dominates real deployment. In industry, that work is distributed\nacross several roles—including solutions architects, applied engineers, and platform engineers—but its most\nvisible recent crystallization is the forward-deployed engineer (FDE), a title popularized by Palantir and since\nadopted by frontier-model companies [18, 20]. An FDE is embedded in the deployment environment and\nturns a general-purpose model into a system that works with a customer’s data formats, workflows, and\noperational constraints. The role’s success criterion is not a demonstration or a benchmark score, but whether\nthe deployed system is genuinely used, continues to work, and improves in response to failures. The growth of\n3\n\n\fFDE roles across frontier-model and data-platform companies reflects a simple fact: a capable model is not\nyet a working system [3, 29], and today the gap is largely closed by human engineers.\nViewed from the model’s side, FDE work supplies three pieces of structure that benchmark designers normally\npresuppose. First, the target is vague: an informal deployment need must be translated into concrete\nobjectives, constraints, and success criteria. Second, the feedback signal may be absent or unreliable: tests,\njudges, traces, or other validation mechanisms must be constructed before anyone can determine whether\nthe system is improving. Third, the execution system may not exist in a usable form: the tools, context\nmanagement, state, lifecycle logic, and verification interface through which future tasks will run must be built,\nadapted, and maintained as requirements change.\nS3 Gym focuses on the second layer: the agent-facing feedback signal and the experience-driven improvement\nloop that it enables. The benchmark retains an executable environment verifier as external ground truth, but\nwithholds verifier-computed outcomes from the agent during exploration. The agent must instead generate\ninformative evidence through Self-Testing, evaluate that evidence through Self-Judging, and convert it into\nbetter future behavior through Self-Improvement. This separation reveals both whether self-judgments agree\nwith actual outcomes and whether judged experience produces transferable improvement. Whereas Aspire\nstudies how broad deployment needs become capability growth and HarnessDev studies how models build\nand maintain the execution systems that carry them, S3 Gym isolates the experience-to-improvement loop\nwithin an executable environment.\n\n3\n\nRelated Work\n\n3.1\n\nInteractive Agent Benchmarks\n\nRecent progress in large language model agents has motivated the development of interactive benchmarks\nthat evaluate multi-turn decision-making, tool use, planning, and environment interaction. AgentBench [15]\nevaluates LLM agents across diverse domains, including operating systems, databases, and games, while\nAgentBoard [16] provides fine-grained analyses of agent progress and failure in multi-step tasks. Text-based\nenvironments such as TextWorld [5], ALFWorld [27], and ScienceWorld [31] further offer controllable testbeds\nfor language-grounded planning, embodied reasoning, and scientific problem solving. Recent game-oriented\nbenchmarks also examine interactive reasoning and strategic behavior in textual or programmatically verifiable\nenvironments.\nThese benchmarks provide rich substrates for evaluating agent behavior, but they generally treat the evaluated\nmodel as a fixed policy. Interaction trajectories are primarily used to measure task completion or diagnose\nfailures within a predefined evaluation setting, rather than to determine whether agents can transform their\nown experience into improved future behavior. S3 Gym builds on the controllability and objective verification of\ninteractive environments, while shifting the evaluation target from static task competence to experience-driven\nbehavioral improvement.\n\n3.2\n\nExperience-Based Agent Improvement\n\nA growing body of work studies how language agents can improve by reusing their own interaction experience.\nAt the context level, Reflexion [26] introduces verbal reinforcement learning, where agents reflect on previous\nattempts and use textual feedback to guide future decisions. At the external-memory level, Voyager [30]\naccumulates reusable skills in an evolving library, enabling embodied agents to retain and reuse knowledge\nacquired during open-ended interaction. Recent memory-based approaches similarly compress trajectories\ninto rules, failure patterns, or reusable strategies that can be retrieved in later episodes: ReasoningBank [19]\ndistills generalizable reasoning strategies from an agent’s self-judged successful and failed experiences, Treeof-Experience [7] organizes accumulated experience into a hierarchy that supports feedback attribution and\ncross-task transfer, and MetaSkill-Evolve [33] extends skill-file rewriting to the improvement procedure itself\nthrough two-timescale meta-skill evolution.\nExperience can also be incorporated through parameter updates. STaR [37], ReST [11], and Re-ReST [9]\nimprove language models by generating, filtering, or refining self-produced reasoning trajectories. SelfRewarding Language Models [36] further leverage model-generated preference signals for iterative optimization.\n4\n\n\fIn interactive environments, RetroAgent [39] trains agents with retrospective dual intrinsic feedback so that\nexperience acquired across episodes can be retrieved and reused rather than only implicitly encoded in\nparameters, and test-time self-improvement [1] constructs targeted training samples from the agent’s own\ninteraction failures. These studies demonstrate that interaction histories and self-generated supervision can\nimprove model performance. However, they typically investigate a specific improvement mechanism within a\nparticular task or training setting, making it difficult to disentangle whether improvement or failure results\nfrom the quality of collected experience, the reliability of experience interpretation, or the mechanism used to\nincorporate that experience. S3 Gym provides a unified evaluation protocol that compares different experience\nincorporation strategies, including History ICL, Summary Memory, and parameter training, under the same\nexploration and held-out evaluation setting.\n\n3.3\n\nEvaluating Adaptive and Self-Improving Agents\n\nThe reliability of model-generated supervision has been studied extensively in work on LLM-based evaluation.\nLLM-as-a-Judge [41] and JudgeBench [28] show that language models can provide useful evaluation signals,\nbut their judgments remain vulnerable to biases, calibration errors, and limitations in reasoning. A recent\naudit of step-level credit assignment in ALFWorld further shows that LLM-judge scores, outcome-conditioned\nlogprob ratios, and the policy’s own confidence all fail to identify causally important steps better than chance\nwhen measured against executed replay [38]. Such limitations are particularly important for self-improving\nagents, where inaccurate judgments may cause harmful experiences to be retained or valuable experiences to\nbe discarded.\nRecent benchmarks have started to move beyond static capability evaluation toward adaptive and selfimproving systems. PostTrainBench [22] evaluates automated post-training pipelines that improve model\nparameters on held-out tasks. SEA-Eval [13] studies long-term agent evolution through sequential task\ninteractions, while SEAGym [40] investigates the evolution of persistent agent harnesses, including prompts,\nmemories, tools, and workflows. PAST-Bench [34] tests whether retained experience actually improves personal\nagents by running matched task sequences with retained experience turned on and off. ContinualSkillBench [10]\nmeasures in-context continual skill learning and finds that gains vary substantially across models and domains,\nFinEvo-Bench [6] provides a longitudinal benchmark for self-evolving agents in professional financial workflows,\nSocial Gym [12] benchmarks multi-agent social reasoning in games with rule-verifiable outcomes, and AI4AIBench [4] isolates the design of training algorithms for recursive self-improvement. Beyond benchmarks, recent\nanalyses reveal that self-improvement itself is often unreliable: memory-based methods exhibit high variance\nand strong sensitivity to task order [35], accumulated skills can contaminate later behavior once a defective\nskill enters the pool [24], and optimizer-driven agent gains need not compound across continual-learning\nrounds [32]. These benchmarks and analyses represent important steps toward evaluating adaptive systems,\nbut they focus on different improvement artifacts or specific aspects of the adaptation process, and none\ncouples self-testing with explicit self-judging under executable environment verification. Table 1 summarizes\nthe key differences between existing benchmarks and S3 Gym.\nUnlike existing benchmarks that primarily evaluate evolutionary outcomes or individual adaptation mechanisms,\nS3 Gym explicitly studies the process through which agents transform interaction experience into future\nbehavioral improvement. It evaluates multiple experience incorporation strategies within the same environments\nand interaction budgets, while testing updated agents on disjoint and generally stricter configurations.\nMoreover, S3 Gym records both model-generated judgments and executable environment outcomes, enabling\nanalysis of whether improvement failures originate from inaccurate experience evaluation or from an inability\nto transform correctly identified feedback into transferable behavior.\n\n5\n\n\fTable 1 Comparison of adaptive and self-improving language agent benchmarks.\nBenchmark\n\nUpdated System\n\nPostTrainBench\nSEA-Eval\n\nModel\nAgent\n\n×\nPartial\n\n×\n×\n\nSEAGym\n\nAgent harness\n\nPartial\n\n×\n\nPAST-Bench\n\nAgent memory\n\nPartial\n\n×\n\nContinualSkillBench Skill library\n\nPartial\n\n×\n\nFinEvo-Bench\n\nAgent\n\nPartial\n\n×\n\nSocial Gym\n\nAgent\n\nPartial\n\n×\n\nS3 Gym\n\nAgent behavior\n\n✓\n\n✓\n\n4\n\nMethod\n\n4.1\n\nOverview\n\nSelf-Testing Self-Judging Experience Use\n\nParameter training\nSequential\nadaptation\nPrompt, memory,\ntool, workflow\nupdates\nRetained\ncross-session\nexperience\nIn-context skill\naccumulation\nLongitudinal\nexperience\nTournament\nself-play\n\nEvaluation\n\nHeld-out tasks\nLong-term\nevolution\nID/OOD transfer\n\nMatched on/off\nconditions\nCross-task reuse\nLongitudinal task\nsequences\nRule-verifiable\noutcomes\n\nHistory ICL,\nStrict held-out\nSummary Memory, evaluation\nTraining\n\nS3 Gym evaluates whether an LLM can improve its future behavior by testing strategies in interactive\nenvironments, judging the resulting experience, and reusing the acquired knowledge. One self-improvement\ncycle contains five stages:\n(p)\n\nRt\n\n= Explore → Judge → Consolidate → Updatep → Evaluate,\n\n(1)\n\nwhere t is the cycle index and p ∈ {History, Memory, Training} denotes the improvement pathway. During\nexploration, the agent accumulates trajectories under relatively permissive game configurations. It then judges\nits own decisions and consolidates the resulting experience into raw history, summary memory, or training\nexamples. Finally, the updated agent is evaluated on stricter and held-out configurations.\n\n6\n\n\fFigure 2 Overview of S3 Gym. Exploration trajectories are judged and incorporated through History ICL, Summary\nMemory, or parameter Training. The updated agent is then evaluated on stricter game configurations.\n\n4.2\n\nInteraction Protocol and Formalization\n\nEach game contains multiple independent episodes, and each episode consists of a sequence of interaction steps.\nFor episode x at step i, we denote the current observation by Ox,i , the within-episode interaction history by\nHx,i , the agent action by ax,i , the agent’s self-judged immediate score by sx,i , the observable environment\nfeedback by Fx,i , the verifier-computed step reward by rx,i , and the final environment score by yx .\nAn episode is initialized as\nOx,0 = Reset(seedx , cx ),\n\n(2)\n\nHx,0 = ∅,\n\n(3)\n\nwhere cx denotes the game configuration.\nAt each step, the agent receives the current observation, the within-episode history, and the pathway-specific\n(p)\nexperience state Zt inherited from previous exploration episodes. Following the actual interaction interface,\nthe model jointly produces an action and a self-judged immediate score:\n\u0010\n\u0011\n(p)\n(ax,i , sx,i ) = πθt Ox,i , Hx,i ; Zt\n,\n\n(4)\n\nwhere p ∈ {History, Memory, Training}. The score sx,i represents the model’s estimate of the immediate\nreward associated with its proposed action under the game rules, rather than a free-form confidence score. In\n(p)\nthe context-level pathways, Zt contains either retained raw history or summarized experience; for parameter\ntraining, acquired experience is instead reflected primarily through the updated parameters θt .\n\n7\n\n\fThe environment then executes the proposed action and returns the next observation, observable feedback,\nverifier-computed reward, and termination signal:\n(Ox,i+1 , Fx,i , rx,i , dx,i ) = Env(Ox,i , ax,i ).\n\n(5)\n\nImportantly, Fx,i denotes environment information available to the agent for subsequent interaction, whereas\nrx,i is retained by the benchmark as an external verification signal. In the main setting, verifier-computed\nrewards are not exposed to the agent during exploration. This separation allows S3 Gym to compare the\nagent’s self-judgment sx,i against the actual environment reward rx,i without allowing ground-truth rewards\nto directly guide subsequent decisions.\nThe agent-visible transition is then appended to the within-episode history:\nHx,i+1 = Hx,i ⊕ Format (Ox,i , ax,i , sx,i , Fx,i , Ox,i+1 ) ,\n\n(6)\n\nwhere ⊕ denotes ordered concatenation. Thus, the interaction history records the agent’s own score together\nwith the state transition, while the verifier reward rx,i remains benchmark-side information. At the next step,\nthe agent again applies Eq. (4) to the updated observation and history.\nWhen the episode terminates or reaches the maximum number of steps, the environment returns the final\nverifier-computed score\nyx = Score(τx ),\n\n(7)\n\nwhere τx denotes the complete executed trajectory of episode x. The step-level reward rx,i is used to\nevaluate the reliability of Self-Judging, whereas yx measures the episode-level behavioral performance used for\nbenchmark evaluation. Neither signal is provided to the agent during exploration in the main setting.\n\n4.3\n\nSelf-Judging and Experience Consolidation\n\nSelf-Judging provides an internal signal for identifying useful and harmful experience when precise environment\nrewards are unavailable to the agent. Low-scoring trajectory segments indicate possible mistakes or strategies\nto avoid, whereas high-scoring segments provide candidate strategies to retain.\nS3 Gym organizes the judged experience in two context-level forms.\nHistory Context.\n\nScore-annotated trajectories are directly serialized and appended to future contexts:\nCt+1 = Serialize(Ct , Ttexp , Stexp ) ,\n\n(8)\n\nwhere Ttexp and Stexp are the exploration trajectories and their self-judgment scores in cycle t.\nSummary Memory.\n\nThe model compresses the judged trajectories into reusable experience:\nMt+1 = Summarize(Mt , Ttexp , Stexp ) .\n\n(9)\n\nThe summary contains strategies to retain, mistakes to avoid, and concrete directions for the next interaction\ncycle:\n\u0001\nMt+1 = Rtretain , Rtavoid , Dtnext .\n\n8\n\n(10)\n\n\f4.4\n\nExploration and Evaluation Phases\n\nEach game provides an exploration distribution Cgexp and an evaluation distribution Cgeval . Exploration\nenvironments preserve the main task structure but use more permissive conditions, such as smaller state\nspaces, weaker failure penalties, or additional trial opportunities. Evaluation environments use stricter rules\nor more complex configurations.\nA self-improvement cycle contains Nexp exploration episodes followed by Neval evaluation episodes:\n\b exp Nexp\n\b eval Neval\nτt,x x=1 → Improve → τt,x\n.\nx=1\n\n(11)\n\nExploration provides diverse experience for judgment and consolidation, whereas evaluation verifies whether\nthe resulting improvement transfers to stricter conditions. The two phases use disjoint random seeds, and\nevaluation trajectories are not added to history, memory, or training data.\nFor pathway p and game g, evaluation performance after cycle t is\nN\neval\nX\n\n1\n\n(p)\n\n(p)\n\n(12)\n\n∆t,g = Y t,g − Y 0,g .\n\n(13)\n\nY t,g =\n\nNeval x=1\n\nyt,g,x ,\n\nand improvement over the original model is\n(p)\n\n(p)\n\n(p)\n\nWe report both the final evaluation score and ∆t,g . The former measures final capability, while the latter\nmeasures how effectively the model benefits from its own interaction history.\n\n4.5\n\nSelf-Improving Pathways\n\nS3 Gym evaluates three pathways for incorporating exploration experience.\nHistory ICL.\n\nScore-annotated trajectories are directly inserted into the context of later episodes:\n(History)\n\nZt+1\n\n= Ct+1 .\n\n(14)\n\nThis pathway preserves detailed interaction evidence but is constrained by context length.\nSummary Memory.\n\nThe agent receives the consolidated summary rather than the complete trajectory:\n(Memory)\n\nZt+1\n\n= Mt+1 .\n\n(15)\n\nThis pathway evaluates whether the model can abstract transferable strategies from lengthy interaction\nhistories.\nParameter Training. Exploration trajectories and self-judgments are converted into supervised fine-tuning\nexamples:\nDtSFT = BuildSFT(Ttexp , Stexp ) ,\nfollowed by the parameter update\n\n9\n\n(16)\n\n\f(17)\n\n\u0001\nθt+1 = SFT θt , DtSFT .\n\nHigh-scoring actions are retained as positive examples, while low-scoring actions are filtered or replaced with\ncorrected actions. Training is treated as an auxiliary pathway because it introduces optimization variables\nabsent from context-level improvement.\nAll pathways start from the same base model and use the same exploration seeds, evaluation seeds, interaction\nbudget, and decoding settings.\n\n5\n\nExperiments\n\n5.1\n\nBenchmark Games\n\nS3 Gym contains seven text-based games that cover complementary forms of interactive reasoning, including\nlatent-rule induction, constraint satisfaction, numerical transformation, spatial planning, long-horizon control,\nresource allocation, and multi-agent strategy. Each game provides an exploration configuration and an\nevaluation configuration. The exploration configuration is generally more permissive, while the evaluation\nconfiguration introduces stricter termination conditions, a larger search space, or denser dynamics. Table 2\nsummarizes the code-level configurations used in our experiments.\nGame\n\nExploration\n\nEvaluation\n\nChess\n\n15 × 15 board, 12 pieces, and a 7-step\nhistory.\n9 × 9 board with 10–20 mines and two\nextra lives.\nExpressions generated with 3–7 construction steps.\n3 × 7 battlefield.\nCollisions and invalid actions are\ntreated as no-ops.\n10 × 10 board.\nOpponent sampling is biased toward easier strategies.\n\nSame rules as exploration but 22 pieces.\n\n5\n\nThe first mine hit terminates the\nepisode.\nExpressions generated with 5–10 construction steps.\n5 × 6 battlefield.\nCollisions and invalid actions terminate\nthe episode.\n8 × 8 board.\nOpponent strategies are sampled uniformly.\n\n64\n\nMinesweeper\nNullify\nPlants-vs-Zombies\nSnake\nTetris\nTrust Evolution\n\nMax steps\n\n50\n64\n64\n64\n10\n\nTable 2 Exploration and evaluation configurations for the seven S3 Gym games. Exploration generally uses more\npermissive rules, while evaluation uses stricter or more difficult configurations.\n\n5.2\n\nExperimental Setup\n\nModels. We evaluate seven representative proprietary LLMs for which all seven game results are complete:\nGPT-4o, GPT-4.1, o3-mini, Gemini-2.5-Flash, Gemini-2.5-Pro, GPT-5.5, and Gemini-3.5-Flash. Models\nwith unfinished checkpoints are excluded from the main table to avoid comparisons based on different game\ncoverage.\nContext-level pathways. We compare two non-parametric self-improvement pathways. History ICL directly\nappends the interaction history to the context, whereas Summary Memory compresses previous trajectories\ninto model-generated rules, mistakes, and future directions. The former preserves detailed evidence but\nrequires a larger context budget; the latter imposes an information bottleneck and therefore depends more\nstrongly on the quality of Self-Judging and summarization.\n\n10\n\n\fSetting\n\nValue\n\nHistory-ICL input limit\nOutput generation cap\nController interaction cap\nExploration budget\nEvaluation interval\nEvaluation set size\nEvaluation checkpoints\n\n100,000 tokens\n14,000 new tokens per response\n64 steps per episode\n30 exploration episodes\nEvery 3 exploration episodes\n3 strict-mode episodes per checkpoint\nx ∈ {0, 3, 6, . . . , 30}\n\nTable 3 Runtime configuration for the main context-level experiments. Game-specific horizons smaller than 64 override\nthe controller-level step cap.\n\nMetrics. Let ym,p,g,k denote the evaluation score of model m, pathway p, and game g at checkpoint xk . We\nreport three complementary metrics for every model–game pair:\n\nK\n\nAvgm,p,g =\n\n1 X\nym,p,g,k ,\nK +1\n\n(18)\n\nk=0\n\nMaxm,p,g = max ym,p,g,k ,\n0≤k≤K\nZ 30\n=\nAUC+\nmax(0, ym,p,g (x) − ym,p,g,0 ) dx.\nm,p,g\n\n(19)\n(20)\n\n0\n\nThe continuous curve y(x) in AUC+ is obtained through piecewise-linear interpolation between adjacent\ncheckpoints. Avg. measures overall performance throughout exploration; Max. captures the best observed\ncapability, and AUC+ measures sustained improvement above the initial evaluation score. Because the games\nuse different score scales, raw AUC+ values should be compared within the same game, rather than directly\nacross games.\n\n5.3\n\nMain Results\n\nTable 4 reports Avg., Max., and AUC+ for all complete models under History ICL and Summary Memory.\nBold values indicate the best result for each metric within the corresponding pathway and game.\nOverall context-level performance. The results show that self-improvement potential is jointly determined\nby the base model, the experience pathway, and the environment. Under History ICL, Gemini-3.5-Flash\nobtains the strongest Chess results and the largest AUC on Snake and Trust Evolution, whereas GPT-5.5\nleads the more brittle Minesweeper, Nullify, and Tetris tasks and achieves the largest PvZ AUC. Under\nSummary Memory, GPT-5.5 becomes strongest on Chess, Nullify, and Tetris and reaches the highest average\nand maximum scores on Snake. Gemini-3.5-Flash remains strongest in average performance on PvZ and Trust\nEvolution. These results indicate that high base capability alone does not determine self-improvement; models\nalso differ in how effectively they retrieve, compress, and apply their own experience.\nHistory ICL versus Summary Memory. Summary Memory is not uniformly superior to raw history. It\ncan substantially improve models for which long trajectories are difficult to use directly. For example,\nGemini-2.5-Flash increases its Minesweeper AUC+ from 0.000 under ICL to 7.794 with Summary Memory,\nand its PvZ AUC+ from 24.402 to 238.501. GPT-5.5 similarly improves its Chess AUC+ from 0.474 to 16.840.\nHowever, summarization may discard state-specific evidence or preserve incorrect judgments. GPT-5.5’s PvZ\nAUC+ decreases from 548.499 to 33.219, while Gemini-3.5-Flash decreases from 12.280 to 0.000 on Chess and\n\n11\n\n\fTable 4 Main results on seven S3 Gym games. For each model–game pair, Avg. is the mean score over all available\nevaluation checkpoints, Max. is the maximum score, and AUC+ is the positive area above the initial-score baseline.\nHigher is better for all metrics. Explicitly marked concurrency failures are excluded.\n(a) Average score (Avg.)\nModel\nChess\nGPT-4o\nGPT-4.1\no3-mini\nGemini-2.5-Flash\nGemini-2.5-Pro\nGPT-5.5\nGemini-3.5-Flash\n\n0.007\n0.010\n0.012\n0.009\n0.025\n0.017\n\n0.547\n\nMinesweeper\nNullify\nTetris\nICL (History Context)\n0.044\n0.042\n0.222\n0.063\n0.421\n\n0.030\n0.030\n0.030\n0.030\n0.212\n\n0.030\n0.152\n1.273\n0.121\n0.273\n\nSnake\n\nPvZ\n\nTrustEvo\n\n0.212\n0.515\n4.000\n1.424\n1.576\n\n11.636\n16.909\n26.333\n20.697\n28.242\n44.033\n\n8.242\n7.371\n9.242\n9.008\n14.500\n7.848\n\n0.604\n\n0.545\n\n4.242\n\n9.061\n\n0.482\n\n0.394\n\n1.970\n\n8.455\n\n44.697\n\n17.242\n\n0.030\n0.182\n1.788\n0.152\n0.545\n\n0.303\n0.545\n6.727\n1.364\n1.273\n\n11.818\n14.727\n26.424\n21.939\n19.667\n33.500\n\n13.947\n13.371\n7.174\n8.720\n9.568\n8.697\n\nSummary Memory\nGPT-4o\nGPT-4.1\no3-mini\nGemini-2.5-Flash\nGemini-2.5-Pro\nGPT-5.5\nGemini-3.5-Flash\n\n0.005\n0.010\n0.006\n0.074\n0.110\n\nGPT-4o\nGPT-4.1\no3-mini\nGemini-2.5-Flash\nGemini-2.5-Pro\nGPT-5.5\nGemini-3.5-Flash\n\n0.000\n0.030\n0.061\n0.091\n0.182\n\n0.533\n\n0.742\n\n0.576\n\n3.515\n\n10.697\n\n0.208\n\n0.603\n\n0.455\n\n1.091\n\n10.242\n\n43.879\n\n14.394\n\nMinesweeper\nNullify\nTetris\nICL (History Context)\n\nSnake\n\nPvZ\n\nTrustEvo\n\n0.667\n1.667\n9.667\n2.333\n4.333\n11.333\n\n17.667\n21.667\n29.333\n29.000\n33.000\n48.000\n\n11.500\n10.250\n13.250\n13.583\n19.000\n\n(b) Maximum score (Max.)\nModel\nChess\nGPT-4o\nGPT-4.1\no3-mini\nGemini-2.5-Flash\nGemini-2.5-Pro\nGPT-5.5\nGemini-3.5-Flash\n\n0.013\n0.012\n0.425\n0.438\n0.466\n\n0.018\n0.018\n0.022\n0.022\n0.089\n0.067\n\n0.742\n\n0.018\n0.031\n0.018\n0.147\n0.258\n\n0.131\n0.189\n0.500\n0.670\n0.659\n\n0.974\n\n0.333\n0.333\n0.333\n0.333\n0.667\n\n0.333\n0.667\n2.667\n0.333\n1.000\n\n1.000\n11.333\n1.000\n3.000\nSummary Memory\n\n0.705\n\n0.033\n0.083\n0.608\n0.665\n0.974\n\n1.000\n\n0.524\n\n0.961\n\n0.333\n0.667\n4.000\n0.667\n2.000\n\n1.000\n1.000\n10.333\n2.333\n3.000\n\n20.333\n19.333\n29.000\n26.333\n26.667\n41.333\n\n23.000\n21.000\n\n19.333\n15.917\n10.083\n13.750\n14.333\n17.000\n\n14.000\n\n2.333\n\n12.000\n\n51.667\n\n20.333\n\n(c) Positive area above baseline (AUC+ )\nModel\nChess\nMinesweeper\nNullify\nTetris\nICL (History Context)\n\nSnake\n\nPvZ\n\nTrustEvo\n\n0.000\n8.501\n0.000\n7.317\n0.000\n0.163\n\n0.052\n129.000\n5.383\n24.402\n60.416\n\n3.443\n5.966\n62.638\n6.251\n161.876\n164.411\n\n0.233\n0.186\n0.004\n0.017\n0.000\n0.474\n\n12.280\n\n1.437\n1.329\n0.000\n0.000\n\n1.000\n1.000\n\n62.667\n\n6.667\n\nGPT-4o\nGPT-4.1\no3-mini\nGemini-2.5-Flash\nGemini-2.5-Pro\nGPT-5.5\nGemini-3.5-Flash\n\n0.773\n\n0.000\n0.333\n0.333\n0.333\n0.333\n\n13.000\n\n0.500\n1.000\n1.000\n1.000\n\n3.539\n\n1.500\n\n0.959\n1.217\n\n1.000\n0.417\n\n1.000\n0.000\n0.000\n0.000\n0.000\n\n96.251\n\n548.499\n\n34.000\n\n37.387\n\n161.945\n\n200.000\n\n1.917\n0.000\n0.300\n0.000\n\n50.801\n\n11.321\n\n238.501\n\n7.418\n\n0.500\n0.000\n28.598\n0.500\n10.084\n\n12.778\n75.462\n40.425\n\n10.350\n154.876\n30.521\n18.443\n10.624\n\n5.584\n\n15.808\n\n0.000\n0.750\n\n11.872\n33.219\n123.535\n\nSummary Memory\nGPT-4o\nGPT-4.1\no3-mini\nGemini-2.5-Flash\nGemini-2.5-Pro\nGPT-5.5\nGemini-3.5-Flash\n\n0.007\n0.177\n0.079\n2.147\n0.573\n\n16.840\n\n0.000\n\n0.046\n0.046\n0.001\n\n7.794\n\n0.721\n2.951\n0.793\n\n0.000\n1.000\n2.000\n3.000\n0.000\n\nR 30\n\n+\n\n240.500\n55.095\n\nNote. AUC is computed over checkpoints x ∈ {0, 3, . . . , 30} using piecewise-linear trapezoidal integration of 0 max(0, y(x) − y0 ) dx.\nMeans and maxima exclude explicitly marked invalid concurrency points; for AUC+ , adjacent valid checkpoints are connected. Models\nwith unfinished results in any game are omitted.\n\n12\n\n\fICL Chess\n\nSummary Chess\n0.8\n\n0.6\n\nStrict-mode score\n\nStrict-mode score\n\n0.8\n\nGPT-4.1\nGPT-4o\nGemini 2.5 Flash\nGemini 2.5 Pro\nGemini 3.5 Flash\nGPT-5.5\no3-mini\n\n0.4\n\n0.2\n\n0.0\n\n0.6\n\nGPT-4.1\nGPT-4o\nGemini 2.5 Flash\nGemini 2.5 Pro\nGemini 3.5 Flash\nGPT-5.5\no3-mini\n\n0.4\n\n0.2\n\n0.0\n0\n\n5\n\n10\n\n15\n\n20\n\n25\n\n30\n\n0\n\n5\n\nExploration episodes\n\nICL Minesweeper\n\n15\n\n20\n\n25\n\n30\n\nSummary Minesweeper\n1.0\n\n0.8\n\nStrict-mode score\n\n1.0\n\nStrict-mode score\n\n10\n\nExploration episodes\n\nGPT-4.1\nGPT-4o\nGemini 2.5 Flash\nGemini 2.5 Pro\nGemini 3.5 Flash\nGPT-5.5\no3-mini\n\n0.6\n0.4\n0.2\n\n0.8\n\nGPT-4.1\nGPT-4o\nGemini 2.5 Flash\nGemini 2.5 Pro\nGemini 3.5 Flash\nGPT-5.5\no3-mini\n\n0.6\n0.4\n0.2\n\n0.0\n\n0.0\n0\n\n5\n\n10\n\n15\n\n20\n\n25\n\n30\n\n0\n\nExploration episodes\n\n5\n\n10\n\n15\n\n20\n\n25\n\n30\n\nExploration episodes\n\nFigure 3 Paired History-ICL and Summary-Memory trajectories for Chess and Minesweeper. The horizontal axis\ndenotes exploration episodes, and the vertical axis denotes strict-mode evaluation performance. Within each game, the\ntwo panels use the same vertical scale.\n\nfrom 200.000 to 55.095 on Trust Evolution. Summary Memory should therefore be viewed as a selective\ncompression mechanism rather than an unconditional improvement over History ICL.\nCross-game consistency. The seven games reveal different self-improvement regimes. Chess, Minesweeper,\nand Nullify have sparse or highly discrete scores, so a single successful episode can strongly affect Max.\nwhile producing only a small Avg. or AUC. Tetris, Snake, PvZ, and Trust Evolution provide denser\nsequential feedback and expose clearer differences in sustained adaptation. The three metrics are consequently\ncomplementary: Max. identifies occasional capability breakthroughs, Avg. reflects overall performance,\nand AUC+ distinguishes persistent improvement from isolated peaks. Since score scales differ substantially\nacross games, cross-game consistency should be assessed through within-game ranks or the number of games\nimproved, rather than by averaging raw AUC magnitudes.\n\n6\n\nAnalysis\n\n6.1\n\nRQ1: Can Parameter Training Enable Self-Improvement?\n\nRQ1 examines whether an agent can internalize its interaction experience through parameter updates and\nsubsequently improve without access to historical trajectories or external memory at inference time. Compared\nwith context-level adaptation, parameter training offers a more persistent improvement pathway, but it also\ncarries greater risk: noisy or incorrectly judged trajectories may be consolidated into the model and overwrite\npreviously effective behavior.\nWe evaluate Qwen3-8B at 20 consecutive checkpoints, with epoch 0 representing the original model and\nepochs 1–19 representing models updated using exploration trajectories. At each checkpoint, the model is\nevaluated on the strict configurations of all seven S3 Gym games without History ICL or Summary Memory.\nWe report the post-training average and maximum scores, the final change ∆Final = y19 − y0 , and the positive\n\n13\n\n\fICL Nullify\n\nSummary Nullify\n1.0\n\n0.8\n\nStrict-mode score\n\nStrict-mode score\n\n1.0\n\nGPT-4.1\nGPT-4o\nGemini 2.5 Flash\nGemini 2.5 Pro\nGemini 3.5 Flash\nGPT-5.5\no3-mini\n\n0.6\n0.4\n0.2\n\n0.8\n\nGPT-4.1\nGPT-4o\nGemini 2.5 Flash\nGemini 2.5 Pro\nGemini 3.5 Flash\nGPT-5.5\no3-mini\n\n0.6\n0.4\n0.2\n\n0.0\n\n0.0\n0\n\n5\n\n10\n\n15\n\n20\n\n25\n\n30\n\n0\n\n5\n\nExploration episodes\n\nICL Tetris\n\n15\n\n20\n\n25\n\n30\n\nSummary Tetris\n\n12\n\n12\n10\n\nStrict-mode score\n\n10\n\nStrict-mode score\n\n10\n\nExploration episodes\n\nGPT-4.1\nGPT-4o\nGemini 2.5 Flash\nGemini 2.5 Pro\nGemini 3.5 Flash\nGPT-5.5\no3-mini\n\n8\n6\n4\n2\n\nGPT-4.1\nGPT-4o\nGemini 2.5 Flash\nGemini 2.5 Pro\nGemini 3.5 Flash\nGPT-5.5\no3-mini\n\n8\n6\n4\n2\n\n0\n\n0\n0\n\n5\n\n10\n\n15\n\n20\n\n25\n\n30\n\n0\n\n5\n\nExploration episodes\n\n10\n\n15\n\n20\n\n25\n\n30\n\nExploration episodes\n\nFigure 4 Paired History-ICL and Summary-Memory trajectories for Nullify and Tetris. Model colors and line styles\nare shared across all panels.\n\nICL Snake\n\nSummary Snake\n14\n\n12\n\nStrict-mode score\n\nStrict-mode score\n\n14\n\nGPT-4.1\nGPT-4o\nGemini 2.5 Flash\nGemini 2.5 Pro\nGemini 3.5 Flash\nGPT-5.5\no3-mini\n\n10\n8\n6\n4\n2\n\n12\nGPT-4.1\nGPT-4o\nGemini 2.5 Flash\nGemini 2.5 Pro\nGemini 3.5 Flash\nGPT-5.5\no3-mini\n\n10\n8\n6\n4\n2\n\n0\n\n0\n0\n\n5\n\n10\n\n15\n\n20\n\n25\n\n30\n\n0\n\n5\n\nExploration episodes\n\nICL Plants-vs-Zombies\n\n15\n\n20\n\n25\n\n30\n\nSummary Plants-vs-Zombies\n60\n\n50\n\nStrict-mode score\n\n60\n\nStrict-mode score\n\n10\n\nExploration episodes\n\nGPT-4.1\nGPT-4o\nGemini 2.5 Flash\nGemini 2.5 Pro\nGemini 3.5 Flash\nGPT-5.5\no3-mini\n\n40\n30\n20\n10\n\n50\n\nGPT-4.1\nGPT-4o\nGemini 2.5 Flash\nGemini 2.5 Pro\nGemini 3.5 Flash\nGPT-5.5\no3-mini\n\n40\n30\n20\n10\n\n0\n\n0\n0\n\n5\n\n10\n\n15\n\n20\n\n25\n\n30\n\n0\n\nExploration episodes\n\n5\n\n10\n\n15\n\n20\n\n25\n\n30\n\nExploration episodes\n\nFigure 5 Paired History-ICL and Summary-Memory trajectories for Snake and Plants-vs-Zombies. Within each game,\nboth pathways use the same vertical scale.\n\n14\n\n\fICL Trust Evolution\n\nSummary Trust Evolution\n20\n\nStrict-mode score\n\nStrict-mode score\n\n20\nGPT-4.1\nGPT-4o\nGemini 2.5 Flash\nGemini 2.5 Pro\nGemini 3.5 Flash\nGPT-5.5\no3-mini\n\n15\n10\n5\n0\n\nGPT-4.1\nGPT-4o\nGemini 2.5 Flash\nGemini 2.5 Pro\nGemini 3.5 Flash\nGPT-5.5\no3-mini\n\n15\n10\n5\n0\n\n0\n\n5\n\n10\n\n15\n\n20\n\n25\n\n30\n\n0\n\n5\n\nExploration episodes\n\n10\n\n15\n\n20\n\n25\n\n30\n\nExploration episodes\n\nFigure 6 Paired History-ICL and Summary-Memory trajectories for Trust Evolution.\n\narea above the initial baseline,\n+\n\nZ 19\nmax(0, y(e) − y0 ) de,\n\nAUC =\n0\n\nwhere y(e) is obtained by linearly interpolating adjacent checkpoints.\nchess\nminesweeper\n\nnullify\npvz\n\nsnake\ntetris\n\ntrust\n\n0.8\n\n25\n\nScore\n\n20\n\n0.6\n\n15\n0.4\n10\n0.2\n\n5\n0\n\nChess score (0-1 scale)\n\n1.0\n\n30\n\n0.0\n0.0\n\n2.5\n\n5.0\n\n7.5\n\n10.0\n\n12.5\n\n15.0\n\n17.5\n\nEpisode\n\nFigure 7 Strict-mode evaluation performance of Qwen3-8B over 20 training checkpoints. Epoch 0 denotes the original\nmodel. Because the games use different score scales, each trajectory should be interpreted relative to its own initial\nperformance.\n\n• Training yields substantial self-improvement on Trust Evolution. The score rises from 0 to a maximum\nof 30 and remains above the initial baseline at 18 of the 19 updated checkpoints. The post-training\naverage reaches 8.684 and AUC+ reaches 163.5, providing the clearest evidence that interaction-derived\nstrategies can be internalized into model parameters.\n• The gains on Chess and Snake are limited or transient. Chess remains at zero for most checkpoints\nbut reaches 0.0667 at the final checkpoint, indicating a sparse yet positive gain. Snake reaches a score\nof 1 at epochs 8, 12, and 15 but subsequently returns to zero. Training therefore discovers occasional\nsuccessful behavior without retaining it consistently.\n• Minesweeper, Nullify, and Tetris show no measurable improvement. Their evaluation scores remain\nzero throughout training. One possible explanation is that exploration produces too few successful\n15\n\n\ftrajectories to bootstrap an effective supervised signal, although verifying this hypothesis requires\ntrajectory-level analysis.\n• Training produces clear negative transfer on Plants-vs-Zombies. The initial score is 23, whereas\nevery updated checkpoint obtains a score of 6. This persistent degradation indicates that parameter\nupdates can overwrite previously effective behavior. Potential causes include overfitting to exploration\ntrajectories, mismatch between relaxed exploration and strict evaluation, or unreliable Self-Judging\nsignals.\n• Overall, parameter training enables self-improvement, but not consistently across tasks. Qwen3-8B\nimproves substantially on Trust Evolution, weakly on Chess, and intermittently on Snake, while showing\nno improvement on three games and severe degradation on Plants-vs-Zombies. Effective training-level\nself-improvement therefore depends not only on the ability to update parameters, but also on the quality,\ndiversity, and correctness of the experience being internalized.\n\n6.2\n\nRQ2: Is Agent Self-Judging Reliable?\n\nSelf-Judging is a central component of S3 Gym because the model-generated score si is stored with each\ntransition and subsequently influences trajectory selection, summary construction, and training-data generation.\nIf si is misaligned with the environment signal, the agent may preserve harmful actions as useful experience\nor discard transitions that should have been retained. We therefore evaluate Self-Judging as an independent\ncapability and examine whether judgment quality predicts subsequent improvement.\nStep-level reliability. For each transition, we compare the model-generated score si with the environment\nreward ri . We first measure event agreement, which indicates whether the model and environment agree on\nthe presence of a positive outcome:\nN\n\n1 X\n1 [1(si &gt; 0) = 1(ri &gt; 0)] .\nAgree =\nN i=1\n\n(21)\n\nBecause reward scales differ across games, we additionally report normalized mean absolute error:\nN\n\nNMAE =\n\n1 X si − smin\nri − rmin\n.\n−\nN i=1 smax − smin\nrmax − rmin\n\n(22)\n\nWe also measure over-confidence, Pr(si &gt; 0, ri ≤ 0), and under-confidence, Pr(si ≤ 0, ri &gt; 0). The analysis\ncovers the seven target models and games under both direct-history and summary-memory conditions,\ncomprising 98 runs and 116,117 transitions.\nGame\n\nChess\nMinesweeper\nNullify\nPvZ\nSnake\nTetris\nTrust\n\nAgreement NMAE Over-conf. Under-conf.\n\n0.496\n0.820\n0.827\n0.881\n0.879\n0.846\n0.665\n\n0.141\n0.524\n0.056\n0.882\n0.121\n0.041\n0.392\n\n0.365\n0.062\n0.170\n0.032\n0.110\n0.151\n0.291\n\n0.139\n0.118\n0.004\n0.087\n0.011\n0.002\n0.044\n\nTable 5 Step-level reliability of model Self-Judging. Agreement measures binary agreement on whether a transition\nreceives a positive score. NMAE measures score calibration after game-level min–max normalization.\n\nTable 5 shows that Self-Judging is only partially reliable. PvZ, Snake, Tetris, Minesweeper, and Nullify exhibit\nrelatively high event agreement, but this result is partly explained by the large proportion of zero-reward\n16\n\n\ftransitions. NMAE reveals whether the magnitude of the model’s judgment is also well calibrated. Tetris\nand Nullify achieve low NMAE, whereas PvZ exhibits the largest calibration error despite its high binary\nagreement. Models can therefore recognize whether an action appears locally useful while substantially\nmisestimating its value.\nChess and Trust are the clearest failure cases. Chess has near-random event agreement and the highest\nover-confidence rate. A prediction may be syntactically complete while still misplacing several pieces, causing\nthe model’s confidence in its response to diverge from the environment score. Trust similarly exhibits weak\nagreement, high NMAE, and substantial over-confidence. These results suggest that Self-Judging becomes less\nreliable when reward depends on hidden dynamics, opponent strategy, or exact multi-object state prediction\nrather than an immediately observable local consequence.\nJudgment–improvement coupling. Reliable local judgments are useful only if the agent can convert them\ninto better subsequent behavior. To test this relationship, we divide exploration trajectories into blocks\nBt between adjacent evaluation checkpoints. For each block, we calculate event agreement At , normalized\ncalibration error Et , and the normalized score change at the following evaluation:\ngt =\n\nyt − yt−3\n.\nmaxg,τ yg,τ − ming,τ yg,τ\n\n(23)\n\nWe then measure ρ(At , gt ) and ρ(−Et , gt ), together with the difference in average score gain between the\nhighest- and lowest-quality judgment tertiles.\nGame\n\nAll\nChess\nMinesweeper\nNullify\nPvZ\nSnake\nTetris\nTrust\n\nρ(A, g) ρ(−E, g) GapA GapE\n-0.010\n-0.014\n0.071\n-0.032\n-0.038\n0.022\n-0.048\n-0.014\n\n-0.018\n-0.058\n0.006\n-0.082\n-0.023\n0.022\n-0.021\n-0.003\n\n-0.004\n0.028\n0.069\n-0.065\n0.014\n0.009\n0.010\n-0.001\n\n-0.016\n-0.039\n0.005\n-0.058\n0.010\n0.009\n0.004\n0.006\n\nTable 6 Blockwise judgment–improvement coupling. A is event agreement, E is normalized calibration error, and g\nis the normalized strict-mode score change at the subsequent evaluation. The gap metrics compare the highest and\nlowest judgment- quality tertiles.\n\nThe coupling results are close to zero across the full benchmark: ρ(A, g) = −0.010 and ρ(−E, g) = −0.018.\nThe corresponding tertile gaps are also small and slightly negative. Minesweeper exhibits a weak positive\nrelationship between event agreement and subsequent score gain, but its calibration coupling remains negligible.\nOverall, accurate local scoring does not reliably produce improvement at the next evaluation checkpoint.\nThe run-level analysis leads to the same conclusion. To quantify sustained improvement while accounting for\ndifferences in initial performance, we use the normalized above-baseline area (NABA), defined as\nNABA =\n\nAUC+\n,\nmax(y0 , ϵ)\n\nwhere y0 is the initial evaluation score and ϵ denotes the first non-zero score scale when y0 = 0. Event\nagreement exhibits only weak negative correlations with NABA under both Pearson and Spearman measures\n(r = −0.23 and ρ = −0.11), while the positive-reward and positive-self-score rates show only weak positive\ncorrelations. These results indicate that accurate local Self-Judging alone is insufficient for Self-Improvement:\nagents must also transform feedback into reusable state abstractions, decision rules, and exploration strategies.\n\n17\n\n\f6.3\n\nRQ3: Do Score-Conditioned Summaries Produce Effective Iteration Directions?\n\nSummary Memory imposes a stronger requirement than direct history reuse. Rather than merely conditioning\non previous trajectories, the model must identify which low-scoring behaviors should be suppressed, which\nhigh-scoring behaviors should be retained, and how these observations should be converted into an executable\nstrategy for future episodes. We evaluate this capability by comparing score-conditioned summaries with\ndirect-history ICL and by inspecting representative successful and unsuccessful summaries.\nSummary Memory versus direct history. For every model–game pair, we calculate ∆NABA as SummaryMemory NABA minus Direct-History NABA. Positive values indicate that summarization produces a more\neffective improvement trajectory than retaining the raw interaction history.\nGame\n\nChess\nMinesweeper\nNullify\nPvZ\nSnake\nTetris\nTrust\n\nPairs Summary wins History wins Ties Mean ∆NABA\n\n7\n7\n7\n7\n7\n7\n7\n\n3\n3\n4\n3\n3\n5\n4\n\n3\n4\n2\n4\n4\n1\n3\n\n1\n0\n1\n0\n0\n1\n0\n\n3.37\n-1.12\n2.79\n-2.11\n-0.81\n6.20\n8.43\n\nTable 7 Summary Memory compared with direct-history ICL. Each pair evaluates the same model and game under\nthe two history-organization strategies.\n\nSummary Memory improves average NABA on Nullify, Tetris, and Trust. These environments admit compact\nand reusable abstractions, such as planning backward toward exact cancellation, preserving a stable board\nsurface, or adapting behavior to an inferred opponent strategy. In such cases, summaries remove redundant\ntrajectory details while retaining the information most relevant to future decisions.\nIn contrast, direct history performs better on average in Minesweeper, PvZ, and Snake. These games depend\nheavily on local board configurations, lane timing, hazard positions, and partially observed risk. A summary\nmay preserve a sensible high-level objective while discarding the state-contingent details required to execute\nit correctly. Summary Memory is therefore most effective when experience can be compressed into a stable\npolicy rule, rather than when success depends on reconstructing the exact current state.\nTrajectory-level evidence. The following cases illustrate when score-conditioned summaries become executable\niteration directions and when they remain too generic to improve behavior.\nSuccessful summaries\no3-mini / Tetris\n\nSummary direction. Jointly inspect the current and next\n\nGPT-5.5 / Trust\n\nblocks, test alternative rotations, prioritize line-clearing\nplacements, and maintain a low surface without isolated\nholes.\nTrajectory evidence. In episode 10, the agent cleared\nfour lines. It selected 8 0 twice, with both its self-score\nand the environment reward equal to 1.0 on each move.\nOutcome. ∆NABA = +14.42.\nTakeaway. The summary converts successful line clears\ninto an executable look-ahead rule.\n\nSummary direction. Always defect when the observed\npayoff structure consistently favors defection; avoid unnecessary reciprocal exploration.\nTrajectory evidence. At the first decision, the agent\nselected cheat and received an environment reward of 3.0.\nOutcome. ∆NABA = +66.89.\nTakeaway. The summary translates payoff feedback into\nan explicit opponent-conditioned policy.\n\n18\n\n\fGemini-2.5-Flash / Minesweeper\n\nGemini-3.5-Flash / Nullify\n\nSummary direction. Apply local number constraints:\n\nSummary direction. Plan backward to create exact\n\nexpand zero regions, flag forced mines, and uncover cells\nthat are provably safe.\nTrajectory evidence. The agent selected flag (2,2) on\na partially revealed board and received a reward of 0.0625.\nOutcome. ∆NABA = +25.49.\nTakeaway. Summaries help when they express local\nreasoning as executable constraint rules.\n\nopposites, use floor or ceiling operations to remove decimals,\nand track index changes after every merge.\nTrajectory evidence. With terminal units -19 and 19,\nthe agent selected 0 1 and received a reward of 1.0.\nOutcome. ∆NABA = +8.50.\nTakeaway. The summary succeeds because it specifies a\nconcrete arithmetic planning procedure.\n\nFailure summaries\nGPT-5.5 / PvZ\n\nGemini-3.5-Flash / Chess\n\nSummary direction. Prioritize sun production, early\n\nSummary direction. Track the movement rule of ev-\n\ndefense, Wall-nut stalling, and coverage of threatened lanes.\nTrajectory evidence. The agent opened with X 1 0 and\nreceived a reward of 1.0, but its later strict score fell from\n38.67 to 32.33.\nOutcome. ∆NABA = −2.56.\nTakeaway. The advice is reasonable but too coarse to\ncapture lane timing, current zombie positions, and the\navailable sun budget.\n\nery piece and verify all coordinates before submitting the\nanswer.\nTrajectory evidence. In a low-scoring episode, the\nmodel produced END and received zero total reward despite\nhaving generated a detailed rule summary.\nOutcome. ∆NABA = −33.27.\nTakeaway. A high-level reminder does not resolve the\nexact multi-piece localization problem.\n\nGPT-4.1 / Minesweeper\nGPT-4o / Snake\n\nSummary direction. Begin from corners, expand zero\n\nSummary direction. Move toward food while avoiding\nwalls, obstacles, the snake body, and direct reversals.\nTrajectory evidence. Given a board containing food,\nobstacles, and its own body, the agent selected DOWN; it\nreceived no reward, and the strict score fell from 1.0 to 0.\nOutcome. ∆NABA = −22.00.\nTakeaway. The summary omits the precise geometry\nrequired for safe navigation.\n\nregions, flag only certain mines, and stop when no safe\nprogress is available.\nTrajectory evidence. The agent selected uncover (8,0)\nafter exhausting its available lives, and the subsequent\ncheckpoint score fell from 0.0606 to 0.\nOutcome. ∆NABA = −22.09.\nTakeaway. Generic heuristics do not substitute for exact\nconstraint propagation.\n\nTaken together, these cases reveal two requirements for effective summary-based improvement. First, the\nscore must identify a meaningful and reusable failure mode rather than merely indicate that the episode ended\npoorly. Second, the summary must convert that signal into an action rule precise enough to execute in a new\nstate. Summary Memory is therefore a selective improvement mechanism: it is effective when experience\nadmits compact causal abstractions, but it cannot universally replace direct access to state-rich interaction\nhistories.\n\n7\n\nConclusion\n\nS3GYM turns self-improvement from a broad claim into a measurable agent capability. By separating\nrelaxed exploration from stricter evaluation, and by supporting both context-level and training-level reuse of\ntrajectories, the benchmark tests whether LLMs can transform interaction history into future performance.\nThe evidence so far is mixed in a useful way. Summary memory helps in games where compact rules transfer\nacross episodes, while direct history is often better in reactive control games where details matter. Training\non self-generated trajectories remains unstable in the current implementation. These findings suggest that\nfuture self-improving agents need better judgment calibration, memory selection, and trajectory filtering, not\njust more interaction data.\n\n19\n\n\f8\n\nContributions\n\nCore Contributors\n\nJiajun Shi, Siyuan Tao, Yuhao Wu, Zexuan Wang, Jingyuan Zhang\nContributors\n\nJiaheng Liu, Xinping Lei, Xinrong Zhang, Siyuan Fang, Zhewen Tan, Tianle Cai, Junhao Fang, Jiameng\nHuang, Yueyang Wang, Jinkai Liu, Yuxuan Zhang\nCorresponding Authors\n\nJian Yang , Zhoujun Li, Shen Yan, Wenhao Huang , Ge Zhang\n\nReferences\n[1] Emre Can Acikgoz, Cheng Qian, Heng Ji, Dilek Hakkani-Tür, and Gokhan Tur. Self-improving llm agents at\ntest-time. arXiv preprint arXiv:2510.07841, 2025. URL https://arxiv.org/abs/2510.07841.\n[2] Chris Argyris and Donald A. Sch\"on. Organizational Learning: A Theory of Action Perspective. Addison-Wesley,\nReading, MA, 1978. ISBN 9780201001747.\n[3] Aditya Challapally, Chris Pease, Ramesh Raskar, and Pradyumna Chari. The GenAI divide: State of AI in business\n2025. https://www.artificialintelligence-news.com/wp-content/uploads/2025/08/ai_report_2025.pdf,\n2025. Industry report.\n[4] Yizhe Chi, Wenyi Li, Deyao Hong, Xiaoqiu Wang, Mingju Gao, Kaisen Yang, Bingxiang He, Youjie Zheng, Calvin\nXiao, and Qinhuai Na. Ai4ai-bench: Benchmarking llm agents in algorithmic design for recursive self-improvement.\narXiv preprint arXiv:2608.20318, 2026. URL https://arxiv.org/abs/2608.20318.\n[5] Marc-Alexandre Côté, Ákos Kádár, Xingdi Yuan, Ben Kybartas, Tavian Barnes, Emery Fine, James Moore,\nRuo Yu Tao, Matthew Hausknecht, Layla El Asri, Mahmoud Adada, Wendy Tay, and Adam Trischler. TextWorld:\nA learning environment for text-based games. arXiv preprint arXiv:1806.11532, 2018. URL https://arxiv.org/\nabs/1806.11532.\n[6] Bo Deng, Kang Zhou, Lifan Guo, Chongyang Tao, Xuanren Chen, Chenggang Xie, Renzhao Liang, Feng Chen, and\nChi Zhang. Finevo-bench: A longitudinal benchmark for self-evolving agents in professional financial workflows.\narXiv preprint arXiv:2608.06144, 2026. URL https://arxiv.org/abs/2608.06144.\n[7] Zihao Deng, Yining Zhu, Leiming Wang, Junbo Wang, and Jingfei Lu. Tree-of-experience: Hierarchical experience\nmanagement for self-evolving agents. arXiv preprint arXiv:2608.09044, 2026. URL https://arxiv.org/abs/\n2608.09044.\n[8] John Dewey. How We Think: A Restatement of the Relation of Reflective Thinking to the Educative Process.\nD. C. Heath and Company, Boston, MA, 2 edition, 1933.\n[9] Zi-Yi Dou, Cheng-Fu Yang, Xueqing Wu, Kai-Wei Chang, and Nanyun Peng. Re-ReST: Reflection-reinforced selftraining for language agents. In Proceedings of the 2024 Conference on Empirical Methods in Natural Language\nProcessing, pages 15394–15411, Miami, Florida, USA, November 2024. Association for Computational Linguistics.\ndoi: 10.18653/v1/2024.emnlp-main.861. URL https://aclanthology.org/2024.emnlp-main.861/.\n[10] Tianyi Guan, Yiding Wang, Haotong Yang, Siyuan Cao, Shirui Liu, Yi Hu, Jiaqi Li, and Muhan Zhang.\nContinualskillbench: Can llm agents truly evolve their capabilities? arXiv preprint arXiv:2608.03874, 2026. URL\nhttps://arxiv.org/abs/2608.03874.\n[11] Caglar Gulcehre, Tom Le Paine, Srivatsan Srinivasan, Ksenia Konyushkova, Lotte Weerts, Abhishek Sharma,\nAditya Siddhant, Alex Ahern, Miaosen Wang, Chenjie Gu, Wolfgang Macherey, Arnaud Doucet, Orhan Firat, and\nNando de Freitas. Reinforced self-training (ReST) for language modeling. arXiv preprint arXiv:2308.08998, 2023.\nURL https://arxiv.org/abs/2308.08998.\n[12] Keyu He, Xuhui Zhou, and Maarten Sap. Social gym and spartan: Benchmarking and improving llm social\nreasoning via multi-agent game tournaments. arXiv preprint arXiv:2608.09128, 2026. URL https://arxiv.org/\nabs/2608.09128.\n\n20\n\n\f[13] Sihang Jiang, Lipeng Ma, Zhonghua Hong, Keyi Wang, Zhiyu Lu, Shisong Chen, Jinghao Zhang, Tianjun Pan,\nWeijia Zhou, Jiaqing Liang, and Yanghua Xiao. Sea-eval: A benchmark for evaluating self-evolving agents beyond\nepisodic assessment. arXiv preprint arXiv:2604.08988, 2026. URL https://arxiv.org/abs/2604.08988.\n[14] David A. Kolb. Experiential Learning: Experience as the Source of Learning and Development. Prentice-Hall,\nEnglewood Cliffs, NJ, 1984. ISBN 9780132952613.\n[15] Xiao Liu, Hao Yu, Hanchen Zhang, Yifan Xu, Xuanyu Lei, Hanyu Lai, Yu Gu, Hangliang Ding, Kaiwen\nMen, Kejuan Yang, Shudan Zhang, Xiang Deng, Aohan Zeng, Zhengxiao Du, Chenhui Zhang, Sheng Shen,\nTianjun Zhang, Yu Su, Huan Sun, Minlie Huang, Yuxiao Dong, and Jie Tang. AgentBench: Evaluating\nLLMs as agents. In The Twelfth International Conference on Learning Representations, 2024. URL https:\n//openreview.net/forum?id=zAdUB0aCTQ.\n[16] Chang Ma, Junlei Zhang, Zhihao Zhu, Cheng Yang, Yujiu Yang, Yaohui Jin, Zhenzhong Lan, Lingpeng Kong,\nand Junxian He. AgentBoard: An analytical evaluation board of multi-turn LLM agents. In Advances in Neural\nInformation Processing Systems, volume 37, 2024. URL https://arxiv.org/abs/2401.13178.\n[17] James G. March. Exploration and exploitation in organizational learning. Organization Science, 2(1):71–87, 1991.\ndoi: 10.1287/orsc.2.1.71.\n[18] Gergely Orosz. What are forward deployed engineers, and why are they so in demand? https://newsletter.\npragmaticengineer.com/p/forward-deployed-engineers, 2025. The Pragmatic Engineer.\n[19] Siru Ouyang, Jun Yan, I-Hung Hsu, Yanfei Chen, Ke Jiang, Zifeng Wang, Rujun Han, Long T. Le, Samira\nDaruki, Xiangru Tang, Vishy Tirumalashetty, George Lee, Mahsan Rofouei, Hangfei Lin, Jiawei Han, Chen-Yu\nLee, and Tomas Pfister. Reasoningbank: Scaling agent self-evolving with reasoning memory. arXiv preprint\narXiv:2509.25140, 2025. URL https://arxiv.org/abs/2509.25140.\n[20] Palantir Technologies. A day in the life of a Palantir forward deployed software engineer. https://blog.palantir.\ncom/a-day-in-the-life-of-a-palantir-forward-deployed-software-engineer-45ef2de257b1, 2020.\n[21] Karl R. Popper. The Logic of Scientific Discovery. Hutchinson, London, 1959.\n[22] Ben Rank, Hardik Bhatnagar, Ameya Prabhu, Shira Eisenberg, Karina Nguyen, Matthias Bethge, and Maksym\nAndriushchenko. Posttrainbench: Can llm agents automate llm post-training? In International Conference on\nMachine Learning (ICML), 2026. URL https://arxiv.org/abs/2603.08640.\n[23] Donald A. Sch\"on. The Reflective Practitioner: How Professionals Think in Action. Basic Books, New York, NY,\n1983. ISBN 9780465068746.\n[24] Linfang Shang, Ming Xu, Yiding Sun, Tianle Xia, Lingxiang Hu, Lan Xu, and Ning Zheng. When self-evolution\nbackfires: Pre-commit gating against skill contamination in llm agents. arXiv preprint arXiv:2608.05810, 2026.\nURL https://arxiv.org/abs/2608.05810.\n[25] Jiajun Shi, Jian Yang, Jiaheng Liu, Xingyuan Bu, Jiangjie Chen, Junting Zhou, Kaijing Ma, Zhoufutu Wen,\nBingli Wang, Yancheng He, Liang Song, Hualei Zhu, Shilong Li, Xingjian Wang, Wei Zhang, Ruibin Yuan, Yifan\nYao, Wenjun Yang, Yunli Wang, Siyuan Fang, Siyu Yuan, Qianyu He, Xiangru Tang, Yingshui Tan, Wangchunshu\nZhou, Zhaoxiang Zhang, Zhoujun Li, Wenhao Huang, and Ge Zhang. KORGym: A Dynamic Game Platform for\nLLM Reasoning Evaluation. arXiv e-prints, art. arXiv:2505.14552, May 2025. doi: 10.48550/arXiv.2505.14552.\n[26] Noah Shinn, Federico Cassano, Ashwin Gopinath, Karthik Narasimhan, and Shunyu Yao. Reflexion: Language agents with verbal reinforcement learning. In Advances in Neural Information Processing Systems,\nvolume 36, pages 8634–8652, 2023. URL https://proceedings.neurips.cc/paper_files/paper/2023/hash/\n1b44b878bb782e6954cd888628510e90-Abstract-Conference.html.\n[27] Mohit Shridhar, Xingdi Yuan, Marc-Alexandre Côté, Yonatan Bisk, Adam Trischler, and Matthew Hausknecht.\nALFWorld: Aligning text and embodied environments for interactive learning. In The Ninth International\nConference on Learning Representations, 2021. URL https://openreview.net/forum?id=0IOX0YcCdTn.\n[28] Sijun Tan, Siyuan Zhuang, Kyle Montgomery, William Y. Tang, Alejandro Cuadron, Chenguang Wang, Raluca Ada\nPopa, and Ion Stoica. JudgeBench: A benchmark for evaluating LLM-based judges. In The Thirteenth International\nConference on Learning Representations, 2025. URL https://openreview.net/forum?id=G0dksFayVq.\n[29] The New Stack. Why OpenAI and Anthropic are hiring forward deployed engineer teams. https://thenewstack.\nio/forward-deployed-engineers-ai/, 2026.\n\n21\n\n\f[30] Guanzhi Wang, Yuqi Xie, Yunfan Jiang, Ajay Mandlekar, Chaowei Xiao, Yuke Zhu, Linxi Fan, and Anima Anandkumar. Voyager: An open-ended embodied agent with large language models. arXiv preprint arXiv:2305.16291,\n2023. URL https://arxiv.org/abs/2305.16291.\n[31] Ruoyao Wang, Peter Jansen, Marc-Alexandre Côté, and Prithviraj Ammanabrolu. ScienceWorld: Is your agent\nsmarter than a 5th grader? In Proceedings of the 2022 Conference on Empirical Methods in Natural Language\nProcessing, pages 11279–11298, Abu Dhabi, United Arab Emirates, December 2022. Association for Computational\nLinguistics. doi: 10.18653/v1/2022.emnlp-main.775. URL https://aclanthology.org/2022.emnlp-main.775/.\n[32] Wenxiao Wang, Priyatham Kattakinda, and Soheil Feizi. Do agent optimizers compound? a continual-learning\nevaluation on terminal-bench 2.0. arXiv preprint arXiv:2607.14004, 2026. URL https://arxiv.org/abs/2607.\n14004.\n[33] Zefeng Wang, Minxi Yan, Jinhe Bi, Sikuan Yan, Volker Tresp, and Yunpu Ma. Metaskill-evolve: Recursive\nself-improvement of llm agents via two-timescale meta-skill evolution. arXiv preprint arXiv:2607.05297, 2026.\nURL https://arxiv.org/abs/2607.05297.\n[34] Shuhan Xue, Zixin Ding, Yichen Shen, Yinjie Wang, Zhenfei Yin, Yingcheng Wu, Yuxin Chen, Mengdi Wang, and\nLing Yang. Past-bench: Benchmarking the foundations of recursive self-improvement in personal agents. arXiv\npreprint arXiv:2608.04003, 2026. URL https://arxiv.org/abs/2608.04003.\n[35] Qinyuan Ye, Yu Li, Yada Pruksachatkun, Jiaxin Zhang, and Chien-Sheng Wu. On the fragility of self-improving\nagents: Variance, task order, and underspecification. arXiv preprint arXiv:2608.18066, 2026. URL https:\n//arxiv.org/abs/2608.18066.\n[36] Weizhe Yuan, Richard Yuanzhe Pang, Kyunghyun Cho, Xian Li, Sainbayar Sukhbaatar, Jing Xu, and Jason E.\nWeston. Self-rewarding language models. In Proceedings of the 41st International Conference on Machine\nLearning, volume 235 of Proceedings of Machine Learning Research, pages 57905–57923. PMLR, 2024. URL\nhttps://proceedings.mlr.press/v235/yuan24d.html.\n[37] Eric Zelikman, Yuhuai Wu, Jesse Mu, and Noah D. Goodman. STaR: Bootstrapping reasoning with reasoning.\nIn Advances in Neural Information Processing Systems, volume 35, pages 15476–15488, 2022. URL https:\n//arxiv.org/abs/2203.14465.\n[38] Haiyue Zhang. Credit without ground truth: Auditing step-level credit assignment in llm agents against executed\nreplay. arXiv preprint arXiv:2608.19760, 2026. URL https://arxiv.org/abs/2608.19760.\n[39] Xiaoying Zhang, Zichen Liu, Yipeng Zhang, Xia Hu, and Wenqi Shao. Retroagent: From solving to evolving\nvia retrospective dual intrinsic feedback. arXiv preprint arXiv:2603.08561, 2026. URL https://arxiv.org/abs/\n2603.08561.\n[40] Congjie Zheng, Chuanyi Xue, Bin Liang, Jun Yang, and Changshui Zhang. Seagym: An evaluation environment\nfor self-evolving llm agents. arXiv preprint arXiv:2606.17546, 2026. URL https://arxiv.org/abs/2606.17546.\n[41] Lianmin Zheng, Wei-Lin Chiang, Ying Sheng, Siyuan Zhuang, Zhanghao Wu, Yonghao Zhuang, Zi Lin, Zhuohan\nLi, Dacheng Li, Eric P. Xing, Hao Zhang, Joseph E. Gonzalez, and Ion Stoica. Judging LLM-as-a-judge with MTBench and Chatbot Arena. In Advances in Neural Information Processing Systems, volume 36, pages 46595–46623,\n2023. URL https://arxiv.org/abs/2306.05685.\n\n22\n\n\fAppendix\nA\n\nGame Prompt Templates\n\nThis appendix documents the canonical prompts used for the seven games in the main experiments. The\ntemplates are transcribed from test/S3GYM/envs/*/prompt.py. We normalize whitespace and replace episodespecific values with angle-bracket placeholders (e.g., &lt;BOARD&gt;); the game rules, action spaces, coordinate\nconventions, and required answer syntax follow the implementation. At inference time, the game-specific\nsystem prompt is concatenated with the current step prompt and, for memory-based agents, the available\nHint Messages.\n\nA.1\n\nShared Interaction Protocol\n\nSix games prepend the shared base instruction described below, whereas Trust Evolution uses its own gamespecific system instruction. Both memory conditions retain the same game rules, dynamic state, legal action\nspace, and self-judging contract. They differ only in how experience from previous exploration episodes is\nrepresented before the current state.\nDirect memory: raw-history in-context learning\nDirect memory serializes every retained step from previous episodes as an environment–agent pair, Env:\n&lt;STATE&gt; followed by LLM: Answer: &lt;ACTION&gt;, Score: &lt;SELF-SCORE&gt;. At action time, the model receives\nthe following composition:\nHint Messages:\n&lt;RAW HISTORY FROM PREVIOUS EPISODES&gt;\nGame history of current episode:\n&lt;RAW HISTORY FROM EARLIER STEPS IN THIS EPISODE&gt;\n&lt;GAME SYSTEM PROMPT + CURRENT STEP PROMPT&gt;\n\nThe implementation preserves the current-episode history and current game prompt in full, while truncating\nthe tail of the previous-episode history when the context budget is exceeded.\nSummary memory: score-conditioned strategy compression\nAt step 0 of each episode, Summary memory first makes a separate compression call over the game rule and\ntruncated previous-episode history:\nRule:\n&lt;GAME SYSTEM PROMPT&gt;\nHistory:\n&lt;TRUNCATED RAW HISTORY FROM PREVIOUS EPISODES&gt;\nPlease summarize practical experience and recommendations ...\nTips: &lt;BULLET-POINTED STRATEGY SUMMARY&gt;\n\nThe extracted Tips are cached for the session and reused at later steps. The action-time input is then\nHint Messages:\n&lt;SUMMARIZED TIPS&gt;\n&lt;GAME SYSTEM PROMPT&gt;\nGame history of current episode:\n&lt;RAW HISTORY FROM EARLIER STEPS IN THIS EPISODE&gt;\n&lt;GAME SYSTEM PROMPT + CURRENT STEP PROMPT&gt;\n\nThus, only cross-episode experience is compressed; the current episode remains available as raw state–action–\nscore history. In the released implementation, the game system prompt appears once with the cached summary\nprefix and again with the current step prompt.\n\n23\n\n\fRegardless of memory condition, the model must report both an action and its self-judged immediate score.\nThe shared final-line contract is\nShared response contract\nAnswer:\n\n&lt;ACTION&gt;, Score:\n\n&lt;SELF-JUDGED SCORE&gt;.\n\nIf the agent determines that the episode has terminated, it returns Answer:\n\nEND, Score:\n\n0.\n\nThe self-judged score is intended to be the reward obtained by the proposed action under the stated game\nrules, rather than a free-form confidence value. Table 8 summarizes the observation and action interfaces\nbefore the full templates are presented.\nGame\n\nMain dynamic observation\n\nValid action form\n\nChess\n\nN × N board with labeled pieces and empty cells\n\nMinesweeper\n\nPartially revealed grid with numbers, flags, and\nunknown cells\nIndexed list of signed values and arithmetic operators\nFixed-cell board and next-block rendering\nGrid containing walls, head, body, food, and obstacles\nBattlefield, sun budget, plants, zombies, and turn\nstate\nInteraction round and action/payoff history\n\nCoordinates for one or more labeled\npieces\nuncover, flag, or unflag\n\nNullify\nTetris\nSnake\nPlants-vs-Zombies\nTrust Evolution\n\nTwo unit indices\nDrop column and rotation angle\nLEFT/RIGHT/UP/DOWN\nZero or more plant placements\ncollaborate or cheat\n\nTable 8 Observation and action interfaces exposed by the canonical game prompts.\n\nA.2\n\nState Inference and Deduction\n\nChess-style state prediction\n\nSystem instruction. You are playing a step-by-step piece-position prediction game on an N × N board. Empty cells are\ndenoted by ., pieces are denoted by letters, coordinates are zero-based, and every piece follows its own hidden movement\nrule. Predict the next position of as many pieces as possible from the observed board-state sequence.\nDynamic state. Current Game State: followed by &lt;BOARD&gt;.\nDecision instruction. Predict the next-step location of each recoverable piece. Use the syntax A:(x,y), b:(x,y),\nc:(x,y), .... The agent may return END when it elects to stop.\nAnswer:\n\nA:(&lt;ROW&gt;,&lt;COL&gt;), b:(&lt;ROW&gt;,&lt;COL&gt;), ..., Score:\n\n&lt;SELF-JUDGED SCORE&gt;.\n\nMinesweeper\n\nSystem instruction. You are playing Minesweeper on a &lt;BOARD_ROWS&gt; × &lt;BOARD_COLS&gt; board with &lt;MINES&gt; hidden mines.\nUnknown cells are ?, flags are F, revealed counts are 0–8, and revealed mines are X. Coordinates are zero-based. Win by\nuncovering every safe cell or correctly flagging every mine; the episode ends at &lt;MAX_EPOCHS&gt; or when a mine is uncovered,\ndepending on the evaluation mode.\nDynamic state. Current Game State: followed by the partially observed &lt;BOARD&gt;.\nDecision instruction. Choose exactly one of uncover (r,c), flag (r,c), or unflag (r,c). The score is the ratio of\ncorrectly flagged mines to the total number of mines.\nAnswer:\n\nuncover (&lt;ROW&gt;,&lt;COL&gt;), Score:\n\n&lt;SELF-JUDGED SCORE&gt;.\n\n24\n\n\fA.3\n\nSymbolic and Spatial Planning\n\nNullify\n\nSystem instruction. The board contains indexed independent units. Signed numbers (+n or -n) can be combined with\nanother unit; available operators include multiplication, division, square root, square, reciprocal, floor, and ceiling. Combining\nequal-magnitude values with opposite signs produces zero and removes both units. The objective is to eliminate all units,\nyielding a final value of zero.\nDynamic state. Current game board: followed by one index,content pair per unit in &lt;INDEXED UNITS&gt;. Unit indices\nstart at zero and are updated after each combination.\nDecision instruction. Select the two indices to combine on the current turn. A successful complete cancellation receives\nscore 1; otherwise the terminal score is 0.\nAnswer:\n\n&lt;INDEX I&gt; &lt;INDEX J&gt;, Score:\n\n&lt;SELF-JUDGED SCORE&gt;.\n\nTetris\n\nSystem instruction. You are playing simplified Tetris on a &lt;BOARD_WIDTH&gt; × &lt;BOARD_HEIGHT&gt; board. The board shows\nfixed blocks as * and empty cells as .; the next-block panel uses #. A placed block falls until obstructed, each completed row\nis cleared for one point, and the episode terminates when a falling block extends above the board.\nDynamic state. Current Game State: &lt;BOARD&gt; and Next Block: &lt;NEXT_BLOCK&gt;.\nDecision instruction. Choose the one-based drop column of the block’s leftmost cell and a clockwise rotation in {0, 90,\n180, 270}. The objective is to maximize cleared rows.\nAnswer:\n\nA.4\n\n&lt;DROP COLUMN&gt; &lt;ROTATION ANGLE&gt;, Score:\n\n&lt;SELF-JUDGED SCORE&gt;.\n\nReactive Control and Strategic Interaction\n\nSnake\n\nSystem instruction. You control a snake on a &lt;GRID_WIDTH&gt; × &lt;GRID_HEIGHT&gt; grid. Walls are #, the head is H, body cells\nare S, apples are A, and obstacles are X. Eating an apple increases both length and score by one. A wall, self, obstacle, or\ninvalid-action collision terminates the game under strict rules. The snake cannot reverse direction and the episode is capped\nat &lt;MAX_STEPS&gt;.\nDynamic state. Current Game State: followed by &lt;BOARD&gt; and the current movement direction.\nDecision instruction. Choose exactly one next movement from LEFT, RIGHT, UP, or DOWN.\nAnswer:\n\n&lt;LEFT|RIGHT|UP|DOWN&gt;, Score:\n\n&lt;SELF-JUDGED SCORE&gt;.\n\nPlants-vs-Zombies\n\nSystem instruction. You are playing simplified Plants-vs-Zombies on a &lt;ROWS&gt; × &lt;COLS&gt; grid. Each turn gains at least\n25 sun; zombies spawn every five turns and move left, becoming stronger over time. Available plants are Sunflower (X),\nPeashooter (W), Three-Line Shooter (S), Wall-nut (J), Torch Stump (H), and Fire Chili (F), each with the costs and effects\nspecified in the system prompt. The score increases by one per survived turn; the game ends when a zombie reaches column\n−1 or after &lt;MAX_STEPS&gt;.\nDynamic state. Current Game State: followed by &lt;BATTLEFIELD&gt;, including the turn, sun budget, plant layout, and\nzombie states.\nDecision instruction. Place zero or more plants for the next turn. Each placement is PlantType Row Col; multiple\nplacements are separated by semicolons. Rows and columns are zero-based, and an empty action is allowed.\nAnswer:\n\nX &lt;ROW&gt; &lt;COL&gt;; W &lt;ROW&gt; &lt;COL&gt;, Score:\n\n&lt;SELF-JUDGED SCORE&gt;.\n\nTrust Evolution\n\nSystem instruction. You play a fixed-length repeated interaction against an opponent with a stable within-episode strategy.\nThe two actions are collaborate and cheat. Payoffs to the agent are +2 for mutual collaboration, −1 for collaborating\nagainst cheating, +3 for cheating against collaboration, and 0 for mutual cheating.\nDynamic state. Current Game State: followed by &lt;ROUND AND INTERACTION HISTORY&gt; for an episode of &lt;MAX_STEPS&gt;\nrounds.\nDecision instruction. Infer the opponent’s behavior from the observed interaction and select exactly one action for the\nnext round.\nAnswer:\n\n&lt;collaborate|cheat&gt;, Score:\n\n&lt;SELF-JUDGED SCORE&gt;.\n\n25\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"