Getting started
Terminal retirement — local implementation, 2026-10-20
Section titled “Terminal retirement — local implementation, 2026-10-20”The current working tree removes interactive terminals and Redis while preserving command/script Remote Actions and authorized session/transcript history with existing retention. Admin has a read-only history viewer; Core advertises no terminal capability and legacy terminal operations cannot create work. This implementation is local and awaits user testing; older published implementation descriptions below remain historical. See the retirement plan and evidence.1
Prerequisites
Section titled “Prerequisites”- Node.js 22 or a compatible supported release declared by the repository.
- pnpm 9.15.4 or compatible 9.x release.
- Docker with Docker Compose.
- Git.
- A current stable Rust toolchain for native development; the GUI declares Rust 1.90 minimum (Core/CLI: 1.89). The updater is pinned to the official ZIP security fix; see the qualification evidence.
- For
pnpm migration:baselineonly: authenticatedkubectl/Google Cloud CLI and thedigDNS utility. The command collects bounded metadata without changing cloud resources.
pnpm installcp .env.example .envpnpm docker:devpnpm db:migratepnpm devBefore using .env.example, confirm that it contains placeholders only. Never copy or commit provider credentials into an example file.
Development services
Section titled “Development services”| Component | Default location |
|---|---|
| Backend | http://localhost:3001 |
| Admin | http://localhost:3002 |
| Desktop | Tauri window over the local MonStaff Core |
| MinIO API | http://localhost:19010 |
| MinIO console | http://localhost:19011 |
| PostgreSQL | localhost:15432 |
The loopback host ports avoid collisions with Lexguard. Override MONSTAFF_POSTGRES_PORT, MONSTAFF_MINIO_API_PORT and MONSTAFF_MINIO_CONSOLE_PORT if necessary, and update DATABASE_URL/S3_ENDPOINT to match. Integration tests discover dynamic ports and do not use the development database.1
Common commands
Section titled “Common commands”pnpm devpnpm dev:backendpnpm dev:desktoppnpm dev:adminpnpm buildpnpm db:generatepnpm db:migratepnpm db:studioThe current root test and lint commands are not reliable quality gates; see contribution and quality before interpreting their exit status.
First functional flow
Section titled “First functional flow”- Start infrastructure and apply migrations.
- Start the applications.
- Authenticate through GitHub.
- Select or configure an organization and GitHub-backed project.
- Start a desktop timer against a project and optional issue.
- Stop the timer and review entries, activity and screenshots in the admin.