Skip to content

meta: Argo CD support in k8s lexicon + Temporal apply/orchestrate split #100

Closed

Description

@lex00

Goal

Add Argo CD support to Chant and use it to split the deploy story into clear layers:

  • Chant authors typed infra -> manifests
  • Argo CD continuously reconciles the declarative manifests (the apply layer)
  • Temporal orchestrates the genuinely procedural steps Argo cannot express (ordering, signals, human gates, one-shot RPCs)

Architecture decision (locked)

Argo's Application / ApplicationSet / AppProject are K8s CRDs (argoproj.io). We extend the existing k8s lexicon (the KubeRay precedent) rather than building a standalone lexicon:

  • CRDs registered in lexicons/k8s/src/crd/crd-sources.ts; codegen produces K8s::Argo::*.
  • Value-add ships as composites + skill + lint/post-synth checks + example/tutorial, like Ray.
  • Types, serializer, LSP, hover, MCP, coverage, validate are inherited from the mature k8s lexicon — no new completeness bar to clear.

Design decisions (locked)

  • The k8s lexicon stays runtime-agnostic — it only emits manifests. Argo is opt-in via composites, never implied.
  • waitForArgoSync lives in lexicons/temporal as a dependency-free runtime activity (primitives-only signature; must NOT import argo/k8s types). A bridge package is only created later if a composite needs both lexicons' types together.

Issues (in build order)

Absorbed / closed

Out of scope (for now)

  • delivery: 'argo' config sugar in chant.config.ts
  • Flux support (parallel initiative)
  • ApplicationSet pull-request generator

Activity

  1. changed the title [-]meta: Argo CD lexicon + Temporal apply/orchestrate split[/-] [+]meta: Argo CD support in k8s lexicon + Temporal apply/orchestrate split[/+] on May 24, 2026
  2. lex00 commented on Jun 4, 2026

    @lex00
    ContributorAuthor

    All sub-issues shipped and merged to main; CI green (chant + docs).

    Issue PR What landed
    #101 #189 argoproj.io CRD sources → K8s::Argo::{Application,ApplicationSet,AppProject}
    #104 #190 ARGO001/004 lint rules + ARGO002/003/005 post-synth checks
    #105 #191 ArgoAppFor / ArgoAppSetForRegions / registerArgoCluster composites
    #110 #193 chant-k8s-argo skill
    #106 #192 waitForArgoSync activity + argoSync profile (dependency-free)
    #107 #194 argo-cd-gke minimal on-ramp example
    #108 #195 temporal-crdb-deploy refactor — Argo owns apply, Temporal keeps procedural
    #109 #196 k8s Argo docs page + tutorial + Argo/Temporal/CI split guidance

    Architecture held to the locked decisions: extended the existing k8s lexicon (KubeRay precedent), kept it runtime-agnostic (Argo opt-in via composites), and kept waitForArgoSync dependency-free.

    Out of scope as noted: delivery: 'argo' config sugar, Flux, ApplicationSet PR generator.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions