Syncing canonical platform-standards artefacts

Updated Jul 27, 2026

Concordat ships a platform-standards/ template tree. The canonical files under platform-standards/canon/ are tracked in platform-standards/canon/manifest.yaml by a stable id, a path, and a sha256 digest (a content-derived version).

Use scripts/canon_artifacts.py to compare a published platform-standards checkout against the template and optionally copy missing/outdated artefacts.

  • Show status for a checkout:
  uv run python -m scripts.canon_artifacts status path/to/platform-standards
  • Filter to just lint configuration artefacts:
  uv run python -m scripts.canon_artifacts status path/to/platform-standards \
    --types lint-config
  • Copy all missing/outdated artefacts into the checkout:
  uv run python -m scripts.canon_artifacts sync path/to/platform-standards \
    --all-outdated
  • Launch an interactive menu for reviewing and syncing (requires textual, installed with dev dependencies via uv sync --group dev):
  uv run python -m scripts.canon_artifacts tui path/to/platform-standards