Knowledge Portal · engineering documentation

Skip to content

ZAIXOS Engineering Platform — Migration Matrix

Document type: Extraction Planning Specification
Version: 1.0 · Phase: 12-4
Status: Permanent execution authority


Purpose

Every asset: current location, future location, owner, migration phase, validation method, risk level.

Risk levels: L Low · M Medium · H High · C Critical (rollback mandatory on fail)


Ownership transition matrix

DomainBefore extractionDuring dual-run (12-6–12-8)After 12-9 GA
Platform content authorityD-P (hosted in Dental Clinic)D-P (platform repo canonical)D-P (platform repo only)
Platform file hostD-R (Dental Clinic)D-R + platform repoPlatform package in vendor
Adapter workspace sourceD-A (.cursor/ in product)Platform repo + materialized copyMaterialized from package
Validation definitionsD-P (tests in product)D-P (tests in platform package)D-P (product invokes)
CI executionD-RD-RD-R
Product modulesD-RD-RD-R

Section A — Platform governance docs

AssetCurrentFutureOwnerPhaseValidationRisk
Platform Constitutioncore/constitution/PLATFORM_CONSTITUTION.mdcore/constitution/D-P12-6 W1Doc diff zeroL
Platform Boundariescore/constitution/PLATFORM_BOUNDARIES.mdcore/constitution/D-P12-6 W1Doc diff zeroL
Platform Public APIcore/constitution/PLATFORM_PUBLIC_API.mdcore/constitution/D-P12-6 W1Doc diff zeroL
Extension Modelcore/constitution/PLATFORM_EXTENSION_MODEL.mdcore/constitution/D-P12-6 W1Doc diff zeroL
Versioning Policycore/constitution/PLATFORM_VERSIONING_POLICY.mdcore/constitution/D-P12-6 W1Doc diff zeroL
Platform Indexcore/index/PLATFORM_INDEX.mdcore/index/D-P12-6 W1Link checkL
ADR-001–005docs/platform/adr/docs/platform/adr/D-P12-6 W1Doc diff zeroL
Product specsdocs/platform/product/docs/product/D-P12-6 W1Index linksL
Technical specsdocs/platform/technical/docs/technical/D-P12-6 W1Index linksL
Planning specsdocs/platform/planning/docs/planning/D-P12-6 W1Index linksL

Section B — Contracts and runtime specification

AssetCurrentFutureOwnerPhaseValidationRisk
Runtime contracts @1contracts/runtime-contracts.mdcontracts/runtime-contracts.mdD-P12-6 W2Byte compare obligationsC
ERP platform specruntime/specification/engineering-runtime-platform.mdruntime/specification/engineering-runtime-platform.mdD-P12-6 W2Cross-ref testM
Procedures/workflows specdocs/development/phase-11-4-*.mdruntime/components/D-P12-6 W2Cross-ref testM
Phase 10 historicaldocs/development/phase-10-*.mdruntime/specification/archive/D-P12-6 W2Archive markerL
Contract JSON schemas(derived)contracts/schemas/D-P12-6 W2Schema validateM

Section C — Methodology and templates

AssetCurrentFutureOwnerPhaseValidationRisk
DEVELOPMENT_WORKFLOWcore/methodology/DEVELOPMENT_WORKFLOW.mdcore/methodology/D-P12-6 W3EOS integrity testM
RESPONSE_TEMPLATEcore/methodology/RESPONSE_TEMPLATE.mdcore/methodology/D-P12-6 W39-section guardC
GIT_FREEZE_PROCEDUREcore/methodology/GIT_FREEZE_PROCEDURE.mdcore/methodology/D-P12-6 W3Link checkM
CONTEXT_FILE_POLICYcore/methodology/CONTEXT_FILE_POLICY.mdcore/methodology/D-P12-6 W3Link checkL
Report templatestemplates/templates/D-P12-6 W3Format A/B testM
Phase promptstemplates/prompts/templates/prompts/D-P12-6 W3Count parityM
Knowledge packsknowledge/knowledge/D-P12-6 W3Size/countL

Section D — Manifests

AssetCurrentFutureOwnerPhaseValidationRisk
skills-manifestruntime/manifests/defaults/procedures-manifest.mdruntime/manifests/defaults/procedures-manifest.mdD-P12-6 W4Count = 10C
commands-catalogruntime/manifests/defaults/workflows-catalog.mdruntime/manifests/defaults/workflows-catalog.mdD-P12-6 W4Count = 10C
agents-manifestruntime/manifests/defaults/delegation-manifest.mdruntime/manifests/defaults/delegation-manifest.mdD-P12-6 W4Count = 10C
enforcement-manifestruntime/manifests/defaults/enforcement-manifest.mdruntime/manifests/defaults/enforcement-manifest.mdD-P12-6 W4Count = 4 handlersC
context-providers-manifestruntime/manifests/defaults/context-providers-manifest.mdruntime/manifests/defaults/context-providers-manifest.mdD-P12-6 W4Count = 3M
execution-manifestruntime/manifests/defaults/execution-manifest.mdruntime/manifests/defaults/execution-manifest.mdD-P12-6 W4Count = 4 modesM

Section E — Adapter (Cursor v1)

AssetCurrentFutureOwnerPhaseValidationRisk
Rules (9).cursor/rules/*.mdcadapters/.../workspace/rules/D-A12-6 W5RULE_COUNTC
Rule catalogs (11).cursor/rules/catalogs/same treeD-A12-6 W5CATALOG_COUNTM
Procedure skills (10).cursor/skills/{domain}/workspace/skills/D-A12-6 W5PROCEDURE_COUNTC
Workflow skills (10).cursor/skills/{workflow}/workspace/skills/D-A12-6 W5WORKFLOW_COUNTC
Agents (10).cursor/agents/workspace/agents/D-A12-6 W5DELEGATION_COUNTC
Hooks.cursor/hooks.json + hooksworkspace/hooks/D-A12-6 W5Handler IDsC
MCP templates.cursor/mcp/workspace/mcp/D-A12-6 W5Provider IDsM
Execution config.cursor/cli.json, environment.jsonworkspace/D-A12-6 W5EXECUTION_MODE_COUNTM
Adapter profileadapters/cursor-adapter-v1/profile.mdadapters/.../profile.mdD-A12-6 W5Profile sectionsM
Adapter metadataadapters/cursor-adapter-v1/manifest.jsonadapters/.../manifest.jsonD-A12-6 W5ContractComplianceTestC

Section F — Validation suite

AssetCurrentFutureOwnerPhaseValidationRisk
ERP integrity testtests/Architecture/EngineeringRuntimePlatformIntegrityTest.phpvalidation/tests/D-V12-6 W6Self-greenC
EOS integrity testtests/Architecture/EngineeringOperatingSystemIntegrityTest.phpvalidation/tests/D-V12-6 W6Self-greenC
ErpIntegritySupporttests/Architecture/Support/validation/src/Support/D-V12-6 W6Constant parityC
EosIntegritySupporttests/Architecture/Support/validation/src/Support/D-V12-6 W6Path update testsC
GovernanceDocumentationTesttests/Architecture/Split product/platformD-V/D-R12-7Both suites greenH

Section G — Developer-facing docs

AssetCurrentFutureOwnerPhaseValidationRisk
ERP Developer Guidedocs/developer-guide.mddocs/developer-guide.mdD-P12-6 W8Onboarding reviewM
Runtime validation docdocs/runtime-validation.mddocs/runtime-validation.mdD-P12-6 W8Command parityM
Acceptance checklistdocs/acceptance-checklist.mddocs/acceptance-checklist.mdD-P12-6 W8Checklist completeM
Engineering Indexdocs/development/ENGINEERING_INDEX.mdDeprecated → redirectD-P12-9Stub linkL
AI Development Environmentdocs/development/AI_DEVELOPMENT_ENVIRONMENT.mdMerge into developer-guide §D-P12-6 W8Section parityM
erp-freeze-preparationdocs/planning/archive/erp-freeze-preparation.mddocs/planning/archive/D-P12-6 W8HistoricalL

Section H — Consumer configuration (created in product)

AssetCurrentFutureOwnerPhaseValidationRisk
platform.yml.zaixos/platform.ymlD-R12-7ConfigSchemaTestM
platform.lock.zaixos/platform.lockD-R12-7Lock parityC
extensions manifest.zaixos/extensions/manifest.ymlD-R12-7ExtensionSchemaTestL
composer requirecomposer.jsonD-R12-7composer installM
Materialized adapter.cursor/ (source).zaixos/adapters/.../ + mountD-R12-7ChecksumIntegrityTestC

Section I — Never migrate

AssetCurrentFutureOwnerPhaseValidationRisk
Application modulesapp/Modules/StaysD-RModuleBoundaryTest
Product constitutiondocs/architecture/StaysD-RArchitecture tests
Clinic migrationsdatabase/migrations/StaysD-R
Filament resourcesapp/Filament/StaysD-R
Company docsdocs/company/StaysCompany

Section J — Remove after GA (12-9)

AssetActionPhaseValidationRisk
Embedded ERP authority docsDelete (keep stub README)12-9KPI-10 = 0M
Duplicate integrity support in productRemove; use vendor tests12-9CI greenM
Authoritative .cursor/ without mountRemove; materialize only12-9Checksum testH

Critical path assets (must not fail)

  1. contracts/runtime-contracts.md (obligations)
  2. adapters/cursor-adapter-v1/manifest.json
  3. Adapter workspace checksum
  4. RESPONSE_TEMPLATE.md (9 sections)
  5. Manifest inventory counts
  6. platform.lock at consumer cutover

Failure on any → stop extraction wave, execute ROLLBACK_PLAN.md.


Migration Matrix v1.0 — Phase 12-4.

ZAIXOS Knowledge Portal — public engineering docs at /docs · Staff operations at /admin