# Quality Check

Runs checks defined in `.sdlc/tools/quality-check/config.yaml` and reports pass/fail.

## Usage

```bash
# Run all configured checks
sdlc tool run quality-check

# Filter to checks whose name matches a string
sdlc tool run quality-check --scope test
```

## How it works

Reads `checks` from `.sdlc/tools/quality-check/config.yaml`, runs each script as a shell
command in the project root, and reports pass/fail with the last 500 characters of output.

## Adding checks

Edit `.sdlc/tools/quality-check/config.yaml`:

```yaml
checks:
  - name: test
    description: Run unit tests
    script: cargo test --all
  - name: lint
    description: Run linter
    script: cargo clippy --all -- -D warnings
```

The quality-check tool picks them up automatically — no code changes needed.
