Skip to content

Gate the experimental Migration suite behind an opt-in Settings flag - #28

Draft
Exotic209093 wants to merge 1 commit into
mainfrom
claude/gate-migration-experimental
Draft

Gate the experimental Migration suite behind an opt-in Settings flag#28
Exotic209093 wants to merge 1 commit into
mainfrom
claude/gate-migration-experimental

Conversation

@Exotic209093

@Exotic209093 Exotic209093 commented Jun 9, 2026

Copy link
Copy Markdown
Owner

Resolves roadmap N.4 — the migration suite ships but is thinly tested, so this gates it behind an opt-in flag rather than leaving demoted-but-visible screens as a silent liability.

Changes

  • UiSettings.experimentalMigration (default off).
  • AppRoot — the Migration nav group only renders when enabled. Because it's excluded from navGroups, it also drops out of the command palette. Direct navigation (legacy route aliases, saved routes) hits a guard that shows an opt-in notice with an inline Enable migration tools button.
  • SettingsScreen — adds an "Experimental: cross-org Migration tools" checkbox.

Behaviour

  • Default (off): no Migration nav, not in the palette; any migration route → friendly opt-in card. Export/Import/Convert/Compare unaffected.
  • On: Migration nav + routes behave exactly as before.

Fully reversible from Settings; no data touched.

Verified

typecheck ✅ · lint --max-warnings=0 ✅ · test ✅ 432 · build

Plain conditional rendering on a stored boolean — nothing requires an in-browser smoke-test. Left as draft per default; ready to mark for review whenever you'd like.

https://claude.ai/code/session_01FFYU8SwvrpR39ANezVjFqE

…n flag

The cross-org Migration suite ships but is thinly tested. Hide it by default
so it isn't a silent liability, while keeping it available for power users.

- Add UiSettings.experimentalMigration (default off).
- AppRoot: only show the Migration nav group when enabled, and guard direct
  navigation (legacy aliases / command palette / saved routes) with an opt-in
  notice that can enable the suite inline.
- SettingsScreen: add an 'Experimental: cross-org Migration tools' toggle.

typecheck/lint(0 warnings)/test(432)/build all green.

https://claude.ai/code/session_01FFYU8SwvrpR39ANezVjFqE
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.

2 participants