Skip to content

chore: delete orphaned _templates/ai_validation folder and related test assertions #626

Description

@mickume

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

  1. Delete packages/agentfox/agentfox/_templates/ai_validation/ and all files in it.
  2. 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.
  3. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    af:fixIssues ready to be implementedaf:fixed

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions