pigit Runtime Architecture

pigit Runtime Architecture An architecture diagram generated by Archify. User · Terminal / TTY · Architecture component User Terminal / TTY entry · pigit / g / r · pigit process · layered bootstrap entry pigit / g / r layered bootstrap Context · config · executor · pigit process Context config · executor PigitApplication · panels · palette · undo · pigit process › TUI presentation PigitApplication panels · palette · undo termui · Component · AsyncTask · pigit process › TUI presentation termui Component · AsyncTask CLI handlers · cmd · repo · open · pigit process CLI handlers cmd · repo · open GitApi · rev-parse · porcelain · pigit process GitApi rev-parse · porcelain ObserveHost · StatMtime · batch · pigit process › TUI presentation ObserveHost StatMtime · batch ManagedRepos · repos.json · pigit process ManagedRepos repos.json git CLI · subprocess · Architecture component git CLI subprocess keys / args TUI CLI paint / focus after_start repo * exec pigit process TUI presentation Legend Frontend Backend Database Message bus External

Layered entry

  • • Module load only bootstraps config + Context
  • • before_hook runs for TUI / count / repo only

Shared core

  • • TUI and CLI share GitApi and the executor
  • • termui owns keyboard, overlay, and AsyncTask

Boundaries

  • • Real git always runs outside the process
  • • Observe attaches via App after start — no frozen first frame