.agents/memory/2026-02-27-setup-wizard-restriction-implementation.md

26 lines
1.3 KiB
Markdown

# 2026-02-27 Session Notes
## Setup Wizard Restriction Implementation
Implemented plan to restrict the Signet CLI setup wizard to supported connectors only. The wizard previously offered 7 harness/connector options; this session reduced it to 3 supported platforms per Nicholai's request.
## Changes Made
Modified `packages/cli/src/cli.ts` to:
1. **Removed unsupported harness choices** from the setup wizard (lines 1628-1664): Removed Cursor, Windsurf, ChatGPT, and Gemini options, keeping only Claude Code, OpenCode, and OpenClaw.
2. **Removed conversation import prompt** (lines 1853-1857): Eliminated the `wantImport` confirmation that allowed users to import conversations during setup.
3. **Removed import conditional** (lines 2125-2127): Deleted the `if (wantImport)` block that called `migrateWizard()`.
4. **Deleted stub function** `migrateWizard()` (lines 2356-2385): Removed entire function definition.
5. **Removed migrate command** registration (lines 2887-2894): Deleted the `program.command("migrate")` CLI command.
## Verification
Final checks include:
- `bun run typecheck` — ensure no dead references
- `bun run lint` — verify clean formatting
- Manual test: `bun packages/cli/src/cli.ts setup` — confirm 3 harness options appear, no import prompt