Add extensive Pest tests for workspace context security covering:
- WorkspaceContext resolution from headers and authentication
- Automatic workspace scoping for queries
- MissingWorkspaceContextException handling
- Workspace boundary enforcement
- Cross-workspace data isolation and query prevention
- Context injection via middleware
- Edge cases including concurrent contexts and request isolation
Also update Pest.php to include src/Mcp/Tests/Unit directory.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Mod\Mcp -> Core\Mcp
- Core\Mod\Tenant -> Core\Tenant
Part of namespace restructure to align with L1/L2 module conventions.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Relocates the MCP module to a top-level namespace as part of the
monorepo separation, removing the intermediate Mod directory layer.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>