Skip to content

Rename: state → lifecycle (BYOL positioning) #158

Closed

Description

@lex00

Why

chant's positioning is Bring Your Own Lifecycle (BYOL): "Pluggable lexicons in. Pluggable lifecycles out. Pure synthesis in the middle." The product is the synthesis core; state / apply / drift / reconcile / retire are opt-in bolt-ons — the lifecycle, not the core.

The framing noun "state" pulled against that. "State" names one slice (and is already owned by Terraform); lifecycle names the whole create → change → reconcile → retire arc those tools annex, and no vendor owns the word. Planting the flag on "lifecycle" — consistently, in source and docs — is the positioning move.

chant has no customers, so this is the clean rename: no back-compat alias for the old command, but a short lc alias for ergonomics.

Scope

Rename the framing noun "state" → "lifecycle" across source and docs. Keep genuine technical/proper-noun usages: the artifact "state file" (the thing chant declines to host), "Terraform state", "stateless".

Source

  • CLI: chant state … → chant lifecycle … (snapshot/show/diff/plan/log), with chant lc … alias resolved in the command registry.
  • Module: packages/core/src/state/ → packages/core/src/lifecycle/.
  • Types/helpers: StateSnapshot → LifecycleSnapshot; StaleStateBranchError → StaleLifecycleBranchError; fetchState/pushState/getRemoteStateBranchSha → …Lifecycle….
  • Orphan branch: chant/state → chant/lifecycle.
  • MCP tools: state-snapshot/state-diff → lifecycle-snapshot/lifecycle-diff.
  • Op activities: stateSnapshot/stateDiff → lifecycleSnapshot/lifecycleDiff (+ args/result types, builders, WatchOp/ReconcileOp/ApplyOp, example op).

Docs

  • Page renames (+ sidebar + all cross-links): concepts/state-models → concepts/lifecycle-models, guide/reconciling-state → guide/reconciling-lifecycle, guide/watching-state → guide/watching-lifecycle, cli/state → cli/lifecycle.
  • Framing: "state model" → "lifecycle model", "observational state" → "observational lifecycle".
  • BYOL narrative on the landing page, introduction, and lifecycle-models (architecture line + "bring your own lifecycle, chant makes it durable").
  • New Contributing a Lifecycle guide (two doors: write a lifecycle as Ops, or — as direction — plug an existing one in).

Guardrails

  • Open ≠ unopinionated: synthesis stays pure / deterministic / lint-gated. "Pluggable" applies to the lifecycle layer, not the compiler.
  • Door 2 of BYOL ("plug in Terraform as a backend") is architectural direction, not a shipped feature — the seams exist (exportResources/describeResources, ownership markers, local-vs-Temporal executor split), but it is framed as a design contract, not a feature list.

Delivered by

Full test suite green on each (6033 passed); no Node-20 actions; docs link-check clean.

Activity

  1. lex00 commented on Jun 2, 2026

    @lex00
    ContributorAuthor

    Shipped via #154, #155, #156, #157 — all merged to main, CI green. Recording this as the writeup/spec for the change.

  2. added
    documentation
    enhancement
    on Jun 2, 2026
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

    documentationenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions