Repository navigation
Description
Feature Summary
Spinning up the local dev stack today means juggling several terminals: docker compose for infra, sbt dist plus six launcher scripts for the JVM services, cd agent-service && bun run dev, cd frontend && yarn start. Bouncing one service after a code change means tracking down the right terminal. There's no single view of "is everything up, what's dirty, what's running stale code."
Proposed Solution or Design
A self-contained dev stack manager under bin/:
bin/local-dev.sh — single shell script that knows the whole steady-state workflow:
up/down: bring the entire 14-service stack up or down (5 infra docker containers + 7 JVM services + agent-service + frontend)auto: rebuild + bounce only the services whose source actually changedstart <svc>/stop <svc>/<svc>: per-service ops (the bare form rebuilds + bounces one JVM)status(default) /logs <svc>/-ifor the interactive TUI- Skips
sbt distwhen nothing changed (per-service content-hash check, robust togit checkoutmoving mtimes) - Pre-bounces running JVMs before
unzip -oso overlapping unzips don't corrupt live class loading - Source-dependency closure parsed from
build.sbt— editingcommon/workflow-operator/srconly marks services that actually depend on it - All toolchain locations (JDK 17, Python, Node, yarn, bun) auto-detected with explicit "what we saw / what to install" diagnostics on miss
bin/local-dev-tui.py — matching Textual dashboard launched by bin/local-dev.sh -i:
- Live service table — state, port, PID, uptime, CPU%, memory, BUILD-needed indicator
- Animated
stopping... → building... → starting...per service during bounce - Log pane hidden by default; auto-shown for running commands and on failures; drag-to-resize
- Double-click a row → tail that service's log; double-click the banner → collapse the wordmark
↑/↓command history, persisted across sessionsESCexits log view;Ctrl-Ccancels active command, second press exits
Affected Area
Deployment / Infrastructure.
Metadata
Metadata
Assignees
Labels
No labels
Activity
feat(infra): add `bin/local-dev.sh` dev-stack manager + TUI (#5961)
docs(local-dev): fix stale comment claiming infra is unmanaged (apach…
docs(local-dev): fix stale comment claiming infra is unmanaged (apach…