Skip to content

fix(product): ask the brownfield question even in unattended runs#143

Draft
AlexanderMakarov wants to merge 1 commit into
mainfrom
fix/product-brownfield-ask-when-silent
Draft

fix(product): ask the brownfield question even in unattended runs#143
AlexanderMakarov wants to merge 1 commit into
mainfrom
fix/product-brownfield-ask-when-silent

Conversation

@AlexanderMakarov

Copy link
Copy Markdown
Contributor

The silent-prompt brownfield branch of commands/product.md ended with "This question is reached only in an interactive run whose prompt expressed no preference; an unattended run states its choice in the prompt." A model running under claude -p reads that as permission to skip the question and silently pick a default — observed consistently in awos-qa e2e runs (0/3 asked at effort medium, 0/1 at high): the explore/skip choice from #137 never reaches the user.

Since #141 the deliverable Write no longer waits on any answer, so asking is free in every mode. This replaces the sentence with:

  • an explicit ask-always rule (even when the run looks unattended),
  • an unattended-safe default (Yes, explore the codebase) when no answer comes,
  • pinned exact option labels (models were paraphrasing "No, start from scratch" into "No, from scratch", breaking downstream consumers that key on the documented labels).

Validated with awos-qa: product-brownfield-offers-skip and product-brownfield-declines-skips-exploration green 2× in a row unattended against this branch (they fail against current main); companion QA-side changes in provectus/awos-qa#34.

Draft — opened from the awos-qa e2e work; review wording before merging.

🤖 Generated with Claude Code

https://claude.ai/code/session_01D56dVJjUsoRYEUnxcx3zsH

The silent-prompt brownfield branch ended with "This question is reached only in an interactive run …; an unattended run states its choice in the prompt" — a model running under claude -p reads that as permission to skip the question and silently pick a default, so the explore/skip choice never reaches the user (observed consistently in awos-qa e2e runs). Since #141 the deliverable Write no longer waits on any answer, asking is free in every mode: replace the sentence with an explicit ask-always rule, an unattended-safe default (Yes, explore), and pin the exact option labels.

Claude-Session: https://claude.ai/code/session_01D56dVJjUsoRYEUnxcx3zsH
@coderabbitai

coderabbitai Bot commented Jul 3, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: f3b148c4-bb88-4698-8812-2084501f382a

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/product-brownfield-ask-when-silent

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.

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.

1 participant