Usage
Shows information about:
- Running cordon processes
- Listening ports
- Installed service status
- Health endpoint responses
- Token enforcement status and warnings (missing tokens, unenforced scopes)
./cordon.toml is missing, cordon status falls back to installed services:
- If exactly one installed service exists, it inspects that service automatically
- If multiple installed services exist, it shows the service list and asks you to pick one by name
Quiet mode
If no config file is found (cordon not configured for this project/scope), exits 0 — nothing to check.
Quiet mode performs a fast health check: 50ms timeout with one retry (20ms delay between attempts). It skips service discovery and process scanning — just loads the config, reads the port, and hits the
/health endpoint.
This is used by the Claude Code health-check hook to detect when cordon is down. It’s also useful in scripts, CI, and shell prompts: