# Squawk

Review PostgreSQL migrations for unsafe locks

Lint migrations for operations that can take disruptive locks or rewrite large tables. Pair each warning with a rollout plan for the production schema.

Category: Reliability
Languages: SQL

## Standard evidence

Rubric v1 · 4/8 verified · 4 unknown · 0 contrary · reviewed 2026-11-28

- **Definition** (verified) — The require-concurrent-index-creation rule flags index builds that can block writes in PostgreSQL. Reviewed 2026-11-28. [Source](https://squawkhq.com/docs/require-concurrent-index-creation)
- **Measurement** (verified) — The CLI's migration example reports the risky statement, location, lock effect and rule identifier. Reviewed 2026-11-28. [Source](https://raw.githubusercontent.com/sbdchd/squawk/master/README.md)
- **Conformance** (unknown) — No reviewed evidence is recorded for this dimension.
- **CI enforcement** (unknown) — No reviewed evidence is recorded for this dimension.
- **Getting started** (verified) — The README provides pip, npm and Docker installation paths, then runs squawk on example.sql and shows warnings with line references and proposed fixes. Reviewed 2026-11-28. [Source](https://raw.githubusercontent.com/sbdchd/squawk/master/README.md)
- **Real-world adoption** (verified) — CodeRabbit scans changed SQL files in migration directories for PostgreSQL lock and compatibility hazards; ordinary SQL paths are excluded. Reviewed 2026-11-28. [Source](https://docs.coderabbit.ai/tools/squawk)
- **Agent guidance** (unknown) — No reviewed evidence is recorded for this dimension.
- **Agent portability** (unknown) — No reviewed evidence is recorded for this dimension.

## Adoption

Use Squawk in this repository to meet this standard: Review PostgreSQL migrations for unsafe locks. Lint migrations for operations that can take disruptive locks or rewrite large tables. Pair each warning with a rollout plan for the production schema. Inspect the repository configuration, record the baseline and exact reproduction steps, then add the smallest repeatable check that detects a regression.

Seikika package: no verified installation is listed.

## References

- [Tool documentation](https://squawkhq.com/)
- [Agent skill](/skills/squawk/SKILL.md)
