Skip to content

Commit 94ed47f

Browse files
authored
chore: update agent instructions (#942)
## Summary - clarify AGENTS instructions for GitHub Copilot contributors ## Testing - `bin/codex_style_guard` *(fails: No such file or directory)* - `bundle exec rubocop` *(fails: command not found)* - `bundle exec brakeman -q -w2` *(fails: command not found)* - `bundle exec bundler-audit --update` *(fails: command not found)* - `bin/ci` *(fails: command not found)* ------ https://chatgpt.com/codex/tasks/task_e_68911d4d819c8321aca6cac1dcedd73c
2 parents 8b46c5e + f50c784 commit 94ed47f

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

AGENTS.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# AGENTS.md
22

3+
Instructions for GitHub Copilot and other automated contributors working in this repository.
4+
35
## Project
46
- Ruby: 3.4.4 (installed via rbenv in setup)
57
- Rails: 7.1
@@ -13,18 +15,17 @@
1315
- Databases:
1416
- development: `community_engine_development`
1517
- test: `community_engine_test`
16-
- Use `DATABASE_URL` to connect (overrides fallback host in database.yml).
18+
- Use `DATABASE_URL` to connect (overrides fallback host in `config/database.yml`).
1719

1820
## Commands
19-
- Run tests: `bin/ci`
21+
- **Tests:** `bin/ci`
2022
(Equivalent: `cd spec/dummy && bundle exec rspec`)
21-
- Lint: `bundle exec rubocop`
22-
- Security: `bundle exec brakeman -q -w2` and `bundle exec bundler-audit --update`
23+
- **Lint:** `bundle exec rubocop`
24+
- **Security:** `bundle exec brakeman -q -w2` and `bundle exec bundler-audit --update`
25+
- **Style:** `bin/codex_style_guard`
2326

2427
## Conventions
2528
- Make incremental changes with passing tests.
2629
- Avoid introducing new external services in tests; stub where possible.
27-
28-
## Code Style
29-
- Always run `bin/codex_style_guard` before proposing a patch.
30-
- If RuboCop reports offenses after autocorrect, update the changes until it passes.
30+
- If RuboCop reports offenses after autocorrect, update and rerun until clean.
31+
- Keep commit messages and PR descriptions concise and informative.

0 commit comments

Comments
 (0)