Repository navigation
feat(migrate): suppress plan log on embedding, add "Accept recommended" affordance, remove "Skip for now" - #81219
Conversation
b910466 to
ef27b0f
Compare
|
Codex review: found issues before merge. Summary Reproducibility: yes. Source inspection is enough: the PR passes suppressPlanLog from a generic onboarding helper and the current docs still describe the old Skip row and preview-first behavior. Real behavior proof Next step before merge Security Review findings
Review detailsBest possible solution: Keep the selector UX if maintainers want it, but preserve or replace the itemized preview for embedded migrations and update the public migrate docs before merge. Do we have a high-confidence way to reproduce the issue? Yes. Source inspection is enough: the PR passes suppressPlanLog from a generic onboarding helper and the current docs still describe the old Skip row and preview-first behavior. Is this the best way to solve the issue? No. The selector affordance is plausible, but suppressing the generic migration plan preview is broader than the documented safety model and should be narrowed or paired with an embedded preview. Full review comments:
Overall correctness: patch is incorrect Acceptance criteria:
What I checked:
Likely related people:
Remaining risk / open question:
Codex review notes: model gpt-5.5, reasoning high; reviewed against cbf6d5cfe2ca. Re-review progress:
|
744b10b to
000b0db
Compare
000b0db to
a55b2c0
Compare
|
this is a feature, not a bug. see https://discordapp.com/channels/1456350064065904867/1456744319972282449/1503880505282527364 we'd want this behavior in the other multi-select toggles in onboarding as well |
a55b2c0 to
fa56e66
Compare
ba45d26 to
461c18c
Compare
…ed" affordance Two related improvements to the interactive `openclaw migrate <provider>` flow, both surfaced by the onboarding post-install migration prompt that landed in #81192. 1. `suppressPlanLog?: boolean` on `MigrateCommonOptions` (`src/commands/migrate/types.ts`). When set, `migratePlanCommand` skips the up-front `runtime.log(formatMigrationPlan(plan))` dump. The interactive Codex selection picker and the "Apply this migration now?" confirm still run. Wired from the wizard helper at `src/wizard/setup.post-install-migration.ts` so that path no longer shows the plan dump after the user has already confirmed at the wizard prompt. 2. New "Accept recommended" sentinel row at the top of both Codex selection pickers, with "Toggle all on" and "Toggle all off" moved to the bottom. The cursor starts on "Accept recommended" so pressing Enter at the default position submits the picker's `initialValues` (the recommended set) — matching the visual state of the checkboxes. Implemented in `skill-selection-prompt.ts`: - Enter on the Accept sentinel sets `prompt.value` to `opts.initialValues` and lets clack submit. - Space on the Accept sentinel snaps `prompt.value` to `opts.initialValues` so the visible checkboxes flip to the recommended state. The user can then Enter to commit or continue toggling individual rows. The Accept row itself is never persisted in the submitted value list. The existing Enter handler for "Toggle all on" / "Toggle all off" stays unchanged. 3. Removed the "Skip for now" sentinel entirely. It was a single- keystroke trap: with the picker cursor wrapping from Accept to Skip via up-arrow (or via accidental down-arrows), Enter on Skip wiped `prompt.value` to `[MIGRATION_SELECTION_SKIP]` and abandoned the whole migration — including any items the user had already confirmed in the previous picker. To exit without migrating, users now navigate to "Toggle all off" (or use the `a` / `i` keyboard shortcuts) to clear the selection; the apply phase then sees no planned work and skips itself via the existing `shouldSkipCodexApplyAfterInteractiveSelection` path. Cleanup spans `migrate/selection.ts` (constants, `{ action: "skip" }` variant, and the reconcile/resolve SKIP branches), `migrate.ts` (the picker option rows and the `if (selection.action === "skip")` handler blocks in both pickers), and the corresponding tests. 4. Plugin selection hint relabelled from "Activate every recommended plugin" to "Migrate every recommended plugin" so it matches the skill hint and the prompt's own verb ("Migrate ... into this agent now?"). Tests: - `src/commands/migrate/skill-selection-prompt.test.ts` — Accept sentinel cases (Enter and Space + Enter both submit initialValues); Skip-related test removed; Skip row dropped from the picker fixture. - `src/commands/migrate/selection.test.ts` — Skip-related sub- assertions trimmed from the resolve/reconcile tests; the "skip + toggle-off precedence" test renamed to "toggle-off precedence over toggle-on" and Skip cases removed. - `src/commands/migrate.test.ts` — four Skip-driven scenarios removed (plugin-only skip, both-pickers skip, skip-skills-continue-to-plugins, Codex subscription warning + skip). - `src/wizard/setup.post-install-migration.test.ts` — call-args assertion expects the new `suppressPlanLog` option. Verification: - `pnpm lint` clean - `pnpm tsgo:core` + `pnpm tsgo:core:test` clean - Touched test suites green (migrate 32/32, selection 17/17, skill-selection-prompt 6/6, setup.post-install-migration 10/10).
461c18c to
fca5cab
Compare
* feat(migrate): suppress plan log on embedding + add "Accept recommended" affordance (#81219) Two related improvements to the interactive `openclaw migrate <provider>` flow, both surfaced by the onboarding post-install migration prompt that landed in #81192. 1. `suppressPlanLog?: boolean` on `MigrateCommonOptions` (`src/commands/migrate/types.ts`). When set, `migratePlanCommand` skips the up-front `runtime.log(formatMigrationPlan(plan))` dump. The interactive Codex selection picker and the "Apply this migration now?" confirm still run. Wired from the wizard helper at `src/wizard/setup.post-install-migration.ts` so that path no longer shows the plan dump after the user has already confirmed at the wizard prompt. 2. New "Accept recommended" sentinel row at the top of both Codex selection pickers, with "Toggle all on" and "Toggle all off" moved to the bottom. The cursor starts on "Accept recommended" so pressing Enter at the default position submits the picker's `initialValues` (the recommended set) — matching the visual state of the checkboxes. Implemented in `skill-selection-prompt.ts`: - Enter on the Accept sentinel sets `prompt.value` to `opts.initialValues` and lets clack submit. - Space on the Accept sentinel snaps `prompt.value` to `opts.initialValues` so the visible checkboxes flip to the recommended state. The user can then Enter to commit or continue toggling individual rows. The Accept row itself is never persisted in the submitted value list. The existing Enter handler for "Toggle all on" / "Toggle all off" stays unchanged. 3. Removed the "Skip for now" sentinel entirely. It was a single- keystroke trap: with the picker cursor wrapping from Accept to Skip via up-arrow (or via accidental down-arrows), Enter on Skip wiped `prompt.value` to `[MIGRATION_SELECTION_SKIP]` and abandoned the whole migration — including any items the user had already confirmed in the previous picker. To exit without migrating, users now navigate to "Toggle all off" (or use the `a` / `i` keyboard shortcuts) to clear the selection; the apply phase then sees no planned work and skips itself via the existing `shouldSkipCodexApplyAfterInteractiveSelection` path. Cleanup spans `migrate/selection.ts` (constants, `{ action: "skip" }` variant, and the reconcile/resolve SKIP branches), `migrate.ts` (the picker option rows and the `if (selection.action === "skip")` handler blocks in both pickers), and the corresponding tests. 4. Plugin selection hint relabelled from "Activate every recommended plugin" to "Migrate every recommended plugin" so it matches the skill hint and the prompt's own verb ("Migrate ... into this agent now?"). Tests: - `src/commands/migrate/skill-selection-prompt.test.ts` — Accept sentinel cases (Enter and Space + Enter both submit initialValues); Skip-related test removed; Skip row dropped from the picker fixture. - `src/commands/migrate/selection.test.ts` — Skip-related sub- assertions trimmed from the resolve/reconcile tests; the "skip + toggle-off precedence" test renamed to "toggle-off precedence over toggle-on" and Skip cases removed. - `src/commands/migrate.test.ts` — four Skip-driven scenarios removed (plugin-only skip, both-pickers skip, skip-skills-continue-to-plugins, Codex subscription warning + skip). - `src/wizard/setup.post-install-migration.test.ts` — call-args assertion expects the new `suppressPlanLog` option. Verification: - `pnpm lint` clean - `pnpm tsgo:core` + `pnpm tsgo:core:test` clean - Touched test suites green (migrate 32/32, selection 17/17, skill-selection-prompt 6/6, setup.post-install-migration 10/10). (cherry picked from commit a197e31) * test(migrate): reconcile beta selection tests
…ed" affordance (openclaw#81219) Two related improvements to the interactive `openclaw migrate <provider>` flow, both surfaced by the onboarding post-install migration prompt that landed in openclaw#81192. 1. `suppressPlanLog?: boolean` on `MigrateCommonOptions` (`src/commands/migrate/types.ts`). When set, `migratePlanCommand` skips the up-front `runtime.log(formatMigrationPlan(plan))` dump. The interactive Codex selection picker and the "Apply this migration now?" confirm still run. Wired from the wizard helper at `src/wizard/setup.post-install-migration.ts` so that path no longer shows the plan dump after the user has already confirmed at the wizard prompt. 2. New "Accept recommended" sentinel row at the top of both Codex selection pickers, with "Toggle all on" and "Toggle all off" moved to the bottom. The cursor starts on "Accept recommended" so pressing Enter at the default position submits the picker's `initialValues` (the recommended set) — matching the visual state of the checkboxes. Implemented in `skill-selection-prompt.ts`: - Enter on the Accept sentinel sets `prompt.value` to `opts.initialValues` and lets clack submit. - Space on the Accept sentinel snaps `prompt.value` to `opts.initialValues` so the visible checkboxes flip to the recommended state. The user can then Enter to commit or continue toggling individual rows. The Accept row itself is never persisted in the submitted value list. The existing Enter handler for "Toggle all on" / "Toggle all off" stays unchanged. 3. Removed the "Skip for now" sentinel entirely. It was a single- keystroke trap: with the picker cursor wrapping from Accept to Skip via up-arrow (or via accidental down-arrows), Enter on Skip wiped `prompt.value` to `[MIGRATION_SELECTION_SKIP]` and abandoned the whole migration — including any items the user had already confirmed in the previous picker. To exit without migrating, users now navigate to "Toggle all off" (or use the `a` / `i` keyboard shortcuts) to clear the selection; the apply phase then sees no planned work and skips itself via the existing `shouldSkipCodexApplyAfterInteractiveSelection` path. Cleanup spans `migrate/selection.ts` (constants, `{ action: "skip" }` variant, and the reconcile/resolve SKIP branches), `migrate.ts` (the picker option rows and the `if (selection.action === "skip")` handler blocks in both pickers), and the corresponding tests. 4. Plugin selection hint relabelled from "Activate every recommended plugin" to "Migrate every recommended plugin" so it matches the skill hint and the prompt's own verb ("Migrate ... into this agent now?"). Tests: - `src/commands/migrate/skill-selection-prompt.test.ts` — Accept sentinel cases (Enter and Space + Enter both submit initialValues); Skip-related test removed; Skip row dropped from the picker fixture. - `src/commands/migrate/selection.test.ts` — Skip-related sub- assertions trimmed from the resolve/reconcile tests; the "skip + toggle-off precedence" test renamed to "toggle-off precedence over toggle-on" and Skip cases removed. - `src/commands/migrate.test.ts` — four Skip-driven scenarios removed (plugin-only skip, both-pickers skip, skip-skills-continue-to-plugins, Codex subscription warning + skip). - `src/wizard/setup.post-install-migration.test.ts` — call-args assertion expects the new `suppressPlanLog` option. Verification: - `pnpm lint` clean - `pnpm tsgo:core` + `pnpm tsgo:core:test` clean - Touched test suites green (migrate 32/32, selection 17/17, skill-selection-prompt 6/6, setup.post-install-migration 10/10).
…ed" affordance (openclaw#81219) Two related improvements to the interactive `openclaw migrate <provider>` flow, both surfaced by the onboarding post-install migration prompt that landed in openclaw#81192. 1. `suppressPlanLog?: boolean` on `MigrateCommonOptions` (`src/commands/migrate/types.ts`). When set, `migratePlanCommand` skips the up-front `runtime.log(formatMigrationPlan(plan))` dump. The interactive Codex selection picker and the "Apply this migration now?" confirm still run. Wired from the wizard helper at `src/wizard/setup.post-install-migration.ts` so that path no longer shows the plan dump after the user has already confirmed at the wizard prompt. 2. New "Accept recommended" sentinel row at the top of both Codex selection pickers, with "Toggle all on" and "Toggle all off" moved to the bottom. The cursor starts on "Accept recommended" so pressing Enter at the default position submits the picker's `initialValues` (the recommended set) — matching the visual state of the checkboxes. Implemented in `skill-selection-prompt.ts`: - Enter on the Accept sentinel sets `prompt.value` to `opts.initialValues` and lets clack submit. - Space on the Accept sentinel snaps `prompt.value` to `opts.initialValues` so the visible checkboxes flip to the recommended state. The user can then Enter to commit or continue toggling individual rows. The Accept row itself is never persisted in the submitted value list. The existing Enter handler for "Toggle all on" / "Toggle all off" stays unchanged. 3. Removed the "Skip for now" sentinel entirely. It was a single- keystroke trap: with the picker cursor wrapping from Accept to Skip via up-arrow (or via accidental down-arrows), Enter on Skip wiped `prompt.value` to `[MIGRATION_SELECTION_SKIP]` and abandoned the whole migration — including any items the user had already confirmed in the previous picker. To exit without migrating, users now navigate to "Toggle all off" (or use the `a` / `i` keyboard shortcuts) to clear the selection; the apply phase then sees no planned work and skips itself via the existing `shouldSkipCodexApplyAfterInteractiveSelection` path. Cleanup spans `migrate/selection.ts` (constants, `{ action: "skip" }` variant, and the reconcile/resolve SKIP branches), `migrate.ts` (the picker option rows and the `if (selection.action === "skip")` handler blocks in both pickers), and the corresponding tests. 4. Plugin selection hint relabelled from "Activate every recommended plugin" to "Migrate every recommended plugin" so it matches the skill hint and the prompt's own verb ("Migrate ... into this agent now?"). Tests: - `src/commands/migrate/skill-selection-prompt.test.ts` — Accept sentinel cases (Enter and Space + Enter both submit initialValues); Skip-related test removed; Skip row dropped from the picker fixture. - `src/commands/migrate/selection.test.ts` — Skip-related sub- assertions trimmed from the resolve/reconcile tests; the "skip + toggle-off precedence" test renamed to "toggle-off precedence over toggle-on" and Skip cases removed. - `src/commands/migrate.test.ts` — four Skip-driven scenarios removed (plugin-only skip, both-pickers skip, skip-skills-continue-to-plugins, Codex subscription warning + skip). - `src/wizard/setup.post-install-migration.test.ts` — call-args assertion expects the new `suppressPlanLog` option. Verification: - `pnpm lint` clean - `pnpm tsgo:core` + `pnpm tsgo:core:test` clean - Touched test suites green (migrate 32/32, selection 17/17, skill-selection-prompt 6/6, setup.post-install-migration 10/10).
…ed" affordance (openclaw#81219) Two related improvements to the interactive `openclaw migrate <provider>` flow, both surfaced by the onboarding post-install migration prompt that landed in openclaw#81192. 1. `suppressPlanLog?: boolean` on `MigrateCommonOptions` (`src/commands/migrate/types.ts`). When set, `migratePlanCommand` skips the up-front `runtime.log(formatMigrationPlan(plan))` dump. The interactive Codex selection picker and the "Apply this migration now?" confirm still run. Wired from the wizard helper at `src/wizard/setup.post-install-migration.ts` so that path no longer shows the plan dump after the user has already confirmed at the wizard prompt. 2. New "Accept recommended" sentinel row at the top of both Codex selection pickers, with "Toggle all on" and "Toggle all off" moved to the bottom. The cursor starts on "Accept recommended" so pressing Enter at the default position submits the picker's `initialValues` (the recommended set) — matching the visual state of the checkboxes. Implemented in `skill-selection-prompt.ts`: - Enter on the Accept sentinel sets `prompt.value` to `opts.initialValues` and lets clack submit. - Space on the Accept sentinel snaps `prompt.value` to `opts.initialValues` so the visible checkboxes flip to the recommended state. The user can then Enter to commit or continue toggling individual rows. The Accept row itself is never persisted in the submitted value list. The existing Enter handler for "Toggle all on" / "Toggle all off" stays unchanged. 3. Removed the "Skip for now" sentinel entirely. It was a single- keystroke trap: with the picker cursor wrapping from Accept to Skip via up-arrow (or via accidental down-arrows), Enter on Skip wiped `prompt.value` to `[MIGRATION_SELECTION_SKIP]` and abandoned the whole migration — including any items the user had already confirmed in the previous picker. To exit without migrating, users now navigate to "Toggle all off" (or use the `a` / `i` keyboard shortcuts) to clear the selection; the apply phase then sees no planned work and skips itself via the existing `shouldSkipCodexApplyAfterInteractiveSelection` path. Cleanup spans `migrate/selection.ts` (constants, `{ action: "skip" }` variant, and the reconcile/resolve SKIP branches), `migrate.ts` (the picker option rows and the `if (selection.action === "skip")` handler blocks in both pickers), and the corresponding tests. 4. Plugin selection hint relabelled from "Activate every recommended plugin" to "Migrate every recommended plugin" so it matches the skill hint and the prompt's own verb ("Migrate ... into this agent now?"). Tests: - `src/commands/migrate/skill-selection-prompt.test.ts` — Accept sentinel cases (Enter and Space + Enter both submit initialValues); Skip-related test removed; Skip row dropped from the picker fixture. - `src/commands/migrate/selection.test.ts` — Skip-related sub- assertions trimmed from the resolve/reconcile tests; the "skip + toggle-off precedence" test renamed to "toggle-off precedence over toggle-on" and Skip cases removed. - `src/commands/migrate.test.ts` — four Skip-driven scenarios removed (plugin-only skip, both-pickers skip, skip-skills-continue-to-plugins, Codex subscription warning + skip). - `src/wizard/setup.post-install-migration.test.ts` — call-args assertion expects the new `suppressPlanLog` option. Verification: - `pnpm lint` clean - `pnpm tsgo:core` + `pnpm tsgo:core:test` clean - Touched test suites green (migrate 32/32, selection 17/17, skill-selection-prompt 6/6, setup.post-install-migration 10/10).
…ed" affordance (openclaw#81219) Two related improvements to the interactive `openclaw migrate <provider>` flow, both surfaced by the onboarding post-install migration prompt that landed in openclaw#81192. 1. `suppressPlanLog?: boolean` on `MigrateCommonOptions` (`src/commands/migrate/types.ts`). When set, `migratePlanCommand` skips the up-front `runtime.log(formatMigrationPlan(plan))` dump. The interactive Codex selection picker and the "Apply this migration now?" confirm still run. Wired from the wizard helper at `src/wizard/setup.post-install-migration.ts` so that path no longer shows the plan dump after the user has already confirmed at the wizard prompt. 2. New "Accept recommended" sentinel row at the top of both Codex selection pickers, with "Toggle all on" and "Toggle all off" moved to the bottom. The cursor starts on "Accept recommended" so pressing Enter at the default position submits the picker's `initialValues` (the recommended set) — matching the visual state of the checkboxes. Implemented in `skill-selection-prompt.ts`: - Enter on the Accept sentinel sets `prompt.value` to `opts.initialValues` and lets clack submit. - Space on the Accept sentinel snaps `prompt.value` to `opts.initialValues` so the visible checkboxes flip to the recommended state. The user can then Enter to commit or continue toggling individual rows. The Accept row itself is never persisted in the submitted value list. The existing Enter handler for "Toggle all on" / "Toggle all off" stays unchanged. 3. Removed the "Skip for now" sentinel entirely. It was a single- keystroke trap: with the picker cursor wrapping from Accept to Skip via up-arrow (or via accidental down-arrows), Enter on Skip wiped `prompt.value` to `[MIGRATION_SELECTION_SKIP]` and abandoned the whole migration — including any items the user had already confirmed in the previous picker. To exit without migrating, users now navigate to "Toggle all off" (or use the `a` / `i` keyboard shortcuts) to clear the selection; the apply phase then sees no planned work and skips itself via the existing `shouldSkipCodexApplyAfterInteractiveSelection` path. Cleanup spans `migrate/selection.ts` (constants, `{ action: "skip" }` variant, and the reconcile/resolve SKIP branches), `migrate.ts` (the picker option rows and the `if (selection.action === "skip")` handler blocks in both pickers), and the corresponding tests. 4. Plugin selection hint relabelled from "Activate every recommended plugin" to "Migrate every recommended plugin" so it matches the skill hint and the prompt's own verb ("Migrate ... into this agent now?"). Tests: - `src/commands/migrate/skill-selection-prompt.test.ts` — Accept sentinel cases (Enter and Space + Enter both submit initialValues); Skip-related test removed; Skip row dropped from the picker fixture. - `src/commands/migrate/selection.test.ts` — Skip-related sub- assertions trimmed from the resolve/reconcile tests; the "skip + toggle-off precedence" test renamed to "toggle-off precedence over toggle-on" and Skip cases removed. - `src/commands/migrate.test.ts` — four Skip-driven scenarios removed (plugin-only skip, both-pickers skip, skip-skills-continue-to-plugins, Codex subscription warning + skip). - `src/wizard/setup.post-install-migration.test.ts` — call-args assertion expects the new `suppressPlanLog` option. Verification: - `pnpm lint` clean - `pnpm tsgo:core` + `pnpm tsgo:core:test` clean - Touched test suites green (migrate 32/32, selection 17/17, skill-selection-prompt 6/6, setup.post-install-migration 10/10).
Summary
Screen.Recording.2026-05-12.at.18.59.24.mov
Improvements to the interactive
openclaw migrate <provider>flow, surfaced by the onboarding post-install migration prompt that landed in #81192.New
suppressPlanLogoption onMigrateCommonOptions. Callers that have already secured user consent (notably the onboarding migration prompt) can drivemigrate <provider>without the redundant up-front plan dump. The interactive selection picker and the "Apply this migration now?" confirm still run; only the standalone-CLI plan preview is silenced. Wired fromsrc/wizard/setup.post-install-migration.tsso the wizard no longer shows the plan ahead of its own consent gate.New "Accept recommended" sentinel at the top of the selection pickers, with "Toggle all on" and "Toggle all off" moved to the bottom. The cursor starts on "Accept recommended" so pressing Enter at the default position submits the picker's
initialValues(the recommended set) — matching the visual state of the checkboxes. Pressing Space on the Accept row snaps the visible checkboxes back to the recommended set so the user can see exactly what would be submitted; the user can then Enter to commit or continue toggling individual rows.Removed the "Skip for now" sentinel entirely. It was a single-keystroke trap: with the picker cursor wrapping from Accept to Skip via up-arrow (or via accidental down-arrows), Enter on Skip wiped
prompt.valueto[MIGRATION_SELECTION_SKIP]and abandoned the whole migration — including any items the user had already confirmed in the previous picker. To exit without migrating, users now navigate to "Toggle all off" (or use thea/ikeyboard shortcuts) to clear the selection; the apply phase then sees no planned work and skips itself via the existingshouldSkipCodexApplyAfterInteractiveSelectionpath.Plugin selection hint relabelled from
"Activate every recommended plugin"to"Migrate every recommended plugin"to match the skill hint and the prompt's own verb.Before / after — Codex skill picker layout
Before:
After:
Enter / Space on "Toggle all on", "Toggle all off", and individual skill rows behaves as before. The
a(toggle all) andi(invert) keyboard shortcuts are unchanged.Files
src/commands/migrate/types.ts—suppressPlanLog?: booleanonMigrateCommonOptions.src/commands/migrate.ts—migratePlanCommandskips the plan log whenopts.suppressPlanLog === true; both selection pickers add "Accept recommended" at the top, drop the "Skip for now" row, keep Toggle on/off at the bottom, and setcursorAt: MIGRATION_SELECTION_ACCEPT; plugin-hint text updated; deadif (selection.action === "skip")blocks removed from both pickers.src/commands/migrate/selection.ts— newMIGRATION_SELECTION_ACCEPTconstant (andMIGRATION_SKILL_SELECTION_ACCEPTalias);MIGRATION_SELECTION_SKIP/MIGRATION_SKILL_SELECTION_SKIPconstants removed;{ action: "skip" }variant removed fromInteractiveMigrationSelection; SKIP branches stripped fromresolveInteractiveMigrationSelection,reconcileInteractiveMigrationSkillToggleValues,reconcileInteractiveMigrationEnterValues, andreconcileInteractiveMigrationShortcutValues.src/commands/migrate/skill-selection-prompt.ts— Enter on the Accept sentinel setsprompt.valuetoopts.initialValuesand submits; Space on the Accept sentinel setsprompt.valuetoopts.initialValuesand stays on the row, snapping the visible checkboxes back to the recommended state.src/commands/migrate/skill-selection-prompt.test.ts— Accept sentinel coverage; Skip row dropped from picker fixture; Skip-cursor test removed.src/commands/migrate/selection.test.ts— Skip sub-assertions trimmed from resolve / reconcile tests; "skip + toggle-off precedence" renamed.src/commands/migrate.test.ts— four Skip-driven scenarios removed (plugin-only skip, both-pickers skip, skip-skills-continue-to-plugins, Codex subscription warning + skip).src/wizard/setup.post-install-migration.ts— passessuppressPlanLog: truewhen handing off tomigrateDefaultCommandfrom the post-install migration offer.src/wizard/setup.post-install-migration.test.ts— call-args assertion expects the new option.Verification
Real behavior proof — interactive
bash run.sh onboard-fastVerified locally against the seeded
~/onboarding/codex_homefixture:openai/gpt-5.5soensureCodexRuntimePluginForModelSelectionran.Migrate Codex at /Users/sjf/onboarding/codex_home into this agent now?(y).Apply this migration now?(y).Notes
suppressPlanLogis a single new boolean on an existing options type; no breaking change to the CLI surface or tomigrateDefaultCommandcallers that do not pass it.openclaw migrate <provider>CLI too. Users who want to exit without migrating now toggle the selection empty (e.g. "Toggle all off") — the apply phase already handles "nothing planned" by skipping cleanly.shouldSkipCodexApplyAfterInteractiveSelection,hasCodexSubscriptionRequiredPlugin,readCodexSubscriptionWarning, andlogNoCodexSelectionare preserved — they handle the "user produced no selectable work" case (via Toggle all off, individual deselect, or empty initial set) which is still a valid path.