Skip to content

meta: stateless-authoritative state model + live import #112

Closed

Description

@lex00

Stateless-authoritative state model + live import

Turns chant's single observational drift workflow into a full family — authoritative, observational, and source-as-truth as points on one dial — without giving up the pure, deterministic build.

Two primitives carry it:

  • Live import — generate TypeScript from live cloud/cluster state (the cloud→code direction).
  • Projection + cloud-side ownership — a precise create/update/delete change set computed against live, with no authoritative state file.

Framing to hold across all work: chant gains projection and live ownership, not a state backend. No state file is hosted, locked, or trusted. The snapshot is never load-bearing — the projection reads ownership from the live resource only. Primitives need no executor; only gated/destructive Ops require Temporal.

Each child issue is self-contained. The dependency lines below are build order, not required reading.

Phase 1 — Live import (primitives, no executor)

Phase 2 — Projection (read-only)

Phase 3 — Ownership markers

Phase 4 — Reconcile (cloud → code, the source-as-truth direction)

Phase 5 — Apply (code → cloud, stateless authoritative)

Phase 6 — Positioning / docs

Sequencing notes

Activity

  1. added
    enhancement
    on Jun 1, 2026
  2. lex00 commented on Jun 2, 2026

    @lex00
    ContributorAuthor

    All child issues merged to main and closed. The stateless-authoritative state model + live import initiative is complete.

    What shipped

    Phase 1 — Live import (primitives, no executor)

    Phase 2 — Projection

    Phase 3 — Ownership markers

    Phase 4 — Reconcile (cloud → code)

    Phase 5 — Apply (code → cloud)

    Phase 6 — Positioning / docs

    Framing held throughout

    chant gained projection + live ownership, not a state backend. No state file is hosted, locked, or trusted; the projection reads ownership from the live marker only, so the snapshot never becomes load-bearing. Primitives need no executor — only gated/destructive Ops require Temporal. Walk-away cost stays zero (markers are standard tags/labels).

    Every PR shipped with tests and docs; CI green on main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions