Package Excellence Enforcement (2026)¶
This document defines repository-wide enforcement of speed, performance, memory, CPU, portability, security, usability, UX, functionality, and quality for every Euxis package.
Scope¶
All workspace packages are covered:
euxis-coreeuxis-clieuxis-gatewayeuxis-metricseuxis-adapterseuxis-securitydata/runtimeeuxis-scriptseuxis-sdkeuxis-webdatalibs/*(C++23 library modules)apps/*(C++23 application modules)
Enforcement Artifacts¶
Package standards manifest:
euxis-ops/quality/package_standards.jsonWorkspace topology policy:
euxis-ops/quality/workspace_topology_policy.jsonWorkspace topology validator:
euxis-ops/quality/validate_workspace_topology.pyPackage resource policy:
euxis-ops/perf/package_resource_policy.jsonResource governance validator:
euxis-ops/perf/validate_package_resource_governance.pyPackage excellence validator:
euxis-ops/quality/validate_package_excellence.pyPackage excellence scorecard:
euxis-ops/eval/package_excellence_scorecard.pyPackage benchmark collector:
euxis-ops/perf/collect_package_benchmarks.pyPackage benchmark budget validator:
euxis-ops/perf/validate_package_benchmark_budget.pyPackage benchmark PR trend renderer:
euxis-ops/perf/render_package_benchmark_trend.pyPackage benchmark regression validator:
euxis-ops/perf/validate_package_benchmark_regression.pyPackage benchmark baseline proposal generator:
euxis-ops/perf/propose_package_benchmark_baseline.pyPackage benchmark baseline review gate:
euxis-ops/release/review_package_benchmark_baseline.pyPackage benchmark baseline governance validator:
euxis-ops/perf/validate_package_benchmark_baseline_governance.pyBenchmark baseline dataset:
euxis-ops/perf/package_benchmarks_baseline.jsonPackage structure matrix generator/checker:
euxis-ops/quality/render_package_structure_matrix.pyPackage harmony validator (duplicates + complexity + structure):
euxis-ops/quality/validate_package_harmony.pyPackage harmony baseline limits:
euxis-ops/quality/package_harmony_baseline.jsonGenerated matrix doc:
docs/architecture/package-structure-matrix.md
Resource Governance¶
Each package must define stage-based limits for:
p95_msmemory_mbcpu_pct
Ratchet policy is enforced as:
current >= target_q2_2026 >= target_q4_2026
Local Commands¶
make package-resource-governance-check
make package-excellence-check
make package-excellence-scorecard
make workspace-topology-check
make package-harmony-check
make package-structure-matrix
make package-structure-matrix-check
make package-structure-matrix-report
make package-bench-collect
make package-bench-gate
make package-bench-regression-gate
make package-bench-baseline-propose
make package-bench-baseline-review
make package-bench-baseline-governance-check
make gate-all
CI Integration¶
make gate-all now includes package governance and package excellence checks to keep quality and performance standards continuously enforced.
CI additionally publishes package benchmark datasets and PR warning-only trend summaries in architecture-quality.yml.
Push runs include a blocking package benchmark regression gate against the maintained baseline.
CI now also produces package benchmark baseline proposal/review artifacts and a bundle-consistency governance report for release traceability.
Baseline review artifacts are cryptographically linked to proposals via canonical proposal_sha256, and governance validation fails on hash mismatch.
Package structural consistency is also enforced through a deterministic generated matrix and stale-doc check in gate-all.
PR CI additionally publishes a matrix staleness summary and unified diff artifact for fast review when docs drift.
Package harmony is additionally enforced through strict source-structure checks, exact duplicate-block detection, and Python complexity non-regression limits.
Workspace topology is additionally enforced so package roots are consistently prefixed with euxis-, while explicitly-declared workspace-level infra directories remain controlled exceptions.
Canonical naming policy requires package names to be exactly two words (euxis-<singleword>), with temporary legacy aliases permitted only for migration sequencing.