GitHub's evidence-first method for picking one bounded modernization step
GitHub published a Copilot blog post on 25 November 2026 by Sam Quakenbush. It lays out an evidence-first way to assess a legacy app, pick the least disruptive treatment, and rate regression protection on a five-level scale.
Teams asked to modernize an app often start by picking a framework. The post argues for inventorying evidence first and escalating to a rewrite only when that evidence justifies it, which gives reviewers concrete criteria to check an AI agent's proposals against.

GitHub published a post on its blog on 25 November 2026, written by Sam Quakenbush, describing an evidence-first method for deciding the next bounded step in an application modernization. The post also says the procedure can be encoded in a GitHub Copilot agent skill, with architectural judgment left to the people who own the system.
What happened
In the GitHub Blog post, the author says he applied the method to four public applications, ranging from a small Node.js game to a large Java ERP (enterprise resource planning) system. Each needed different handling, he writes, but the process for gathering evidence and choosing the next experiment was repeatable.
The central idea: before picking a replacement framework, find out what still works, and collect evidence that can serve as a regression net for that behavior.
Key details
- Evidence inventory first. The post lists manifests, lockfiles, entry points and deployable components; verified commands to install, build, test, package and run; runtime pins in containers, CI workflows and deployment files; external contracts such as APIs, database behavior, file formats and user workflows; and end-of-life dependencies with proof the app still uses them.
- Label uncertainty. Findings are tagged documented, inferred or unverified. If files disagree about a Java version, resolve it; if you can't tell whether a CI check blocks merges, record that as unknown rather than guessing.
- Decide per component. A single system may hold code to keep, dependencies to swap, and one subsystem that needs a rewrite. Confirm with an owner that a capability is unused before removing it.
- Treatment order, least disruptive first: keep, upgrade (move to a supported major version and fix breaking changes), swap (replace an abandoned dependency, keep the design), wrap (stabilize an interface, replace internals incrementally), rewrite (when no responsible upgrade path exists or the architecture can't meet the requirement).
- Escalation needs evidence. The author says "the code is old" is not enough. Examples he gives that could justify it: a known vulnerability with no patched release for the pinned version, a dependency that fails on the required runtime, or a measured reliability target the design cannot meet.
Time-boxed feasibility check
The post suggests trying to install dependencies, build, start the component and run at least one meaningful test, then stopping when the time box ends. The result sends you down one of two paths:
- Capture behavior, then upgrade when the old app can still run at acceptable cost: record externally visible behavior, fix the test harness where practical, and use those checks to verify the upgrade.
- Build a small modern slice first when the old component can't run until it has been changed: move the thinnest useful workflow to supported technology, prove it, then expand. The author calls demanding a full legacy test suite here circular.
Safety levels
The author says he uses levels adapted from the doc-and-modernize skill to describe the strongest regression protection available.
| Level | Strongest honest protection |
|---|---|
| L0 | No usable regression net; old code and available documentation act as the specification |
| L1 | Small reversible changes, old and new paths in parallel, smoke checks, domain review |
| L2 | Captured inputs and outputs, snapshots or other behavioral comparisons |
| L3 | Automated checks cover part of the system, with remaining gaps named |
| L4 | Automated CI gate combining lint, unit, behavioral and end-to-end checks for the agreed scope |
The text available for this article cuts off partway through the discussion that follows the table, so details of the agent skill itself are not covered here.
Why it matters
For developers using Copilot or another coding agent on legacy code, the method gives a checklist for reviewing what an agent proposes: does it cite an evidence inventory, mark what is inferred, and justify any step beyond a minimal upgrade? The safety levels also give a shared way to say how much protection a change really has. These are the vendor author's recommendations from his own work on four applications, not independently measured results.
Checked claims
| Claim | Status | Evidence |
|---|---|---|
| The author says he applied an evidence-first method to four public applications. | confirmed | I used an evidence-first method on four public applications |
| Findings are labeled documented, inferred or unverified to record uncertainty. | confirmed | I use three simple labels: documented, inferred, and unverified. |
| The keep/upgrade/swap/wrap/rewrite list is a decision order rather than a ranking of effort or risk. | confirmed | This is a decision order, not a universal ranking of effort or risk. |
| The author argues that requiring a complete legacy test suite is circular when the old component cannot run until it is changed. | confirmed | Requiring a complete legacy test suite in this situation is circular. |
| The post recommends a time-boxed feasibility check to see whether the component can produce evidence. | confirmed | Run a time-boxed feasibility check. |
| The safety levels are adapted from the doc-and-modernize skill. | confirmed | I use the following safety levels, adapted from the doc-and-modernize skill |
Found a mistake? Use Report above; an editor reads every one. Editorial policy
Get the daily briefing
The stories editors checked today, in your inbox every morning.
Question for readersWhen you inherit a legacy codebase, what evidence do you collect first before deciding whether to upgrade, wrap or rewrite it?
Discussion · 0
No comments yet. Start the discussion.
Sign in to join the discussion.