Commit e9955b0
committed
refactor: remove AI enforcement integration tests and SKIP_AI_ENFORCEMENT env var
Remove the AI enforcement test suite that was attempting to force AI agents
to run pre-commit checks. The approach was ineffective because AI agents
typically run 'cargo test --lib', which skips integration tests.
Changes:
- Delete tests/ai_enforcement.rs (entire test module)
- Remove SKIP_AI_ENFORCEMENT from .github/workflows/testing.yml
- Remove SKIP_AI_ENFORCEMENT from .github/workflows/coverage.yml
- Delete docs/contributing/testing/pre-commit-integration.md
- Remove pre-commit-integration reference from docs/contributing/testing/README.md
- Remove SKIP_AI_ENFORCEMENT section from docs/contributing/testing/coverage.md
Alternative approaches like Git hooks should be investigated for enforcing
pre-commit checks with remote AI agents.1 parent b480ed8 commit e9955b0
File tree
6 files changed
+7
-293
lines changed- .github/workflows
- docs/contributing/testing
- tests
6 files changed
+7
-293
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
41 | 39 | | |
42 | 40 | | |
43 | 41 | | |
44 | 42 | | |
45 | | - | |
46 | | - | |
47 | 43 | | |
48 | 44 | | |
49 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
144 | | - | |
145 | 143 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
176 | | - | |
177 | 176 | | |
178 | 177 | | |
179 | 178 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
| |||
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | 276 | | |
283 | 277 | | |
284 | 278 | | |
| |||
This file was deleted.
This file was deleted.
0 commit comments