Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .cursorrules
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ Critical Rules:
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`.
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.

Quick Reference:

Expand Down
1 change: 1 addition & 0 deletions .devrail.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ languages:
# - ruby
# - go
# - javascript
# - rust

# fail_fast: false # default: false (run-all-report-all)
# log_format: json # default: json | options: json, human
4 changes: 4 additions & 0 deletions .opencode/agents.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ agents:
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`.
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.
Quick Reference:
Expand Down
10 changes: 10 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,16 @@ repos:
# hooks:
# - id: prettier

# --- Rust (uncomment if languages includes rust) ---
# Formatting and linting with cargo
# - repo: https://github.com/AndrejOrsula/pre-commit-cargo
# rev: v0.4.0
# hooks:
# - id: cargo-fmt
# args: ["--all", "--", "--check"]
# - id: cargo-clippy
# args: ["--all-targets", "--all-features", "--workspace", "--", "-D", "warnings"]

# --- Secret Detection ---
# Detects hardcoded secrets, API keys, and credentials in code
- repo: https://github.com/gitleaks/gitleaks
Expand Down
1 change: 1 addition & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ See DEVELOPMENT.md for the complete reference.
4. **Respect `.editorconfig`.** Never override formatting rules (indent style, line endings, trailing whitespace) without explicit instruction.
5. **Write idempotent scripts.** Every script must be safe to re-run. Check before acting: `command -v tool || install_tool`, `mkdir -p`, guard file writes with existence checks.
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`.
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.

## Quick Reference

Expand Down
1 change: 1 addition & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ See DEVELOPMENT.md for the complete reference.
4. **Respect `.editorconfig`.** Never override formatting rules (indent style, line endings, trailing whitespace) without explicit instruction.
5. **Write idempotent scripts.** Every script must be safe to re-run. Check before acting: `command -v tool || install_tool`, `mkdir -p`, guard file writes with existence checks.
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`.
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.

## Quick Reference

Expand Down