# thejerf/suture

Supervisor trees for Go.

Repository: https://github.com/thejerf/suture
Canonical: https://ross.abutalabs.com/products/suture
Language: Go
License: MIT
License Family: permissive
Last push: 2026-07-22T01:18:27+00:00

## Health v2 (maintenance only)
Score: 74/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 93, release rhythm 35, longevity 100
- inputs: {"age_days": 4521, "days_push": 43, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1412, forks 76 (observed 2026-08-28T04:04:39.067443+00:00)

## What it is
Suture is a Go library implementing Erlang-style supervisor trees for managing and restarting failing goroutine-based services. It handles failure cases like crash loops gracefully while imposing minimal requirements on service code and providing production logging hooks.

## Use cases
- supervise long-running goroutines and restart them on failure
- build fault-tolerant Go services with supervisor trees
- prevent crash loops from burning CPU endlessly restarting dead services
- manage graceful shutdown of a tree of background services
- add structured logging around service restarts in production

## When to choose
- you have multiple long-running goroutine services that need automatic restart on failure
- you want Erlang/OTP-style supervision semantics in Go
- you need backoff and termination policies for repeatedly failing services

## When to avoid
- you only need simple one-off goroutines without restart semantics
- you want full OTP feature set like distributed supervision or hot code reloading
- your project is not written in Go

## Facets
- artifact type: library
- maturity: stable
- function: concurrency, error-handling, workflow-automation
- domain: developer-tools, microservices, backend
- platform: go, cross-platform
- tags: supervisor-trees, fault-tolerance, erlang-style, goroutine-management, resilience

## Member repositories
- thejerf/suture (main) score 74

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:39.067443+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:38:22.198307+00:00, confidence not recorded.
  - readme: https://github.com/thejerf/suture (fetched 2026-08-28T04:04:39.067443+00:00, sha 0c1adcdb4b2e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
