Skip to content

.pr_agent.toml

Alexey Zimarev edited this page Dec 12, 2025 · 9 revisions
[config]
add_repo_metadata = true

[pr_code_suggestions]
extra_instructions = """\
- Follow the following when reviewing tests:
  - All test assertions must use async TUnit patterns.
  - Never convert async test methods to synchronous forms.
  - Use the correct async assertion API and keep test methods async Task.
  - Do not suggest replacing async assertions with sync ones.
- Check PR checks before suggesting changes that you think will fix compilation errors. If the checks pass, it means that there are no compilation errors, and no suggestions are required (missing imports, using statements, etc).
- Respect strong typing in C# - do not suggest implicit conversions that don't exist.
- When working with value objects or domain entities, verify constructor signatures match the provided arguments.
"""

[pr_reviewer]
check_pr_additional_content=true

[rag_arguments]
enable_rag=true

[pr_description]
auto_create_ticket = true

[pr_compliance]
extra_instructions = """\
- There's no need to enforce audit logs compliance as it's a framework. Extensive diagnostics is useful, but we don't need audit logs.
- When in doubt about null checks, make sure that the property or field is indeed nullable. Rely on compiler warnings in build results for questionable null check practices.
"""

[auto_best_practices]
enable_auto_best_practices = true  
utilize_auto_best_practices = true 
extra_instructions = ""            

Clone this wiki locally