Probabilistic Systems Engineering

Why Rewriting / Refactoring Doesn’t Restore Authority

The Intuitive Response

After a system produces an outcome no one intended, the most common response is to rewrite it.

Code is cleaned up.
Flows are clarified.
Abstractions are improved.
Comments are added.
Tests are expanded.

This feels like progress.

Often, it is not.


What Rewriting Actually Changes

Rewriting improves:

It changes how a system behaves.

It does not change what the system is allowed to do.

Unless permission boundaries are altered, rewriting leaves authority exactly where it was before.


The Permission Surface Remains Intact

Consider a system that was able to enter a forbidden state.

After refactoring:

But if the system can still execute the same class of action, nothing fundamental has changed.

The permission surface is untouched.

Authority has not moved.


Why This Feels Like It Should Work

Rewriting often improves understanding.

And understanding feels like control.

Teams feel safer because:

But explanation is not enforcement.

A system that is easier to reason about is not necessarily a system that is more constrained.


Refactoring as Retrospective Control

Refactoring is inherently retrospective.

It responds to something that already happened.

Authority operates prospectively.

It determines which futures are impossible before execution.

Rewriting can explain how the system reached a forbidden state.
It cannot, by itself, make that state unreachable.


Why Tests Don’t Solve This Either

Tests demonstrate that some behaviors work.

They do not prevent other behaviors from occurring.

Unless a test failure blocks execution at runtime, it is informational, not authoritative.

Tests increase confidence.
They do not impose refusal.


The False Sense of Resolution

After a rewrite, teams often say:

Sometimes that is true.

Often, it is not.

The system behaves differently, but the boundary remains implicit.

The same class of outcome is still permitted—just harder to stumble into accidentally.


What Actually Changes Authority

Authority moves only when:

This requires changing what the system can do, not how clearly it does it.


What This Essay Is Actually Saying

Rewriting and refactoring are valuable.

They are not authority mechanisms.

They improve understanding, not permission.

If a rewrite does not introduce new refusal points at execution time, authority remains exactly where it was before—absent.

Clarity is not constraint.

Until that distinction is enforced mechanically, systems will continue to get easier to read while remaining just as permissive.

Collection navigation

Essay 9 of 10

Read next