Skip to content

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

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.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingux/behaviorDisplay bugs, docs, adoption UX

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions