Skip to content

[FEATURE] Cross-repo intelligence: link edges across multiple indexed repos #15

@Wolfvin

Description

@Wolfvin

Problem

Microservice and monorepo architectures split code across multiple repos/packages. An agent working on Service A can't trace a call that crosses into Service B or a shared library — the graph just ends at the module boundary.

Proposed Change

Add a --workspace concept that covers multiple root directories under one index:

codelens init --workspace /projects/myapp  # covers services/api, services/worker, lib/shared
  • Cross-repo edges become CROSS_CALLS, CROSS_IMPORTS to distinguish them
  • trace can follow cross-repo edges with --cross-repo flag
  • get_architecture returns a combined service map

Minimum Viable Version

Just support multiple repo_path entries in .codelens/config.json — resolve imports against the combined symbol table from all indexed repos.

Metadata

Metadata

Assignees

No one assigned

    Labels

    architectureCore architecture changeenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions