You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let a user run tracebloc dataset push and be prompted for what's missing instead of needing every flag up front — the streamlined guided flow. Flags still win; non-TTY/CI behavior is unchanged.
Scope
When required inputs are missing AND stdout is a TTY AND--no-input is not set: launch a guided flow using AlecAivazis/survey/v2:
path → category (select from the supported list) → table (validated via push.ValidateTableName) → intent (train/test select) → label-column → category-specific fields:
image: target-size (default = auto-detected from the first image),
tabular/time-series: --schema preview from inferred types, label policy,
keypoint: number-of-keypoints,
text/MLM: confirm the texts//sequences/ (+ tokenizer.json) layout.
A confirm screen showing the assembled spec (reuse Phase 1–2 rendering) before running.
Prompts populate the existing SpecArgs — the downstream synth → validate → stage → submit path is unchanged.
Graceful degradation: non-TTY or --no-input → today's flag-only behavior + the same clear errors.
Goal
Let a user run
tracebloc dataset pushand be prompted for what's missing instead of needing every flag up front — the streamlined guided flow. Flags still win; non-TTY/CI behavior is unchanged.Scope
--no-inputis not set: launch a guided flow usingAlecAivazis/survey/v2:path→ category (select from the supported list) →table(validated viapush.ValidateTableName) → intent (train/test select) →label-column→ category-specific fields:target-size(default = auto-detected from the first image),--schemapreview from inferred types, label policy,number-of-keypoints,texts//sequences/(+tokenizer.json) layout.SpecArgs— the downstream synth → validate → stage → submit path is unchanged.--no-input→ today's flag-only behavior + the same clear errors.Acceptance criteria
--no-input/ non-TTY → no prompts; missing required → same exit-2/3 errors as today.SpecArgs.Build+ schema validation, unchanged.make cigreen.Go concepts we'll cover
survey/v2): select vs input vs confirm, reading/validating stdin.--no-input).Notes
survey/v2(not huh/bubbletea). Depends on #PHASE1 and #PHASE2 for the confirm/summary look. Branch offdevelop.Part of the UX/interactive epic.
🤖 Generated with Claude Code