Commit graph

12 commits

Author SHA1 Message Date
Bryan Helmkamp
fba1dd380a plan 2026-04-07 18:37:59 -04:00
Bryan Helmkamp
9234925d42 plans 2026-04-07 17:18:42 -04:00
Bryan Helmkamp
27cc8c75eb plans 2026-04-07 16:05:21 -04:00
Bryan Helmkamp
33d07b39a7 plans 2026-04-07 16:05:11 -04:00
Bryan Helmkamp
5ece2f915e plans 2026-04-07 10:30:40 -04:00
Bryan Helmkamp
3052fbac88 plan 2026-04-06 10:43:41 -04:00
Bryan Helmkamp
729a5bdda6 plans 2026-04-06 10:17:30 -04:00
Bryan Helmkamp
2e2197b722 plan 2026-04-05 11:03:02 -04:00
Bryan Helmkamp
bf2b6ba701 refactor(cli): route run state through the shared server daemon
Move durable run access and execution control onto the server-backed client,
canonicalize run APIs under /api/v1/runs, and switch CLI integration tests
to a shared test daemon/storage model with shared-state-safe assertions.
2026-04-05 00:15:33 -04:00
Bryan Helmkamp
1189cddd25 refactor: simplify run event representation 2026-04-04 12:59:42 -04:00
Bryan Helmkamp
0c7bb831b3 docs 2026-04-03 06:45:25 -07:00
Bryan Helmkamp
af2a1e4f6d Add server daemon management with Unix socket support
Transform `fabro server` from foreground-only TCP into a proper daemon:
- `server start` launches background daemon with flock-based locking
- `server start --foreground` retains current blocking behavior
- `server stop` sends SIGTERM, waits, escalates to SIGKILL
- `server status` reports running/stopped with PID, bind, uptime (--json)
- `--bind` replaces `--host`/`--port`, supporting Unix sockets and TCP
- Default bind is `{storage_dir}/fabro.sock` (Unix socket)
- Hidden `__serve` subcommand for daemon child process lifecycle
- Graceful shutdown via SIGTERM/SIGINT signal handlers

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 10:40:19 -07:00