Lightweight local app and recovery
Today, Remediation and Memory open from reads the capture service prepared, and Memory's Brain library says how old its read is. Closing the window leaves capture running. When the service stops, the server crashes or the network drops, the app says so in fixed words, and team delivery resumes from the last batch the server acknowledged.
Watch it
Read the narration
- 0:00 You open the app, and every page starts reading from scratch.
- 0:06 Today, Remediation and Memory open from a prepared read;
- 0:09 the Brain library says how old it is.
- 0:13 Close the window and capture keeps running; the server stops only if you ask.
- 0:18 A stopped daemon is restarted, and a crash loop is named.
- 0:23 Rolling back checks the database first,
- 0:25 then pauses updates until you resume them.
Synthetic example. Read the guide
How to
The RepoOps desktop app, v0.3.3 or later, with at least one tracked repository.
- Keep the capture daemon running.
Settings, Capture daemon, Run the background capture daemon is on by default. The app starts it at launch and restarts it within about a minute if it stops. After each capture cycle the daemon prepares the first reads of Today, Remediation, and Memory's rule adherence table and Brain library, for your primary repository and any repository you opened a page for in the last day, at most three a cycle. Attribution, AI Security and Cost read their data when you open them.
- Read where the Brain library's index came from.
Memory's Brain library is the page that says it opened from a prepared read: Read from the index the capture service prepared 4 min ago. A read more than a minute old adds refreshing it in the background now. With nothing prepared, it reads Read by walking the brain folder on this machine, with the reason when the server gives one. Today and Remediation open from their prepared reads the same way, without a line saying so.
- Open This machine when something looks wrong.
The tiles read daemon uptime, the last capture, the queue and disk free. The Capture daemon health card lists the warm artifacts and what the daemon reports each cycle: memory and loop lag, each cycle's runs and durations, the job worker, and records the receiver quarantined. A number the daemon has not reported reads not reported, never zero. For the daemon's last error, open Daemon status in the tray.
- Close the window instead of quitting.
Capture continues, and the local server stays up. If you turned on Stop the local server when no window is open in Settings, Desktop server, the server stops that many minutes after the last window closes and the tray reads Server stopped while no window is open; capture continues. Show dashboard starts it again, and the first page waits while it starts.
- Turn on Cloud sync to send your events to your team.
With the device bound to a team, turn on Cloud sync on Privacy and egress. Its table lists each tracked repository, whether it sends, when it was last pushed (never, before the first batch lands) and the last error. On Setup, Connect to team reads Publishing: First push pending until the first push, then Streaming with the time of the last push.
Use cases
The morning after a restart
- Situation
- The laptop rebooted overnight. You open the app on Today with one tracked repository.
- You do
- Open Remediation, then Memory's Brain library.
- You see
- Today and Remediation open from the reads the capture service prepared, without a scan of the case store, and refresh them in the background. The Brain library reads Read from the index the capture service prepared 12 min ago, refreshing it in the background now.
A laptop that stopped reporting
- Situation
- An admin asks why your laptop has sent nothing to the team for two days.
- You do
- Read the daemon line in the tray, then This machine and the Cloud sync table on Privacy and egress.
- You see
- The tray reads Daemon: off (crash loop): the app restarted the daemon five times in 30 minutes and it stopped each time. Daemon status in the tray names the last error. Once the cause is fixed, Daemon: Start in the tray clears the limit, the next cycles deliver from the cursor, and each repository's Last pushed time on Cloud sync moves to the current minute.
Expected outcome
Next step: Wait a minute for the app to restart it, or use Daemon: Start. If the tray reads Daemon: off (crash loop), read the last error in the tray's Daemon status first.
Next step: The daemon has not finished a pass for it, the repository is not one of the three it prepares, or the read is over 512 KB and is never kept. Nothing to fix; the page reads its data when opened.
Next step: The watchdog is restarting the server. Wait, or press Retry now.
Next step: The server crashed five times within a minute, so the app stopped restarting it. Read server.log in the data directory, at the path the screen shows.
Next step: The last send failed, so the cursor stays where the receiver last acknowledged and the next pass sends from there. Check the network and the binding.
What else to consider
Desktop isolated mode
With Settings, App, Desktop server, Run my own separate server on (the default, including on upgrades), the desktop app never attaches to a server you run from source. It starts its bundled server on a free port found by a scan from 4100, clear of the 4000 range a dev server uses, with its own data profile beside your standard one (repo-dashboard becomes repo-dashboard-desktop, and an explicit REPO_DASHBOARD_DATA_DIR gets the same suffix). On its first start it copies your accounts, tracked repositories, settings and the data directory's .env; telemetry and caches start fresh, and history stays in the original profile. A partial import is not rolled back and does not run again once the profile has a database. Turning the switch off lets the app attach to a server already running, but only one with the same version and build; a mismatch stops startup. Either change applies after Restart RepoOps to apply.
What keeps running with the server stopped
While the server is stopped the daemon also runs what the server did for your team: the telemetry and agent trace stream, transcript requests (the tray badge still counts them), operator configuration, the team policy refresh, license renewal, the retention sweeps, the hosted rollups, fleet control, prevention sync, the session signals scan, production error imports, the nightly brain passes, the opt-in captures and syncs, and your team's decisions on local cases. What only serves pages, such as the repository mirrors, catches up when the server starts. Set REPOOPS_DESKTOP_SERVER_IDLE_MIN to change the wait, or to 0 to keep the server running.
Settings you can change
In the data directory's .env: REPOOPS_PAGE_PROJECTIONS=0 stops preparing pages; REPOOPS_PAGE_PROJECTION_REPOS (default 3, one under memory pressure) and REPOOPS_PAGE_PROJECTION_RECENT_HOURS (default 24) set how many repositories are prepared and for how long a repository you opened stays on the list. In the environment: REPOOPS_DAEMON_DISABLED=1 pins the daemon off, and REPOOPS_DAEMON_MEMORY_CEILING_MB overrides its ceiling of half of RAM, at least 2048 MB.
Limits
The app restarts the daemon only while the app itself runs; after Quit nothing restarts it unless it was installed as a service (npm run daemon:install from a source checkout). Nothing counts queued records, so the Queue tile on This machine reads not measured. Nothing has been measured on a 4 GB machine. Preparing and opening pages makes no model call and no GitHub request; on one laptop with 96,000 synthetic cases Today loaded in 1.1 s from a prepared read and 3.0 s without one.
Updates and your data
Prepared reads are stored in the data directory, owner-only, and replaced on each preparation; nothing prepared leaves the machine. The data directory survives updates, rollbacks and uninstall. Update RepoOps covers a failed update and rolling back.