CI Workflows Documentation (v0.0.3)¶
Historical snapshot (v0.0.3). None of the workflow files named below exist any more, including the branding check. The workflows in use are in
.github/workflows/:architecture-quality,bencher,codeql,coverage,cpp,docs,euxis-scan-reusable,quality-gates,release,scorecard,supply-chainandworkflow-lint.
This document describes the CI/CD workflows and release processes for the Euxis monorepo, generated as part of the multi-repo split preparation.
GitHub Actions Workflows¶
1. Enforced CI Pipeline (.github/workflows/enforced-ci.yml)¶
Main CI pipeline with zero-tolerance enforcement.
Triggers: Push to main, feat/*, release/* branches; Pull requests to main
Jobs:
Job |
Description |
Enforcement |
|---|---|---|
|
Ruff, Black, isort, flake8, pylint |
Zero warnings |
|
mypy with basic + strict mode |
Basic enforced, strict advisory |
|
pip-audit, safety, bandit, shellcheck |
Blocking |
|
pytest with 95% coverage requirement |
Blocking |
|
Shell-based integration tests |
Blocking |
|
Consolidates all job results |
Gate for merge |
2. Architecture Guardrails (.github/workflows/architecture-guardrails.yml)¶
Validates module boundaries and dependency rules.
Checks:
Core layer isolation (no UI/Network/Filesystem layer imports)
Library dependency graph compliance
Module boundary enforcement
3. Shell Script CI (.github/workflows/shell-script-ci.yml)¶
Runs BATS tests for shell scripts in core/lib/.
4. Cross-Platform CI (.github/workflows/cross-platform-ci.yml)¶
Tests on both Ubuntu and macOS for portability.
5. Naming Conventions (.github/workflows/naming-conventions.yml)¶
Enforces file naming standards using euxis-ops/check-naming-conventions.py.
6. Branding Check (.github/workflows/branding-check.yml)¶
Validates branding signatures in commits and PRs.
7. Merge Gate (.github/workflows/merge-gate.yml)¶
Final gate before merge approval.
8. Cache Cleanup (.github/workflows/cache-cleanup.yml)¶
Periodic cleanup of CI caches.
Per-Module CI¶
Each extractable module has its own CI template at <module>/ci/module-ci.yml:
name: Module CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- run: pip install -e .[dev]
- run: pytest -q
Modules with CI templates:
adapters/ci/module-ci.ymlapi/ci/module-ci.ymlcli/ci/module-ci.ymlconfig/ci/module-ci.ymlcore/ci/module-ci.ymlcrypto/ci/module-ci.ymlmetrics/ci/module-ci.ymlpackages/shared/ci/module-ci.ymleuxis-policy/ci/module-ci.ymlui/ci/module-ci.yml
Release Process¶
Current Release Steps¶
Version Bump: Update version in
data/agents/registry.json(source of truth)Version Sync: Run
euxis-ops/sync-docs.shto propagate versionCertification: Run
euxis-bin/euxis-certifyto validate all gatesTag: Create signed git tag
vX.Y.ZPush: Push tag to origin
Post-Split Release Process¶
After extraction to separate repos:
Each repo manages its own version in
pyproject.tomlShared contracts define compatibility matrix
euxis-corereleases first (dependency for others)Dependent repos update their dependency versions
Integration tests run across all repos
Certification Gates¶
The euxis-bin/euxis-certify script runs 6 gates:
Gate |
Description |
|---|---|
0 |
Environment validation |
0a |
Certification prerequisites |
0b |
Security & quality enforcement |
1+2 |
Static analysis (lint) |
3 |
Infrastructure tests |
4 |
Semantic verification (golden dataset) |
5 |
Branding compliance |
6 |
Documentation governance |
Generated:-02-16 as part of v0.0.3 multi-repo preparation