| Dimension | Shared | Only in A | Only in B | Overlap |
|---|---|---|---|---|
| Sections | 0 | 1 | 2 | 0% |
| Commands | 0 | 0 | 0 | — |
| Section tags | 1 | 0 | 2 | 33% |
What each file covers
Sections
0 shared · 1 only in A · 2 only in B- − Refactoring Rules
- + Testing Rules
- + Test Execution
Commands
neither file has anySection tags
1 shared · 0 only in A · 2 only in B- + test
- + lint-format
- do-not
Line diff
yxyxy/HordeForge · .clinerules/13_refactoring_rules.md
@@ −1 @@
1# Refactoring Rules
2
3Refactoring is allowed only when:
4
5- tests already exist
6- behaviour is preserved
7
8Refactoring must:
9
10- reduce complexity
11- improve readability
12- not introduce new features
13
14Never mix refactoring with feature implementation.
yxyxy/HordeForge · .clinerules/04_testing.md
@@ +1 @@
1# Testing Rules
2
3HordeForge follows strict TDD.
4
5Order:
6
71. BDD scenarios
82. Test generation
93. Code generation
10
11Tests must exist before code.
12
13Test types:
14
15tests/
16 unit/
17 integration/
18 pipeline/
19
20Coverage target:
21
22> 80%
23
24Agents must always have unit tests.
25
26The system must support automated test execution in sandbox environments.
27
28## Test Execution
29
30Tests must be executed using:
31
32pytest -v --tb=short
33
34The test runner must only run after the Ruff auto-fix step:
35
36ruff check --fix
37pytest -v --tb=short
@@ −1 +1 @@
1−# Refactoring Rules
1+# Testing Rules
22
3−Refactoring is allowed only when:
3+HordeForge follows strict TDD.
44
5−- tests already exist
6−- behaviour is preserved
5+Order:
76
8−Refactoring must:
7+1. BDD scenarios
8+2. Test generation
9+3. Code generation
910
10−- reduce complexity
11−- improve readability
12−- not introduce new features
11+Tests must exist before code.
1312
14−Never mix refactoring with feature implementation.
13+Test types:
14+
15+tests/
16+ unit/
17+ integration/
18+ pipeline/
19+
20+Coverage target:
21+
22+> 80%
23+
24+Agents must always have unit tests.
25+
26+The system must support automated test execution in sandbox environments.
27+
28+## Test Execution
29+
30+Tests must be executed using:
31+
32+pytest -v --tb=short
33+
34+The test runner must only run after the Ruff auto-fix step:
35+
36+ruff check --fix
37+pytest -v --tb=short
