Skip to content

Prune unreferenced and one-off migration scripts #93

Closed

Description

@lanyue-llk

Problem

scripts/ holds 169 .py/.sh files.

  • 32 are referenced nowhere outside themselves, e.g. add_provider_results, assemble_webfetch_dataset, assemble_webfetch_refresh, certify_headless_cases, check_webarena_trajectory_report, package_webarena_trajectory_report, plot_moli_version_resources, probe_cowagent_text, five propose_webarena_*, run_webarena_trajectory_replay, run_wcxb_paired_latency, run_webfetch_eval.sh, use_prepared_webarena_cohort_reset.
  • 21 more are referenced only by tests.
  • About 51 carry migration or repair names: apply_*correction, correct_*, rescore_*, revise_*, rebind_*, rebase_*, supersede_*, freeze_original36_*, rename_artifact_hub, *_repair_*.
  • Only 30 scripts are reached from the Makefile or CI.

Proposal

For each candidate, check whether a current profile, certificate or receipt names it. AGENTS.md allows keeping a historical revision only when a current versioned authority requires its bytes.

  • If nothing names it, delete the script, its main_* entry in harness/, and its exclusive tests.
  • If something does name it, keep it and record why in a short scripts/README.md inventory.

Acceptance

  • Every remaining script is reachable from the Makefile, CI or docs, or is named by a current authority.
  • The inventory lists the supported entry points.

Risk: low to medium, because correction tooling may be hash-bound. Depends on: nothing.


Part of the refactor roadmap: #87

Metadata

Metadata

Assignees

No one assigned

    Labels

    refactor

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions