Recently, I ran end-to-end tests with a frontier model. A 2,000-line SKILL (task instructions for the Agent) finished a job that more than 100,000 lines of code had never managed to finish. Operating the device, preparing test data, judging the results: it ran all the way through. That stopped me in my tracks.

What had this entire year been for? After all that work, it looked as though we were back at the start of the year, when SKILLs were everywhere. What was left of all that code, all those architectures?

A First Try With Opus 4.5

After Opus 4.5 launched late last year, I tried it on a bytecode analysis tool I had wanted to build for a long time: Graphite. I had estimated two days to write it myself. Claude Code produced a working version in one hour. Code, tests, CLI, even edge cases like auto-boxing: it handled them on its own. In Witnessing the End of Programming as a Profession, I wrote: "AI's engineering capability has reached Staff Engineer level."

After a series of experiments, I started the year by putting it to work on AB cleanup. Thousands of old AB experiments had accumulated. Here was a ready supply of work to give it.

Cleaning up an AB experiment looks like deleting a flag. In practice, you have to follow references through the code. Of the two paths the experiment introduced, which stays and which goes? Does a helper serve only the old branch, or does something else still use it? Once the branch is gone, have the parameters, callers, and tests been updated too? None of this is particularly hard. But someone has to check each piece, and every omission means another pass.

Suppose the experiment ends with path B winning. Pinning the flag to B keeps the code running, but path A is still there. Cleanup means removing the old path and the code that exists only to support it, then verifying the behavior that remains. New features keep moving after an experiment ends. Cleanup needs a separate slot on the calendar. That is how the backlog reaches thousands.

This made it a useful first test. The behavior to preserve was already known. The Agent needed to read the code, trace dependencies, make the changes, and run verification. The scope was bounded and the result was checkable. Handing over mechanical work that still demanded care was a better way to see whether it worked than asking it to infer what a product wanted from a requirements document.

It did not disappoint. Cleaning up those thousands of accumulated AB experiments no longer required anyone to do it by hand. Feature delivery lost a recurring interruption: stop working on a new requirement, reconstruct an old experiment, trace its references, remove its branches. That took a fair amount of weight off delivery throughput.

With those results behind me, I had a bolder idea. If it could follow dependencies and complete a change, could it go one step further and deliver a feature autonomously?

There Is Nothing a SKILL Can't Solve

SKILLs had broken out of their niche. Everywhere you looked, someone was sharing one. They had become a cure-all. If something did not work, apparently you were just missing a SKILL.

With AB cleanup as a success story, I joined in too. Mine was called build-feature. A requirements document went in, and Test Cases defined acceptance: under these conditions, perform this action and expect this result. Spell that out, then let the Agent make changes and verify them against those cases.

Tuning took a week. A missed requirement meant adding the condition. A wrong entry point meant asking it to trace the call path further. A test that checked only the function it had just written meant spelling out the acceptance criteria again. Every correction from a session went into the SKILL, in the hope that the next session would not need it repeated.

One Saturday afternoon, build-feature produced a PR in 2 hours. I asked the Agent to assess how complete it was. It gave itself 80%. A requirements document went in; a PR came out. I could hardly contain the excitement. I shared it with my boss, and we held a meeting that night to go over the progress.

The meeting's conclusion was straightforward: one feature proved nothing. We needed more samples. This requirement worked. Would another module, with another set of dependencies, work too?

For the next week, I kept trying new features and improving the SKILL. Wherever a run failed, more instructions for that part went into the SKILL.

From SKILL to Harness

With each round of additions, build-feature grew from a few hundred lines to 4,000. Every new feature exposed something that was not in the document yet, and the SKILL kept growing.

"Understand the requirements first" was not enough. How thoroughly? "Inspect the repository" was not enough. It had to find the actual call paths. "Verify when finished" was not enough either. Which cases had to be verified? Each rule made sense on its own. Together, they also needed rules for when they collided.

Take "resolve problems before continuing" and "do not expand the scope." What should happen when an old bug blocks the current task? Add a condition, then find a new exception next time. What began as a record of execution experience had to absorb the workflow and its exception handling too.

But a 4,000-line prompt is still a prompt. The model can skip something, forget an earlier instruction later in the run, or decide a step has already been satisfied and move on. Writing "must" still leaves someone checking whether it actually happened.

By then, I looked down on that flood of SKILLs. People added a stack of SKILLs to an Agent, connected a knowledge base (KB), and started calling it Harness Engineering. My reaction in From Prompt to Harness was: "this has barely reached the entrance, and is still far from real Harness Engineering." The position was explicit: "KB/SKILL is not harness. At most, they are the input constraint layer of a harness."

The reason was just as blunt: "A prompt can make the model more likely to be correct. It cannot make the system required to be correct." The industry was starting to talk up Harness Engineering. Given what the models could do then, prompts alone really could not constrain them. We needed hard constraints.

A harness used familiar engineering methods. Missing fields? The parser rejects the output. Required cases uncovered? The next stage cannot start. Verification not run? Nothing gets delivered. Requirements the model previously had to remember became checks it could not bypass.

The build-feature SKILL I had spent a week tuning, then kept refining on new features, stopped at 4,000 lines. I abandoned it and started building an agent through engineering. Requirements as input and Test Cases as acceptance survived into the new workflow.

A Self-Evolving Loop

That was how Autopilot began. A three-stage agent workflow, SPEC → PLAN → IMPL, borrowed the self-evolving idea from autosearch and used a two-layer loop to drive delivery: the inner agent worked, the outer agent guided it.

Autopilot was always restrained about its Knowledge base, though. The conviction was simple: Code is KB. Wherever context had to be understood from code, Graphite MCP was the first choice; MCP (Model Context Protocol) is the protocol that connects an Agent to tools and data. Call relationships, data flow, existing behavior: let the Agent find them in the code first. This is why Graphite kept being optimized and updated. It let the Agent extract knowledge from the code without maintaining another account of what the code said.

SPEC clarified the requirements and acceptance conditions. PLAN mapped them onto the repository: what to change, how to implement it, and how to verify it. IMPL made the changes. Separating them made the intermediate outputs inspectable. If the requirements were misunderstood, fix that first. If the plan targeted the wrong module, fix the plan before a PR arrived and we had to hunt through code for the cause.

The inner agent produced the current stage's output. The outer agent checked it against the requirements, found gaps, and directed revisions. If PLAN missed a case, the feedback had to identify the implementation and verification it needed, then check again on the next round. Specific feedback moved the loop forward. "Make it more complete" just produced another document that looked more complete.

Intermediate outputs were scored as structure × coverage. Structure checked the format; coverage measured how much of the Test Cases they addressed. Suppose there are 10 cases, and PLAN has the correct format but explains implementation and verification for only 8. Structure is 1, coverage is 0.8, and their product is 0.8. Neat headings and tables do not fill in the missing two cases.

The score determined whether an output could move downstream. Execution still had to follow. A verification path written into PLAN still had to run in IMPL. Otherwise, every box in the document could be checked while delivery existed only on paper.

To address hallucinations, I added multi-model distillation to the architecture: send the same prompt to several models at once, evaluate their outputs together, and keep the highest-scoring one. This was candidate selection. One model might find a dependency another missed. Redundancy improved the chances.

It also cost more. The same input was generated several times, every candidate had to be evaluated, and the winner still needed further iterations. Parallelism reduced some waiting, but the generation and evaluation work still had to be paid for. If every model missed the same condition, picking the highest score would not uncover it.

Outer Agent encloses Inner Agent; the same prompt fans out to model candidates, converges at structure × coverage scoring, and feeds revisions back until the highest-scoring output passes

Programmatic orchestration, the two-layer self-evolving loop, and multi-model distillation did solve problems the original standalone SKILL could not. A ticket went in, a PR came out, with no human intervention. The vision was end-to-end delivery, but this workflow stopped at the PR; people still had to take the AI-generated PR through QA, return to IMPL when bugs appeared, and test the new PR until it was Ready for Deploy. Drift remained severe. At each handoff, the next stage worked from the previous output and lost some of the original intent. Final quality was the product of what each handoff preserved.

For illustration, suppose 90% of the intent survives each handoff: ticket to SPEC, SPEC to PLAN, and PLAN to IMPL. Three handoffs give 0.9 × 0.9 × 0.9, about 73%. If SPEC drops a condition and PLAN does not rediscover it, IMPL will faithfully implement an incomplete plan. Each stage can receive a respectable score while the result moves further from the original requirement.

One continuous Ticket → SPEC → PLAN → IMPL → PR → QA → Ready for Deploy flow; three initial handoffs illustrate ×0.9 retention, while QA and the return to the existing IMPL stage remain human work in orange

The Harness Abyss

To reduce drift, I merged SPEC and PLAN, cutting three stages to two. Keeping requirements and planning together removed one handoff and one opportunity to reinterpret the requirement. The inner agent still executed; the outer agent still checked and guided. Cross-stage drift improved somewhat, but the checks did not disappear. They all piled into PLAN.

Requirements had to be checked for completeness. Plans had to cover the cases. Verification methods had to be executable. The checks multiplied, and the repository ballooned from 10,000 lines to 100,000. More checks, more code. More code, more bugs.

The checks could block the workflow themselves. One piece of review preparation in the old version took a snapshot and captured materials to fix its inputs. That preparation held onto a shared queue. When one review took a long time to prepare, unrelated delegations had to wait too. The Agent was not moving. After tracing it down, the thing blocking it was the checking workflow I had written.

The PR creation tool had a similar problem. An external service could explicitly reject a request, yet the tool would report "write outcome unknown." A rejection calls for fixing the cause and trying again. An unknown outcome calls for checking whether the PR was created before retrying. Confuse the two and the Agent's recovery steps go wrong too. In the conversation, it looked as though the model could not handle errors. The framework had given it the wrong error.

Fixing those bugs meant adding tests, changing recovery logic, and checking for effects elsewhere. More and more of the repository existed just to keep the agent workflow itself running.

In What Agent Workflows Need Is a Programmable Sandbox, I wrote about how painful it was to debug the whole workflow. Change something and rerun it. The model takes another path; the tool responses change. This run succeeds. Did the fix work, or did the run happen to avoid the bug? To preserve the conditions, now you need recording, replay, and fault injection. Solve one layer and there is another underneath.

The endless bugs made something clear: I could not keep adding to the harness this way. I had wanted code to constrain the model. Now, before the model could work, it had to get past the problems I had built for it.

Astra 6 arrived around then, with another large jump in capability. I started wondering: the model can already code and adapt when something fails. Why am I still hard-coding every step for it? A heavy harness was a bottomless abyss. It was time to loosen the reins.

The next architecture gave the model tools and let it decide the workflow. Give it the requirements and acceptance criteria. Let it decide which file to read first, how to break down the changes, and what to do after a failure based on what it finds. If it can use files, a shell, a device, or a browser directly, let it. One less proxy layer, one less layer of my own bugs.

ACP (Agent Client Protocol) standardizes communication between clients and coding agents: creating or resuming sessions, sending tasks, and receiving messages, plans and tool activity, with support in clients including Zed and JetBrains IDEs. Autopilot talks to agents through that protocol, so switching agents means changing the connection configuration instead of rewriting the workflow around another vendor’s CLI.

Through the move from three stages to two, then to an agent-driven workflow, Graphite remained indispensable. The orchestration around it kept changing. The Agent still needed to get knowledge from code, and Graphite kept being improved.

I no longer had to encode every tool choice and every recovery branch in the framework. Results still needed checking: open a separate session, verify them against the original requirements, and send failures back for repair. Using multiple models to find omissions survived. Execution and checking stayed separate. The model now organized the steps that moved the task forward.

ACP connects interchangeable agents; the model chooses direct code, device and browser calls within its execution session, while a separate session independently checks the candidate

The Return of the Once-Dismissed SKILL

The next architecture had reached this point, and I was full of confidence. Then Fable 5.2 landed another heavy blow: agent-driven automated testing, which had troubled us for more than half a year, suddenly opened up. That was the end-to-end run at the start of this post.

Autopilot's vision had always been no human in the loop. Until then, it had stopped at automatically producing a PR. The code was written, compilation and local tests passed, but the end-to-end tests did not follow. Someone had to take the AI-generated PR, test it, fix bugs, and keep going until QA passed.

That work requires device operation, test data preparation, and result judgment to run together. After a button is pressed, is the page in the expected state? Is the data the case needs ready? Is the observed result a business logic error, or was the environment set up incorrectly earlier? Change the code along the way and verification has to run again. Any break in that sequence leaves the rest to a person.

Automatically generating a PR changed the work in people's hands, but delivery was still waiting on them. What actually happened on the device determined whether the feature was finished.

With Fable 5.2, a SKILL could connect the whole delivery path: take a ticket through implementation and a PR, then run QA, return to IMPL to fix bugs, and test the new PR until it was Ready for Deploy. Device operation, test data preparation, result judgment: it wiped the floor with earlier generations on every one of them. Where a person used to have to step in, the Agent could now keep going. It could finally use the accumulated SKILLs and tools together. Graphite was among those tools. Those 2,000 lines of SKILL ran on top of work that had continued all year.

One continuous Ticket → SPEC → PLAN → IMPL → PR → QA → Ready for Deploy flow, with a return connector from QA to the existing IMPL stage to fix bugs and repeat the PR/QA cycle; activities are agent blue, while Ticket, PR and Ready for Deploy use a neutral input/result style

Fable 5.2 also confirmed the choice to treat Code as KB. As models improve, they can infer most knowledge from the code. What the code does not contain is mostly the process knowledge people pass along by word of mouth: where the test environment is and how to use it, whom to ask to review a ready PR, who approves a deployment. Those things need to go into a SKILL for the next run. I also saw teams with KBs upgrade their models, find that the KB was causing more problems than the model, and end up discarding the KB.

After building an entire agent workflow and starting another architecture, the automated testing gap was still there. In the end, Fable 5.2 and the SKILL I had dismissed closed it.

What Is Left for Agentic Engineering?

An agent workflow built from more than 100,000 lines of code was routed by a 2,000-line SKILL running on today's frontier model.

In his 2019 essay The Bitter Lesson, Rich Sutton argued that general methods that scale with computation ultimately outperform approaches that build human knowledge into the system.

What is left for Agentic Engineering?

Models still encounter obstacles, and they still waste time. The first stops the task outright. The second is easier to miss: the task eventually finishes, but the result does not show how much time went into repeated trial and error.

For example, a command can do the job, but a permission checker cannot understand its compound syntax and asks for human confirmation. The unattended run stops there. Rewrite the command and it continues. Move to the next task and another form gets blocked.

Then there is rebuilding the same tool. Extract a few fields from the JSON returned by GitHub CLI. The original command gets blocked, so the Agent writes a little Python. This task gets past it. Next time, it writes the same thing again. The Agent stays busy and keeps producing code. It just already did this work on the previous run.

A prewritten SKILL and a harness have the same limitation here: both cover only what was known when they were written. New tasks bring new problems. If a solution stays in the current session, the next run starts over. Replacing more than 100,000 lines of code with a 2,000-line SKILL leaves that problem intact.

In Test Cases Are Software's Core Asset, I argued that code can be rewritten, but the scenarios and constraints we paid to discover must survive. The same applies when an Agent executes tasks. Does the experience from each run accumulate into a feedback loop?

RSI Is the Future

Looking back at build-feature, it too started with a few tasks. I gathered session experience into a SKILL and ran more tasks with it. When problems appeared, I edited it again, from a few hundred lines all the way to 4,000. The Agent executed. The SKILL waited for a person to update it.

Take end-to-end automated testing. If a run with a SKILL takes 10 hours, the next run in a fresh environment will probably take about 10 hours too. The solutions found and the temporary tools written last time have not become something available at the start of the next run. The time has to be spent again.

To avoid old obstacles and improve efficiency, each execution's experience has to be collected as samples and fed back to the agent so it can improve itself. That is the beginning of RSI, recursive self-improvement. Start by letting the SKILL, rules, and tools improve with the tasks.

The two-layer loop is still needed. The inner agent executes the task. The outer agent supervises, corrects, and verifies, and carries the problems encountered into the next run. Once the current task is done, the next one should have fewer wrong turns to take.

RSI depends on that experience compounding. Later tasks should not have to solve the same problems again. Time saved in execution can go toward new problems, and the new experience can be recorded in turn. Finishing one task autonomously completes only part of this.

Autopilot Must Be Able to Change Itself

Later, the two-layer loop itself became a SKILL: the now open-source Autopilot. Install it in an Agent CLI, and an outer agent supervises an inner agent working in another CLI session. The goal is still no human in the loop. It is not tied to one Agent CLI. Early Autopilot orchestrated delivery through code. Today's Autopilot SKILL puts supervision and the accumulation of experience in the Agent's hands too.

Obstacles encountered during execution are recorded: where the run got stuck, why, and how it got past them. A remedy becomes a candidate lesson. Later tasks must show that it avoids the same kind of problem before it is promoted into the SKILL's playbook for future runs. The outer agent originally guided the current ticket toward a PR. Now it also has to validate what the current task taught it and write that experience into material the next run will read.

Those commands blocked by the permission checker are one example. The first approach was a blacklist: encounter a form, ban it. The record in Autopilot's compounding documentation shows the problem recurring across nine completed tasks. The list kept growing. New forms still blocked execution.

It was later replaced with one rule: if one plain command can express the operation, run it directly. Otherwise, write a script file and run it through the interpreter. Keep the old failure records as cases for checking whether the rule works. A later task has to encounter the same kind of situation and apply the rule to avoid the obstacle before it adds evidence. If it fails again, revise the lesson.

Early in the year, in Witnessing the End of Programming as a Profession, I treated persistent knowledge as a prerequisite for compounding. I also thought that better memory would mean better work. Later, in Long-Term Memory Is Making Agents Dumber, I saw the other side: repeated summarizing and rewriting can corrupt even useful experience. Experience still needs to survive. The assumption that writing it down will make things keep improving needs to change. Keep the raw records, test lessons in later tasks, and do not judge them by how convincing the summary sounds.

Even the release format changed. Early Autopilot was compiled with Bun.js and released as a standalone binary. The current Autopilot SKILL ships Python scripts directly, and its command entry point is a Python file too. Why stop using Bun.js? So the Agent can more easily change itself during RSI.

An Agent can call a compiled binary. To change its behavior, it has to return to the source and compile it again. A script is right there: it can read it, edit it, and run the changed version. If a task exposes a limitation in a tool, the improvement can go into the tool itself instead of leaving the next run another reminder to work around it.

Those changes need verification too. An Autopilot lesson can be a rule or a reusable Python script with tests. Once validated, it is promoted into the playbook. With push access to the repository, it can be contributed back through a PR and shipped in a new release after merging. The next copy of the SKILL can have more tools available than the last one did.

A supervised task loop uses editable scripts; the cross-task loop turns obstacle records into candidate lessons, validates them in later tasks and promotes them to the playbook, with a strong return path into the next task

A prompt still has no binding force. That view holds today. So why return to SKILL? The form has not changed; the way it improves itself has. Every failure in build-feature became another rule, until it reached 4,000 lines. Today's Autopilot SKILL turns each run's experience into a candidate lesson, tests it in later tasks, and keeps what proves useful for the next run. It improves itself through RSI instead of piling up constraints. Otherwise, it would just be build-feature again.

The old approach was to use a harness to keep results from getting worse; the approach now is to use RSI to make them better.

Looking back, the direction was right all along. The models could not keep up at the time, and the harness was too heavy. The two-layer loop, multiple agents and models to reduce hallucinations, three stages cut to two, then a workflow the Agent decides for itself: each moved toward autonomous delivery. Restraint about KB, the conviction that Code is KB, and continued work on Graphite held their course too. With RSI, execution experience feeds into the next run as well. Without the SKILLs and tools accumulated over this year, how could 2,000 lines of code have made end-to-end automated testing work?

After this year, it looks as though we are back where we started. But today's SKILL is no longer the SKILL we started with. It can recursively improve itself. This has been an upward spiral.