From 299c0b54988c14e86ee42c9cd00f0b8c0ad7008b Mon Sep 17 00:00:00 2001 From: Spencer Bryngelson Date: Sat, 21 Jun 2025 13:24:10 -0400 Subject: [PATCH 1/3] Create .pr_agent.toml --- .pr_agent.toml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .pr_agent.toml diff --git a/.pr_agent.toml b/.pr_agent.toml new file mode 100644 index 0000000000..e20a043cf9 --- /dev/null +++ b/.pr_agent.toml @@ -0,0 +1,11 @@ +# .pr_agent.toml +[github_app] +# Run these tools automatically on every new PR: +pr_commands = ["/describe", "/review"] + +[pr_reviewer] # (all fields optional) +num_max_findings = 5 # how many items to surface +require_tests_review = true +extra_instructions = """ +Focus on duplicate code, the possibility of bugs, and if the PR added appropriate tests if it added a simulation feature. +""" From 39a26e4373269bfda63c8caf1652618dea5cf4e0 Mon Sep 17 00:00:00 2001 From: Spencer Bryngelson Date: Sat, 21 Jun 2025 13:36:16 -0400 Subject: [PATCH 2/3] Update .pr_agent.toml --- .pr_agent.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.pr_agent.toml b/.pr_agent.toml index e20a043cf9..bc6de31eec 100644 --- a/.pr_agent.toml +++ b/.pr_agent.toml @@ -1,7 +1,7 @@ # .pr_agent.toml [github_app] # Run these tools automatically on every new PR: -pr_commands = ["/describe", "/review"] +pr_commands = ["/describe", "/review", "/improve"] [pr_reviewer] # (all fields optional) num_max_findings = 5 # how many items to surface @@ -9,3 +9,6 @@ require_tests_review = true extra_instructions = """ Focus on duplicate code, the possibility of bugs, and if the PR added appropriate tests if it added a simulation feature. """ + +[pr_code_suggestions] +commitable_code_suggestions = true # always emit patch blocks From ecc6ad37f52a3a363a6c1610bd2815055820fbc4 Mon Sep 17 00:00:00 2001 From: Spencer Bryngelson Date: Sat, 21 Jun 2025 13:44:36 -0400 Subject: [PATCH 3/3] Update .pr_agent.toml --- .pr_agent.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.pr_agent.toml b/.pr_agent.toml index bc6de31eec..af24b7074a 100644 --- a/.pr_agent.toml +++ b/.pr_agent.toml @@ -11,4 +11,5 @@ Focus on duplicate code, the possibility of bugs, and if the PR added appropriat """ [pr_code_suggestions] -commitable_code_suggestions = true # always emit patch blocks +commitable_code_suggestions = false # purely advisory, no write ops +apply_suggestions_checkbox = false # hides the “Apply/Chat” boxes