---
library: "bootstrap"
slug: "MeaningChangeSweep"
name: "MeaningChangeSweep"
ref: "MeaningChangeSweep#b1e0"
hash: "sema:MeaningChangeSweep#mh:SHA-256:b1e06b26420768c8bb55aa8d13a1f3b8a719111364f28c4c6b2175f4f50f2369"
type: "Reasoning"
layer: "Mind"
version: "0.11.0"
root: "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5"
license: null
url: "https://semahash.org/vocabularies/bootstrap/patterns/MeaningChangeSweep"
---

# MeaningChangeSweep

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

Mind · Reasoning

## 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](https://semahash.org/vocabularies/bootstrap/patterns/DetectorSelfTest.md). The sweep is recorded with its search scope, and readers outside that scope are listed as unchecked.

## Invariants

- Every reader found is updated, rechecked or recorded as unaffected, with a reason.
- The search scope is recorded, and readers outside it are reported as unchecked.
- 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.

## Failure modes

- Green suite read as complete: tests that still assert the old meaning pass, so stale readers survive.
- Repository boundary: readers in another repository, indexer or client copy are not searched.
- Prose readers missed: documents, configuration comments and runbooks keep the old formula.
- Name search only: readers that receive the value through a renamed variable or a tuple position are not found.

## Where this came from

—

## Builds on

- [DetectorSelfTest](https://semahash.org/vocabularies/bootstrap/patterns/DetectorSelfTest.md) (references)

## Used by

- [ExpandContractMigration](https://semahash.org/vocabularies/bootstrap/patterns/ExpandContractMigration.md) (references)
- [SpecBinding](https://semahash.org/vocabularies/bootstrap/patterns/SpecBinding.md) (references)

## Related

- [Termdrift](https://semahash.org/vocabularies/bootstrap/patterns/Termdrift.md)
- [Endsettle](https://semahash.org/vocabularies/bootstrap/patterns/Endsettle.md)
- [ExpandContractMigration](https://semahash.org/vocabularies/bootstrap/patterns/ExpandContractMigration.md)
- [SpecBinding](https://semahash.org/vocabularies/bootstrap/patterns/SpecBinding.md)
- [CompatibilityCheck](https://semahash.org/vocabularies/bootstrap/patterns/CompatibilityCheck.md)

## Identity

- Library: bootstrap 0.11.0 (root a6a3d1ff0f98)
- Ref: MeaningChangeSweep#b1e0
- Hash: sema:MeaningChangeSweep#mh:SHA-256:b1e06b26420768c8bb55aa8d13a1f3b8a719111364f28c4c6b2175f4f50f2369

## Links

- Page: https://semahash.org/vocabularies/bootstrap/patterns/MeaningChangeSweep
- JSON: https://semahash.org/vocabularies/bootstrap/patterns/MeaningChangeSweep.json
- Library: https://semahash.org/vocabularies/bootstrap
- Library index: https://semahash.org/vocabularies/bootstrap/index.json
