Skip to content

Fix MCP initialize and logging gaps - #2673

Merged
Widthdom merged 11 commits into
mainfrom
codex/fix-issue1836-1840-1837-1895
May 25, 2026
Merged

Fix MCP initialize and logging gaps#2673
Widthdom merged 11 commits into
mainfrom
codex/fix-issue1836-1840-1837-1895

Conversation

@Widthdom

Copy link
Copy Markdown
Owner

Summary

  • Capture MCP initialize session capabilities and roots, and expose them through MCP status diagnostics.
  • Advertise MCP logging capability and implement logging/setLevel with standard MCP log levels.
  • Preserve unknown notification behavior with regression coverage, and keep MCP list-argument hardening after merging latest origin/main.
  • Add bilingual changelog fragment and synchronize status contract docs for mcp_session.

Validation

  • dotnet test tests/CodeIndex.Tests/CodeIndex.Tests.csproj -c Release -p:UseSharedCompilation=false --filter "FullyQualifiedName~DocumentationStatusContractTests|FullyQualifiedName~McpServerTests"
  • dotnet build CodeIndex.sln -c Release -p:UseSharedCompilation=false
  • Adversarial review: No blocking/actionable issues found.

Notes

  • All requested issues had no existing work-start comments before work began.
  • AGENT_GUIDE.md was updated only to keep the documented status contract synchronized with README and DEVELOPER_GUIDE.
  • Local .cdidx index rebuild attempts were interrupted in this environment; build, targeted tests, and adversarial review were used for validation.
  • No unrelated unfiled bug was found that required opening a new GitHub issue.

Fixes #1836
Fixes #1837
Fixes #1840
Fixes #1895

@Widthdom
Widthdom merged commit 99386dc into main May 25, 2026
11 checks passed
@Widthdom
Widthdom deleted the codex/fix-issue1836-1840-1837-1895 branch May 25, 2026 03:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant