MrBusseyConsulting LLC CV
EPAF Technical Reference

3. EPAF with AI

Step 2 — Establish workspace

Workspace provisioning — complete distribution

Assume EPAF is functionally complete. Obtain the approved, versioned engineering distribution and copy it in its entirety into each workspace. Do not cherry-pick modules or copy a dirty source checkout. The source path below denotes a clean release distribution, not an arbitrary Git working tree. Exclude credentials, secrets, caches, temporary files and repository metadata from the approved distribution before copying. Preserve relative paths, versions and hidden engineering resources.

Development/
  EPAF/                         # approved engineering distribution
  Workspaces/
    DatabaseHealthMonitor/
      EPAF/                     # pinned engineering copy
      DatabaseHealthMonitor/    # generated product source
    D365DataQuality/
      EPAF/                     # independent engineering copy
      D365DataQuality/          # generated product source
Copy into workspace EPAF/ Include in deployed product
Architecture documentation, ADRs, governance and standards Engineering only
Shared framework modules and manifests Required runtime modules only
Transitive dependencies and version metadata Required runtime dependencies only
Configuration schemas, templates and interface contracts Applicable runtime resources only
Product generator and scaffolding templates Engineering only
Quality Gate, framework tests and test utilities Engineering only
AI instructions and skills Engineering only
Packaging and release tooling Engineering only
Release manifest, version and integrity metadata Product-specific release metadata only

Copy the distribution

Run in PowerShell 7. Set the source and workspace paths for the approved release and intended product. Repeat for each workspace; do not overwrite an existing EPAF copy.

$Source = Join-Path $HOME 'Development/EPAF'
$Workspace = Join-Path $HOME 'Development/Workspaces/DatabaseHealthMonitor'
$Destination = Join-Path $Workspace 'EPAF'
if (-not (Test-Path -LiteralPath $Source -PathType Container)) {
    throw 'Approved EPAF distribution not found.'
}
if (Test-Path -LiteralPath $Destination) {
    throw 'Workspace EPAF already exists; use the controlled upgrade procedure.'
}
New-Item -Path $Workspace -ItemType Directory -Force | Out-Null
Copy-Item -LiteralPath $Source -Destination $Destination -Recurse -Force -ErrorAction Stop
Set-Location -LiteralPath $Destination

Verify the copied files

Verify the source release against its approved manifest or trusted checksums first. The following additional comparison checks file paths and SHA-256 content hashes against that source; it does not authenticate the source release or validate empty directories or filesystem permissions.

function Get-DistributionInventory {
    param([Parameter(Mandatory)][string]$Root)
    Get-ChildItem -LiteralPath $Root -File -Recurse -Force | ForEach-Object {
        $Relative = [IO.Path]::GetRelativePath($Root, $_.FullName)
        '{0} {1}' -f $Relative, (Get-FileHash -LiteralPath $_.FullName -Algorithm SHA256).Hash
    } | Sort-Object
}
$Expected = @(Get-DistributionInventory -Root $Source)
$Actual = @(Get-DistributionInventory -Root $Destination)
if ($Expected.Count -eq 0 -or $Actual.Count -eq 0) {
    throw 'Empty distribution inventory.'
}
if (Compare-Object -ReferenceObject $Expected -DifferenceObject $Actual) {
    throw 'Workspace EPAF distribution differs from source.'
}

Record the approved release identifier, manifest or checksum evidence, workspace path and validation results in product engineering records. Verify module manifests, transitive dependencies, contracts, schemas, generator, Quality Gate, packaging and AI resources. Run the documented initialization and baseline validation from the workspace-local EPAF directory before generating the product.

Engineering and runtime boundaries

Use the pinned workspace copy for engineering. Generated products must bundle required runtime modules and all transitive dependencies at preserved versions, resolve them locally and exclude generator, framework tests, AI development tools and other engineering-only components. Targets do not require EPAF installed. Validate the package in isolation on supported Windows and Linux environments.

Multiple workspaces and controlled upgrades

Provision each workspace independently using the same procedure and its approved release. Never synchronize active copies automatically. For an upgrade, stage the new approved distribution separately, verify integrity and compatibility, retain the previous release for rollback, update the product dependency inventory, regenerate or migrate only as authorized, execute regression tests, Quality Gate and isolated acceptance, and record the approved change before replacing the pinned copy.

Assumption: EPAF is complete as directed; component categories are required engineering resources, not verified repository directory names. Native release, generator and Quality Gate commands must be taken from the distribution documentation.

AI access and discovery

Start the agent from the individual workspace root. Grant read access to its EPAF copy and scoped write access to the product directory; protect EPAF from unauthorized edits. Explicitly direct the agent to the workspace-local governance, ADRs, contracts and skills. If the agent does not automatically discover nested skills or instructions, use its documented discovery or installation mechanism. Do not grant production or secret access.