Lightweight headless CI distribution (no MCP, LSP, interactive UI)
- 主要言語
- C#
- スター
- 3
- フォーク
- 7
- 平均マージ
- 1日 12時間
- マージ済み PR(30日)
- 14
説明
## 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
- Complements #155 (A1 — non-interactive output contract)
- Addresses size concern in #174
- Pairs with CI/CD documentation (#TBD)
## Acceptance criteria
- [x] CI distribution is < 15 MB compressed
- [x] Supports workload-identity auth (OIDC federated credentials)
- [x] Stable exit-code contract documented
- [x] JSON output for all commands
- [ ] No dependency on interactive terminal or browser
コントリビューションガイド
調査の方向性
ファイルやテストは指定されていないため、まず現在の単一バイナリ配布物とそのビルド設定を調べ、次に import、query、assert、CRUD のエントリーポイントを追跡してください。JSON 出力、終了コード、workload identity 認証が現在どのように処理されているかを確認してください。15 MB 未満の圧縮された CI 配布物が完成し、対話型ターミナルもブラウザーも必要としなければ完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- csharp
- 領域
- authentication, ci-cd, cli
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 活発
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100