Skip to content

Delete orphaned code with zero references (templates/, compress/, reflector.md) #1344

Description

@osilkin98

Context

Our research independently identified several code artifacts with zero references anywhere in the codebase — not even in tests. These are the safest possible deletions.

What to delete

factory/templates/ directory

factory/compress/ directory (351 lines)

  • Contains: evaluator.py, inner_loop.py, outer_loop.py
  • Important: This is a third, unrelated "inner loop / outer loop" — a context-compression optimizer experiment. NOT the factory/outer_loop/ (workflow topology evolution) or factory/inner_loop.py (benchmark eval bridge) that we want to keep
  • Zero external references outside its own directory

factory/agents/prompts/reflector.md

factory/agents/prompts/evolver.md (38 lines)

Verification

All items verified via grep to have zero external references. Lowest-risk deletion possible. Run pytest -m smoke after to confirm nothing broke.

Related

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementImproves existing feature/functionality or code quality, does not change behavior of codebase

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions