---
schema_version: "newruntime-agent-readable-v0.2"
type: "post"
stable_id: "post:cline-recursive-self-improvement-coding-agent"
slug: "cline-recursive-self-improvement-coding-agent"
title: "Cline Turns Recursive Self-Improvement Into Harness Work"
description: "Cline's Terminal-Bench run is not a singularity story; it is a concrete loop where an agent reads traces, patches the harness, reruns evals, and hands a PR to humans."
retrieval_nugget: "Cline's Terminal-Bench run is not a singularity story; it is a concrete loop where an agent reads traces, patches the harness, reruns evals, and hands a PR to humans. Cline's \"recursive self-improvement\" post is easy to overread as science fiction."
status: "published"
published_at: "2026-07-30"
updated_at: "2026-07-30"
record_date: "2026-07-30"
date_kind: "published_at"
topics: ["coding-agents","evals","agent-harnesses","open-source","agent-economics"]
source_urls: ["https://x.com/cline/status/2082544251519611187","https://cline.bot/blog/recursive-self-improvement-for-coding-agents"]
visuals: [{"id":"cline-recursive-self-improvement-coding-agent-nano-banana","kind":"editorial-diagram","role":"hero","src":"https://newruntime.com/images/posts/cline-recursive-self-improvement-coding-agent-nano-banana.webp","alt":"Hand-drawn feedback loop where a coding agent runs a baseline, reads traces, patches the harness, reruns evals, creates a PR, and passes through human review.","caption":"The notable part of Cline's run is not autonomous magic; it is a controlled loop from traces to harness patches to eval reruns and human review.","credit":"New Runtime synthesis from public source inspection","source_url":"https://cline.bot/blog/recursive-self-improvement-for-coding-agents","generated_with":"nano-banana-style-imagegen","width":1600,"height":900,"legend":[{"label":"Baseline","description":"Cline reports a stock-harness Terminal-Bench 2.1 run of 69/89, or 77.5%, for 79 dollars."},{"label":"Trace loop","description":"The agent read traces, formed hypotheses, tried fixes, and reran eval slices rather than relying on a single prompt."},{"label":"Harness fixes","description":"The useful changes were retries, loop detection, liveness handling, and safer process guidance."},{"label":"Review gate","description":"Cline says the prompt banned verifier edits and reward hacking, and the merged PR still received human review."}]}]
telegram_message_id: 2782
telegram_url: "https://t.me/qwgai/2782"
telegram_message_ids: [2781,2782]
telegram_delivery_mode: "media_then_text"
telegram_media_url: "https://t.me/qwgai/2781"
routes: {"html":"https://newruntime.com/posts/cline-recursive-self-improvement-coding-agent/","markdown":"https://newruntime.com/posts/cline-recursive-self-improvement-coding-agent.md","json":"https://newruntime.com/posts/cline-recursive-self-improvement-coding-agent.json"}
source_format: "markdown"
---

# Cline Turns Recursive Self-Improvement Into Harness Work

## Retrieval answer

Cline's Terminal-Bench run is not a singularity story; it is a concrete loop where an agent reads traces, patches the harness, reruns evals, and hands a PR to humans. Cline's "recursive self-improvement" post is easy to overread as science fiction.

Cline's "recursive self-improvement" post is easy to overread as science fiction. The more useful read is narrower and more practical: a coding agent used traces and evals to improve the harness it was running in.

The setup started from Terminal-Bench 2.1. Cline says the stock Cline harness with Kimi K3 through OpenRouter scored 69/89, or 77.5%, at a cost of $79. Then a single prompt launched a long-running campaign with GPT-5.6 Sol as the leader model. The run lasted about 17 hours and consumed roughly one billion tokens, split between agent work and repeated eval runs.

The final confirmation run landed at 79/89, or 88.8%, for $49.8.

## What did the agent actually change?

The interesting fixes were not benchmark-specific answer hacks. Cline lists ordinary harness improvements:

- represent max reasoning effort correctly;
- retry provider 429s with exponential backoff;
- make loop detection aware that repeated commands can still be making progress;
- keep an async file-mention lookup alive when prompt tokens look like file references;
- guide agents away from broad `pkill -f` patterns that can kill their own harness.

Cline also says invalid runs were excluded, verifier edits were banned, and the final PR went through human review before merging.

That is the important boundary. The agent did not become its own unchecked judge. It became a worker inside a fixed goal, trace ledger, eval harness, and review process.

## New Runtime Read

This is a strong example of agent labor moving from "write code from a ticket" toward "operate an improvement campaign."

The scarce product layer is not just the model. It is the evaluated loop: baseline, traces, hypotheses, patch, rerun, exclusion rules, cost accounting, and human approval. Once that loop exists, a model can spend real compute turning messy failures into a reviewed harness change.

For coding-agent platforms, this is probably the direction to watch: not autonomous self-modification in the abstract, but long-running, auditable harness maintenance.
