codebase-memory-mcp icon indicating copy to clipboard operation
codebase-memory-mcp copied to clipboard

task: Architecture — workspaces, cross-repo, worktrees, benchmarks (6 issues)

Open DeusData opened this issue 6 months ago • 2 comments

Scope

Umbrella tracker for larger feature requests / architectural proposals that don't map to a single bug. Each item here typically needs a small design discussion before implementation.

Sub-issues

  • [ ] #56 — Cross-crate call graphs stop at boundaries (Rust workspaces)
  • [ ] #271 — Workspace support: package.json#workspaces, pnpm-workspace.yaml, [workspace] in Cargo.toml — proposal
  • [ ] #286 — Feature Request: Automatic deletion of project when underlying folder is deleted
  • [ ] #292 — Protocol-aware cross-repo intelligence: gRPC + typed-message + attribute-route matching (design proposal)
  • [ ] #351 — Support efficient indexing for Git worktree-based agent development workflows
  • [ ] #356 — Add new benchmark with memtrace-public

PR #369 (workspace imports + SvelteKit filesystem routes) is a partial implementation of #271 / #56's TypeScript-monorepo half — please review there before scoping further.

Acceptance

Per item:

  1. A short design note (or rejection with rationale) in this issue or a sub-issue.
  2. If in scope: implementation tracked in its own follow-up issue or PR.

Why one task

These are not bugs — they're feature/architecture asks. Triaging them together prevents them from drifting into the backlog uncategorized.

Added 2026-06-24 (triage)

  • [ ] #408 — package.json workspaces cross-repo IMPORTS still produce zero edges (relates #271)
  • [ ] #525 — Architectural Drift Detection between git revisions
  • [ ] #551 — SwiftPM package-graph support (Package.swift manifest resolution)
  • [ ] #561 — New MCP tool to manage cross-service links (relates #292)
  • [ ] #573 — worktree overlay indexing for branch-aware agent workflows (relates #401 / #286)

ADR / MADR

  • [ ] #507 — Support Markdown Architectural Decision Records (MADR)
  • [ ] #504 — Import existing ADR docs (duplicate of #507)
  • #516 — manage_adr data loss during re-index — tracked via PR #539

Added 2026-06-29 (triage)

Worktrees and git-root behavior

  • [ ] #690 — detect_changes worktree implementation tracker (relates #659)
  • [ ] #689 — linked-worktree git excludes implementation tracker (relates #682)
  • [ ] #682 — index_repository ignores .git/info/exclude and core.excludesFile in linked worktrees
  • [ ] #659 — detect_changes.impacted_symbols empty for projects inside git worktrees

Cross-repo / protocol architecture

  • [ ] #686 — Go Fiber route paths empty, gRPC not captured, Kafka noted as Tier 2
  • [ ] #678 — FastAPI route path / router-prefix extraction blocks cross-repo HTTP edges
  • [ ] #652 — NATS subject detection for cross-repo async edges
  • [ ] #612 — ingest_traces runtime trace ingestion for CROSS_* edges
  • [ ] #597 — execution-flow / process abstraction for high-level comprehension
  • [ ] #523 — cross-repo-intelligence returns zero edges for byte-identical call/route
  • [ ] #440 — cross-repo Maven dependency links

Added 2026-06-30 (triage)

  • [ ] #706 — cross-repo HTTP edge creation misses centralized URL constants / partial URL matching

Added 2026-08-03 (triage)

  • [ ] #1357 — detect_changes silently assumes the default branch is main

DeusData avatar May 30 '26 12:05 DeusData

@DeusData I will give it a shot by first creating a design note for it :)

sahil-mangla avatar Jun 25 '26 18:06 sahil-mangla

Thank you, @sahil-mangla, for offering a design note. This umbrella spans several independent proposals, so please identify the particular child issue before investing in implementation; each direction needs its own bounded maintainer decision. Sorry for the delay—this is waiting on maintainer follow-up, and I’ll follow up soon.

DeusData avatar Oct 25 '26 17:10 DeusData