Summary
The folder packages/agentfox/agentfox/_templates/ai_validation/ contains four orphaned prompt templates that are not loaded or referenced by any code:
generate_test_spec.md
stale_dep.md
rewrite_criteria.md
acceptance_criteria.md
These were left behind when the legacy ai_validation.py module was deleted as part of spec 137. The module itself is gone, but its companion templates were not cleaned up.
What to do
- Delete
packages/agentfox/agentfox/_templates/ai_validation/ and all files in it.
- Remove the test class and assertions in
packages/agentfox/tests/spec/test_137_legacy_removal.py that reference ai_validation (lines ~376–385, ~511), since the thing they guard against is being deleted in the same change.
- Run
make check to confirm no regressions.
Context
Discovered by grepping for consumers of the templates — none exist. The only references are in test_137_legacy_removal.py, which asserts that ai_validation.py does not exist (i.e., it tests the deletion, not the feature). Once the templates folder is also removed, those assertions have no purpose.
Summary
The folder
packages/agentfox/agentfox/_templates/ai_validation/contains four orphaned prompt templates that are not loaded or referenced by any code:generate_test_spec.mdstale_dep.mdrewrite_criteria.mdacceptance_criteria.mdThese were left behind when the legacy
ai_validation.pymodule was deleted as part of spec 137. The module itself is gone, but its companion templates were not cleaned up.What to do
packages/agentfox/agentfox/_templates/ai_validation/and all files in it.packages/agentfox/tests/spec/test_137_legacy_removal.pythat referenceai_validation(lines ~376–385, ~511), since the thing they guard against is being deleted in the same change.make checkto confirm no regressions.Context
Discovered by grepping for consumers of the templates — none exist. The only references are in
test_137_legacy_removal.py, which asserts thatai_validation.pydoes not exist (i.e., it tests the deletion, not the feature). Once the templates folder is also removed, those assertions have no purpose.