Summary: Re-implement analyze and classify command paths in yargs with parity for automation-oriented JSON contracts.
User Story
As a pipeline user, I can run analysis/classification jobs with stable argument validation and machine-readable outputs that do not break existing scripts.
Expected UX Change
- User experience: consistent command ergonomics and clearer validation messages.
- Player experience: downstream sound selection/labeling outcomes remain equivalent for identical inputs.
Acceptance Criteria
analyze and classify execute through yargs handlers, including currently supported modes.
--json schema/shape remains compatible for existing consumers.
- Batch and single-input scenarios are covered by integration tests.
- Help output and error semantics are parity-tested for key invalid-input cases.
Minimal Implementation
- Add yargs modules/builders for analyze and classify.
- Reuse current domain services and output adapters to preserve behavior.
- Add contract tests that assert JSON shape stability.
- Remove command-specific legacy dispatch for these commands once parity is green.
Dependencies
- blocked-by:TF-0MMJ892CE0Y4MFFL
- blocked-by:TF-0MMJ894WA1IHEKV9
- blocked-by:TF-0MMJ899TT0RPVHEG
Deliverables
- yargs analyze/classify command modules.
- JSON contract tests and integration coverage.
- Updated help/docs snippets.
Summary: Re-implement
analyzeandclassifycommand paths in yargs with parity for automation-oriented JSON contracts.User Story
As a pipeline user, I can run analysis/classification jobs with stable argument validation and machine-readable outputs that do not break existing scripts.
Expected UX Change
Acceptance Criteria
analyzeandclassifyexecute through yargs handlers, including currently supported modes.--jsonschema/shape remains compatible for existing consumers.Minimal Implementation
Dependencies
Deliverables