Skip to content

index_status returns project-not-found for project returned by list_projects #349

@edecarvalhoreis

Description

@edecarvalhoreis

Summary

codebase-memory-mcp cli index_status can return project not found or not indexed for a project name that is returned by list_projects in the same environment.

Version

  • codebase-memory-mcp 0.6.1

Reproduction

  1. codebase-memory-mcp cli list_projects
  2. Pick the returned project name, for example sample-project.
  3. codebase-memory-mcp cli index_status '{"project":"sample-project"}'

Actual

index_status fails with:

{"error":"project not found or not indexed","hint":"Use list_projects to see all indexed projects, then pass the project name.","available_projects":["sample-project"],"count":1}

Expected

index_status should accept the same project id/name returned by list_projects and return status metadata.

Additional signal

index_repository may fail with pipeline.err phase=dump and a generic pipeline hint, which makes diagnosis difficult.

Impact

Breaks automation paths that depend on index_status for health/selector checks.

Suggested fix direction

  • Align selector parsing for index_status with list_projects output.
  • Surface concrete dump-phase failure reason (DB path/permission/state) instead of a generic hint.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions