# ⚙️ toil-tracker

**SRE toil measurement and automation opportunity identifier.**

Analyzes operational toil against 10 rules (TOIL-001 to TOIL-010) covering manual tasks, automation ROI, incident response, deployment automation, access management, scaling, and toil budgets.

## Installation

```bash
pip install -e .
```

## Usage

```bash
# Analyze toil inventory
toil-tracker analyze toil-inventory.yaml

# Fail on critical findings
toil-tracker analyze toil-inventory.yaml --fail-on critical

# JSON output
toil-tracker analyze toil-inventory.yaml --format json

# Custom team capacity
toil-tracker analyze toil-inventory.yaml --capacity 4160

# Run demo
toil-tracker demo

# List rules
toil-tracker rules
```

## Rules

| Rule | Severity | Title |
|------|----------|-------|
| TOIL-001 | CRITICAL | High-Frequency Manual Task |
| TOIL-002 | HIGH | High Annual Time Investment |
| TOIL-003 | HIGH | Quick Automation ROI |
| TOIL-004 | MEDIUM | Multi-Person Toil |
| TOIL-005 | HIGH | Incident-Related Toil |
| TOIL-006 | MEDIUM | Deployment Toil |
| TOIL-007 | MEDIUM | Access Management Toil |
| TOIL-008 | HIGH | Scaling Toil |
| TOIL-009 | LOW | Low Automation Potential Task |
| TOIL-010 | CRITICAL | Toil Budget Exceeded |

## License

MIT
