Skip to content

refactor(mcp): split project context helpers - #1136

Merged
phernandez merged 1 commit into
mainfrom
codex-1108-project-context-split
Jul 21, 2026
Merged

refactor(mcp): split project context helpers#1136
phernandez merged 1 commit into
mainfrom
codex-1108-project-context-split

Conversation

@phernandez

Copy link
Copy Markdown
Member

Summary

  • extract workspace project index values, cache helpers, and pure lookup logic
  • extract project/workspace identifier parsing and canonical path construction
  • preserve the existing project_context import and monkeypatch surface while leaving routing orchestration in the facade

Part of #1108

Validation

  • just fast-check
  • uv run pytest tests/mcp/test_project_context.py tests/mcp/test_project_context_telemetry.py tests/services/test_link_resolver.py tests/mcp/test_tool_read_content.py tests/mcp/test_tool_read_note.py tests/mcp/test_tool_edit_note.py tests/mcp/test_tool_search.py test-int/mcp/test_workspace_permalink_integration.py -q (318 passed)
  • just fast-test (167 passed, 1 skipped)
  • just package-check
  • legacy top-level symbol compatibility audit

Signed-off-by: phernandez <paul@basicmachines.co>
@phernandez
phernandez merged commit 92a94ad into main Jul 21, 2026
22 checks passed
@phernandez
phernandez deleted the codex-1108-project-context-split branch July 21, 2026 07:39
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