Skip to content

chore(scripts): retire repair-legacy-series-weekday tooling - #2536

Merged
tyler-dane merged 1 commit into
mainfrom
claude/cleanup-repair-legacy-series-weekday
Aug 1, 2026
Merged

chore(scripts): retire repair-legacy-series-weekday tooling#2536
tyler-dane merged 1 commit into
mainfrom
claude/cleanup-repair-legacy-series-weekday

Conversation

@tyler-dane

Copy link
Copy Markdown
Contributor

Summary

Follow-up to #2535, per its own stated cleanup plan. The one-off repair-legacy-series-weekday CLI command has already run successfully against production: 37 legacy-migrated weekly series fixed across 9 tenants (all ≥93% exception consensus, 35 of 37 at 100%), verified by direct DB reads (both known-affected series now read BYDAY=SA and materialize exactly one occurrence per week) and an idempotent rerun in dry-run mode reporting fixed=0.

The population it targeted is closed - the write/import paths were already confirmed frame-consistent (traced in #2535), so this defect cannot recur for new or future data. With nothing left to fix, the tool has no ongoing purpose and no self-hosting relevance (it repairs a hosted-product-only artifact of the 2026-07-29 Sync cutover).

This purely reverts the addition from #2535: deletes the command file, its subdirectory (implementation + tests), and its cli.ts/cli.test.ts registrations. git diff origin/main on those two shared files is empty relative to their pre-#2535 state.

Mirrors how the Sync-cutover's own one-off tooling (migrate-provider-state.ts, preseed-sync.ts, etc.) was deleted the day after confirmed use (commit 07816a841) rather than accumulating as permanent dead code. The full before/after data, methodology, and the founder's explicit go/no-go are preserved in #2535's description as the permanent record.

Test plan

🤖 Generated with Claude Code

The one-off repair (PR #2535) has run successfully against prod:
37 legacy-migrated weekly series fixed across 9 tenants (all >=93%
exception consensus, 35 of 37 at 100%), verified via direct DB reads
and an idempotent rerun reporting 0 further changes. The population it
targeted is closed - the current write/import paths are frame-consistent
and cannot reproduce it - so the command has nothing left to do and no
self-hosting relevance.

Mirrors how the 2026-07-29 Sync-cutover one-off tooling
(migrate-provider-state.ts, preseed-sync.ts, etc.) was deleted the day
after confirmed use (commit 07816a8), rather than accumulating as
permanent dead code. The full before/after data and methodology are
preserved in PR #2535's description.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@tyler-dane
tyler-dane merged commit e9ba072 into main Aug 1, 2026
20 checks passed
@tyler-dane
tyler-dane deleted the claude/cleanup-repair-legacy-series-weekday branch August 1, 2026 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant