Skip to content

Codebase intelligence for AI and humans: code health scores, auto-generated docs, git analytics, dead code detection, and architectural decisions via MCP.

fix(workspace): show contract summary when contracts exist but no cross-repo links (#111)

Jacob Martina50749a62c16
diff --git a/packages/server/src/repowise/server/mcp_server/_enrichment.py b/packages/server/src/repowise/server/mcp_server/_enrichment.py
index 9179157dc..24aa933db 100644
--- a/packages/server/src/repowise/server/mcp_server/_enrichment.py
+++ b/packages/server/src/repowise/server/mcp_server/_enrichment.py
@@ -191,8 +191,8 @@ class CrossRepoEnricher:
@property
def has_contract_data(self) -> bool:
- """True if contract links are available."""
- return bool(self._contract_links)
+ """True if contracts or contract links are available."""
+ return bool(self._contracts or self._contract_links)
def get_cross_repo_partners(
self, repo_alias: str, file_path: str