Skip to content

Lightweight headless CI distribution (no MCP, LSP, interactive UI) #175

Description

@sajeetharan

Feedback source

External user feedback (travel multi-agent workshop team).

Problem

The current single-binary distribution bundles everything: interactive shell, MCP server, LSP, brokered auth, OpenTelemetry, ARM management. For CI/CD use cases (data seeding, CRUD, queries, integration test validation), most of this is unnecessary weight and attack surface.

Proposed solution

Ship a separate lightweight, headless CI distribution with:

  • Predictable exit codes (stable contract)
  • JSON output mode (--output json)
  • Workload-identity authentication (federated credentials, no interactive browser)
  • Core commands: import, query, assert, CRUD
  • No MCP, LSP, brokered authentication, or interactive UI

Implementation options (in priority order)

  1. Same .NET codebase with trimming/Native AOT — feature-flag the build to exclude MCP/LSP/interactive modules, use .NET publish trimming or NativeAOT for a smaller binary
  2. Go or Rust reimplementation of the CI-only subset — smallest possible binary, no runtime dependency

Splitting the feature set is more important than changing languages.

Relationship to other issues

Acceptance criteria

  • CI distribution is < 15 MB compressed
  • Supports workload-identity auth (OIDC federated credentials)
  • Stable exit-code contract documented
  • JSON output for all commands
  • No dependency on interactive terminal or browser

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1automationAutomation & CI ergonomics

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions