Skip to content

gut: remove dead memory CLI (MBP audit) #2300

@alexey-pelykh

Description

@alexey-pelykh

Context

The memory subsystem was gutted in the middleware fork (agents bring own memory). But src/cli/memory-cli.ts (823 lines) and its test (568 lines) survived — they import from the gutted src/memory/ module. Commands: memory status/search/index/rebuild/list/clear. Found during MBP deep dive audit of src/cli/.

Scope

  • Delete src/cli/memory-cli.ts (823 lines)
  • Delete src/cli/memory-cli.test.ts (568 lines)
  • Remove memory registration entry from src/cli/program/register.subclis.ts
  • Verify no other files import from memory-cli

Acceptance Criteria

  • grep -r "memory-cli" src/cli/ returns nothing
  • grep -r "from.*memory" src/cli/ returns no live imports (only if unrelated)
  • Build passes
  • Tests pass

Size

~1,391 lines removed.

Metadata

Metadata

Assignees

Labels

gutRemoving dead upstream subsystems

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions