# Botica v2.2.0 - Table of Contents

> Environment diagnostics and health checks for Elixir.

## Pages

- [Botica](readme.md)
- [Botica](readme-es.md)
- [MIT License](license.md)
- [Changelog](changelog.md)

## Modules

- [Botica.Alerts.Subscriber](Botica.Alerts.Subscriber.md): Behaviour for alert subscribers. See `Botica.Alerts`.
- [Botica.Application](Botica.Application.md): OTP application for `Botica`.
- [Botica.Batteries.Command](Botica.Batteries.Command.md): Shared command runner for the batteries.

- Core
  - [Botica](Botica.md): Botica provides environment diagnostics, health checks, and feature flags.
  - [Botica.Doctor](Botica.Doctor.md): Environment diagnostics and auto-repair — returns structured results.
  - [Botica.Doctor.FlagsSummary](Botica.Doctor.FlagsSummary.md): Formats `Botica.Flags` registry data into human-readable summaries.
  - [Botica.Doctor.Reporter](Botica.Doctor.Reporter.md): Result aggregation and reporting for `Botica.Doctor`.
  - [Botica.Report](Botica.Report.md): Exports check results to observability backends.
  - [Botica.Types](Botica.Types.md): Shared types and data structures for Botica.

  - [Botica.Validation](Botica.Validation.md): Shared validation helpers for Botica configuration.

- Flags
  - [Botica.Flags](Botica.Flags.md): Feature flags for Elixir with deterministic per-entity rollouts.
  - [Botica.Flags.Config](Botica.Flags.Config.md): Configuration source for feature flags. Provides defaults read from the application
environment, allowing runtime overrides.
  - [Botica.Flags.Doc](Botica.Flags.Doc.md): Generates documentation for the currently registered flags.
  - [Botica.Flags.Flag](Botica.Flags.Flag.md): Struct representing a single feature flag.
  - [Botica.Flags.Persistence](Botica.Flags.Persistence.md): Behaviour for persisting feature flags outside of the ETS cache.
  - [Botica.Flags.Persistence.Disk](Botica.Flags.Persistence.Disk.md): Disk-backed persistence adapter for feature flags.
  - [Botica.Flags.Persistence.Writer](Botica.Flags.Persistence.Writer.md): Serializes persistence writes to the configured adapter.
  - [Botica.Flags.Rollout](Botica.Flags.Rollout.md): Gradual rollout evaluation for feature flags.
  - [Botica.Flags.Store](Botica.Flags.Store.md): ETS-backed storage for `Botica.Flags.Flag` structs.

- Execution
  - [Botica.Runner.CheckRunner](Botica.Runner.CheckRunner.md): Runs a single health check in an isolated process with timeout and monitoring.
  - [Botica.Runner.Executor](Botica.Runner.Executor.md): Executes health checks in parallel with timeout support.
  - [Botica.Runner.Sequencer](Botica.Runner.Sequencer.md): Sorts and sequences checks based on their priority and dependencies.

- Runtime
  - [Botica.Alerts](Botica.Alerts.md): Alert hooks for repeated check failures and recovery.
  - [Botica.Dashboard](Botica.Dashboard.md): Minimal HTTP dashboard for botica check results.
  - [Botica.Scheduler](Botica.Scheduler.md): Runs check groups on a schedule.

- Repair
  - [Botica.Repair.Fixer](Botica.Repair.Fixer.md): Auto-repair logic for health checks that failed.

- Checks
  - [Botica.Check.Behaviour](Botica.Check.Behaviour.md): Behaviour for defining health checks.
  - [Botica.Check.Group](Botica.Check.Group.md): Groups health checks into a unit that runs with a shared timeout.
  - [Botica.Check.Result](Botica.Check.Result.md): Logic for building and processing check results.

- Batteries
  - [Botica.Batteries.Disk](Botica.Batteries.Disk.md): Predefined health check for disk space usage.
  - [Botica.Batteries.LlamaServer](Botica.Batteries.LlamaServer.md): Llama-server lifecycle management — used by any project that needs
to download, configure, launch, and health-check a `llama-server`
process running a specific GGUF model.
  - [Botica.Batteries.LlamaServer.Installer](Botica.Batteries.LlamaServer.Installer.md): Downloads a precompiled `llama-server` binary into a stable install
directory (`~/models/llama-server` by default, override with
`LLAMA_INSTALL_DIR`) so subsequent runs don't re-download.
  - [Botica.Batteries.Memory](Botica.Batteries.Memory.md): Predefined health check for system memory usage.
  - [Botica.Batteries.PostgreSQL](Botica.Batteries.PostgreSQL.md): Predefined health check for PostgreSQL database connectivity.
  - [Botica.Batteries.Redis](Botica.Batteries.Redis.md): Predefined health check for Redis cache server.

