sky-lattice/docs/decisions/D008-v0-planner-graph.md

18 lines
739 B
Markdown
Raw Permalink Normal View History

# D008 — v0 planner emits object graph
- **Status:** active
- **Date:** 2026-07-15
## Decision
v0 `platformctl plan/apply` builds a **deterministic planned object graph** from intent (databases, schemas, roles, warehouses, service users) and writes `plans/latest.yaml`. Terraform modules are stubs/outputs suitable for extension with the official `snowflakedb/snowflake` provider. Live account apply via provider credentials is a follow-on.
## Why
Unlocks end-to-end intent→decision→plan workflow and dogfooding without blocking on full provider resource coverage on day one.
## Alternatives rejected
- Delaying any CLI until every Snowflake resource is fully Terraform-managed
- Making LLM-generated SQL the apply path in v0