Improve Single-Agent Import Confirmation UX · Entire

When there is only one agent to import, the prompt says "Space to select, enter to confirm. Select none to skip."

There is nothing to select or skip, so it's confusing. It should say "enter to confirm" and have an option to go skip or go back


Change

cmd/entire/cli/setup_import.go — promptImportSelection now branches on the count of eligible agents:

Declining or aborting returns an empty slice, so the caller skips the import exactly as before. This removes the confusing "space to select / select none to skip" wording when there's nothing to select between, and gives an explicit Skip option (the huh Confirm's Negative also acts as the back/skip control).


Verification


Checkpoints in importtest2

9 checkpoints, all tagged [imported] (read-only — no summaries, no rewind), on main. They map to 5 imported sessions across 4 agents:

Agent Session Checkpoints Turn timestamps
Copilot CLI copilot-sess-001 2 06-24 07:00, 07:03
Codex codex-sess-001 2 06-24 08:00, 08:02
Cursor cursor-sess-001 2 07-06 17:00
Cursor (nested) nested-sess 1 07-06 17:00
Factory Droid droid-sess-001 2 07-06 17:00

Each checkpoint carries the original prompt as its intent (e.g. "Set up a GitHub Actions CI workflow…" → "Fix the failing gofmt lint in CI"), and codex/copilot preserved per-turn token counts (95–620) while cursor didn't (its transcript has no token data — expected).


All six agents are discoverable through default discovery (exactly what the enable offer uses) once the env overrides point at importtest2's subfolders. Setup is complete and verified.