@@ -34,12 +34,16 @@ THEGRAPH_STORE_POSTGRES_DIESEL_URL="postgresql://graph:graph@127.0.0.1:5432/grap
34
34
# 🚨 MANDATORY: Format all code IMMEDIATELY after any .rs file edit
35
35
cargo fmt --all
36
36
37
- # Check code without building
37
+ # 🚨 MANDATORY: Check code for warnings and errors - MUST have zero warnings
38
38
cargo check
39
39
```
40
40
41
- 🚨 ** CRITICAL REMINDER** : ` cargo fmt --all ` is MANDATORY after editing ANY .rs file - NO EXCEPTIONS!
42
- This must be done from the project root BEFORE any commit. Forgetting this means you failed to follow instructions.
41
+ 🚨 ** CRITICAL REQUIREMENTS for ANY implementation** :
42
+ 1 . ** ` cargo fmt --all ` ** is MANDATORY after editing ANY .rs file - NO EXCEPTIONS!
43
+ 2 . ** ` cargo check ` ** MUST show zero warnings before any commit - NO EXCEPTIONS!
44
+ 3 . ** All tests** MUST pass before any commit
45
+ 4 . All requirements must be met from the project root BEFORE any commit
46
+ 5 . Forgetting any of these means you failed to follow instructions
43
47
44
48
## High-Level Architecture
45
49
@@ -91,12 +95,18 @@ Use format: `{crate-name}: {description}`
91
95
- Keep commits logical and atomic
92
96
- Use ` git rebase -i ` to clean up history before merging
93
97
94
- ### Testing Requirements
98
+ ### Implementation Success Criteria
99
+ Before any commit or PR, ALL of the following MUST be satisfied:
100
+
101
+ 1 . ** 🚨 MANDATORY** : All tests MUST pass
102
+ 2 . ** 🚨 MANDATORY** : ` cargo check ` MUST show zero warnings
103
+ 3 . ** 🚨 MANDATORY** : ` cargo fmt --all ` MUST be run after editing ANY .rs file
104
+
105
+ ** Testing Notes** :
95
106
- Unit tests inline with source code
96
- - Integration tests require Docker Compose setup and additional environment dependencies
107
+ - Integration tests require Docker Compose setup and additional environment dependencies
97
108
- Claude cannot run integration tests due to missing environment dependencies
98
109
- Claude must set ` THEGRAPH_STORE_POSTGRES_DIESEL_URL ` before running any tests
99
- - ** 🚨 MANDATORY** : Always run ` cargo fmt --all ` after editing .rs files, BEFORE committing
100
110
101
111
### Environment Variables
102
112
- ` GRAPH_LOG=debug ` : Enable debug logging
0 commit comments