Skip to content

CLI split: decompose FlowMcpCli monolith (Memo 152 Phase 4) #129

Description

@a6b8

Decompose the 16.6k-line src/task/FlowMcpCli.mjs monolith into modules with a clean CLI/core boundary, keeping a thin delegation facade (F12=A). Phase 4 PRDs:

  • PRD-016 dead-code sweep (~2.4k dead lines, F19=B init schemaFolders-only)
  • PRD-017 lib extraction (ModuleRegistry, CliOutput/FsUtils, ConfigStore/SchemaSource)
  • PRD-018 core ports (ToolNaming, schema-loading on Pipeline, IdResolver/CatalogIndex)
  • PRD-019 command modules + grading bridge
  • PRD-020 bridges closed, hooks removed, dispatch tests

Tests stay green per PRD. No push until the bundled gate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions