Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ DevContext is an intelligent, local-first developer productivity platform that c
- 🔍 **Instant Search**: Full-text search across your entire development history.
- 📊 **Contextual Timeline**: A beautiful chronological view of your engineering journey.
- 🧠 **Intelligence Layer**: AI-powered context synthesis and expertise mapping.
- 🎯 **Smart Review Routing**: Ranks the best-qualified reviewer for every pull request from file-level history.
- 🔐 **Enterprise Security**: E2E encryption, audit logs, and RBAC out of the box.
- 🖥️ **CLI First**: Powerful terminal companion for local-first workflows.
- 🔌 **Extensible**: Plugin SDK and MCP server for AI assistant integration.
Expand Down
11 changes: 6 additions & 5 deletions ROADMAP.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# 🎯 DevContext Development Roadmap

> **Current Phase**: Phase 16: Usability & Adoption 🔄
> **Status**: One-command installer + Desktop App + Shareable context snapshots + Note capture in progress
> **Last Updated**: February 12, 2026
> **Current Phase**: Phase 18: Woo Factor & Intelligence 🔄
> **Status**: Smart review suggestions shipped; 3D knowledge graph and time-travel replay in progress
> **Last Updated**: May 21, 2026

---

Expand Down Expand Up @@ -336,6 +336,7 @@
- [ ] **Time-Travel Replay**: Animated knowledge graph evolution
- [x] **MCP Server**: Expose DevContext tools to AI assistants (Claude/Cursor)
- [x] **Browser Extension**: Overlays for GitHub/GitLab (Manifest V3)
- [x] **Smart Review Suggestions**: Ranks the best-qualified reviewer for each pull request from file-level activity history
- [/] **Plugin System**: Loader implemented, SDK scaffolded

---
Expand Down Expand Up @@ -372,7 +373,7 @@

### Metrics

- **Total Phases Completed**: 15/18
- **Total Phases Completed**: 17/18
- **Features Implemented**: 100+
- **Security Standard**: Enterprise-grade (Audit, SSO, Encryption)

Expand All @@ -388,5 +389,5 @@ To contribute to Phase 16:

---

**Last Updated**: February 12, 2026
**Last Updated**: May 21, 2026
**Maintained By**: DevContext Core Team
4 changes: 2 additions & 2 deletions devcontext-roadmap.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# DevContext Roadmap

> Last updated: February 2026
> Last updated: May 2026

---

Expand Down Expand Up @@ -115,7 +115,7 @@
- **"Why does this code exist?" answers**: Click any file or function in the knowledge graph and get an AI-generated narrative tracing its history — who created it, what problem it solved, how it evolved, which PRs touched it — the complete archaeological record
- **Onboarding autopilot**: New team member joins → DevContext generates a personalised onboarding guide based on the team's knowledge graph — *"Start with `auth/` (Lisa is the expert), then `payments/` (Marcus owns it), skip `legacy/` for now"*
- **Predictive context loading**: When you open a file, DevContext pre-loads related context (recent changes, who worked on it, linked PRs, known issues) before you even search — context finds you, not the other way around
- **"What should I review?" suggestions**: Before a PR review, DevContext analyses your expertise profile and the PR's files to highlight what you're uniquely qualified to catch — smart reviewer assignment based on actual knowledge, not CODEOWNERS
- **"What should I review?" suggestions** *(shipped May 2026)*: DevContext analyses each open pull request's changed files against the team's captured activity history and ranks the best-qualified reviewer — smart reviewer assignment based on actual knowledge, not CODEOWNERS. Surfaced via the "Review Suggestions" dashboard widget and the `/api/insights/review-suggestions` endpoint
- **Natural language activity queries**: Ask the dashboard questions in plain English — *"What did the team work on last week related to payments?"*, *"Who last touched the auth middleware and why?"*

#### Visualisation & Experience
Expand Down
20 changes: 3 additions & 17 deletions web/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 9 additions & 2 deletions web/src/app/api/insights/code-quality/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

const prisma = new PrismaClient();

export const GET = withRateLimit(async (request: Request) => {

Check warning on line 8 in web/src/app/api/insights/code-quality/route.ts

View workflow job for this annotation

GitHub Actions / build

'request' is defined but never used
try {
// In a real implementation, this would analyze static analysis reports or complex git churn metrics.
// For now, we simulate detection based on "high churn" files that might indicate instability.
Expand Down Expand Up @@ -35,8 +35,15 @@

// Transform into "Code Smell" insights
const smells = highChurnFiles.map((item, index) => {
const metadata = item.metadata as Record<string, unknown>;
const filePath = (metadata?.file as string) || "unknown";
let filePath = "unknown";
if (item.metadata) {
try {
const metadata = JSON.parse(item.metadata) as Record<string, unknown>;
if (typeof metadata.file === "string") filePath = metadata.file;
} catch {
// metadata is a free-form JSON string; skip unparseable rows
}
}
const churnCount = item._count.id;

return {
Expand Down
Loading
Loading