[Architecture][P4] Phase 4: Consolidate CLI product-line architecture

オープン
#526 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
rust
領域
cli

調査の方向性

Start by reading docs/architecture-improvement-plan.md and comparing the existing terraphim_agent, terraphim_cli, and terraphim_repl crates. The work requires an ADR decision, shared runtime extraction, incremental migration, and documentation of retained binary ownership. Done means duplicate runtime wiring is reduced and default and feature-enabled CLI builds pass their quality gates.

索引モデルが issue の本文から書いたものです。

説明

architecture enhancement

Parent: https://github.com/terraphim/terraphim-ai/issues/520
Related plan: docs/architecture-improvement-plan.md

Goal

Consolidate CLI architecture so terraphim_agent, terraphim_cli, and terraphim_repl share one runtime core and have clear product boundaries.

Deliverables

  • ADR defining CLI product-line strategy (single binary with modes vs multiple binaries with shared runtime)
  • Shared command runtime crate adopted by retained binaries
  • Removal of duplicated command/runtime wiring

Tasks

  • Evaluate existing overlap and decide target model via ADR
  • Extract common command execution/runtime logic into shared crate
  • Migrate binaries to shared core incrementally with compatibility checks
  • Document ownership and purpose of each retained binary

Acceptance Criteria

  • Clear ownership and purpose for each CLI binary in docs
  • Reduced duplicate runtime logic across CLI crates
  • Default and feature-enabled CLI builds pass quality gates
主要言語
Rust
スター
62
フォーク
5
平均マージ
2時間 27分
マージ済み PR(30日)
1

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

terraphim/terraphim-ai のほかの issue

terraphim/terraphim-ai の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。