Commit 41f3d5d
feat: add console layer and ownership import wizards (#367)
Staged TUI slices 1-3 from the 2026-07-06 spec:
- New internal Private/ShareSurfer.Console.ps1: choice/text/boolean/
multi-select state machines, capability detection (with
SHARESURFER_PLAIN_CONSOLE override), render-to-string screens with a
single output sink, return-based cancellation (Action 'Cancelled'),
zero-character key filtering, and compatibility shims for the #364
prompt names.
- Ownership header interview is now a guided wizard: step counter,
suggested header, numbered header list with /text filtering and
free-typed entry, per-field explanations, and a return shape that
carries interview warnings into the mapping profile (P5-E).
- Source classification uses the console layer with return-based
cancel; Join and mapping-profile entry points decide what cancel
means and keep the existing operator-cancel messages.
- Cancelled interviews write no partial mapping profile output.
- Docs updated to describe the wizard screens and controls.
Suite: 126/126 (6 new tests: key translation, multi-select, text
prompt, wizard render/filter, classification cancel, profile
warnings + cancel).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 87908fb commit 41f3d5d
6 files changed
Lines changed: 1392 additions & 341 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | | - | |
| 195 | + | |
196 | 196 | | |
197 | 197 | | |
198 | | - | |
| 198 | + | |
199 | 199 | | |
200 | 200 | | |
201 | | - | |
| 201 | + | |
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| |||
0 commit comments