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

Layout
UML class diagram of cat-harness/health: one package per named sub-graph, one class per node schema, with its data fields. Portrait layout.
UML class diagram of cat-harness/health: one package per named sub-graph, one class per node schema, with its data fields. Landscape layout.

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-graphdirectorygraph typologiesnode schemanodescohesioninout
cat-harness/healthcat-harness/test/health/resultshealthHealthReportSchemanot 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

folio-assistant — code under the Apache License 2.0, documentation under CC BY 3.0. Generated schema and API references are rebuilt from source on every push to main.

deployed dev