UML — cat-harness/health
Generated by cat-harness-tools/scripts/gen-uml-overview.ts — do not edit. The health sub-graph of cat-harness (cat-harness/test/health/results), with every attribute read from its node schema.
Sources (same model): PlantUML · Mermaid · Graphviz DOT
The interactive view lays this diagram out in your browser with Graphviz, and needs JavaScript. Without it, pick Portrait or Landscape, or read the DOT source.
| sub-graph | directory | graph typologies | node schema | nodes | cohesion | in | out |
|---|---|---|---|---|---|---|---|
cat-harness/health | cat-harness/test/health/results | health | HealthReportSchema | not measured |
Nodes, cohesion, in and out are the detangler’s pinned measurements for the same directory (bun run cat kg:detangle; skill graph-detanglement). Not measured means the detangler does not scan that directory, not that it has no edges.
Sub-graphs
The same model, drawn by Mermaid
Kept so the page renders even where the PlantUML image is missing, and because Mermaid nodes carry the CSS class that colours them from uml.css.
classDiagram
direction TB
namespace cat_harness__health {
class cat_harness_health_Threshold["Threshold"] {
<<json: HealthReportSchema>>
metric [1] string
value [1] number
unit [1] string
basis [1] string
severity [1] critical | major | minor
}
class cat_harness_health_Measurement["Measurement"] {
<<json: HealthReportSchema>>
metric [1] string
value [1] number
unit [1] string
command [1] string
}
class cat_harness_health_Finding["Finding"] {
<<json: HealthReportSchema>>
summary [1] string
metric [0..1] string
severity [1] critical | major | minor
action [1] string
}
class cat_harness_health_Check["Check"] {
<<json: HealthReportSchema>>
id [1] string
state [1] ok | finding | unknown
summary [1] string
thresholds [0..*] Threshold[]
measurements [0..*] Measurement[]
findings [0..*] Finding[]
reason [0..1] string
}
class cat_harness_health_HealthReport["HealthReport"] {
<<json: HealthReportSchema>>
$schema [1] 'health-report/v1'
producer [1] object
subject [1] object
updated_at [1] string
verdict [1] clean | findings | unknown
checks [1..*] Check[]
}
}
cat_harness_health_Check *-- "0..*" cat_harness_health_Threshold : thresholds
cat_harness_health_Check *-- "0..*" cat_harness_health_Measurement : measurements
cat_harness_health_Check *-- "0..*" cat_harness_health_Finding : findings
cat_harness_health_HealthReport *-- "1..*" cat_harness_health_Check : checks
cssClass "cat_harness_health_Threshold" fa_uml_kind_health
cssClass "cat_harness_health_Measurement" fa_uml_kind_health
cssClass "cat_harness_health_Finding" fa_uml_kind_health
cssClass "cat_harness_health_Check" fa_uml_kind_health
cssClass "cat_harness_health_HealthReport" fa_uml_kind_health