| Dimension | Shared | Only in A | Only in B | Overlap |
|---|---|---|---|---|
| Sections | 0 | 1 | 2 | 0% |
| Commands | 0 | 0 | 0 | — |
| Section tags | 1 | 0 | 4 | 20% |
What each file covers
Sections
0 shared · 1 only in A · 2 only in B- − Refactoring Rules
- + Pipeline Rules
- + Code Validation Stage
Commands
neither file has anySection tags
1 shared · 0 only in A · 4 only in B- + test
- + lint-format
- + git-pr
- + deployment
- 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/05_pipeline.md
@@ +1 @@
1# Pipeline Rules
2
3The core HordeForge pipeline is:
4
5Issue
6→ DoD Agent
7→ Planner Agent
8→ BDD Generator
9→ Test Generator
10→ Code Generator
11→ Test Runner
12→ Fix Loop
13→ Pull Request Creator
14→ Reviewer Agent
15→ Merge Agent
16→ Issue Closer
17
18The fix loop must run until:
19
20tests_pass == true
21
22Fix loop structure:
23
24generate code
25run tests
26if tests fail:
27 fix code
28repeat
29
30Agents must never skip test execution.
31
32## Code Validation Stage
33
34After code generation the pipeline must execute the following steps
35before running tests.
36
37Step 1 — Ruff autofix
38
39ruff check --fix
40
41Step 2 — Run tests
42
43pytest -v --tb=short
44
45Pipeline order:
46
47Code Generator
48→ Ruff autofix
49→ Test Runner
50→ Fix Loop
51
52Tests must never run before Ruff fixes are applied.
@@ −1 +1 @@
1−# Refactoring Rules
1+# Pipeline Rules
22
3−Refactoring is allowed only when:
3+The core HordeForge pipeline is:
44
5−- tests already exist
6−- behaviour is preserved
5+Issue
6+→ DoD Agent
7+→ Planner Agent
8+→ BDD Generator
9+→ Test Generator
10+→ Code Generator
11+→ Test Runner
12+→ Fix Loop
13+→ Pull Request Creator
14+→ Reviewer Agent
15+→ Merge Agent
16+→ Issue Closer
717
8−Refactoring must:
18+The fix loop must run until:
919
10−- reduce complexity
11−- improve readability
12−- not introduce new features
20+tests_pass == true
1321
14−Never mix refactoring with feature implementation.
22+Fix loop structure:
23+
24+generate code
25+run tests
26+if tests fail:
27+ fix code
28+repeat
29+
30+Agents must never skip test execution.
31+
32+## Code Validation Stage
33+
34+After code generation the pipeline must execute the following steps
35+before running tests.
36+
37+Step 1 — Ruff autofix
38+
39+ruff check --fix
40+
41+Step 2 — Run tests
42+
43+pytest -v --tb=short
44+
45+Pipeline order:
46+
47+Code Generator
48+→ Ruff autofix
49+→ Test Runner
50+→ Fix Loop
51+
52+Tests must never run before Ruff fixes are applied.
