# Refactor Notes

## Code cleanup

- [`code-cleanup-module-audit.md`](code-cleanup-module-audit.md) — active module
  checklist, current consumer evidence, large deletion candidates, and retained
  boundaries. Scoped cleanups do not imply a complete module audit.

## Serviceification

- [`serviceification/legacy-api-consumer-inventory.md`](serviceification/legacy-api-consumer-inventory.md)
  — non-normative inventory of current in-process API, callback, context, and
  durable-work seams that must be retired under the target architecture.
- [`serviceification/runtime-metadata-closure-p7a.md`](serviceification/runtime-metadata-closure-p7a.md)
  — current-tree independent Runtime metadata closure plus the finite P7b
  parity and P7c/S1 ownership-flip gates.
- [`serviceification/runtime-record-access-metadata-closure-v1a-m.md`](serviceification/runtime-record-access-metadata-closure-v1a-m.md)
  — deterministic non-serving record-access projection, executable fact-owner
  inventory, parity proof, and P7c/S1 + V1b deletion handoff.
- [`serviceification/release-artifact-delivery-inventory-r1a.md`](serviceification/release-artifact-delivery-inventory-r1a.md)
  — current release artifacts, publication/consumption paths, effective L2
  delivery tuple, and the R1b/R2/R3 gap handoff.

This directory contains active refactor lanes only. Historical investigations,
dated progress baselines, and handoff registers are removed from the live docs
tree after they stop being execution inputs; use git history for old evidence.

Current L0/L1 boundary work lives in
[`l0-l1-boundary/`](l0-l1-boundary/). Ownership decisions cite
[`../design/l0-l1-standard.md`](../design/l0-l1-standard.md), not retired
refactor snapshots.

The NexusCRM serviceification program records durable technical decisions,
errors, evidence, and next hypotheses in
[`serviceification/refactor_learned.md`](serviceification/refactor_learned.md).
Live phase and PR status remains in the linked GitHub tracking issue rather than
being duplicated in the learned log.
