Skip to content

ready.yml

Optional project rules live in root ready.yml. The CLI, API payload builder, and PR workflow load this file so heuristics stay project-specific.

Example adapted from upstream:

testFilePatterns:
- "**/*.test.ts"
- "**/*.test.js"
- "**/tests/**"
forbiddenPatterns:
- "*.env"
- "*.env.*"
- "*.pem"
- "*credentials*"
maxDiffSizeBytes: 102400
docsPathAllowlist:
- "docs/**"
- "**/*.md"
# Fixture demos + unit-test trees intentionally contain markers/sample secrets.
# Directory-scoped only — avoid bare **/*.spec.ts which can match non-test paths.
testPathAllowlist:
- "tests/**"
- "**/__tests__/**"
- "fixtures/**"
customBlockers:
# Comment-form only so ready.yml pattern/description lines do not self-match
- pattern: "(?://|#)\\s*HACK\\b"
severity: blocker
description: "Unfinished-work markers in comments"
- pattern: "(?://|#)\\s*no-commit\\b"
severity: warning
description: "Commit-blocking markers should be removed before PR"
FieldPurpose
testFilePatternsGlobs treated as test files when assessing coverage signals
forbiddenPatternsPaths that should not appear in a ready branch
maxDiffSizeBytesSoft cap before large-diff handling
docsPathAllowlistDocs soft-skips for line heuristics
testPathAllowlistIgnore unit-test fixtures (including sample secrets) for line heuristics
customBlockersExtra regex rules with blocker or warning severity