Skip to content

feat: add SDK core packages (cidx-sdk, cidx-testkit, backends) - #2122

Open
unsupo wants to merge 2 commits into
developmentfrom
feat/sdk-packages-core
Open

unsupo wants to merge 2 commits into
developmentfrom
feat/sdk-packages-core

Conversation

@unsupo

@unsupo unsupo commented Nov 5, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Adds the SDK core layer — the abstractions and test infrastructure that feature packages (depmap, memory, scip, wiki, xray) depend on.

Packages added

Package Files Purpose
packages/cidx-sdk 36 Seam abstractions (clone, content, git, xray, scip), capability types, feature framework, configuration
packages/cidx-testkit 32 Conformance test suites, fakes (git-mcp, sandbox-mcp, workspace-mcp, orchestrator), test guards
packages/backends/cidx-backend-git 5 Local git backend implementation
packages/backends/cidx-backend-workspace 14 Workspace-MCP backend with FlexClone and ripgrep support

Scrubbing applied

  • Internal ticket references (EVO-NNNNN) removed — 2 occurrences in cidx-sdk
  • Disclosure scan passed (no secrets, AWS IDs, internal hostnames, or PII)

Relationship to other PRs


Merge order

This PR should merge before PRs that depend on cidx-sdk, cidx-testkit, and the backends packages.

Review findings

# Severity Status Summary
1 BLOCKING Fixed Internal service names in package docstrings/fakes → neutralized
2 BLOCKING Fixed Cluster node IDs, mount paths, operator account in comments → placeholders
5 LOW Fixed Bytes credential redaction leaks tail of password
16 LOW Fixed coerce_int doesn't catch OverflowError
3-4, 6-15, 17-22 LOW Noted Code quality improvements (non-blocking)

Bring the SDK layer from the internal repository:

- cidx-sdk: seam abstractions (clone, content, git, xray, scip),
  capability types, feature framework, and configuration
- cidx-testkit: conformance test suites, fakes for git-mcp /
  sandbox-mcp / workspace-mcp / orchestrator, test guards
- cidx-backend-git: local git backend implementation
- cidx-backend-workspace: workspace-mcp backend with FlexClone
  and ripgrep support

All 87 files are new — no changes to existing code.
Internal ticket references scrubbed.
- Neutralize cluster node IDs, mount paths, operator account name in
  clone_backend.py comments (disclosure)
- Replace internal MCP service names with role descriptions in
  package docstrings and fake module names (disclosure)
- Add OverflowError to coerce_int except clause (robustness)
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