sky-lattice/docs/decisions/D004-packaging-python.md

18 lines
712 B
Markdown
Raw Normal View History

# D004 — Packaging as Python platformctl
- **Status:** active
- **Date:** 2026-07-15
## Decision
Distribute the CLI as a **Python package** (`platformctl` / `skylattice`) installable with pip or uv/pipx. The CLI operates on a local customer project and pinned blueprint content inside the product repo (or published artifact later). It must **not** require reaching into an operators private live working tree from the customer network.
## Why
Fits Snowflake/Python ecosystem; private publish is easy; pipx/uv gives an isolated CLI.
## Alternatives rejected
- npm as primary distribution
- Requiring customers to clone the operator blueprint monorepo for day-to-day apply (CI can run Terraform only)