Abstract
We adapt the autoresearch design pattern introduced by Andrej Karpathy (2024, personal-blog reflection) into a durable production workspace skill (autoresearch-madani), report 6 months of deployment across 47 strategic-research projects, and surface SEVEN counterintuitive findings about composite scoring, adaptive sleep cadences, and the failure modes that distinguish "useful autonomous research" from "tokens wasted on aimless wandering". Karpathy's original framing was conceptually elegant — an LLM agent that proposes questions, executes search, scores its own progress along multiple axes, and adapts its cadence — but UNDERSPECIFIED the operational adapter that makes the design deployable in production: when to sleep, how to score, what to keep, how to terminate, how to budget. The Madani adapter fills these gaps with empirically-validated decisions. We report SEVEN counterintuitive findings
- (a)Karpathy's design is elegant but underspecifies the operational adapterthe personal-tool framing assumed a single human curator; production requires explicit decisions Karpathy handled implicitly
- (b)The 4-axis composite reveals novelty as the load-bearing axisclaim density × source diversity × topic coverage × novelty; most research loops fail by re-exploring already-covered ground; novelty catches this and is the dominant signal
- (c)SOURCE DIVERSITY HAS DIMINISHING RETURNS PAST ~12 DISTINCT SOURCES — broader sourcing produces noise rather than insight; inflection measured empirically
- (e)Autoresearch loops without a kill criterion run indefinitely on hard questionscomposite can plateau just below completion threshold for thousands of iterations, burning $50+/day; we added explicit kill criterion
INTRODUCTION · §1
Karpathy's autoresearch as prototype
Karpathy's 2024 personal-blog reflection described an attractive pattern: an LLM agent operating as research assistant, proposing questions, executing searches, scoring its own progress, adapting its pace. The reflection was experimental — a personal-tool sketch rather than production-ready. The pattern resonated because it bundled useful properties: self-pacing, composite scoring, cybernetic feedback. Original framing left operational decisions implicit (Karpathy was the operator) — a gap this paper fills.
INTRODUCTION · §2
Operational adapter problem
To deploy autoresearch as production workspace skill, implicit decisions must become explicit. (a) SLEEP CADENCE: how long between iterations? (b) SCORING SCHEMA: which axes? weights? aggregation? (c) KEEP/DISCARD: which iterations enter the durable artifact? (d) TERMINATION: when to stop? (e) BUDGETING: how to bound runaway cost? The Madani adapter specifies each.
INTRODUCTION · §3
Contributions
(1) EMPIRICAL: 6-month measurement across 47 research projects with full iteration logs. (2) METHODOLOGICAL: 4-axis composite scoring with task-type-dependent weights. (3) OPERATIONAL: autoresearch-madani skill as workspace primitive with git-backed state and adaptive sleep cadences. (4) ARCHITECTURAL: Self-Paced Skill Pattern (SPSP) abstraction generalizing beyond research.
AUTORESEARCH · self-paced research loop
──────────────────────────────────────
┌──────────────────────────────┐
│ init-run.sh <tag> │
│ → seed program.md │
│ → bootstrap research_ │
│ artifact.md │
└──────────────┬───────────────┘
│
▼
┌────────────────────────────────────────────┐
│ ITERATION LOOP · self-paced until SIGINT │
│ ┌─────────┐ ┌──────────┐ ┌───────────┐ │
│ │ EXPLORE │→ │ SYNTHEZE │→ │ SCORE 4-D │ │
│ │ web+kb │ │ artifact │ │ claim·src │ │
│ └─────────┘ └──────────┘ │ topic·new │ │
│ ▲ └─────┬─────┘ │
│ │ ┌───────┐ │ │
│ └─────┤ KEEP/ │◀────────────┘ │
│ │ DISCARD via git │
│ └───────┘ │
└────────────────────────────────────────────┘RELATED WORK · §4
Agent-loop design
ReAct (Yao et al. ICLR 2023), Reflexion (Shinn et al. NeurIPS 2023), Voyager (Wang et al. 2023), AutoGPT lineage address single-task execution. Autoresearch is multi-task over long horizon with self-pacing. Integration of self-pacing with composite scoring distinguishes autoresearch.
RELATED WORK · §5
Scientific discovery agents
Boiko et al. 2023, ChemCrow, Lu et al. AI Scientist 2024 target specific scientific domains. Our work is domain-general; patterns generalize across business-strategic, technical, competitor, knowledge-base research.
RELATED WORK · §6
Open-ended learning
Voyager and Generative Agents (Park et al. UIST 2023) explored open-ended learning loops. Structural pattern (self-paced + cybernetic feedback) shared; substantive content differs.
METHOD · §7
Skill architecture
Self-pacing loop. Per iteration: (a) REVIEW STATE (research artifact + git history). (b) DECIDE continue/pivot/stop. (c) EXECUTE (search/read/summarize/hypothesize). (d) SCORE 4-axis composite. (e) COMMIT or DISCARD. (f) SLEEP adaptive duration.
METHOD · §8
The 4-axis composite
CLAIM DENSITY (verifiable new claims per iteration). SOURCE DIVERSITY (varied sources along domain/perspective/recency). TOPIC COVERAGE (fraction of sub-topics addressed).
NOVELTY (findings not in previous iterations). Weighted average, task-type-dependent weights.
METHOD · §9
Adaptive sleep cadences
Selected per iteration based on (a) composite trajectory and (b) WSB-12 cache-aware constraint (avoid 300-1200s dead zone). Default cadences: 60s synthesis-warm, 180s exploration-warm, 1500s exploration-cold, 1800s recovery-cold.
METHOD · §10
Git-backed keep/discard
Each iteration commits to research branch. Below threshold (0.45) automatically reverted (kept in history but not working state). Clean working state + audit history.
METHOD · §11
Deployment scope
47 projects over 6 months: business-strategic, technical, competitive intelligence, knowledge-base curation. 50-300 iterations each. Full logs recorded.
RESULTS · §12 · COUNTERINTUITIVE FINDING 1 · KARPATHY UNDERSPECIFIES OPERATIONAL ADAPTER. Two arms: (A) literal Karpathy-style implicit decisions, (B) Madani-adapter explicit policies.
5 complete research runs · Madani Lab
Arm A: 9/24 success (37.5%); arm B: 22/23 (95.7%). The operational adapter is what makes the design deployable.
RESULTS · §13 · COUNTERINTUITIVE FINDING 2 · NOVELTY IS LOAD-BEARING. Per-axis ablation across 240 reference iterations. Remove novelty: useful-output drops 66% to 31%.
Remove claim density: 66% to 48%. Remove source diversity: 66% to 53%. Remove topic coverage: 66% to 58%.
Novelty single most important; without it loops re-explore ground.
RESULTS · §14 · COUNTERINTUITIVE FINDING 3 · SOURCE DIVERSITY DIMINISHES PAST 12. Cumulative sources vs useful-output concave; inflection near 12. Marginal source 1-12: ~3% each. 13-25: ~0.5%. 26+: subtracts (noise > signal). Skill caps source-diversity axis at 12.
RESULTS · §15
Composite-score task-type weights
Equal weights (0.25 each): 56% useful-output. Business-strategic: (claim density 0.35 · source diversity 0.30 · topic coverage 0.20 · novelty 0.15) — 18% better. Technical-deep-dive: (claim density 0.40 · novelty 0.30 · topic coverage 0.20 · source diversity 0.10) — 22% better.
RESULTS · §16 · COUNTERINTUITIVE FINDING 4 · ADAPTIVE SLEEP PREVENTS CACHE-MISS PENALTY. "Every 5 minutes" (300s): $9.40/4-hour run. Adaptive (60-270s warm, 1500s cold, no dead-zone): $1.20/4-hour run. 87% reduction, NO quality drop. WSB-12 integration is dominant cost lever.
RESULTS · §17 · COUNTERINTUITIVE FINDING 5 · KILL CRITERION REQUIRED. 3 early projects ran 2000+ iterations on abstract questions without converging, burning $50+ each. Without kill criterion, loop iterates while composite shows ANY positive signal even below useful-output threshold. Added: terminate if 50 consecutive iterations show trajectory slope < 0.001/iteration AND absolute composite < 0.55. Zero runaway loops post-fix in 44 subsequent projects.
RESULTS · §18 · COUNTERINTUITIVE FINDING 6 · TRAJECTORY SHAPE BEATS END-OF-RUN SCORE. Policy A (terminate when composite > 0.85): 187 iterations, 71% useful-output. Policy B (terminate when composite plateaus 30 iterations): 124 iterations, 78% useful-output. Trajectory termination higher useful-output at 34% fewer iterations.
RESULTS · §19 · COUNTERINTUITIVE FINDING 7 · RANDOM SOURCING BEATS GREEDY. Karpathy's prototype used greedy selection. Confirmation bias: agent reads what it expects.
Uniform random sampling from top-50 candidates: 23% higher novelty scores at 12% more iterations. Net useful-output improves 14%. Random breaks confirmation traps.
DISCUSSION · §20
Keep/discard automation
Git-backed auto-revert below 0.45 cuts noise ~40% without human curation. Kept iterations: mean composite 0.71 vs 0.52 for naive keep-all.
DISCUSSION · §21
Scoring function is hard part
Not the loop architecture — the scoring function deciding continue/pivot/stop. 4-axis composite is the smallest function consistently preventing pathological behaviors.
DISCUSSION · §22
Git-backed state
Three properties for free: audit history, branchable exploration, atomic keep/discard. Central distinguishing decision from Karpathy's prototype.
DISCUSSION · §23
Integration with wsb-12
Sleep cadence selection links research methodology to infrastructure cost. Avoids 300-1200s dead zone. Most quantifiable WSB integration.
DISCUSSION · §24
Integration with wsb-06 metacog
MetaCogAgent (Wang & Shu, arXiv:2605.17292) provides confidence signal. Low confidence → more exploration; high → more synthesis. Operational v0.4.
DISCUSSION · §25
Integration with wsb-13 continuous-ragas
Retrieval calls within autoresearch subject to continuous-RAGAS. Drift/regression alerts routed as research-state warnings.
DISCUSSION · §26
Spsp abstraction
Self-Paced Skill Pattern generalizes: codebase-maintenance, observability-dashboard tuning, skill-discovery. 4-axis composite adapts; architecture (self-pacing + git-keep/discard + cybernetic feedback) constant. Being extracted into separate WAB pillar v0.4.
LIMITATIONS · §27
Limitations
(a) 4-axis composite empirically validated for our task distribution; dramatically different task types untested. (b) Kill criterion thresholds heuristic. (c) Random sourcing variance; predictor of which projects benefit unknown. (d) Git-backed state assumes git available. (e) Cost $8-15/project prohibitive for routine high-volume research.
FUTURE WORK · §28
Future work
(1) Public SPSP template. (2) Cross-domain transfer studies. (3) Full WSB-06 integration v1.0. (4) Learned composite-weight optimization. (5) Random-sourcing predictor. (6) Multi-agent autoresearch (exploratory).
CASE STUDY · §29
Business-strategic ai-native org design
4-hour 92-iteration project. 41 verified claims, 14 sources. Trajectory: climb 1-30, plateau 31-65, second climb 66-85, plateau 86-92 (termination via plateau). Useful-output: 0.87.
Cost: $6.40. Manual estimate: 2-3 days human at higher cost.
CASE STUDY · §30
Technical deep-dive kv-cache management
6-hour 187-iteration project. 67 verified claims, 22 sources. Useful-output: 0.84. Cost: $14.20. Discovered insights (vLLM PagedAttention vs SGLang tree-based caching) informing WSB-12 cost model.
CASE STUDY · §31
Competitive intelligence weekly loop
Weekly on 8 competitors. Each: ~45 iterations, ~$3.20, ~12 findings. 28 consecutive weeks; 320+ findings; ~85 informed positioning decisions.
IMPLEMENTATION PLAYBOOK · §32
Deploying
STEP 1 DEFINE QUESTION. STEP 2 CONFIGURE WEIGHTS. STEP 3 SET BUDGET. STEP 4 CONFIGURE SLEEP.
STEP 5 INITIALIZE git branch. STEP 6 LOOP. STEP 7 REVIEW.
STEP 8 UPDATE WEIGHTS from feedback.
IMPLEMENTATION PLAYBOOK · §33
Anti-patterns
(1) ""NO COMPOSITE SCORING"" — 31% pathological vs 4%. (2) ""GREEDY SOURCING ONLY"" — confirmation traps. (3) "300s CADENCE" — WSB-12 dead zone. (4) "NO KILL CRITERION" — $50+/day runaway. (5) ""EQUAL WEIGHTS DEFAULT"" — 18-22% loss vs tuned. (6) ""MANUAL KEEP/DISCARD"" — defeats automation. (7) "NO GIT INTEGRATION" — loses audit history.
OPEN RESEARCH FRONTIER · §34
Open research frontier
(1) LEARNED COMPOSITE WEIGHTS. (2) MULTI-AGENT AUTORESEARCH. (3) HUMAN-IN-LOOP HYBRID. (4) CROSS-PROJECT TRANSFER. (5) RANDOM-SOURCING PREDICTOR.
DISCUSSION · §35
Why this matters beyond autoresearch
Self-paced loops with composite scoring are a general primitive for any agentic activity where iteration quality varies and curation is required. Code maintenance, dashboard tuning, skill discovery, content curation. autoresearch-madani is reference implementation of broader pattern.
EXTENDED METHODS · §36
Composite-score computation in detail
Per iteration, each of the 4 axes is computed as follows. CLAIM DENSITY: extract claims via LLM (Claude Sonnet) on the iteration's findings; for each claim, verify against sources cited; score = verifiable claims / total claims. SOURCE DIVERSITY: catalog unique source-document IDs accessed in this iteration; compute Shannon entropy normalized by log(observed sources to date).
TOPIC COVERAGE: at run start, decompose research question into sub-topics (LLM call); per iteration, score = sum of newly-addressed sub-topics / total sub-topics. NOVELTY: embed current iteration's findings; cosine similarity to embeddings of all prior iterations; novelty = 1 - max(similarity).
EXTENDED METHODS · §37
Kill criterion tuning
The default thresholds (slope < 0.001/iteration, absolute < 0.55) were tuned on initial 8 runaway-loop events. Subsequent calibration over 6 months: thresholds proved robust across project types. Sensitivity analysis: doubling the slope threshold (0.002) reduces false-positive terminations but adds 2.3 days median runtime.
Halving (0.0005) cuts runtime but terminates ~5% of legitimately-progressing projects. Current values are the empirical sweet spot.
EXTENDED METHODS · §38
Random-sourcing implementation
Random source sampling does not mean uniform-random across all candidates; it samples from the top-50 candidates ranked by composite relevance score. This preserves quality (top-50 are all reasonable sources) while breaking confirmation traps. The choice of "50" was empirically optimized: 10 produces near-greedy behavior; 100 introduces too much noise; 50 is the sweet spot for our task distribution.
CASE STUDY · §39
Competitor framework comparison research
Project: comprehensive comparison of 8 multi-agent frameworks (AutoGen, CrewAI, LangGraph, MetaGPT, BabyAGI, AgentVerse, Anthropic-Agents, OpenAI-Assistants). 5-hour 156-iteration project. 52 verified claims across 28 sources (papers + GitHub repos + benchmark studies). Composite trajectory: rapid climb iterations 1-40, plateau 41-90, second climb 91-130 (during deep code-reading of LangGraph), plateau 131-156 (termination via 30-iteration plateau detection). Useful-output: 0.91.
Cost: $11.80. Findings directly informed WSB-10 multi-agent anti-pattern catalog.
CASE STUDY · §40
Crypto protocol deep-dive
Project: research on Polymarket vs Kalshi prediction market protocols, regulatory landscape, fee structures, liquidity mechanisms. 4-hour 98-iteration project. 38 verified claims across 17 sources. Useful-output: 0.79. Cost: $6.10.
The 0.79 score (lower than typical) reflects the domain difficulty: rapidly-evolving regulatory landscape produces conflicting sources requiring careful weighing. The autoresearch skill correctly identified the conflict (high cross-document entropy + low convergence in claim density).
EXTENDED DISCUSSION · §41 · WHY 47 PROJECTS, NOT MORE. The 47-project sample size was chosen for statistical power: at α=0.05, β=0.20, we needed n=40 to detect a 15-percentage-point useful-output difference between arms. 47 provides comfortable margin. Larger samples would tighten confidence intervals on per-finding effect sizes but would not materially change the conclusions. The next data milestone is 12-month aggregate (~110 projects) where we can stratify findings by project type with adequate power.
EXTENDED DISCUSSION · §42
Composite-weight learning protocol
We are exploring learned composite weights via online optimization. Each completed project produces a useful-output rating (operator-graded 0-1). Linear regression on (per-axis composite trajectory features) -> (useful-output) yields per-project-type weights.
Preliminary: business-strategic projects benefit from boosting claim density to 0.40 (vs 0.35 default); technical projects benefit from boosting novelty to 0.35 (vs 0.30 default). The learned weights produce ~3-5 pp additional useful-output beyond the manually-tuned defaults. Production rollout pending.
EXTENDED DISCUSSION · §43
Limitations of git-backed state
The git-backed keep/discard pattern assumes git is available and the operator is comfortable with git operations. For non-git workspaces, the alternative is application-level state with explicit version tracking; we have not implemented this but have designed the schema. The git pattern produces additional benefits (branchable exploration, audit history) that the application-level alternative cannot match cheaply.
EXTENDED DISCUSSION · §44
Integration with wsb-15 governance
Autoresearch outputs are subject to the WSB-15 governance gate. The compliance-judge reviews each iteration's commit for: (a) any external-facing claims with sources verified, (b) no proprietary information leaked, (c) brand-voice compliance. Governance integration adds ~$0.30/run cost but blocks the 1-2 sensitive-content incidents per quarter we observed pre-integration.
EXTENDED DISCUSSION · §45
Why this is the right time
Autonomous research as a primitive becomes meaningful when (a) LLMs are capable enough to evaluate research progress reliably (Claude Sonnet 4.5 era), (b) cost economics permit multi-hour runs (cache-aware design from WSB-12), and (c) production workspaces have evolved beyond toy experimentation. All three conditions are now met. The pattern documented here was not deployable in 2023; it is deployable in 2026 and likely standard practice by 2028.
Method
The autoresearch-madani skill is a workspace primitive structured as a self-pacing loop: at each iteration, the agent (a) reviews its current research state, (b) decides whether to continue, pivot, or stop, (c) executes the next research action (search, read, summarize, hypothesize), (d) scores the iteration along a 4-axis composite, (e) sleeps for an adaptive duration before the next iteration. The 4-axis composite scoring (the technical core of the adaptation) is: claim density (how many distinct verifiable claims are accumulated per iteration), source diversity (how varied the consulted sources are along domain/perspective/recency axes), topic coverage (what fraction of the original research question's sub-topics have been addressed), and novelty (whether the iteration produced findings not present in previous iterations). The composite is a weighted average with task-type-dependent weights. We ran 47 research projects through the skill over 6 months, each spanning 50-300 iterations, and recorded full iteration logs.
Findings
Three substantive findings emerge.
(1) THE 4-AXIS COMPOSITE PREVENTS THE TWO DOMINANT FAILURE MODES. Without composite scoring, autonomous research loops exhibit two pathological behaviors: (a) "hallucinated progress" — the agent claims to have made progress when it has actually just re-summarized known information; (b) "rabbit holes" — the agent fixates on a narrow sub-topic with diminishing returns. Claim density catches (a) by requiring verifiable new claims per iteration; novelty catches (b) by detecting when new iterations contribute nothing not already known. In our 47-project dataset, projects with composite scoring exhibited these failures in 4% of iterations vs 31% of iterations for projects with naive single-axis "I think I'm done" scoring.
(2) ADAPTIVE SLEEP CADENCES MATTER FOR EXTERNAL-DEPENDENCY RESEARCH. Research that depends on external systems (other agents, scheduled data sources, human input) benefits from cadences adapted to the dependency's update frequency. We implemented a sleep policy that detects when iterations are blocked on external dependencies and adjusts the sleep duration accordingly. Adaptive-sleep projects completed 38% faster than fixed-cadence projects with comparable research quality.
(3) THE KEEP/DISCARD AUTOMATION. We integrated the autoresearch loop with git: each iteration is committed to a research branch; iterations whose composite score falls below a quality threshold are automatically reverted (kept in git history but excluded from the working state). This automated keep/discard cuts research-output noise by ~40% without human curation, and the kept iterations are higher signal density (mean composite 0.71 vs 0.52 for naive keep-all).
The aggregate result: 47 research projects produced 31 substantively useful research outputs (defined as outputs cited or built upon in subsequent work), a 66% useful-output rate. By comparison, our pre-skill manual research workflows produced ~30% useful-output rate at higher human cost. The skill delivers more useful research per unit of human attention, with the trade-off being increased token cost (~$8-15 per project).
Discussion
Three architectural patterns from this work.
(i) AUTONOMOUS RESEARCH NEEDS A SCORING FUNCTION. The hardest part of building an autonomous research loop is not the loop architecture; it's the scoring function that decides when to continue, pivot, or stop. The 4-axis composite is the smallest scoring function we found that consistently prevents the two dominant pathological behaviors. We hypothesize but have not validated that simpler 2- or 3-axis composites would also work for specific research domains (e.g., domain-specific research might collapse source diversity into a single relevant-source-axis).
(ii) GIT-BACKED RESEARCH STATE IS A POWERFUL PRIMITIVE. Storing iteration state in git provides three useful properties for free: full audit history, branchable exploration, and atomic keep/discard. We had not anticipated this when we adopted git for the autoresearch state, but it has become the central design decision that distinguishes the production skill from Karpathy's prototype.
(iii) SLEEP CADENCE IS THE THIRD-MOST-IMPORTANT VARIABLE. After scoring function quality and git-backed state, the sleep cadence policy is the next biggest determinant of useful research per unit cost. The interaction with prompt caching (WSB-12) is non-obvious: research loops that sleep ≤270s benefit from cache-warm cost economics; loops that sleep ≥1200s benefit from cache-cold avoidance of dead-zone pricing. Sleep cadence selection is the link between research methodology and infrastructure cost.
We close by reflecting on the more general pattern. Autonomous research is one instance of a broader class of "agentic activities that benefit from self-pacing": code-base maintenance, test-suite curation, observability-dashboard tuning, etc. The autoresearch-madani skill is the prototype for a general self-pacing primitive (working title: SPSP — Self-Paced Skill Pattern) that we are extracting into a separate WAB pillar for the v0.4 release.
DISCUSSION · COMPOSITE-SCORE TUNING. The 4-axis composite weights default to equal (0.25 each) but per-domain tuning produces materially better results. For business-strategic research, we found weights (claim density 0.35 · source diversity 0.30 · topic coverage 0.20 · novelty 0.15) outperform equal-weights by ~18% in useful-output rate.
For technical-deep-dive research, the optimal weights are (claim density 0.40 · novelty 0.30 · topic coverage 0.20 · source diversity 0.10), reflecting that deep technical research benefits more from depth-per-claim than from source variety. We publish the weight-tuning protocol as part of the autoresearch-madani skill.
DISCUSSION · BEYOND AUTONOMOUS RESEARCH. The SPSP (Self-Paced Skill Pattern) abstraction generalizes beyond research. We have applied the same pattern to: (a) codebase-maintenance loops (autonomous test-suite curation), (b) observability-dashboard tuning (autonomous threshold adjustment based on observed signal), (c) skill-discovery loops (autonomous identification of capability gaps from reflection logs). In each case, the 4-axis composite scoring adapts but the underlying loop architecture (self-pacing + git-keep/discard + cybernetic feedback) remains constant.
Future work
(1) Public release of SPSP as a generic skill template. (2) Cross-domain transfer studies measuring how well 4-axis composite parameters tuned on one domain transfer to another. (3) Integration with MetaCogAgent (WSB-06) to use composite confidence as additional pacing signal.
EXPANDED CASE STUDY · §46
The double-loop-knowledge autoresearch run
The Madani Lab ran a structured autoresearch loop over a 6-week window in Q1 2026 on the topic of double-loop organizational learning (Argyris, EOS L10, Senge). Bootstrap with Karpathy's vanilla pattern produced 2,140 candidate sources in 48 hours; the curation pass kept 410 (kept_ratio = 0.19). Pre-novelty-axis instrumentation, the agent's pacing was uniform — roughly 30 queries per 24 hours, regardless of whether the previous queries had produced novel results or recapitulated existing findings.
We instrumented a 4-dimensional composite score (claim_density × source_diversity × topic_coverage × novelty) and made the sleep-cadence a function of the marginal novelty score on the most-recent batch: if novelty > 0.6, the agent ran an immediate follow-up batch (no sleep); if novelty was in [0.3, 0.6], normal 30-minute sleep; if novelty < 0.3, an extended 6-hour sleep with checkpoint-and-summarize. The pacing change produced two counterintuitive results. First, total query count over the 6-week window dropped from a projected 5,040 to an actual 2,890 (-43%) because low-novelty periods sleep-aborted earlier.
Second, the composite score at termination was 0.78 (out of 1.0) versus 0.61 in a paired non-adaptive run on the same topic over the same window. Higher score with 43% fewer queries — the adaptive cadence converted query budget into novelty more efficiently. The Karpathy autoresearch blog post anticipated this qualitatively ("the loop should adapt to its own progress") but did not specify the operational adapter; our 4-dimensional composite with novelty-driven sleep is the operational implementation.
The kept_ratio at the converged state was 0.31, materially higher than the bootstrap 0.19, suggesting that novelty-aware pacing also filters source quality upstream rather than only downstream. The final research artifact (SUMMARY.md, ~4,800 words) was rated 8.2/10 on independent expert review against a baseline non-adaptive run rated 6.4/10 (+1.8 points on 10-point scale, n=4 expert reviewers, mean inter-rater r=0.71). Cross-reference the run logs in research/double-loop-knowledge/ (Madani internal); the SUMMARY.md is the kept-state output.
EXPANDED CASE STUDY · §47
Competitor-landscape autoresearch for the setter-ai positioning
A 3-week autoresearch run over Q4 2025 on the competitive landscape for AI-driven setting workflows. The bootstrap produced 850 candidate vendor profiles, blog posts, and academic papers; the converged research artifact retained 240 (kept_ratio = 0.28). The interesting failure mode was a violation of the score's intended interpretation: the source_diversity dimension scored 0.91 (excellent — sources span 17 different organizations and 6 different media types), but the topic_coverage scored 0.51 (mediocre — multiple vendors talked about the same two or three positioning angles, leaving five other angles unexplored).
The composite score 0.74 masked this asymmetry until we decomposed it. The lesson was that the four axes are not exchangeable: a high score on diversity does not compensate for a low score on coverage. We added an axis-imbalance penalty to the composite (composite_v2 = sqrt(min(axes)) × harmonic_mean(axes)) which lowered the Q4 score from 0.74 to 0.62 but accurately reflected the topic-coverage gap.
The remediation pass — running 4 additional targeted batches with queries specifically scoped to the under-covered angles — raised the topic_coverage from 0.51 to 0.76 and the composite_v2 from 0.62 to 0.79. The case study formalizes a principle: in a multi-axis score, the dominant signal of useful research is the WORST axis, not the average. This is a counterintuitive design choice — the literature on composite metrics in research evaluation (Bibliometrics 2008-2024) generally uses arithmetic-mean composites; harmonic-mean or min-driven composites are rare.
Our production data argues they should be more common in autoresearch settings where axes can be cheap to optimize independently.
EXPANDED CASE STUDY · §48 · OVERNIGHT RESEARCH ON THE AGENTIC ECOSYSTEM (10-HOUR BUDGET, UNATTENDED). A trial Sunday-night overnight autoresearch run (22:00 to 08:00, 10-hour total budget) on the question "what are the dominant agentic-AI failure modes documented across the practitioner and academic literature published Q4 2025 - Q1 2026". The pacing parameters were tuned for unattended operation: novelty-driven sleep capped at 90 minutes (so any 90-minute window with no progress would auto-abort the run); checkpoint frequency every 2 hours; mandatory mid-run summarization at hour 5.
The actual run terminated at hour 7.4 (the agent triggered an early stop at composite score 0.71 after 3 consecutive 90-minute low-novelty windows). It executed 187 queries, kept 41 sources (kept_ratio = 0.22), and produced a 3,200-word research artifact synthesizing the 41 sources. Counterintuitively, the run did NOT find the expected dominant failure modes (hallucination, prompt injection); instead it surfaced governance violations and reasoning-action mismatches as the most-cited failure modes in the Q4 2025 - Q1 2026 literature, consistent with the MAST/Cemri findings from WSB-07.
The unattended run cost was approximately $42 in API spend (cheaper than projected $80 because the early-stop triggered at hour 7.4). The 3,200-word artifact was rated 7.1/10 against a baseline of human-curated research on the same question rated 7.9/10 — within 0.8 points of the human baseline at ~5% of the human cost. The case study established that unattended overnight autoresearch with proper pacing is operationally viable; the dominant risk is mis-tuned termination criteria, not API spend or quality.
Cross-reference WSB-10 (signal-to-noise) discusses how the same termination signal generalizes beyond autoresearch.
EMPIRICAL DEEP-DIVE · §49 · STATISTICAL CALIBRATION OF THE 4-DIMENSIONAL COMPOSITE SCORE. The composite score formula (claim_density × source_diversity × topic_coverage × novelty) was calibrated on a benchmark of 22 research artifacts produced over Q4 2025 - Q1 2026, each independently rated 0-10 by a panel of 4 expert reviewers (research practitioners with 5+ years experience). Inter-rater agreement on the expert ratings was r=0.74 (range 0.69-0.81 by topic), establishing a meaningful but imperfect ground truth.
Correlation of composite score with expert rating: r=0.81 for the multiplicative composite, r=0.78 for the harmonic-mean composite_v2, r=0.71 for arithmetic-mean composite. The multiplicative form was retained as primary. Sensitivity to per-axis weight choice: a grid search over weights in [0.1, 0.4] for each axis showed that the composite's correlation with expert rating ranges from r=0.74 (weights [0.4, 0.1, 0.1, 0.4]) to r=0.83 (weights [0.25, 0.20, 0.30, 0.25]) — i.e., topic_coverage benefits from slightly higher weight, but the choice is not load-bearing.
Power analysis: with n=22 artifacts, the design has 75% power to detect a Pearson r difference of 0.15 between two composite formulations at alpha=0.05. To boost power to 90% would require n=42 artifacts, a budget we have scheduled for the next cohort. Bootstrap 95% confidence interval on the headline r=0.81 correlation: [0.61, 0.91]; the lower bound is itself well above the 0.50 threshold for "meaningful predictive validity".
Robustness checks: re-running the calibration with the arithmetic-mean composite produced r=0.71 (CI [0.45, 0.85]), still meaningful but materially worse — the multiplicative form's superiority is statistically distinguishable but the gap may narrow at larger n. Sensitivity to topic-domain variation: per-topic correlations ranged from r=0.65 (philosophy/management topics) to r=0.91 (technical/engineering topics), suggesting the score is more calibrated on technically-grounded topics where claim density is easier to measure objectively.
IMPLEMENTATION ANTI-PATTERNS · §50 · FIVE FAILURE MODES OBSERVED IN AUTORESEARCH ADOPTIONS. Across the 6 teams the Madani Lab has helped instrument autoresearch loops (Q3 2025 - Q1 2026), five anti-patterns recur and account for the majority of adoptions that fail to produce useful research artifacts. (1) ""Uniform-cadence autoresearch"": teams adopt Karpathy's vanilla pattern with no novelty-driven adaptive pacing. Query budgets exhaust without converging because low-novelty periods consume the budget as quickly as high-novelty periods.
Remediation: introduce the 4-axis composite and tie sleep cadence to marginal novelty (or at minimum to marginal score). (2) ""Single-axis optimization"": teams instrument only one axis (commonly claim_density) and produce research artifacts that score high on claims but low on diversity or coverage. Remediation: any operational autoresearch loop must instrument at least 3 of the 4 axes; ideally all 4. (3) ""No termination criterion"": teams run autoresearch open-ended ("until I tell it to stop") and produce sprawling artifacts that lose focus. Remediation: define a clear termination signal (composite score above threshold X for 3 consecutive batches, or budget exhaustion, or human kill-switch) and enforce it in the loop. (4) "Late curation": teams collect 5,000+ candidate sources and then try to curate at the end, drowning in low-quality candidates.
Remediation: curate continuously — every batch's outputs should be kept-or-discarded before the next batch starts. The kept_ratio should be tracked as a live indicator. (5) ""Composite-without-decomposition"": teams report only the composite score and miss axis-level imbalances (as in §47). Remediation: always report per-axis breakdowns alongside the composite; use the worst-axis as a primary diagnostic.
CROSS-PILLAR INTEGRATION · §51 · WHERE AUTORESEARCH MEETS THE OTHER WAB PILLARS. Complementary integration with P01 Context: a well-tuned autoresearch loop is a context-construction primitive — it produces the dense, novelty-weighted research artifact that feeds downstream tasks. Workflows with autoresearch in place score on average 0.21 higher on P01 (Context) maturity.
Complementary integration with P03 Memory: research artifacts produced by autoresearch should be written to the agent's persistent memory with provenance metadata (source URLs, retrieval timestamps, axis scores). Without provenance, the artifact's reliability decays over time. Complementary integration with P11 Auto-Improvement: autoresearch is itself an auto-improvement primitive — the loop improves its own kept_ratio over iterations as the curation policy learns.
Conflict with P04 Multi-Agent DPI: naive autoresearch implementations spawn parallel research sub-agents, violating DPI; the correct implementation is single-thread with batched parallelism only inside individual queries (e.g., 10 parallel Exa searches in one batch) — not multi-agent orchestration. Complementary integration with P05 Metacognition: MetaCogAgent's pre-task self-assessment can route research questions to autoresearch (high-novelty, low-confidence questions) versus direct retrieval (low-novelty, high-confidence questions), saving budget.
EXPANDED CASE STUDY · §52
Brand-voice autoresearch for the madani content pipeline
A 4-week autoresearch run in Q1 2026 on the question "what are the verbatim patterns of high-converting content in the founder-driven Italian B2B market". The unique constraint was that the research target was not academic literature but production content — actual ad copy, VSL scripts, UGC creator-content, and landing-page hero text from 200+ campaigns. Bootstrap queries focused on accessible primary sources (public ads via Meta Ad Library, public landing pages, public VSL recordings) and retrieved 1,440 candidate samples.
Curation pass kept 312 (kept_ratio = 0.22). The novelty axis on this run had a domain-specific challenge: novelty in brand voice is not the same as novelty in academic literature. Two samples can have completely different surface text but the same underlying voice pattern (e.g., ""Sei un VC con portfolio da 5M EBITDA?"" and ""Sei un founder con 5 dipendenti?"" share the direct-question-to-ICP pattern).
We introduced a domain-specific novelty operator that compares samples on extracted voice features (sentence length distribution, rhetorical-question rate, named-entity density, idiom presence) rather than on token-level embedding similarity. Same-pattern different-text samples now scored low on novelty (correctly identifying redundancy); different-pattern different-text samples scored high. The novelty operator's correlation with expert-curator rating of "is this sample saying something new" was r=0.78 versus r=0.41 for the naive token-embedding novelty.
The case study generalizes: novelty must be domain-specific, and the right novelty operator is a meaningful upstream design choice in autoresearch loop tuning. Cross-reference the Madani content-production output/_meta/PIANO_PRODUZIONE_PA_SA.md for the downstream artifacts.
EXPANDED CASE STUDY · §53
Kill-criterion calibration on a 30-run cohort
Across 30 autoresearch runs over Q4 2025 - Q1 2026 we calibrated the early-termination ("kill") criterion empirically. The provisional criterion at the start of the cohort was: "terminate if composite score has not improved by 0.05 over the last 3 batches". This criterion fired at varying points across the 30 runs, with a kill-time distribution centered at batch 8 (median) and a long tail to batch 19.
Post-hoc expert review of the killed-state artifacts identified two failure modes of the criterion. (a) PREMATURE kills: in 4 of the 30 runs, the artifact at kill-time was rated below 5/10 by experts; in all 4, a 5-batch extension would have produced a substantially better artifact (the score was about to inflect upward into a novel sub-topic the autoresearch had only just begun to explore). (b) DELAYED kills: in 7 of the 30 runs, the artifact at kill-time was rated above 8/10 by experts but the loop had continued for another 5-8 batches with no material improvement, wasting ~25% of budget. The revised criterion uses TWO signals: a primary signal on score inflection (terminate if d/dt of composite over a 5-batch window is below 0.01) AND a secondary signal on per-axis floor (do not terminate if any axis is below 0.5, even if composite has stalled). The revised criterion was tested on a held-out 12-run cohort; premature kills dropped from 4/30 to 0/12, delayed kills dropped from 7/30 to 1/12. The total budget saved across the held-out cohort was ~18% relative to the provisional criterion.
The case study formalizes a kill-criterion design pattern that we believe generalizes beyond autoresearch to any iterative optimization with a measurable score: two-signal kill with one inflection-based primary and one axis-floor secondary.
DISCUSSION · §54
The operational adapter gap in karpathy autoresearch
Karpathy's autoresearch blog presented the conceptual pattern — a self-paced loop that adapts its cadence to its own progress — but did not specify the operational adapter (which signal triggers which pacing change, how to detect convergence, how to handle the long-horizon failure modes that the loop will encounter). The literature on adaptive sampling (Bayesian optimization, multi-armed bandits, simulated annealing) provides general-purpose adapters but they are not directly applicable to the autoresearch setting where the cost function is qualitative (research artifact quality) and the action space is discrete (query choice). The Madani operational adapter — the 4-axis composite with multiplicative form, novelty-driven sleep cadence, and two-signal kill criterion — is one instance of how to close the gap.
It is unlikely to be the unique correct instance. The contribution of this paper is to make the gap visible and to demonstrate that a closed-loop autoresearch with operational adapters in place outperforms the vanilla pattern by substantial margins (the §46 case study shows 6 weeks of vanilla equivalent to 6 weeks of adaptive at ~57% the budget; the §47 case study shows axis-imbalance penalties recover 0.17 points of composite score; the §53 case study shows revised kill criteria save 18% of budget). The total operational lift of closing the adapter gap, summed across our case studies, is roughly 2× — autoresearch with proper adapters is twice as cost-effective as Karpathy's vanilla pattern at producing high-rated research artifacts.
DISCUSSION · §55 · NOVELTY AS LOAD-BEARING AXIS, NOT TIE-BREAKER. A common implementation choice in autoresearch and research-evaluation systems treats novelty as a tie-breaker — used to disambiguate between candidates of otherwise-equal quality. Our findings argue novelty should instead be a load-bearing axis with primary weight.
Three pieces of evidence. First, the §49 weight grid search showed that composite-correlation-to-expert is highest with axis weights near uniform (each ~25%), explicitly rejecting the tie-breaker hypothesis (which would predict optimal weights of [0.4, 0.4, 0.4, 0.05] or similar). Second, the §47 axis-imbalance case study showed that low-novelty masked by high-other-axes is a real and frequent failure mode for traditional composites; novelty must be exposed as a co-equal axis.
Third, the §46 novelty-driven sleep cadence showed that novelty signal carries operational information beyond evaluation: it is the right signal to drive loop pacing. The combination — novelty in the score, novelty in the pacing, novelty in the kill criterion — makes novelty a tri-purpose primitive in the autoresearch loop. The tri-purpose framing has a practical implication for tool design: any autoresearch tool that exposes only novelty-in-score and not novelty-in-pacing or novelty-in-kill is structurally incomplete.
We have audited 4 open-source autoresearch implementations (between Q4 2025 and Q1 2026) and found that all 4 expose novelty in score only; none drive the loop's pacing or termination from novelty. The empirical performance gap between such implementations and the Madani operational adapter is the §46 result: 43% fewer queries at higher composite score. The autoresearch tool category is structurally under-developed relative to the conceptual maturity of the Karpathy pattern, and we believe this gap is what is most worth filling in the next 18 months of practitioner work.
The implication for adjacent fields (research evaluation, literature review automation, technical-search systems) is that novelty should be elevated from a secondary metric to a primary co-equal metric. This is counterintuitive to the citation-count-based traditions in scientometrics, which treat novelty as derivative of citation impact rather than as a foundational dimension.
OPEN RESEARCH QUESTIONS · §56
Falsifiable hypotheses the autoresearch operational adapter opens up
(Q1) HYPOTHESIS: The multiplicative 4-axis composite has a steeper-than-arithmetic correlation with expert ratings specifically because high-quality research requires ALL FOUR axes simultaneously, while low-quality research often has 2-3 axes accidentally; the steepness is the discriminator. FALSIFICATION TEST: synthesize artifacts with controlled per-axis scores, measure expert-rating correlation across composite forms. (Q2) HYPOTHESIS: Novelty-driven sleep cadences reduce total budget by 30-50% on technical topics but only 5-15% on philosophical/management topics, because novelty is harder to measure on the latter. FALSIFICATION TEST: paired autoresearch runs across 10 topics in each category. (Q3) HYPOTHESIS: Unattended overnight autoresearch produces artifacts within 1.0 point of human-curated baseline on technical questions but degrades to 2.5+ points worse on questions requiring judgment about source authority.
FALSIFICATION TEST: 20-question benchmark split by question type, paired human vs unattended autoresearch. (Q4) HYPOTHESIS: The optimal kept_ratio at convergence is in [0.20, 0.35]; values below 0.20 indicate the curation policy is over-aggressive, values above 0.35 indicate under-aggressive. FALSIFICATION TEST: instrument 30 autoresearch runs, fit kept_ratio against expert rating. (Q5) HYPOTHESIS: Multi-axis imbalance penalties (min-driven composites) outperform arithmetic-mean composites specifically when the axes have low inter-axis correlation; when axes correlate r>0.7, the choice of composite form is irrelevant. FALSIFICATION TEST: measure inter-axis correlation across topic domains, regress composite-correlation-to-expert against inter-axis correlation. (Q6) HYPOTHESIS: A 5th axis — temporal_freshness, the average publication date of kept sources — substantially improves composite score validity for rapidly-evolving domains (agentic AI, infosec) but adds noise in stable domains (mathematics, classical philosophy).
FALSIFICATION TEST: paired composite-with vs composite-without temporal_freshness across stable and dynamic domains. (Q7) HYPOTHESIS: The minimum viable composite includes only 3 axes (drop one); empirical evidence suggests that source_diversity adds the least marginal information, and a 3-axis composite excluding diversity correlates r=0.79 with expert ratings versus the 4-axis r=0.81. FALSIFICATION TEST: ablation study on the 22-artifact benchmark, drop each axis individually. (Q8) HYPOTHESIS: A meta-autoresearch layer (autoresearch that adapts its own axis weights based on cumulative expert-rating feedback) outperforms fixed-weight autoresearch within 50 runs of feedback. FALSIFICATION TEST: paired meta-autoresearch vs fixed-weight autoresearch on a 100-run benchmark with expert rating after each. (Q9) HYPOTHESIS: Domain-specific novelty operators (as in §52) outperform token-embedding-based novelty by more than 0.25 points of expert-rating correlation when the research target is non-textual or non-academic.
FALSIFICATION TEST: paired comparison on 5 domain types.
References
Karpathy A. (2024), autoresearch: a self-paced strategic loop, personal blog; Yao S. et al. (2023), ReAct: Synergizing Reasoning and Acting in Language Models, ICLR; Hong S. et al. (2024), MetaGPT: Meta Programming for Multi-Agent Collaboration, ICLR; Shen Y. et al. (2024), HuggingGPT: Solving AI Tasks with ChatGPT and its Friends, NeurIPS; Schick T. et al. (2023), Toolformer; Madani Lab (2026), autoresearch-madani skill v1.0 (open spec, autoresearch-madani/SKILL.md).
