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. --- 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