Commit 4c41c24
authored
chore: add Greptile code review configuration (#61)
## Related Issue
No issue — repository tooling configuration, no product behavior change.
Problem explained below.
## Problem
Greptile code review is enabled for this repository but runs
unconfigured: default strictness, all comment types (including
style/info nits), no repo-specific rules, and no pointers to the
`AGENTS.md` contributor guides. This produces noisy reviews that overlap
with CodeRabbit and miss repo-specific conventions.
## What changed
Add a root `.greptile/` configuration folder (the current recommended
format; supersedes legacy `greptile.json`):
- `config.json` — strictness 2, `logic` + `syntax` comments only,
re-review on PR updates, review only PRs targeting `main`, skip `WIP` /
`DO NOT REVIEW` titles, ignore patterns mirrored from
`.coderabbit.yaml`, and five scoped structured rules with stable IDs
(type-weakening, flake.nix workspace sync, vacuous test assertions, TUI
reactivity, changeset requirement) so nested configs can disable them
later.
- `rules.md` — prose conventions distilled from `AGENTS.md`: TypeScript
idioms, architecture boundaries, and hygiene rules.
- `files.json` — points the reviewer at the six `AGENTS.md` files, each
scoped to its directory tree.
Settings cascade, so packages can add their own `.greptile/` overrides
later without touching the root config. Docs:
https://www.greptile.com/docs/code-review/greptile-config
## Checklist
- [x] I have read the
[CONTRIBUTING](https://github.com/Pythoughts-labs/pythinker-code/blob/main/CONTRIBUTING.md)
document.
- [x] I have linked a related issue, or explained the problem above.
- [ ] I have added tests that prove my feature works. — N/A: review-bot
configuration only, no code paths to test.
- [x] Ran `gen-changesets` skill, or this PR needs no changeset. — No
changeset: nothing enters any package output.
- [x] Ran `gen-docs` skill, or this PR needs no doc update. — No
user-facing product change.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Documentation**
* Added repository guidance for automated code reviews.
* Documented TypeScript conventions, architectural boundaries,
dependency and feature-flag constraints, and project hygiene
requirements.
* Added scoped guidance for CLI, web, server, end-to-end testing,
service-layer, and documentation areas.
* Configured review standards covering type safety, workspace
synchronization, test effectiveness, interface responsiveness, and
required release documentation.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->1 parent 45887dc commit 4c41c24
3 files changed
Lines changed: 100 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
0 commit comments