-
Notifications
You must be signed in to change notification settings - Fork 27
.pr_agent.toml
Robin Jarry edited this page Aug 6, 2026
·
3 revisions
[config]
# Skip non-code files from analysis.
patch_extension_skip_types = []
# Minimal log output (0 = quiet, 2 = verbose).
verbosity_level = 0
# Do not append the active configuration to review comments.
output_relevant_configurations = false
[github_app]
# Only run /agentic_review on PR open. No /agentic_describe (which generates
# the diagram, file walkthrough, effort badge, type badge, etc.).
pr_commands = ["/agentic_review"]
[review_agent]
# Publish only findings the agent flags as needing action.
# 3 = action_required only | 2 = also remediation_recommended | 1 = also informational
publishing_action_level_rank_threshold = 3
# Inline comments only, no top-level summary comment.
comments_location_policy = "inline"
publish_inline_acknowledgment = false
persistent_comment_notification = false
# No "in progress" placeholder, no "previous review results" block.
publish_in_progress_comment = false
add_history_audit = false
persistent_comment = true
# Turn off the sub-agents behind the empty
# "Rule violations / Requirement gaps / Skill insights" counters.
enable_compliance_agent = false
enable_spec_agent = false
enable_cross_repo_agent = false
issues_user_guidelines = """
Be terse and direct. No filler phrases ("Great job", "This looks good",
"Overall the changes are").
- Only comment when you have a concrete, actionable finding.
- Do not repeat what the diff already shows.
- Focus on bugs, logic errors, memory safety issues, and concurrency problems.
- Do not suggest style changes unless they mask a bug.
This is a DPDK-based C project:
- `vec_*()` functions cannot fail, no need to check their return value.
- `vec_free(x)` sets `x = NULL`, no risk of double free.
- `ec_node_*()` functions consume their `ec_node` arguments, no leaks on error.
- `rte_node->ctx` is a `uint8_t[16]` array, not a pointer.
- Never suggest replacing `assert()` with graceful error handling.
- The project uses C23, unnamed parameters in function definitions are valid.
"""
[pr_reviewer]
# Edit the previous review comment instead of posting a new one.
persistent_comment = true
# Disable all decorative labels and scores.
enable_review_labels_effort = false
enable_review_labels_security = false
require_estimate_effort_to_review = false
require_security_review = false
require_ticket_analysis_review = false
require_tests_review = false
require_score_review = false
require_can_be_split_review = false
require_todo_scan = false
require_estimate_contribution_time_cost = false
# Do not post a comment when there are no findings.
publish_output_no_suggestions = false
# Cap the number of findings per review.
num_max_findings = 5
# Remove boilerplate intro/help text from comments.
enable_intro_text = false
enable_help_text = false
# Custom instructions injected into the review prompt.
extra_instructions = """
Be terse and direct. No filler phrases ("Great job", "This looks good",
"Overall the changes are").
- Only comment when you have a concrete, actionable finding.
- Do not repeat what the diff already shows.
- Focus on bugs, logic errors, memory safety issues, and concurrency problems.
- Do not suggest style changes unless they mask a bug.
This is a DPDK-based C project:
- `vec_*()` functions cannot fail, no need to check their return value.
- `vec_free(x)` sets `x = NULL`, no risk of double free.
- `ec_node_*()` functions consume their `ec_node` arguments, no leaks on error.
- `rte_node->ctx` is a `uint8_t[16]` array, not a pointer.
- Never suggest replacing `assert()` with graceful error handling.
- The project uses C23, unnamed parameters in function definitions are valid.
"""
[pr_code_suggestions]
# Edit the previous suggestions comment instead of posting a new one.
persistent_comment = true
# Max suggestions per ~32k token chunk of diff.
num_code_suggestions_per_chunk = 3
# Max number of chunks to process for large PRs.
max_number_of_calls = 3
# Drop suggestions scoring below this threshold (0-10 scale).
suggestions_score_threshold = 7
# Only suggest fixes for actual problems, skip style nits.
focus_only_on_problems = true
# Do not post a comment when there are no suggestions.
publish_output_no_suggestions = false
# Remove boilerplate help/chat text from comments.
enable_help_text = false
enable_chat_text = false
# Custom instructions injected into the suggestions prompt.
extra_instructions = """
Only suggest changes that fix actual bugs or prevent likely errors.
Do not suggest adding comments, docstrings, or type annotations.
Do not suggest renaming variables for readability.
Do not comment on shell scripts with unquoted variables.
Do not comment on markdown heading style.
Keep suggestions minimal and actionable.
"""
[pr_description]
# Do not add labels to the PR.
publish_labels = false
# Do not prepend a PR type tag to the title.
enable_pr_type = false
# Do not generate mermaid diagrams.
enable_pr_diagram = false
[checks]
enable_auto_checks_feedback = false