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.
SQL
Community rubric · v1
The evidence
One point for each verified check. Unknown means we still need evidence. Contrary evidence records an observed result that goes against the criterion.
Latest evidence review ·
Definition
VerifiedThe require-concurrent-index-creation rule flags index builds that can block writes in PostgreSQL.
Measurement
VerifiedThe CLI's migration example reports the risky statement, location, lock effect and rule identifier.
Conformance
UnknownNo reviewed evidence is recorded for this dimension.
What would demonstrate a violation? Contribute evidence ↗
CI enforcement
UnknownNo reviewed evidence is recorded for this dimension.
Can a change trigger a useful check? Contribute evidence ↗
Getting started
VerifiedThe README provides pip, npm and Docker installation paths, then runs squawk on example.sql and shows warnings with line references and proposed fixes.
Real-world adoption
VerifiedCodeRabbit scans changed SQL files in migration directories for PostgreSQL lock and compatibility hazards; ordinary SQL paths are excluded.
Agent guidance
UnknownNo reviewed evidence is recorded for this dimension.
Can an agent act on a specific finding? Contribute evidence ↗
Agent portability
UnknownNo reviewed evidence is recorded for this dimension.
Does the practice work in two agent harnesses? Contribute evidence ↗
Use this standard
Agent prompt
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.