diff --git a/.cursor/BUGBOT.md b/.cursor/BUGBOT.md new file mode 100644 index 000000000..7bdd15d5f --- /dev/null +++ b/.cursor/BUGBOT.md @@ -0,0 +1,7 @@ +# Review Guidelines +1. Ignore any problems in utils/evals/* +2. If any code end up creating a directory in `/workspace`, it is a critical error and should have the title: "Potential EACCES Error". A file in `/workspace` is ok. +3. If any changed file contains /(?:^|\s)(TODO|FIXME)(?:\s*:|\s+)/, then: + - Add a non-blocking Bug titled "TODO/FIXME comment found" + - Body: "Replace TODO/FIXME with a tracked issue reference, e.g., `TODO(#1234): ...`, or remove it." + - If the TODO or FIXME already references an issue pattern /#\d+|[A-Z]+-\d+/, mark the Bug as resolved automatically. diff --git a/.gemini/styleguide.md b/.gemini/styleguide.md new file mode 100644 index 000000000..9fb9aa652 --- /dev/null +++ b/.gemini/styleguide.md @@ -0,0 +1,7 @@ +# Review Guidelines +1. Ignore any problems in utils/evals/* +2. If any code end up creating a directory in `/workspace`, it is a critical error and should have the title: "Potential EACCES Error". A file in `/workspace` is ok. +3. If any changed file contains /(?:^|\s)(TODO|FIXME)(?:\s*:|\s+)/, then: + - Add a non-blocking Bug titled "TODO/FIXME comment found" + - Body: "Replace TODO/FIXME with a tracked issue reference, e.g., `TODO(#1234): ...`, or remove it." + - If the TODO already references an issue pattern /#\d+|[A-Z]+-\d+/, mark the Bug as resolved automatically. \ No newline at end of file