Skip to content

Commit 871f748

Browse files
docs(standards): add critical rule 9 — ensure DevRail Makefile is active (#7)
GNU Make prefers GNUmakefile over makefile over Makefile. Projects with a GNUmakefile (e.g., Terraform providers) silently ignore the DevRail Makefile. Add rule to all agent instruction files. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent d5c76f1 commit 871f748

4 files changed

Lines changed: 12 additions & 0 deletions

File tree

.cursorrules

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ Critical Rules:
2828
the relevant documentation (README, DEVELOPMENT.md, inline docs) in
2929
the same commit or PR. Do not leave documentation out of sync with
3030
code.
31+
9. Ensure the DevRail Makefile is active. GNU Make prefers GNUmakefile
32+
over makefile over Makefile. If the project has a GNUmakefile or
33+
makefile, the DevRail Makefile will be silently ignored. Merge
34+
project-specific targets into the DevRail Makefile, or add
35+
`include Makefile` to the existing GNUmakefile.
3136

3237
Quick Reference:
3338

.opencode/agents.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ agents:
3333
the relevant documentation (README, DEVELOPMENT.md, inline docs) in
3434
the same commit or PR. Do not leave documentation out of sync with
3535
code.
36+
9. Ensure the DevRail Makefile is active. GNU Make prefers GNUmakefile
37+
over makefile over Makefile. If the project has a GNUmakefile or
38+
makefile, the DevRail Makefile will be silently ignored. Merge
39+
project-specific targets into the DevRail Makefile, or add
40+
`include Makefile` to the existing GNUmakefile.
3641
3742
Quick Reference:
3843

AGENTS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ See DEVELOPMENT.md for the complete reference.
1313
6. **Use the shared logging library.** No raw `echo` for status messages. Use `log_info`, `log_warn`, `log_error`, `log_debug`, and `die` from `lib/log.sh`.
1414
7. **Never suppress failing checks.** When a lint, format, security, or test check fails, fix the underlying issue. Never comment out code, add suppression annotations, disable rules, or mark CI jobs as allowed-to-fail to bypass a failing check.
1515
8. **Update documentation when changing behavior.** When a change affects public interfaces, configuration, CLI usage, or setup steps, update the relevant documentation (README, DEVELOPMENT.md, inline docs) in the same commit or PR. Do not leave documentation out of sync with code.
16+
9. **Ensure the DevRail `Makefile` is active.** GNU Make prefers `GNUmakefile` over `makefile` over `Makefile`. If the project has a `GNUmakefile` or `makefile`, the DevRail `Makefile` will be silently ignored. Merge project-specific targets into the DevRail `Makefile`, or add `include Makefile` to the existing `GNUmakefile`.
1617

1718
## Quick Reference
1819

CLAUDE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ See DEVELOPMENT.md for the complete reference.
1313
6. **Use the shared logging library.** No raw `echo` for status messages. Use `log_info`, `log_warn`, `log_error`, `log_debug`, and `die` from `lib/log.sh`.
1414
7. **Never suppress failing checks.** When a lint, format, security, or test check fails, fix the underlying issue. Never comment out code, add suppression annotations, disable rules, or mark CI jobs as allowed-to-fail to bypass a failing check.
1515
8. **Update documentation when changing behavior.** When a change affects public interfaces, configuration, CLI usage, or setup steps, update the relevant documentation (README, DEVELOPMENT.md, inline docs) in the same commit or PR. Do not leave documentation out of sync with code.
16+
9. **Ensure the DevRail `Makefile` is active.** GNU Make prefers `GNUmakefile` over `makefile` over `Makefile`. If the project has a `GNUmakefile` or `makefile`, the DevRail `Makefile` will be silently ignored. Merge project-specific targets into the DevRail `Makefile`, or add `include Makefile` to the existing `GNUmakefile`.
1617

1718
## Quick Reference
1819

0 commit comments

Comments
 (0)