Skip to content

[WIP] Migrate analyze and classify commands to yargs#237

Closed
Copilot wants to merge 1 commit intomainfrom
copilot/migrate-analyze-classify-commands
Closed

[WIP] Migrate analyze and classify commands to yargs#237
Copilot wants to merge 1 commit intomainfrom
copilot/migrate-analyze-classify-commands

Conversation

Copy link
Contributor

Copilot AI commented Mar 9, 2026

Thanks for assigning this issue to me. I'm starting to work on it and will keep this PR's description up to date as I form a plan and make progress.

Original prompt

This section details on the original issue you should resolve

<issue_title>Migrate analyze and classify commands</issue_title>
<issue_description>

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.</issue_description>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrate analyze and classify commands

2 participants