Skip to content

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

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.

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

    architectureCore architecture changeenhancementNew feature or requestexec: parallelCan be picked up anytime independentlytype: improvementNew feature or enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions