Knowledge Portal · engineering documentation

Skip to content

ZAIXOS Engineering Platform — Validation Plan

Document type: Extraction Planning Specification
Version: 1.0 · Phase: 12-4
Status: Permanent execution authority
Technical reference: technical/VALIDATION_ARCHITECTURE.md


Purpose

Define validation before, during, and after extraction — checkpoints, suites, pass criteria, and owners.


Validation timeline

PRE-EXTRACTION (before 12-5)
    │ Baseline capture

DURING EXTRACTION (12-6 per wave)
    │ Wave gates W1–W8

DURING SCAFFOLD (12-5)
    │ Empty repo structure validation

CONSUMER INTEGRATION (12-7)
    │ Dual-run parity

PLATFORM VALIDATION (12-8)
    │ Full parity + compatibility

POST-GA (12-9)
    │ GA acceptance + KPI gates

Pre-extraction validation (before Phase 12-5)

Objective: Establish immutable baseline SHA and green tests in Dental Clinic repo.

CheckpointCommand / actionPass criteriaOwner
PRE-1php artisan test tests/Architecture/EngineeringRuntimePlatformIntegrityTest.php tests/Architecture/EngineeringOperatingSystemIntegrityTest.php100% passDeveloper
PRE-2Record git SHA of Dental Clinic repoDocument in 12-5 kickoff reportPlatform Architect
PRE-3Capture adapter workspace SHA-256Stored in extraction baseline docPlatform Developer
PRE-4Verify adapters/cursor-adapter-v1/manifest.json matches ErpIntegritySupportMetadata test passDeveloper
PRE-5Confirm planning suite complete (12-4)All planning docs in indexArchitect

Gate: PRE-1 through PRE-5 green before creating platform repository (12-5).


During extraction validation (Phase 12-6, per wave)

WaveCheckpoint IDValidation methodPass criteria
W1 GovernanceEX-W1Doc diff vs Dental Clinic sourceZero semantic diff
W2 ContractsEX-W2Obligation text comparecontracts@1 identical
W3 MethodologyEX-W3EOS integrity tests (adapted paths)Pass
W4 ManifestsEX-W4ManifestParityTest countsMatch ErpIntegritySupport
W5 AdapterEX-W5AdapterWorkspaceTest + checksumMatch baseline SHA-256
W6 Validation suiteEX-W6Platform repo CI full greenAll tests pass
W7 SchemasEX-W7ConfigSchemaTest on examplesPass
W8 Developer docsEX-W8Link crawl + onboarding reviewNo broken Public links

Rule: Wave N failure → stop; no wave N+1. Rollback per ROLLBACK_PLAN.md.


Scaffold validation (Phase 12-5)

CheckpointValidationPass
SC-1Directory tree matches REPOSITORY_LAYOUT_PLAN.mdAll dirs exist
SC-2composer.json validates (composer validate)Valid
SC-3Empty PHPUnit runs (0 tests or smoke)No error
SC-4.gitignore excludes vendorCorrect
SC-5No ERP asset content yet (structure only)No premature copy

Consumer validation (Phase 12-7)

CheckpointValidationPass
CO-1composer install in Dental ClinicSuccess
CO-2ConfigSchemaTest on product .zaixos/Pass
CO-3Materialization checksum matches platform rcMatch
CO-4EngineeringRuntimePlatform suite in product CIGreen
CO-5Dual-run: embedded tests still greenGreen (until 12-9)
CO-6Developer smoke: open Cursor, load rulesManual checklist

Platform validation phase (Phase 12-8)

CheckpointValidationPass
PV-1Parity: vendored adapter checksum == embedded baselineEqual
PV-2Parity: manifest counts platform == embeddedEqual
PV-3Consumer: product CI green on integration branchGreen
PV-4Compatibility: lock schema + contractMajorValid
PV-5Compatibility: composer.lock == platform.lock versionMatch
PV-6KPI-1 install time ≤ 60 minMeasured
PV-7KPI-3 validation pass rate baselineDocumented
PV-8Architect acceptance Format BAccepted

Post-GA validation (Phase 12-9)

CheckpointValidationPass
GA-1Embedded ERP authority docs removedKPI-10 → 0
GA-2Product relies on lock onlyNo duplicate manifests in docs/development
GA-3Platform tag zaixos-platform@v1.0.0Tag exists
GA-4Acceptance checklist (acceptance-checklist.md future path)Complete
GA-5ModuleBoundaryTest + EngineeringRuntimePlatform both greenCI green

Validation suites by phase

SuitePre12-512-612-712-812-9
EngineeringRuntimePlatformIntegrityTestProductPlatformProduct vendorProductProduct vendor
EngineeringOperatingSystemIntegrityTestProductPlatformProduct vendorProductPlatform package
ConfigSchemaTestExamplesPlatformProductProductProduct
ManifestParityTestPlatformProductProductProduct
AdapterWorkspaceTestPlatformProductProductProduct
ModuleBoundaryTestProductProductProductProductProductProduct

Failure response

SeverityAction
Critical test failStop phase; rollback
Link crawl failFix before wave merge
Checksum driftRematerialize; if persistent, rollback
KPI missDocument exception; Architect decision required

Validation Plan v1.0 — Phase 12-4.

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