# Verifiable Continual Learning: Four Principles
<!--
ref: @knowledge/frameworks/verifiable-continual-learning
type: framework
tags: [continual learning, AI agents, self-improvement, testing principles]
triggers: [agent fails to learn from past errors, need for systematic improvement, designing self-improvement loops]
trigger_prompt: When developing an AI agent that needs to learn from its failures while ensuring past successes are not lost.
version: 2
updated_at: 2026-07-18T22:55:40.951Z
-->

Every fix an agent learns from a failure should be proven to help and proven to break nothing that already worked — otherwise you're just guessing.

*Synthesized from Soheil Feizi, Continual Learning for AI Agents (AI Engineer World's Fair 2026).*

Verifiable Continual Learning (VCL) improves an agent from its own experience such that each update is tested. Every fix runs three steps: an **executable test** (turn the failure into a replayable task), a **measured delta** (score the test before and after the update), and a **regression test** (prior tests still pass afterward).

Four principles guide it:
1. **Replayability** — turn a one-off failure into a rerunnable test. Log + feedback alone is one observation and isn't testable; you must lift it into a simulated environment (see the companion note on why logs aren't learning environments).
2. **Holisticness** — one failure can have several causes and repairs (memory, prompt, tool, workflow, or model). Route the fix to the layer that actually explains it, with the smallest durable change. Example: an agent citing a stale policy and skipping an escalation could be a stale memory fact, an un-optimized prompt, a tool that doesn't normalize policy, a missing workflow gate, or a weak model.
3. **Lifelongness** — a new fix must improve the new case without breaking past ones. Treat regression as a mechanism *inside* the optimizer, not a post-hoc check: fix environment E(K+1) subject to no regression across the past K environments, done efficiently enough not to scale linearly in K.
4. **Efficiency** — the loop should run frequently; cost ranges cheap (memory) to medium (prompt/harness) to expensive (weights), and the regression-aware optimization itself must stay efficient.

When to apply: designing any self-improvement loop where an agent ingests failures. The frontier claim: regression-aware continual improvement — verifying you don't forget old wins while fixing new failures — is what separates durable improvement from vibe-based edits that quietly regress.

---

*Related: `@content/youtube/david-ondrej/fine-tune-the-biggest-open-source-models-even-with-a-bad-pc` · `@content/youtube/david-ondrej/tailscale-clearly-explained-beginners-guide` · `@content/youtube/nate-herk/how-claude-is-creating-a-new-generation-of-millionaires` · `@content/youtube/eo-global/the-problem-with-ai-agents-no-one-is-talking-about-yutori-abhishek-das` · `@content/youtube/bmad-code/the-end-of-code-as-we-know-it-the-third-wave-is-here`*

---

*You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).*

*Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*