Mind · Reasoning

MeaningChangeSweep

When a value's meaning changes, find and recheck every reader of the old meaning

Definition

Mechanism

When the meaning of a value changes while its name, type or position stays, every reader of that value is enumerated before the change is declared done: code paths, tests that compute with it, documents, configuration comments, dashboards, other repositories and hand-copied interfaces. Each reader is updated, rechecked against the new meaning, or recorded as unaffected with a reason. A passing test suite is not evidence of completeness: a test relied on to tell the meanings apart is checked for what it now asserts, for example by running it against the old reading, as in DetectorSelfTest. The sweep is recorded with its search scope, and readers outside that scope are listed as unchecked.

Invariants

  1. Every reader found is updated, rechecked or recorded as unaffected, with a reason.
  2. The search scope is recorded, and readers outside it are reported as unchecked.
  3. A test relied on to distinguish the old meaning from the new counts as checking it only once it has been shown to fail under the old meaning.

Risks

Failure modes

  1. Green suite read as complete

    tests that still assert the old meaning pass, so stale readers survive.

  2. Repository boundary

    readers in another repository, indexer or client copy are not searched.

  3. Prose readers missed

    documents, configuration comments and runbooks keep the old formula.

  4. Name search only

    readers that receive the value through a renamed variable or a tuple position are not found.

Relationships

Builds on

References

Infrastructure

DetectorSelfTest

Test the detectors that guard a process, so their silence is not mistaken for health

Used by

References

Infrastructure

ExpandContractMigration

Change a shared format by adding the new form beside the old, moving every consumer, then removing the old

SpecBinding

Bind an implementation to an external specification by a pinned version, a two-way map and a ledger of deviations

Reference

Identity

Ref
MeaningChangeSweep#b1e0
Sema ID
sema:MeaningChangeSweep#mh:SHA-256:b1e06b26420768c8bb55aa8d13a1f3b8a719111364f28c4c6b2175f4f50f2369
Ring
2
Tier
2
Updated
2026-11-11