Skip to content

feat: add plugin packages (cidx-git-backend, cidx-orchestrator-invoker) - #2124

Open
unsupo wants to merge 2 commits into
developmentfrom
feat/plugins
Open

unsupo wants to merge 2 commits into
developmentfrom
feat/plugins

Conversation

@unsupo

@unsupo unsupo commented Nov 5, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Adds the plugin layer — the backend adapters that connect cidx to external services (git-mcp, orchestrator).

Packages added

Package Files Purpose
plugins/cidx_git_backend 3 Delegates internal git operations to git-mcp spoke via JSON-RPC/HTTP. Handles clone, fetch, checkout, diff, log, ls-remote, show, rev-parse, branch management. Credential scoping keeps PAT in git-mcp.
plugins/cidx_orchestrator_invoker 4 Invokes agent orchestrator indexing pipeline over HTTP. Delegated SCIP builds, configurable timeouts, basic auth.

Scrubbing applied

  • Internal ticket references (EVO-NNNNN) removed
  • K8s internal DNS defaults (*.svc.cluster.local) replaced with localhost equivalents
  • Disclosure scan passed (no secrets, AWS IDs, internal hostnames, or PII)

Relationship to other PRs


Merge-order dependencies

Prerequisite What it supplies
PR #2122 cidx-sdk, cidx-testkit
PR #2123 Feature packages (entry-points)
PR #2127 Core integration wiring

Review findings

# Severity Status Summary
1 BLOCKING Fixed Internal service names in docstrings and pyproject descriptions
2 BLOCKING Fixed Company-scoped npm package name in test data
3 BLOCKING Fixed Internal repo alias as test sample data
4 BLOCKING Noted Commit message references internal tracker prefix (cosmetic)
5-12 HIGH Merge-order Missing SDK/feature packages from prerequisite PRs
13-29 MED/LOW Noted Code quality, security (tracked privately)

Bring the plugin layer from the internal repository:

- cidx_git_backend: delegates cidx's internal git operations to the
  git-mcp spoke via JSON-RPC over HTTP. Handles clone, fetch, checkout,
  diff, log, ls-remote, show, rev-parse, and branch management through
  a pluggable GitBackend seam. Includes credential scoping (PAT stays
  in git-mcp, never exposed to cidx) and cow_path support for shared
  filesystem operations.

- cidx_orchestrator_invoker: invokes the agent orchestrator's indexing
  pipeline over HTTP. Used for delegated SCIP builds and other
  orchestrator-driven workflows. Supports basic auth and configurable
  timeouts.

Scrubbing applied:
- Internal ticket references (EVO-NNNNN) removed
- K8s internal DNS defaults replaced with localhost equivalents
- Disclosure scan passed (no secrets, AWS IDs, internal hostnames, or PII)
- Neutralize internal MCP service names in docstrings and pyproject descriptions
- Replace company-scoped npm package names with example placeholders
- Replace internal repository aliases with generic names in test data
- Neutralize deployment-specific references (EKS, provisioner, storage daemon)
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