Skip to main content
This section provides a high-level overview of the automation, verification, and packaging infrastructure that ensures Palyra’s reliability and security. The system is built on GitHub Actions and custom PowerShell/Bash scripts to manage cross-platform builds, supply chain security, and the delivery of portable bundles.

System Overview

The Palyra CI/CD environment is divided into three primary functional areas: continuous integration (validation), security scanning (gates), and release engineering (distribution).

CI/CD Logic & Code Association

The following diagram maps the high-level CI/CD concepts to the specific scripts and workflow files that implement them. CI/CD Pipeline Mapping Sources: .github/workflows/ci.yml#1-136, .github/workflows/security.yml#1-132, .github/workflows/release.yml#1-170

CI Pipeline & Testing Strategy

The CI pipeline ensures code quality across Windows, macOS, and Linux. It utilizes a custom toolchain called vp (Vite+) for managing frontend assets and scripts .github/workflows/ci.yml#34-40. Beyond standard unit tests, the pipeline executes a “Deterministic Core Suite” to ensure agent logic remains stable across runs .github/workflows/ci.yml#120-121. Key components include: For details, see CI Pipeline & Testing Strategy.

Security Gates & Supply Chain

Security is enforced through automated scanning of both the Rust and Node.js ecosystems. The system uses cargo-audit and cargo-deny for Rust dependencies .github/workflows/security.yml#95-99 and a specialized npm audit allowlist validator for the web dashboard .github/workflows/security.yml#56-63. The security architecture includes: For details, see Security Gates & Supply Chain.

Release Engineering & Portable Bundles

Palyra is distributed as “portable bundles” for both Desktop and Headless environments. The release process is governed by strict version coherence checks .github/workflows/release.yml#45-49 and a “Release Smoke” suite that installs and validates the actual packaged artifacts .github/workflows/release.yml#243-244. Release Packaging Structure Sources: scripts/release/package-portable.ps1#65-94, scripts/release/validate-portable-archive.ps1#29-33 The release engineering stack features: For details, see Release Engineering & Portable Bundles.
Sources: .github/workflows/ci.yml, .github/workflows/security.yml, .github/workflows/release.yml, scripts/release/package-portable.ps1, scripts/release/install-headless-package.ps1, scripts/release/validate-portable-archive.ps1

Child Pages