Policy file (bedrock.yml)
Planned repo-root config for verdict thresholds, blocking rules, and integrations. Not parsed by the product yet.
Planned — not available yet
This documents the intended design. Nothing here ships in the product today. Install the GitHub App and use the playground for what is live now.
Full schema
json
policy: balanced # strict | balanced | lenient
paths:
schema: prisma/schema.prisma
migrations: prisma/migrations/
src: src/
block:
- destructive_drop_without_soak
- not_null_without_default
- rename_in_use_column
allow:
- create_index_concurrently
thresholds:
approve: 24
review: 50
block: 80
require_review_from:
- "@your-org/db-stewards"
backfill:
batch_size: 1000
max_lock_ms: 200
slack:
channel: "#db-changes"
notify_on: ["blocked", "review"]
linear:
team: "PLATFORM"
on_block: create_issueStrict / balanced / lenient
Top-level policy is a shorthand that sets sane defaults for the rest of the file. Strict blocks more, lenient approves more. You can always override individual fields below.