# Distribution Process Documentation\n\nThis document provides comprehensive documentation for the provisioning project's distribution process, covering release workflows, package\ngeneration, multi-platform distribution, and rollback procedures.\n\n## Table of Contents\n\n1. [Overview](#overview)\n2. [Distribution Architecture](#distribution-architecture)\n3. [Release Process](#release-process)\n4. [Package Generation](#package-generation)\n5. [Multi-Platform Distribution](#multi-platform-distribution)\n6. [Validation and Testing](#validation-and-testing)\n7. [Release Management](#release-management)\n8. [Rollback Procedures](#rollback-procedures)\n9. [CI/CD Integration](#cicd-integration)\n10. [Troubleshooting](#troubleshooting)\n\n## Overview\n\nThe distribution system provides a comprehensive solution for creating, packaging, and distributing provisioning across multiple platforms with\nautomated release management.\n\n**Key Features**:\n\n- **Multi-Platform Support**: Linux, macOS, Windows with multiple architectures\n- **Multiple Distribution Variants**: Complete and minimal distributions\n- **Automated Release Pipeline**: From development to production deployment\n- **Package Management**: Binary packages, container images, and installers\n- **Validation Framework**: Comprehensive testing and validation\n- **Rollback Capabilities**: Safe rollback and recovery procedures\n\n**Location**: `/src/tools/`\n**Main Tool**: `/src/tools/Makefile` and associated Nushell scripts\n\n## Distribution Architecture\n\n### Distribution Components\n\n```{$detected_lang}\nDistribution Ecosystem\n├── Core Components\n│   ├── Platform Binaries      # Rust-compiled binaries\n│   ├── Core Libraries         # Nushell libraries and CLI\n│   ├── Configuration System   # TOML configuration files\n│   └── Documentation         # User and API documentation\n├── Platform Packages\n│   ├── Archives              # TAR.GZ and ZIP files\n│   ├── Installers            # Platform-specific installers\n│   └── Container Images      # Docker/OCI images\n├── Distribution Variants\n│   ├── Complete              # Full-featured distribution\n│   └── Minimal               # Lightweight distribution\n└── Release Artifacts\n    ├── Checksums             # SHA256/MD5 verification\n    ├── Signatures            # Digital signatures\n    └── Metadata              # Release information\n```\n\n### Build Pipeline\n\n```{$detected_lang}\nBuild Pipeline Flow\n┌─────────────────┐    ┌─────────────────┐    ┌─────────────────┐\n│   Source Code   │ -> │   Build Stage   │ -> │  Package Stage  │\n│                 │    │                 │    │                 │\n│ - Rust code     │    │ - compile-      │    │ - create-       │\n│ - Nushell libs  │    │   platform      │    │   archives      │\n│ - Nickel schemas│    │ - bundle-core   │    │ - build-        │\n│ - Config files  │    │ - validate-nickel│   │   containers    │\n└─────────────────┘    └─────────────────┘    └─────────────────┘\n                                |\n                                v\n┌─────────────────┐    ┌─────────────────┐    ┌─────────────────┐\n│ Release Stage   │ <- │ Validate Stage  │ <- │ Distribute Stage│\n│                 │    │                 │    │                 │\n│ - create-       │    │ - test-dist     │    │ - generate-     │\n│   release       │    │ - validate-     │    │   distribution  │\n│ - upload-       │    │   package       │    │ - create-       │\n│   artifacts     │    │ - integration   │    │   installers    │\n└─────────────────┘    └─────────────────┘    └─────────────────┘\n```\n\n### Distribution Variants\n\n**Complete Distribution**:\n\n- All Rust binaries (orchestrator, control-center, MCP server)\n- Full Nushell library suite\n- All providers, taskservs, and clusters\n- Complete documentation and examples\n- Development tools and templates\n\n**Minimal Distribution**:\n\n- Essential binaries only\n- Core Nushell libraries\n- Basic provider support\n- Essential task services\n- Minimal documentation\n\n## Release Process\n\n### Release Types\n\n**Release Classifications**:\n\n- **Major Release** (x.0.0): Breaking changes, new major features\n- **Minor Release** (x.y.0): New features, backward compatible\n- **Patch Release** (x.y.z): Bug fixes, security updates\n- **Pre-Release** (x.y.z-alpha/beta/rc): Development/testing releases\n\n### Step-by-Step Release Process\n\n#### 1. Preparation Phase\n\n**Pre-Release Checklist**:\n\n```{$detected_lang}\n# Update dependencies and security\ncargo update\ncargo audit\n\n# Run comprehensive tests\nmake ci-test\n\n# Update documentation\nmake docs\n\n# Validate all configurations\nmake validate-all\n```\n\n**Version Planning**:\n\n```{$detected_lang}\n# Check current version\ngit describe --tags --always\n\n# Plan next version\nmake status | grep Version\n\n# Validate version bump\nnu src/tools/release/create-release.nu --dry-run --version 2.1.0\n```\n\n#### 2. Build Phase\n\n**Complete Build**:\n\n```{$detected_lang}\n# Clean build environment\nmake clean\n\n# Build all platforms and variants\nmake all\n\n# Validate build output\nmake test-dist\n```\n\n**Build with Specific Parameters**:\n\n```{$detected_lang}\n# Build for specific platforms\nmake all PLATFORMS=linux-amd64,macos-amd64 VARIANTS=complete\n\n# Build with custom version\nmake all VERSION=2.1.0-rc1\n\n# Parallel build for speed\nmake all PARALLEL=true\n```\n\n#### 3. Package Generation\n\n**Create Distribution Packages**:\n\n```{$detected_lang}\n# Generate complete distributions\nmake dist-generate\n\n# Create binary packages\nmake package-binaries\n\n# Build container images\nmake package-containers\n\n# Create installers\nmake create-installers\n```\n\n**Package Validation**:\n\n```{$detected_lang}\n# Validate packages\nmake test-dist\n\n# Check package contents\nnu src/tools/package/validate-package.nu packages/\n\n# Test installation\nmake install\nmake uninstall\n```\n\n#### 4. Release Creation\n\n**Automated Release**:\n\n```{$detected_lang}\n# Create complete release\nmake release VERSION=2.1.0\n\n# Create draft release for review\nmake release-draft VERSION=2.1.0\n\n# Manual release creation\nnu src/tools/release/create-release.nu \\n    --version 2.1.0 \\n    --generate-changelog \\n    --push-tag \\n    --auto-upload\n```\n\n**Release Options**:\n\n- `--pre-release`: Mark as pre-release\n- `--draft`: Create draft release\n- `--generate-changelog`: Auto-generate changelog from commits\n- `--push-tag`: Push git tag to remote\n- `--auto-upload`: Upload assets automatically\n\n#### 5. Distribution and Notification\n\n**Upload Artifacts**:\n\n```{$detected_lang}\n# Upload to GitHub Releases\nmake upload-artifacts\n\n# Update package registries\nmake update-registry\n\n# Send notifications\nmake notify-release\n```\n\n**Registry Updates**:\n\n```{$detected_lang}\n# Update Homebrew formula\nnu src/tools/release/update-registry.nu \\n    --registries homebrew \\n    --version 2.1.0 \\n    --auto-commit\n\n# Custom registry updates\nnu src/tools/release/update-registry.nu \\n    --registries custom \\n    --registry-url https://packages.company.com \\n    --credentials-file ~/.registry-creds\n```\n\n### Release Automation\n\n**Complete Automated Release**:\n\n```{$detected_lang}\n# Full release pipeline\nmake cd-deploy VERSION=2.1.0\n\n# Equivalent manual steps:\nmake clean\nmake all VERSION=2.1.0\nmake create-archives\nmake create-installers\nmake release VERSION=2.1.0\nmake upload-artifacts\nmake update-registry\nmake notify-release\n```\n\n## Package Generation\n\n### Binary Packages\n\n**Package Types**:\n\n- **Standalone Archives**: TAR.GZ and ZIP with all dependencies\n- **Platform Packages**: DEB, RPM, MSI, PKG with system integration\n- **Portable Packages**: Single-directory distributions\n- **Source Packages**: Source code with build instructions\n\n**Create Binary Packages**:\n\n```{$detected_lang}\n# Standard binary packages\nmake package-binaries\n\n# Custom package creation\nnu src/tools/package/package-binaries.nu \\n    --source-dir dist/platform \\n    --output-dir packages/binaries \\n    --platforms linux-amd64,macos-amd64 \\n    --format archive \\n    --compress \\n    --strip \\n    --checksum\n```\n\n**Package Features**:\n\n- **Binary Stripping**: Removes debug symbols for smaller size\n- **Compression**: GZIP, LZMA, and Brotli compression\n- **Checksums**: SHA256 and MD5 verification\n- **Signatures**: GPG and code signing support\n\n### Container Images\n\n**Container Build Process**:\n\n```{$detected_lang}\n# Build container images\nmake package-containers\n\n# Advanced container build\nnu src/tools/package/build-containers.nu \\n    --dist-dir dist \\n    --tag-prefix provisioning \\n    --version 2.1.0 \\n    --platforms "linux/amd64,linux/arm64" \\n    --optimize-size \\n    --security-scan \\n    --multi-stage\n```\n\n**Container Features**:\n\n- **Multi-Stage Builds**: Minimal runtime images\n- **Security Scanning**: Vulnerability detection\n- **Multi-Platform**: AMD64, ARM64 support\n- **Layer Optimization**: Efficient layer caching\n- **Runtime Configuration**: Environment-based configuration\n\n**Container Registry Support**:\n\n- Docker Hub\n- GitHub Container Registry\n- Amazon ECR\n- Google Container Registry\n- Azure Container Registry\n- Private registries\n\n### Installers\n\n**Installer Types**:\n\n- **Shell Script Installer**: Universal Unix/Linux installer\n- **Package Installers**: DEB, RPM, MSI, PKG\n- **Container Installer**: Docker/Podman setup\n- **Source Installer**: Build-from-source installer\n\n**Create Installers**:\n\n```{$detected_lang}\n# Generate all installer types\nmake create-installers\n\n# Custom installer creation\nnu src/tools/distribution/create-installer.nu \\n    dist/provisioning-2.1.0-linux-amd64-complete \\n    --output-dir packages/installers \\n    --installer-types shell,package \\n    --platforms linux,macos \\n    --include-services \\n    --create-uninstaller \\n    --validate-installer\n```\n\n**Installer Features**:\n\n- **System Integration**: Systemd/Launchd service files\n- **Path Configuration**: Automatic PATH updates\n- **User/System Install**: Support for both user and system-wide installation\n- **Uninstaller**: Clean removal capability\n- **Dependency Management**: Automatic dependency resolution\n- **Configuration Setup**: Initial configuration creation\n\n## Multi-Platform Distribution\n\n### Supported Platforms\n\n**Primary Platforms**:\n\n- **Linux AMD64** (x86_64-unknown-linux-gnu)\n- **Linux ARM64** (aarch64-unknown-linux-gnu)\n- **macOS AMD64** (x86_64-apple-darwin)\n- **macOS ARM64** (aarch64-apple-darwin)\n- **Windows AMD64** (x86_64-pc-windows-gnu)\n- **FreeBSD AMD64** (x86_64-unknown-freebsd)\n\n**Platform-Specific Features**:\n\n- **Linux**: SystemD integration, package manager support\n- **macOS**: LaunchAgent services, Homebrew packages\n- **Windows**: Windows Service support, MSI installers\n- **FreeBSD**: RC scripts, pkg packages\n\n### Cross-Platform Build\n\n**Cross-Compilation Setup**:\n\n```{$detected_lang}\n# Install cross-compilation targets\nrustup target add aarch64-unknown-linux-gnu\nrustup target add x86_64-apple-darwin\nrustup target add aarch64-apple-darwin\nrustup target add x86_64-pc-windows-gnu\n\n# Install cross-compilation tools\ncargo install cross\n```\n\n**Platform-Specific Builds**:\n\n```{$detected_lang}\n# Build for specific platform\nmake build-platform RUST_TARGET=aarch64-apple-darwin\n\n# Build for multiple platforms\nmake build-cross PLATFORMS=linux-amd64,macos-arm64,windows-amd64\n\n# Platform-specific distributions\nmake linux\nmake macos\nmake windows\n```\n\n### Distribution Matrix\n\n**Generated Distributions**:\n\n```{$detected_lang}\nDistribution Matrix:\nprovisioning-{version}-{platform}-{variant}.{format}\n\nExamples:\n- provisioning-2.1.0-linux-amd64-complete.tar.gz\n- provisioning-2.1.0-macos-arm64-minimal.tar.gz\n- provisioning-2.1.0-windows-amd64-complete.zip\n- provisioning-2.1.0-freebsd-amd64-minimal.tar.xz\n```\n\n**Platform Considerations**:\n\n- **File Permissions**: Executable permissions on Unix systems\n- **Path Separators**: Platform-specific path handling\n- **Service Integration**: Platform-specific service management\n- **Package Formats**: TAR.GZ for Unix, ZIP for Windows\n- **Line Endings**: CRLF for Windows, LF for Unix\n\n## Validation and Testing\n\n### Distribution Validation\n\n**Validation Pipeline**:\n\n```{$detected_lang}\n# Complete validation\nmake test-dist\n\n# Custom validation\nnu src/tools/build/test-distribution.nu \\n    --dist-dir dist \\n    --test-types basic,integration,complete \\n    --platform linux \\n    --cleanup \\n    --verbose\n```\n\n**Validation Types**:\n\n- **Basic**: Installation test, CLI help, version check\n- **Integration**: Server creation, configuration validation\n- **Complete**: Full workflow testing including cluster operations\n\n### Testing Framework\n\n**Test Categories**:\n\n- **Unit Tests**: Component-specific testing\n- **Integration Tests**: Cross-component testing\n- **End-to-End Tests**: Complete workflow testing\n- **Performance Tests**: Load and performance validation\n- **Security Tests**: Security scanning and validation\n\n**Test Execution**:\n\n```{$detected_lang}\n# Run all tests\nmake ci-test\n\n# Specific test types\nnu src/tools/build/test-distribution.nu --test-types basic\nnu src/tools/build/test-distribution.nu --test-types integration\nnu src/tools/build/test-distribution.nu --test-types complete\n```\n\n### Package Validation\n\n**Package Integrity**:\n\n```{$detected_lang}\n# Validate package structure\nnu src/tools/package/validate-package.nu dist/\n\n# Check checksums\nsha256sum -c packages/checksums.sha256\n\n# Verify signatures\ngpg --verify packages/provisioning-2.1.0.tar.gz.sig\n```\n\n**Installation Testing**:\n\n```{$detected_lang}\n# Test installation process\n./packages/installers/install-provisioning-2.1.0.sh --dry-run\n\n# Test uninstallation\n./packages/installers/uninstall-provisioning.sh --dry-run\n\n# Container testing\ndocker run --rm provisioning:2.1.0 provisioning --version\n```\n\n## Release Management\n\n### Release Workflow\n\n**GitHub Release Integration**:\n\n```{$detected_lang}\n# Create GitHub release\nnu src/tools/release/create-release.nu \\n    --version 2.1.0 \\n    --asset-dir packages \\n    --generate-changelog \\n    --push-tag \\n    --auto-upload\n```\n\n**Release Features**:\n\n- **Automated Changelog**: Generated from git commit history\n- **Asset Management**: Automatic upload of all distribution artifacts\n- **Tag Management**: Semantic version tagging\n- **Release Notes**: Formatted release notes with change summaries\n\n### Versioning Strategy\n\n**Semantic Versioning**:\n\n- **MAJOR.MINOR.PATCH** format (for example, 2.1.0)\n- **Pre-release** suffixes (for example, 2.1.0-alpha.1, 2.1.0-rc.2)\n- **Build metadata** (for example, 2.1.0+20250925.abcdef)\n\n**Version Detection**:\n\n```{$detected_lang}\n# Auto-detect next version\nnu src/tools/release/create-release.nu --release-type minor\n\n# Manual version specification\nnu src/tools/release/create-release.nu --version 2.1.0\n\n# Pre-release versioning\nnu src/tools/release/create-release.nu --version 2.1.0-rc.1 --pre-release\n```\n\n### Artifact Management\n\n**Artifact Types**:\n\n- **Source Archives**: Complete source code distributions\n- **Binary Archives**: Compiled binary distributions\n- **Container Images**: OCI-compliant container images\n- **Installers**: Platform-specific installation packages\n- **Documentation**: Generated documentation packages\n\n**Upload and Distribution**:\n\n```{$detected_lang}\n# Upload to GitHub Releases\nmake upload-artifacts\n\n# Upload to container registries\ndocker push provisioning:2.1.0\n\n# Update package repositories\nmake update-registry\n```\n\n## Rollback Procedures\n\n### Rollback Scenarios\n\n**Common Rollback Triggers**:\n\n- Critical bugs discovered post-release\n- Security vulnerabilities identified\n- Performance regression\n- Compatibility issues\n- Infrastructure failures\n\n### Rollback Process\n\n**Automated Rollback**:\n\n```{$detected_lang}\n# Rollback latest release\nnu src/tools/release/rollback-release.nu --version 2.1.0\n\n# Rollback with specific target\nnu src/tools/release/rollback-release.nu \\n    --from-version 2.1.0 \\n    --to-version 2.0.5 \\n    --update-registries \\n    --notify-users\n```\n\n**Manual Rollback Steps**:\n\n```{$detected_lang}\n# 1. Identify target version\ngit tag -l | grep -v 2.1.0 | tail -5\n\n# 2. Create rollback release\nnu src/tools/release/create-release.nu \\n    --version 2.0.6 \\n    --rollback-from 2.1.0 \\n    --urgent\n\n# 3. Update package managers\nnu src/tools/release/update-registry.nu \\n    --version 2.0.6 \\n    --rollback-notice "Critical fix for 2.1.0 issues"\n\n# 4. Notify users\nnu src/tools/release/notify-users.nu \\n    --channels slack,discord,email \\n    --message-type rollback \\n    --urgent\n```\n\n### Rollback Safety\n\n**Pre-Rollback Validation**:\n\n- Validate target version integrity\n- Check compatibility matrix\n- Verify rollback procedure testing\n- Confirm communication plan\n\n**Rollback Testing**:\n\n```{$detected_lang}\n# Test rollback in staging\nnu src/tools/release/rollback-release.nu \\n    --version 2.1.0 \\n    --target-version 2.0.5 \\n    --dry-run \\n    --staging-environment\n\n# Validate rollback success\nmake test-dist DIST_VERSION=2.0.5\n```\n\n### Emergency Procedures\n\n**Critical Security Rollback**:\n\n```{$detected_lang}\n# Emergency rollback (bypasses normal procedures)\nnu src/tools/release/rollback-release.nu \\n    --version 2.1.0 \\n    --emergency \\n    --security-issue \\n    --immediate-notify\n```\n\n**Infrastructure Failure Recovery**:\n\n```{$detected_lang}\n# Failover to backup infrastructure\nnu src/tools/release/rollback-release.nu \\n    --infrastructure-failover \\n    --backup-registry \\n    --mirror-sync\n```\n\n## CI/CD Integration\n\n### GitHub Actions Integration\n\n**Build Workflow** (`.github/workflows/build.yml`):\n\n```{$detected_lang}\nname: Build and Distribute\non:\n  push:\n    branches: [main]\n  pull_request:\n    branches: [main]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        platform: [linux, macos, windows]\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Setup Nushell\n        uses: hustcer/setup-nu@v3.5\n\n      - name: Setup Rust\n        uses: actions-rs/toolchain@v1\n        with:\n          toolchain: stable\n\n      - name: CI Build\n        run: |\n          cd src/tools\n          make ci-build\n\n      - name: Upload Build Artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: build-${{ matrix.platform }}\n          path: src/dist/\n```\n\n**Release Workflow** (`.github/workflows/release.yml`):\n\n```{$detected_lang}\nname: Release\non:\n  push:\n    tags: ['v*']\n\njobs:\n  release:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - name: Build Release\n        run: |\n          cd src/tools\n          make ci-release VERSION=${{ github.ref_name }}\n\n      - name: Create Release\n        run: |\n          cd src/tools\n          make release VERSION=${{ github.ref_name }}\n\n      - name: Update Registries\n        run: |\n          cd src/tools\n          make update-registry VERSION=${{ github.ref_name }}\n```\n\n### GitLab CI Integration\n\n**GitLab CI Configuration** (`.gitlab-ci.yml`):\n\n```{$detected_lang}\nstages:\n  - build\n  - package\n  - test\n  - release\n\nbuild:\n  stage: build\n  script:\n    - cd src/tools\n    - make ci-build\n  artifacts:\n    paths:\n      - src/dist/\n    expire_in: 1 hour\n\npackage:\n  stage: package\n  script:\n    - cd src/tools\n    - make package-all\n  artifacts:\n    paths:\n      - src/packages/\n    expire_in: 1 day\n\nrelease:\n  stage: release\n  script:\n    - cd src/tools\n    - make cd-deploy VERSION=${CI_COMMIT_TAG}\n  only:\n    - tags\n```\n\n### Jenkins Integration\n\n**Jenkinsfile**:\n\n```{$detected_lang}\npipeline {\n    agent any\n\n    stages {\n        stage('Build') {\n            steps {\n                dir('src/tools') {\n                    sh 'make ci-build'\n                }\n            }\n        }\n\n        stage('Package') {\n            steps {\n                dir('src/tools') {\n                    sh 'make package-all'\n                }\n            }\n        }\n\n        stage('Release') {\n            when {\n                tag '*'\n            }\n            steps {\n                dir('src/tools') {\n                    sh "make cd-deploy VERSION=${env.TAG_NAME}"\n                }\n            }\n        }\n    }\n}\n```\n\n## Troubleshooting\n\n### Common Issues\n\n#### Build Failures\n\n**Rust Compilation Errors**:\n\n```{$detected_lang}\n# Solution: Clean and rebuild\nmake clean\ncargo clean\nmake build-platform\n\n# Check Rust toolchain\nrustup show\nrustup update\n```\n\n**Cross-Compilation Issues**:\n\n```{$detected_lang}\n# Solution: Install missing targets\nrustup target list --installed\nrustup target add x86_64-apple-darwin\n\n# Use cross for problematic targets\ncargo install cross\nmake build-platform CROSS=true\n```\n\n#### Package Generation Issues\n\n**Missing Dependencies**:\n\n```{$detected_lang}\n# Solution: Install build tools\nsudo apt-get install build-essential\nbrew install gnu-tar\n\n# Check tool availability\nmake info\n```\n\n**Permission Errors**:\n\n```{$detected_lang}\n# Solution: Fix permissions\nchmod +x src/tools/build/*.nu\nchmod +x src/tools/distribution/*.nu\nchmod +x src/tools/package/*.nu\n```\n\n#### Distribution Validation Failures\n\n**Package Integrity Issues**:\n\n```{$detected_lang}\n# Solution: Regenerate packages\nmake clean-dist\nmake package-all\n\n# Verify manually\nsha256sum packages/*.tar.gz\n```\n\n**Installation Test Failures**:\n\n```{$detected_lang}\n# Solution: Test in clean environment\ndocker run --rm -v $(pwd):/work ubuntu:latest /work/packages/installers/install.sh\n\n# Debug installation\n./packages/installers/install.sh --dry-run --verbose\n```\n\n### Release Issues\n\n#### Upload Failures\n\n**Network Issues**:\n\n```{$detected_lang}\n# Solution: Retry with backoff\nnu src/tools/release/upload-artifacts.nu \\n    --retry-count 5 \\n    --backoff-delay 30\n\n# Manual upload\ngh release upload v2.1.0 packages/*.tar.gz\n```\n\n**Authentication Failures**:\n\n```{$detected_lang}\n# Solution: Refresh tokens\ngh auth refresh\ndocker login ghcr.io\n\n# Check credentials\ngh auth status\ndocker system info\n```\n\n#### Registry Update Issues\n\n**Homebrew Formula Issues**:\n\n```{$detected_lang}\n# Solution: Manual PR creation\ngit clone https://github.com/Homebrew/homebrew-core\ncd homebrew-core\n# Edit formula\ngit add Formula/provisioning.rb\ngit commit -m "provisioning 2.1.0"\n```\n\n### Debug and Monitoring\n\n**Debug Mode**:\n\n```{$detected_lang}\n# Enable debug logging\nexport PROVISIONING_DEBUG=true\nexport RUST_LOG=debug\n\n# Run with verbose output\nmake all VERBOSE=true\n\n# Debug specific components\nnu src/tools/distribution/generate-distribution.nu \\n    --verbose \\n    --dry-run\n```\n\n**Monitoring Build Progress**:\n\n```{$detected_lang}\n# Monitor build logs\ntail -f src/tools/build.log\n\n# Check build status\nmake status\n\n# Resource monitoring\ntop\ndf -h\n```\n\nThis distribution process provides a robust, automated pipeline for creating, validating, and distributing provisioning across multiple platforms\nwhile maintaining high quality and reliability standards.
