From e4bc682881fa3231b4850204cd8dacaacd012448 Mon Sep 17 00:00:00 2001 From: Oscar Cedano Date: Fri, 6 Nov 2026 17:41:19 -0600 Subject: [PATCH 1/2] =?UTF-8?q?=E2=9C=85=20feat:=20use=20Composer=20fast?= =?UTF-8?q?=20mode=20for=20code-reviewer=20and=20execute-tests=20agents?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Speed up subagent runs while keeping the same composer-2.5 model. Co-authored-by: Cursor --- .cursor/agents/code-reviewer.md | 2 +- .cursor/agents/execute-tests.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.cursor/agents/code-reviewer.md b/.cursor/agents/code-reviewer.md index d579d69..e36ec9b 100644 --- a/.cursor/agents/code-reviewer.md +++ b/.cursor/agents/code-reviewer.md @@ -1,6 +1,6 @@ --- name: code-reviewer -model: composer-2.5[fast=false] +model: composer-2.5[fast=true] description: Reviews recent Fraudebot backend changes against the Cursor rules in .cursor/rules/. Use after an agent adds or changes an API service, controller, command, use case, repository, OpenAPI path, or test. --- diff --git a/.cursor/agents/execute-tests.md b/.cursor/agents/execute-tests.md index 1111f72..9804745 100644 --- a/.cursor/agents/execute-tests.md +++ b/.cursor/agents/execute-tests.md @@ -1,6 +1,6 @@ --- name: execute-tests -model: composer-2.5[fast=false] +model: composer-2.5[fast=true] description: Runs PHPUnit, PHPStan, and the architecture check once inside the worktree PHP container after PHP or test edits for the task are finished. Use at the end of a change, not after each file. --- From b1e334758f4b99cab7b0c33b0a03ab0d32a9d2de Mon Sep 17 00:00:00 2001 From: Oscar Cedano Date: Fri, 6 Nov 2026 17:47:56 -0600 Subject: [PATCH 2/2] =?UTF-8?q?=E2=9C=85=20feat:=20always=20apply=20GitHub?= =?UTF-8?q?=20publish=20rule=20and=20reference=20it=20from=20project?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Make pushing-changes-to-github alwaysApply so PR/commit flows stay consistent, and add a Git/GitHub pointer in project.mdc. Co-authored-by: Cursor Composer 2.5 --- .cursor/rules/project.mdc | 4 ++++ .cursor/rules/pushing-changes-to-github.mdc | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.cursor/rules/project.mdc b/.cursor/rules/project.mdc index 9ea03d7..3aacef1 100644 --- a/.cursor/rules/project.mdc +++ b/.cursor/rules/project.mdc @@ -12,3 +12,7 @@ Fraudebot lets people search reports other users have filed, so they can check a - **Report form**: Users submit a report about a scammer or an organization. Details are in `reports.mdc`. - **Scammer and organization pages**: Users open a profile that other people have already reported. - **WhatsApp bot**: Upcoming. Users will search the same data from WhatsApp. + +# Git / GitHub + +When the user asks to commit, push, or open a pull request, follow `.cursor/rules/pushing-changes-to-github.mdc` exactly (emoji titles, Co-Authored-By, `git push -u origin HEAD`, `gh pr create --fill` only unless they ask otherwise). diff --git a/.cursor/rules/pushing-changes-to-github.mdc b/.cursor/rules/pushing-changes-to-github.mdc index f0ab268..e9506de 100644 --- a/.cursor/rules/pushing-changes-to-github.mdc +++ b/.cursor/rules/pushing-changes-to-github.mdc @@ -6,7 +6,7 @@ description: >- Co-Authored-By with the acting model, push with git push -u origin HEAD, and gh pr create --fill only—never custom PR bodies with Summary or Test plan unless the user explicitly asks. -alwaysApply: false +alwaysApply: true --- # Publishing the changes to Github