Compare commits

...

3 Commits

Author SHA1 Message Date
sjennings 595a0b8dc5
Merge 57f59b2e5c into f11be2b2e2 2025-12-13 13:17:55 +00:00
Scott Jennings 57f59b2e5c fix: address Copilot review feedback for external agent code review
- Rename misleading "CLAUDE CODE CLEANUP" comment to generic "SHELL CLEANUP"
- Remove unused external_prompt variable loading action
- Increase external agent timeout from 5 to 10 minutes for complex reviews
- Fix Review Method output to show actual method used instead of "OR"
- Restore web_bundle: false setting needed by web bundler
2025-12-13 07:17:52 -06:00
Alex Verkhovsky f11be2b2e2
chore: disable CodeRabbit walkthrough (#1115)
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Brian <bmadcode@gmail.com>
2025-12-13 13:34:41 +08:00
3 changed files with 9 additions and 9 deletions

View File

@ -7,11 +7,11 @@ reviews:
high_level_summary: false # don't post summary until explicitly invoked high_level_summary: false # don't post summary until explicitly invoked
request_changes_workflow: false request_changes_workflow: false
review_status: false review_status: false
commit_status: false # don't set commit status until explicitly invoked commit_status: false
collapse_walkthrough: false walkthrough: false
poem: false poem: false
auto_review: auto_review:
enabled: false # must be manually triggered with @coderabbit review enabled: false
drafts: true # Can review drafts. Since it's manually triggered, it's fine. drafts: true # Can review drafts. Since it's manually triggered, it's fine.
auto_incremental_review: false # always review the whole PR, not just new commits auto_incremental_review: false # always review the whole PR, not just new commits
base_branches: base_branches:

View File

@ -5,7 +5,7 @@
<critical>Generate all documents in {document_output_language}</critical> <critical>Generate all documents in {document_output_language}</critical>
<!-- ================================================================ --> <!-- ================================================================ -->
<!-- CLAUDE CODE CLEANUP - MANDATORY KILL OF ALL BACKGROUND SHELLS --> <!-- SHELL CLEANUP - MANDATORY KILL OF ALL BACKGROUND SHELLS -->
<!-- ================================================================ --> <!-- ================================================================ -->
<!-- CRITICAL: Stale external agent processes cause context pollution. <!-- CRITICAL: Stale external agent processes cause context pollution.
You MUST kill ALL background shells BEFORE doing ANYTHING else. You MUST kill ALL background shells BEFORE doing ANYTHING else.
@ -203,19 +203,18 @@
<!-- External agent prompt is loaded from external-agent-prompt.md --> <!-- External agent prompt is loaded from external-agent-prompt.md -->
<set-var name="external_prompt_file" value="{installed_path}/external-agent-prompt.md" /> <set-var name="external_prompt_file" value="{installed_path}/external-agent-prompt.md" />
<action>Load {{external_prompt_file}} content into {{external_prompt}}</action>
<check if="{{external_agent_cmd}} == 'codex'"> <check if="{{external_agent_cmd}} == 'codex'">
<critical>CODEX: Use codex exec with read-only sandbox and full-auto</critical> <critical>CODEX: Use codex exec with read-only sandbox and full-auto</critical>
<invoke-bash cmd="codex exec --sandbox read-only --full-auto &quot;$(cat '{{external_prompt_file}}')&quot;" timeout="300000" /> <invoke-bash cmd="codex exec --sandbox read-only --full-auto &quot;$(cat '{{external_prompt_file}}')&quot;" timeout="600000" />
</check> </check>
<check if="{{external_agent_cmd}} == 'gemini'"> <check if="{{external_agent_cmd}} == 'gemini'">
<critical>GEMINI: Use gemini -p with prompt from file and --yolo</critical> <critical>GEMINI: Use gemini -p with prompt from file and --yolo</critical>
<invoke-bash cmd="gemini -p &quot;$(cat '{{external_prompt_file}}')&quot; --yolo" timeout="300000" /> <invoke-bash cmd="gemini -p &quot;$(cat '{{external_prompt_file}}')&quot; --yolo" timeout="600000" />
</check> </check>
<check if="{{external_agent_cmd}} == 'claude'"> <check if="{{external_agent_cmd}} == 'claude'">
<critical>CLAUDE: Use claude -p with prompt from file</critical> <critical>CLAUDE: Use claude -p with prompt from file</critical>
<invoke-bash cmd="claude -p &quot;$(cat '{{external_prompt_file}}')&quot; --dangerously-skip-permissions" timeout="300000" /> <invoke-bash cmd="claude -p &quot;$(cat '{{external_prompt_file}}')&quot; --dangerously-skip-permissions" timeout="600000" />
</check> </check>
<check if="{{bash_exit_code}} != 0 OR {{bash_stdout}} is empty"> <check if="{{bash_exit_code}} != 0 OR {{bash_stdout}} is empty">
@ -297,7 +296,7 @@
<output>**🔥 CODE REVIEW FINDINGS, {user_name}!** <output>**🔥 CODE REVIEW FINDINGS, {user_name}!**
**Story:** {{story_file}} **Story:** {{story_file}}
**Review Method:** {{external_agent_cmd}} OR built-in **Review Method:** {{#if external_agent_cmd}}{{external_agent_cmd}} CLI{{else}}built-in{{/if}}
**Git vs Story Discrepancies:** {{git_discrepancy_count}} found **Git vs Story Discrepancies:** {{git_discrepancy_count}} found
**Issues Found:** {{high_count}} High, {{medium_count}} Medium, {{low_count}} Low **Issues Found:** {{high_count}} High, {{medium_count}} Medium, {{low_count}} Low

View File

@ -57,3 +57,4 @@ input_file_patterns:
load_strategy: "INDEX_GUIDED" load_strategy: "INDEX_GUIDED"
standalone: true standalone: true
web_bundle: false