feat: detect meta-repos, microservices, and single-project repos#34
Merged
Houseofmvps merged 4 commits intoHouseofmvps:mainfrom Apr 14, 2026
Merged
feat: detect meta-repos, microservices, and single-project repos#34Houseofmvps merged 4 commits intoHouseofmvps:mainfrom
Houseofmvps merged 4 commits intoHouseofmvps:mainfrom
Conversation
Contributor
Author
|
Looks like this fixes #33 and also looks like test is failing due to GITHUB_TOKEN? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a
repoTypefield toProjectInfothat classifies repository structure beyond the existingisMonorepoboolean. Previously all multi-workspace repos were labelled "Monorepo" regardless of their actual structure.New
RepoTypevalues:single— one project, no workspacesmonorepo— shared codebase with multiple packages/apps under common toolingmicroservices— multiple independently deployable servicesmeta— aggregation of independent projects (git submodules)Detection signals:
.gitmodulespresent at rootk8s/,kubernetes/, orhelm/directory at root — or 2+ workspaces each containing aDockerfileChanges
types.ts— addsRepoTypetype andrepoTypefield onProjectInfoscanner.ts— addsclassifyRepoType()function called during project detectioncore.ts,formatter.ts,ai-config.ts,html-report.ts,wiki.ts,mcp-server.ts— all output surfaces updated to show the correct label ("Meta-repo:", "Microservices:", or "Monorepo:")Tests
Four new test cases in
detectors.test.tscovering eachrepoTypevalue, including meta-repo detection via.gitmodulesand microservices detection via Dockerfiles and k8s directory.