Codebase intelligence for AI and humans: code health scores, auto-generated docs, git analytics, dead code detection, and architectural decisions via MCP.
Python aicode-complexitycode-healthcode-intelligencecode-qualitydead-codedeveloper-toolsdocumentationgit-analyticsmcpopen-sourcepythonrefactoringstatic-analysistechnical-debt
import { redirect } from "next/navigation";
/** Legacy route — dead code now lives as a Code Health tab. */
export default async function LegacyRedirect({
params,
}: {
params: Promise<{ id: string }>;
}) {
const { id } = await params;
redirect(`/repos/${id}/code-health?tab=dead-code`);
}