Skip to content

epic: CC foundation -- substrate-neutral observe / status / target #1197

Closed

Description

@lex00

chant's write paths are native on AWS, GCP, and Azure; the read/observe/consume paths are not. Before any cloud gets the full config-controller experience (observe -> drift -> reconcile -> rollback in behold), the shared seams must exist so the three cloud lanes are wiring, not invention. This epic delivers those seams and closes the pre-existing observe/apply gaps. It ships no per-cloud observer itself -- those are each lane's O slot.

Emulator-first (Floci family, $0, Docker). Real-cloud hardening is a follow-up, out of scope here.

Blocks: the three per-cloud lanes (AWS / GCP / Azure epics).

Lane order (decided 2026-08-01): AWS first (#1198), then Azure (#1200) and GCP (#1199). Rationale and the AWS critical path are in #1198.

Done when: a lexicon can be observed on its applier's transport with concurrent, typed reads; behold renders live status + overlay for a component on any substrate without a cloud-side deployment object; #706 / #707 / #1162 / #1158 closed; #1085's GCP line corrected.

Children filed as sub-issues below.

Children

Added from CC epic audit (behold foundation)

  • behold#103 cross-substrate live overlay (finding 2 -- unblocks the mixed-substrate graph every E slot asserts)
  • behold#104 substrate-neutral reconcile engine (finding 4 -- reconcile is in every done-bar, was unowned)
  • behold#106 dynamic k8s target from kubeconfig (finding 5 -- k8s half endpoint is dynamic, feat(gitlab/migrate): GitHub Actions → GitLab CI/CD migration tool #99 only did static ports)
  • behold#105 per-substrate auto-sync DESIGN (finding 3 -- impl deferred, mechanism spec'd now)

Activity

  1. added
    epic
    on Jul 29, 2026
  2. lex00 commented on Aug 1, 2026

    @lex00
    ContributorAuthor

    CC epic re-audit, 2026-08-01

    Re-read the four CC epics against the code and the git history. The lanes are structurally fine; the bodies had gone stale because the snapshot/search workstream (#1261–#1280) shipped a large part of the read path in the two days after these were filed. Recorded here so the trail is in one place.

    What actually landed. #1201 (observer harness) closed — packages/core/src/observation.ts + packages/test-utils/src/observation-conformance.ts. Beyond that, the whole #1202 seam shipped under #1014 / #1267 / #1270: the plugin contract, normalization, accepted baseline, secret masking, and the observe/diff drivers — with five lexicon implementations (aws, azure, gcp, k8s, temporal), not the one reference impl this epic planned.

    The ordering inverted. Every lane is written O -> D: build the native reader, then ride it for drift. In reality D shipped first, on each lexicon's legacy CLI transport — aws cloudcontrol spawns for AWS, az resource show for Azure, kubectl + Config Connector for GCP. So each O slot is now a retrofit of shipped, load-bearing code (lifecycle snapshot --deep, graph, and snapshot-backed search all read through it) rather than a greenfield build, and each D slot is an acceptance run rather than an implementation.

    GCP is the sharp edge. #1205 corrected #1085 to say GCP observe rides direct-REST like its applier. The GCP deep reader then shipped on Config Connector anyway, after that correction. GCP applies cluster-free over REST and observes through a CNRM cluster today. The port also has a real cost: GCP's noise suppression is built on CNRM managedFields ownership pruning, which has no direct-REST equivalent.

    Coverage gates the AWS lane. DEEP_READABLE_TYPES is four kinds; E·aws's canonical example is VPC/subnet/EC2/SG, of which only the SG is deep-readable. #1269 and #1271 now gate #1207 and #1208.

    Changes applied

    Not changed, but worth a decision. behold is the critical path, not chant: behold#98, #99, #103, #104 and #106 all gate the E slots, versus one closed chant issue. And Azure is now the cheapest lane to a working round-trip while AWS is the designated reference — AWS still owns the reachability differentiator, but which lane goes first is worth deciding deliberately.

  3. lex00 commented on Aug 1, 2026

    @lex00
    ContributorAuthor

    Correction to the re-audit comment above. It states that D·aws's acceptance is unachievable on Floci because the emulator refuses Cloud Control GetResource. That was wrong — ec2 describe-security-groups serves the full rule set and tags on the same emulator, so the drift demonstration is reachable today. The blocker is chant's deep reader hard-coding Cloud Control per type, which is #1271. Details on #1207 and in the corrected section of #1198; the emulator gap itself is recorded in test/floci-gaps.md as low priority.

  4. lex00 commented on Aug 2, 2026

    @lex00
    ContributorAuthor

    Every child closed. The seams exist and are proven by more than one substrate each, which was the whole point — the three cloud lanes are wiring, not invention.

    child outcome
    #1201 native-observer harness landed 2026-07-29
    #1202 drift-surface seam verify-and-close — seam has five conforming implementations, no per-lexicon branch anywhere in it; documented in #1334
    #1203 multi-stack overlay already closed
    #1204 applier close-out already closed
    #1205 amend #1085 GCP observer already satisfied
    behold#98 resource-rollup status chant half #1300, reached a consumer in #1308
    behold#99 per-substrate target lens behold#109
    behold#103 cross-substrate overlay behold#111
    behold#104 substrate-neutral reconcile behold#112
    behold#105 per-substrate auto-sync design behold#115
    behold#106 dynamic k8s target behold#113

    The done-when, checked

    A lexicon can be observed on its applier's transport with concurrent, typed reads — five lexicons implement observeResourcesDeep + deepNormalizationHooks over five genuinely different transports (a CloudFormation describe, an ARM GET, a Config Connector kubectl get, a typed Kubernetes client, a Temporal client) against one unchanged interface. Verified live for AWS (#1206) and Azure (#1212, with a booby-trapped az on PATH that never fired).

    behold renders live status + overlay for a component on any substrate without a cloud-side deployment object — the resource rollup is the substrate-neutral source and, since behold#110, AWS paints from it too rather than from its CloudFormation stack.

    #706 / #707 / #1162 / #1158 closed; #1085's GCP line corrected — via #1203/#1204/#1205.

    Four of these were filed against premises that did not hold

    Worth recording, because the pattern cost real time and each correction changed the deliverable:

    The habit that caught them: check the claim against the running system before building against it.

    Not blocking, carried

    #1189 stays open as an additive seam widening (owning field-manager name); #1191 belongs to the k8s runtime work, not the interface.

    With #1198 also closed, the Azure (#1200) and GCP (#1199) lanes are unblocked — and #1212 being already-done means Azure's O slot is settled before its lane starts.

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

    epic

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions