> ## Documentation Index
> Fetch the complete documentation index at: https://docs.acmeagentsupply.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Triage

> Open-source diagnostic CLI for AI agent stacks — deterministic proof bundles before any recovery action

# Triage

Triage is a free, open-source diagnostic CLI that captures a read-only proof bundle of your agent stack's current state. Run it before you touch anything.

<Info>
  `triage` is MIT licensed, requires no account, and makes zero changes to your system. It is the evidence gate — operator rule is: **run triage before any recovery action.**
</Info>

## Install

```bash theme={null}
curl -fsSL https://acmeagentsupply.com/install/triage | bash
```

## Run

```bash theme={null}
triage
```

Output lands at `~/.openclaw/triage-bundles/YYYY-MM-DD-HH-MM-SS/` — timestamped so you can compare before and after any change.

## What Triage Collects

Seven collectors run on every invocation:

| Collector    | What It Captures                               |
| ------------ | ---------------------------------------------- |
| `gateway`    | Gateway liveness, port status, probe response  |
| `sessions`   | Active session topology and count              |
| `disk`       | Log volume, growth rate, pressure indicators   |
| `integrity`  | Binary and config file integrity checks        |
| `doctor`     | Environment and dependency health              |
| `compaction` | Compaction event history, current budget level |
| `fleet`      | Version, uptime, environment identity          |

## Reading the Bundle

After `triage` runs, check these files first:

```
gateway_status.txt       — is the gateway alive and responding?
compaction_status.txt    — any active compaction pressure?
fleet_identity.txt       — version, uptime, environment confirmed
disk_pressure.txt        — log volume and growth slope
```

A clean bundle means you have evidence. Now you know what "before" looks like.

## What Triage Does NOT Do

* No recovery execution — ever
* No writes to `openclaw.json` or any config file
* No background daemons or LaunchAgent installs
* No outbound network calls

## Commercial Edition

The open-source `triage` command gives you the proof bundle. **Triage for Acme** adds:

| Feature                      | OSS | Triage for Acme |
| ---------------------------- | --- | --------------- |
| 7 diagnostic collectors      | ✓   | ✓               |
| Timestamped proof bundle     | ✓   | ✓               |
| Live `-watch` dashboard      | —   | ✓               |
| Reliability score (RadCheck) | —   | ✓               |
| Protection state             | —   | ✓               |
| Agent911 integration         | —   | ✓               |

## Next Steps

<CardGroup cols={2}>
  <Card title="RadCheck" icon="magnifying-glass" href="/products/radcheck/overview">
    Triage captures the state. RadCheck scores the risk.
  </Card>

  <Card title="Agent911" icon="tower-broadcast" href="/products/agent911/overview">
    Use the triage bundle as input to Agent911's incident view.
  </Card>
</CardGroup>
