Skip to main content

Peak Re-architecture Source of Truth

This document is the durable support reference for the retired Peak runtime boundary. The executable owner map lives in tools/peak-rearchitecture/src/main/java/com/myriad/peak_rearchitecture/migration/PeakRearchitectureCatalog.kt. The local completion audit is scripts/peak_rearchitecture_completion_audit.py.

Current boundary

  • apps/microservices/peak-api is retired and must not return as a runnable service, generated SDK, OpenAPI artifact, Cloud Run service, image target, or public route host.
  • Former Peak non-AI account workflows terminate in management-api, merchant-api, or tx-bundler according to the catalog owner map.
  • AI and agent runtime belongs in ai-api.
  • The standalone PeakPro portal is retired. Reusable portal code belongs in apps/websites/portals/shared, and product surfaces should live in the canonical retail or support portals.
  • Retired names may appear only in migration catalogs, evidence validators, and guard tests that prevent old surfaces from returning.

Scope locks

Issue #1504 remains excluded from this re-architecture gate until it has a current owner and issue-specific evidence.

Tap to Pay remains excluded from this re-architecture gate; Android/payment validation owns that proof separately.

Feature Mode is consistently implemented as vertical.

Feature Level is consistently implemented as package/capability level.

Evidence

Source checks are local and executable:

python3 scripts/check_retired_peak_surfaces.py
python3 scripts/check_former_peakpro_naming.py
python3 scripts/peak_rearchitecture_completion_audit.py --allow-blocked

Physical closure still requires real artifacts under artifacts/peak-rearchitecture/<slice>/:

  • dual-read-parity.json
  • backfill-ledger.json
  • compatibility-telemetry-window.json

Those artifacts are validated by scripts/peak_rearchitecture_evidence_gate.py; missing live evidence should be reported as blocked, not papered over with plan text.