# The algo records whose domain is centralization

This index as JSON: https://banes-lab.com/json/api/facets/algo/domain/centralization

## Entries

- [Runtime-Agnostic Adapter Boundary](https://banes-lab.com/records/algo/runtime-agnostic-adapter-boundary.md): Express all workflow operations as semantic verbs, delegate runtime-specific mechanics to adapters, and prohibit repository-, shell-, framework-, model-, or path-specific logic from entering the core contract.
- [Operation Mode Gating](https://banes-lab.com/records/algo/operation-mode-gating.md): Detect the requested operation mode, bind permitted capabilities, reject source mutation outside execution mode, and emit only artifacts valid for the current mode.
- [Capability Disclosure](https://banes-lab.com/records/algo/capability-disclosure.md): Declare required capabilities, probe or emulate each capability, mark unavailable capabilities explicitly, and downgrade confidence where capability gaps affect evidence quality.
- [Pattern Classification](https://banes-lab.com/records/algo/pattern-classification.md): Extract the target pattern description, classify it into a known centralization category, select a search strategy, select a validation strategy, and request the developer's decision only when classification remains ambiguous.
- [Refactor Intent Classification](https://banes-lab.com/records/algo/refactor-intent-classification.md): Determine whether the scattered pattern represents a duplication problem, default multiple-occurrence problems to replacement refactor, and require explicit debt justification for additive enhancement.
- [Research Guidance](https://banes-lab.com/records/algo/research-guidance.md): Query available external or local guidance, extract best practices and anti-patterns, score research quality, and disclose reduced confidence when current external research is unavailable.
- [Iterative Variation Discovery](https://banes-lab.com/records/algo/iterative-variation-discovery.md): Search for the primary pattern, inspect match context, infer variants, add new variants to the search set, and repeat until no new variations appear or the iteration cap is reached.
- [Detection Registry](https://banes-lab.com/records/algo/detection-registry.md): For every discovered occurrence, record resource, location, local context, matched pattern, extracted value, occurrence role, variation type, and discovery iteration.
- [Canonical Variation Selection](https://banes-lab.com/records/algo/canonical-variation-selection.md): Compare all detected variations by frequency, completeness, architectural fitness, and semantic coverage, then select the canonical implementation from evidence rather than preference.
- [Architecture Compliance Targeting](https://banes-lab.com/records/algo/architecture-compliance-targeting.md): Load relevant architecture and validation guidance, inspect existing centralized patterns, check naming and capacity constraints, detect conflicts, and select a justified centralization target.
- [Existing Solution Conflict](https://banes-lab.com/records/algo/existing-solution-conflict.md): Search existing centralized locations for the same or overlapping pattern, classify whether to reuse, extend, create a distinct target, or cancel, and require the developer's decision when conflict resolution is not mechanically safe.
- [Migration Action Mapping](https://banes-lab.com/records/algo/migration-action-mapping.md): Convert every detection-registry occurrence into an explicit migration action, including old content, replacement strategy, skip policy, and justification requirement.
- [Atomic Refactor Phase](https://banes-lab.com/records/algo/atomic-refactor-phase.md): Divide the refactor into ordered phases, attach actions, attach verification criteria, attach rollback behavior, and prevent progression until the phase verification passes.
- [Replacement Refactor](https://banes-lab.com/records/algo/replacement-refactor.md): Create the centralized implementation, establish reference infrastructure, migrate all occurrences, delete old definitions, verify zero duplication, and run final validation.
- [Additive Debt Gate](https://banes-lab.com/records/algo/additive-debt-gate.md): When a proposed abstraction leaves old patterns in place, require explicit approval, document retained debt, define deprecation conditions, and prohibit calling the result complete centralization.
- [Rollback-Centered Execution](https://banes-lab.com/records/algo/rollback-centered-execution.md): Before each destructive or high-risk phase, create a checkpoint, execute actions, verify results, and roll back immediately on critical action or verification failure.
- [Pattern-Specific Validation](https://banes-lab.com/records/algo/pattern-specific-validation.md): Select validation checks by pattern type, execute or mark each unavailable, verify architecture compliance, check all known variations for orphaned duplicates, and compute validation score.
- [Zero-Duplication Verification](https://banes-lab.com/records/algo/zero-duplication-verification.md): Search every known primary and variant pattern outside the approved centralized location, classify remaining matches as approved or orphaned, and require zero unapproved matches for replacement refactors.
- [Validation Score](https://banes-lab.com/records/algo/validation-score.md): Count total validation checks, count passed checks, divide safely, and mark complete only when the score is perfect and no remaining issues exist.
- [Developer Decision Gate](https://banes-lab.com/records/algo/developer-decision-gate.md): Request the developer's decision before destructive, ambiguous, conflict-prone, additive-with-debt, or high-risk actions, then bind the selected decision into subsequent plan state.
- [Completion Truthfulness](https://banes-lab.com/records/algo/completion-truthfulness.md): Mark centralization complete only if all critical criteria pass, all old patterns are removed or justified, zero duplication is verified, validation evidence is recorded, and remaining issues are empty.
- [Centralization Report](https://banes-lab.com/records/algo/centralization-report.md): Compose a final report containing classification, research confidence, detection metrics, architecture decision, plan, execution status, validation score, remaining issues, artifact references, and unavailable capabilities.
- [Centralization Kernel](https://banes-lab.com/records/algo/centralization-kernel.md): Initialize runtime context, classify the target pattern, gather research, discover all variations, analyze architecture, build a refactor plan, optionally execute migration, validate zero duplication, and report status.
- [<Centralization Concern>](https://banes-lab.com/records/algo/centralization-concern.md): <Detect context> → <Classify pattern> → <Discover all occurrences and variants> → <Choose canonical source> → <Map migration> → <Gate execution> → <Validate zero debt> → <Report evidence>
