Citadel v2 is a local-first Linux operator cockpit for repositories, workspaces, tmux-backed agent runtimes, providers, hooks, MCP, and operational activity.
make setup # pnpm install
make deploy # detached HMR stack (daemon + vite); prints the cockpit URL- Daemon (REST/SSE/WebSocket, serves built web):
http://127.0.0.1:4010for the systemd long-term install; worktree dev uses derived ports4110–4209. - Vite HMR cockpit (worktree dev):
5210–5309. - Default config:
~/.local/share/citadel/citadel.config.json - Default SQLite DB:
~/.local/share/citadel/citadel.sqlite
The daemon binds 127.0.0.1 by default for local-first use. See docs/operations/worktree-development.md for the full mental model.
make install # install latest released tag and refresh systemd --user units
make upgrade # reinstall/upgrade to latest released tag
make install REF=main # development install from latest origin/main
make upgrade REF=v0.3.0 # install a specific annotated release tag
make doctor # verify everything is configuredSee docs/operations/install.md for pre-requisites, HTTPS setup (mkcert recipe), and verification details.
make check
make smoke
make e2eCitadel uses pnpm, strict TypeScript project references, Biome, Vitest, Playwright, SQLite, tmux, REST/SSE for app state, and a dedicated WebSocket for terminal I/O.
Citadel is source-available under the PolyForm Perimeter License 1.0.1. Commercial use is allowed when it does not provide a product or service that competes with Citadel. Redistributions must preserve the required notice pointing to the original repository.