Skip to content

A1: delete one-shot scripts, the fix_tool crate, and unused workspace deps #168

Description

@cunninghamcard-bit

Part of #166 (track A, item A1). Refines the RFC-0033 A1 row after auditing every file in scripts/ for references (CI, docs, other scripts, source comments), inputs that still exist, and whether it is runnable at all.

Delete: one-shot migration scripts that already ran

Script Evidence it is dead
fix_profiles.rs, fix_profiles2..5.rs Header says cargo run -p fix-profiles; no such package exists. The edit they made (with_profile(...) on the thin wrappers, 36 files) is already in the tree.
check_missing.py, list_wrong_providers.py, revert_wrong_inventory.py, update_inventory_status.py Flip ✅/❌ cells in rfc/0004-provider-inventory.md for the provider-generation session. No references anywhere.
migrate_openai_compatible_test.py, migrate_openai_compatible_standalone.py Migrate openai_compatible_test.rs off the retired Shell types; the file now has zero Shell occurrences.
gen_provider_registry.py Reads aimux-providers/src/openai_compat_registry.rs, which no longer exists. provider.rs still points to it in a doc comment and a panic message; fix both.
gen_responses_convert.py Its own docstring says responses_convert.rs is hand-maintained now and the script refuses to run.
generate_all_providers.py, update_lib_rs.py, gen_vertex_maas_providers.py Scaffolded the 33 thin wrappers and 10 vertex_ai_*_models.rs files once. Outputs carry no "generated, do not edit" marker and have been hand-edited since; re-running would overwrite them. B2 turns these files into registry rows anyway.
scripts/fix_tool/ A Hello, world! crate that is a workspace member, so every workspace build compiles it.
root [workspace.dependencies] schemars, proc-macro2, syn, quote Declared at the workspace level, consumed by no crate.

scripts/__pycache__/ is untracked noise; add a root __pycache__/ ignore (only the Python binding's path is ignored today).

Keep, with a note on when each retires

Script Why it stays
generate_thin_wrapper_cassettes.py conformance_test.rs documents it as the provenance of every thin-wrapper cassette; needed when adding a wrapper until B2 lands. The RFC-0033 row listed it for deletion, which was wrong.
convert_cassettes.py, convert_pydantic_ai.py Importers for rig / pydantic-ai cassettes; the cassettes are repository assets and these record how they were derived.
extract_litellm_bases.py, scan_litellm_urls.py Research tools over a reference/litellm checkout (gitignored); the LiteLLM survey feeds B9.
responses_similarity_audit.py RFC-0012 audit still cited by the RFC-0032 draft; retire after B6.

Live tooling (build-ios-xcframework.sh, gen_ts_types.py, gen_provider_names.py, gen_providers_doc.py, sync-version.sh, local-ci*.sh, install-*.sh) is untouched. gen_provider_names.py goes with A2.

Acceptance

  • cargo metadata and the existing CI matrix pass unchanged; nothing in CI referenced a deleted file.
  • docs/internal/handoff/HANDOFF_V2.md keeps its historical mentions (it is a dated handoff record).
  • RFC-0033 A1 row updated to this list.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions