Skip to content

Harden MCP startup performance and atomic write reliability#19

Merged
egallmann merged 3 commits into
developfrom
feature/workspace-mode
May 30, 2026
Merged

Harden MCP startup performance and atomic write reliability#19
egallmann merged 3 commits into
developfrom
feature/workspace-mode

Conversation

@egallmann
Copy link
Copy Markdown
Owner

  • Replace O(N*DFS) topology analyzer with O(N+E) BFS layering
  • Eliminate redundant graph loads in MCP server startup
  • Add bounded-concurrency parallel YAML reads in graph loader
  • Add retry with exponential backoff + jitter on atomic file rename
  • Migrate ad-hoc temp+rename in cross-repo-edges and repo-sentinel to atomicWriteFile
  • Add topology analyzer perf test and atomic write retry unit tests
  • Amend ADR-PC-0001 and ADR-PS-0001 with implementation decisions and startup NFR
  • Refresh ADR manifests, indexes, rendered docs, and fixture state

egallmann and others added 3 commits May 29, 2026 17:10
- Replace O(N*DFS) topology analyzer with O(N+E) BFS layering
- Eliminate redundant graph loads in MCP server startup
- Add bounded-concurrency parallel YAML reads in graph loader
- Add retry with exponential backoff + jitter on atomic file rename
- Migrate ad-hoc temp+rename in cross-repo-edges and repo-sentinel to atomicWriteFile
- Add topology analyzer perf test and atomic write retry unit tests
- Amend ADR-PC-0001 and ADR-PS-0001 with implementation decisions and startup NFR
- Refresh ADR manifests, indexes, rendered docs, and fixture state

Co-authored-by: Cursor <cursoragent@cursor.com>
Enable handbook indexing via a markdown extractor, structured workspace RECON
benchmark reporting, CEM/MVC source locators (ADR-L-0020), and fix forward-depth
queue explosion that caused MCP OOM on large graphs.

Co-authored-by: Cursor <cursoragent@cursor.com>
Implementation decision IDs (IMPL-0001, etc.) are STE ADR artifacts, not
JIRA-style ticket keys; add IMPL- to the safe prefix allowlist.

Co-authored-by: Cursor <cursoragent@cursor.com>
@egallmann egallmann merged commit 173d9aa into develop May 30, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant