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

Offen
#526 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
25/100
Issue-Typ
Refactoring
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
rust
Bereich
cli

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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
Vorherrschende Sprache
Rust
Sterne
62
Forks
5
Ø Merge
2 Std. 27 Min.
Gemergte PRs (30 T.)
1

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus terraphim/terraphim-ai

Alle Issues in terraphim/terraphim-ai

Ähnliche Issues

Weitere Issues zu Rust

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.