1.4 KiB
1.4 KiB
Runtime Flows
Render Snapshot Flow
- receive one Reanimator JSON snapshot from the caller
- decode the payload into generic/object structures without dropping unknown fields
- identify known top-level sections
- build presentation sections in preferred order
- for each array section, build the union of keys across rows
- order columns with known fields first and unknown fields after
- render the page
Status Presentation Flow
- read the raw
statusvalue from the payload - normalize only for presentation matching (
OK,Warning,Critical,Unknown,Empty) - apply status badge class
- do not change the raw value shown to the user
Unknown Field Invariant
- if a field exists in the input, it must remain visible somewhere in the output
- unknown fields may appear after known fields in a section table
- unknown top-level sections may be rendered after known sections
- the viewer must never silently discard fields because they are new or unexpected
Non-Augmentation Invariant
- do not compute aggregate health summaries unless they already exist in the JSON
- do not derive warnings/failures counters
- do not infer statuses for missing fields
- do not merge or rewrite source values
Simplicity Rule
- prefer server-rendered HTML
- keep JavaScript optional and presentation-only
- do not introduce a frontend framework without a concrete present need