Skip to content

fix: add --no-verify flag to skip preflight check in create-prd#162

Open
zerone0x wants to merge 1 commit intosubsy:mainfrom
zerone0x:fix/create-prd-no-verify-161
Open

fix: add --no-verify flag to skip preflight check in create-prd#162
zerone0x wants to merge 1 commit intosubsy:mainfrom
zerone0x:fix/create-prd-no-verify-161

Conversation

@zerone0x
Copy link

@zerone0x zerone0x commented Jan 20, 2026

Summary

Fixes #161

Adds a --no-verify flag to the create-prd command that allows users to skip the agent preflight verification check. This addresses the issue where the preflight check fails but the agent is actually working correctly.

Changes

  • Added noVerify option to CreatePrdArgs interface
  • Added --no-verify flag parsing in parseCreatePrdArgs()
  • Added --no-verify to help text
  • Modified runChatMode() to conditionally skip preflight when --no-verify is passed
  • Updated error message to suggest --no-verify as a workaround when preflight fails

Usage

# Skip preflight verification check
ralph-tui create-prd --no-verify

# Or with other options
ralph-tui create-prd --no-verify --agent claude

Test Plan

  • Typecheck passes
  • Build passes
  • Manual test: ralph-tui create-prd --help shows --no-verify option
  • Manual test: ralph-tui create-prd --no-verify skips verification

🤖 Generated with Claude Code

Summary by CodeRabbit

  • New Features
    • Added --no-verify command-line flag to the create-prd command. Users can now skip preflight verification checks when generating PRDs. When this flag is specified, the system bypasses the verification step and proceeds directly to document creation, enabling a faster workflow for experienced users who prefer to skip system checks.

✏️ Tip: You can customize this high-level summary in your review settings.

Adds a --no-verify flag to the create-prd command that allows users to
skip the agent preflight verification check. This is useful when the
preflight check fails but the agent is actually working correctly.

When preflight fails, the error message now also suggests using
--no-verify as a workaround.

Fixes subsy#161

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@vercel
Copy link

vercel bot commented Jan 20, 2026

@zerone0x is attempting to deploy a commit to the plgeek Team on Vercel.

A member of the Team first needs to authorize it.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 20, 2026

Walkthrough

A new --no-verify command-line flag has been added to the create-prd command, enabling users to skip the mandatory agent preflight verification check. The flag is parsed, stored in the CreatePrdArgs interface, and used to conditionally execute verification logic in the chat mode runner.

Changes

Cohort / File(s) Summary
Create PRD Command Enhancement
src/commands/create-prd.tsx
Added noVerify?: boolean property to CreatePrdArgs interface; updated argument parser to recognise --no-verify flag and set corresponding property; modified help text to document new flag; wrapped preflight verification in conditional check to skip execution when flag is set, logging skip notification instead

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Poem

🐰 A flag that sets the spirits free,
No more preflight gatekeeping spree,
--no-verify whispers soft and clear,
Let Claude Code come without fear!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: adding a --no-verify flag to skip preflight checks in create-prd, which is the core purpose of this pull request.
Linked Issues check ✅ Passed The pull request successfully implements the primary objective from issue #161: adding a --no-verify flag to allow skipping mandatory preflight verification in the create-prd command.
Out of Scope Changes check ✅ Passed All changes are directly related to implementing the --no-verify flag functionality for the create-prd command as specified in issue #161; no unrelated modifications detected.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

create-prd --chat fails preflight check even though Claude Code works

1 participant

Comments