← Engel's Code Design Notebook

Self-Healing Codebase Project

A codebase that can help check and repair itself needs a map of its behavior, a way to drive the real product, and evidence that a fix works. This project builds that loop for the OpenHands app, Agent Server and core SDK. Agents reproduce bugs, propose repairs and verify the result; maintainers make the decisions. The map then describes the application as it works now.

The explainer

Self-Healing, from the ground up. Software factories change code at the speed of agents, and that needs a safety net. Five minutes build it one piece at a time, following one real bug: the Git name saved in Settings never reached the agent’s commits (#17899), proven before and after its fix (#18425). Drawn with Manim, narrated with the open-weights Kokoro-82M voice af_heart, with a generated score. Download (MP4, 18 MB) · Narration, scene script and music
Self-Healing, for the Agent Server. Three safety nets under a codebase that agents change faster than people can read: design review where it matters, constraints on possible code, and self-healing when it breaks anyway. From one promise to the whole map, then three bugs that people using a UI over REST would feel: a goal that kept “running” after a restart (#5627, fixed by #5772), one failed run freezing every window for five seconds (#5633, fixed by #5780), and a settings save that erased stored keys after a key change (#5622, fix in review as #5758). Drawn with Manim, narrated with the open-weights Kokoro-82M voice af_heart, with a generated score. Download (MP4, 15 MB) · Download as ZIP (if your browser plays the MP4 instead of saving it) · Narration, scene script and music
And for the SDK: two minutes on what an agent actually sees when it uses it: the map, the control-agent-server CLI, a recipe that caught a bug, and the full replay. Drawn with Manim, with a generated score. Download (MP4, 10 MB) · Scene script and music

Agent Server

The first map: 34 families and 931 sub-features of the Agent Server, driven over REST, WebSocket, the Python client and the TypeScript client. Its full replay: 771 pass, 156 known bugs reproduced, 6 blocked, no surprises. It lives in software-agent-sdk PR #5621.

Verify everything, thus fix everything
What came after the full run: every medium and low bug fixed, one pull request each, proven against the map, with a "Decision needed" section wherever the choice belongs to a maintainer. A narrated video walks through the most telling fixes.
video + page · 14 October 2026
Full Agent Server replay with DeepSeek
935 mapped IDs across 34 families, two fresh proofs per confirmed defect, and five narrated live bug recordings. Complete results, recipe adaptations, coverage limits, and downloadable evidence.
full report + recorded bugs · 13 October 2026
A map that keeps itself honest
The presentation, opening with a short animated film: a control CLI, an executable map of 930 Agent Server behaviors, and known bugs as expected failures. The full replay, and the upstream fix it caught.
presentation + film · 11 October 2026
Agent Server bug tracker
38 Agent Server bugs the map found or reproduced: severity, status and a two-sentence summary each, linked to the issues and to umbrella #5653.
tracker · 9 October 2026

Core SDK

The next map covers the SDK used in process: the agent loop, LLMs, conversations, condensers, skills, MCP, tools, workspaces and more, in 21 families (S01–S21). It is being drafted now and will be linked here when it is published.

OpenHands app

The OpenHands app (Agent Canvas) is a full part of the Self-Healing Codebase Project: a maintained feature map, a browser-driving CLI, and real before/after evidence. Its presentation and human-readable map also have their own cards on the notebook home page.

Give agents a way to prove it
A visual presentation of OpenHands’ verification loop: 716 mapped behaviors, a control CLI, evidence rules, and maintenance. Real before/after screenshots show what the first run found and fixed, with credit to Lauren Tan’s pstack.
presentation · updated 9 October 2026
120 findings: the issues and their fixes
Issues filed by OpenHands feature-map verification runs, grouped by repository and theme, with the checked status of their fixing pull requests.
findings snapshot
control-openhands: agents using Agent Canvas like a user
The CLI behind the verify-openhands skill: isolated stacks, a browser that persists across commands, and an evidence ledger.
how it works · 5 October 2026

The OpenHands app map, in mini scripts

The 16 October edition covers 778 behavior IDs in 28 families from PR #18334. Each named scenario separates prerequisites, actions and expectations. Reproduced failures, known issues with missing prerequisites, and checks not run keep their own markers.

Earlier illustrated feature map

The feature map, for humans: 743 behaviors in 27 families, with readable CLI scripts and real screenshots. Source snapshot: 9 October 2026.

Starting work

Conversation & workspace

Settings & configuration

Customization

Automations

Backends & runtimes