Repository navigation
Description
Tracked under #74 (non-AWS parity) · foundation for chant CC (chant epic #1197) · Depends on: chant#1201 (native-observer harness) · Blocks: the three lane B slots
component-status.ts derives each component's live status from its CloudFormation stack (chant components status --live), which only exists on AWS. floci-az / floci-gcp have no deployment object to read. Move the status source to a rollup of each component's resources' observed states, keyed by the component-DAG node (already substrate-neutral).
Tasks
- Compute per-component status by aggregating declared resources' observed states, not a stack/deployment read.
- Keep AWS CFN-stack status as optional enrichment where present.
- Preserve the component-DAG join (one row per node).
Acceptance criteria
- Status renders for a component whose substrate has no deployment object (GCP/Azure per-resource).
- AWS output unchanged for an existing AWS estate.
- Viewer status colours/vocabulary unchanged.
Non-goals: per-cloud logical topology (lane B); reconcile/apply changes.
Correction (2026-08-01): this opens with a chant change, not a behold one
Filed as behold-only work. It cannot be: behold gets component status from
chant components status <env> --live --json, and ComponentStatusRow carries
live (a boolean), unobserved, and stack — CloudFormation-only. There is no
per-resource rollup in the payload, so behold has nothing to aggregate.
Two ways to close that, and the first is the one being taken:
- chant reports the rollup and behold renders it. chant already performs
the component-to-entity join inliveEvidenceFromChangeSet/mergeEvidence,
and it owns feat: estate-read batch 1, readGraph, graph document, contract kinds, cuts, plugins, Pages template (#1057 and more) #1089's tri-state, so this surfaces counts it already computes. - behold re-derives the rollup from
graph --liveand joins it to components
itself — duplicating chant's join and re-implementing the observed / absent /
not-observed distinction on the far side of a CLI boundary, where a
misreading turns a hole into "gone".
chant side: INTENTIUS/chant#1300 (open). Adds to ComponentStatusRow:
resources?: { total: number; present: number; absent: number; unobserved: number }Present for every component with live evidence, including the identity join
(a rollup of one), so this consumer never branches on whether a live-name
mapping was configured. unobserved counts resources nobody could read and is
never folded into absent.
Revised behold scope, once that lands
-
component-status.tsderives status fromrow.resourcesrather than
branching onrow.stack. - Keep
stackas optional enrichment where present — unchanged behaviour on
AWS, which is the regression risk worth guarding. - Colour from the rollup: all present → good; any absent → the existing
"recorded but not live" treatment; anyunobserved→ the hole treatment,
never green and never red. - Preserve the component-DAG join (one row per node) — unchanged.
The acceptance criterion stays as filed: status renders for a component whose
substrate has no deployment object. It is now reachable, because the payload
carries what that requires.
Activity
Merge pull request #107 from INTENTIUS/feat/98-resource-rollup-status
fix: paint AWS component status from the resource rollup, and group t…
chore: raise the chant floor to ^0.38.0, so #98's rollup can actually…
test: acceptance runs for the Azure and GCP lenses, which shipped wit…
docs: a documentation site, opening with the prompt that gets someone…