You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
scripts/preflight.mjs uses global mutable ok and failures state plus a
long numbered list of inline checks. The current behavior works, but the shape
makes checks harder to test independently and easier to edit inconsistently.
Hill
Repository preflight is a registry of named checks that return failure messages,
while pnpm run preflight preserves its existing user-facing behavior.
Done looks like
checks are represented as named functions or objects
each check returns an array of failure messages instead of mutating global
state
process-running checks share one helper
smoke tests cover at least one passing and one failing check
Check the box below or use the @coderabbitai plan command to generate an implementation plan and prompts that you can use with your favorite coding assistant.
Create Plan
🧪 Issue enrichment is currently in open beta.
You can configure auto-planning by selecting labels in the issue_enrichment configuration.
To disable automatic issue enrichment, add the following to your .coderabbit.yaml:
issue_enrichment:
auto_enrich:
enabled: false
💬 Have feedback or questions? Drop into our discord!
Migrated from a local Wesley Method backlog card after adopting METHOD v2.1.0 tracker doctrine.
docs/method/backlog/bad-code/RUNTIME_preflight-check-registry.mdbad-codelane:bad-codeRUNTIMEOriginal Local Backlog Card
Preflight check registry
bad-codeRUNTIMEWhy now
scripts/preflight.mjsuses global mutableokandfailuresstate plus along numbered list of inline checks. The current behavior works, but the shape
makes checks harder to test independently and easier to edit inconsistently.
Hill
Repository preflight is a registry of named checks that return failure messages,
while
pnpm run preflightpreserves its existing user-facing behavior.Done looks like
state
CLI commands, pnpm version, dependency-cruiser, core purity, package hygiene,
license, progress weights, and docs whitespace
Repo Evidence
scripts/preflight.mjspackage.jsondocs/audit/2026-05-05_ship-readiness.md