review: use RunWithContext for backend prompt; clarify validator doc

main

Commit

Soph2mo ago

Address PR #1661 bot review:

  • promptCheckpointBackend now runs via RunWithContext(ctx) and routes failures through handleFormCancellation, matching the setup-family convention (setup_import.go). Ctrl+C / cancelled context now abort cleanly and keep the default backend instead of surfacing a generic wrapped error.
  • Clarify ValidatePrimaryBackend doc: unknown types error with the registered type list; non-git-backed types are rejected separately.

Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com Entire-Checkpoint: 01KWY2JSNNA4DW1RSNA6599P8R

Checkpoints

Enable Checkpoint Backend Selection Flag

Claude CodeOpus 4.8[1m]
View session
Checkpoint 1