change: drop the legacy scripts-key scrub from load_config #199

Merged
mysticalsoap merged 1 commit from drop-config-scrub into trunk 2026-08-28 18:39:31 -04:00
Owner

Problem

The custom-scripts removal (#198) included a load_config scrub deleting stale {provider}_scripts keys from pre-removal configs. Review feedback: that trades a permanent resident code path for a one-time cosmetic cleanup — with no users, stale keys in an existing config are dead data that costs nothing, while migration code has to be carried forever.

Fix

Removes the scrub and its regression test. load_config goes back to exactly its pre-#198 shape. Stale keys in existing configs simply persist as unread data.

Verification

Full test_config suite passes; the scrub test is removed with the scrub.

🤖 Generated with Claude Code

## Problem The custom-scripts removal (#198) included a `load_config` scrub deleting stale `{provider}_scripts` keys from pre-removal configs. Review feedback: that trades a permanent resident code path for a one-time cosmetic cleanup — with no users, stale keys in an existing config are dead data that costs nothing, while migration code has to be carried forever. ## Fix Removes the scrub and its regression test. `load_config` goes back to exactly its pre-#198 shape. Stale keys in existing configs simply persist as unread data. ## Verification Full test_config suite passes; the scrub test is removed with the scrub. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
change: drop the legacy scripts-key scrub from load_config
All checks were successful
ci / test (pull_request) Successful in 23s
ci / test (push) Successful in 25s
3a9d4d54f6
The custom-scripts removal (#82) left a scrub deleting stale
{provider}_scripts keys from loaded configs. That trades a permanent
resident code path for a one-time cosmetic cleanup: with no users,
stale keys in an existing config are dead data that costs nothing,
while migration code has to be carried -- and understood -- forever.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
mysticalsoap deleted branch drop-config-scrub 2026-08-28 18:39:31 -04:00
Sign in to join this conversation.
No description provided.