sky-lattice/docs/recipes/fix-drift.md
VG 611ad214fe Initial Sky Lattice scaffold: blueprint, platformctl, and docs.
Encode intent/decision/plan workflow for Snowflake platform delivery so engagements share a durable recipe instead of one-off LLM chats.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-15 01:48:36 -04:00

627 B

How To Fix Drift

Compare live inventory to desired intent and decide what to adopt or leave unmanaged.

Steps

  1. Export or maintain observed/inventory.yaml with objects {kind, name}.

  2. Run platformctl drift --inventory observed/inventory.yaml.

  3. For leftovers you will not manage yet:

    platformctl decision add --applies-to unmanaged.role.LEGACY_ANALYST --rationale "..."
    

    Add them under intent.unmanaged with that decision_id.

  4. For gaps that should exist, platformctl plan and apply.

Expected results

Discover report in observed/discover-latest.yaml with classifications.