Local components
Request flow
Local IPC
The CLI communicates withryed over a local IPC socket. Commands such as rye up, rye down, rye status, and rye daemon stop send JSON requests to the daemon.
The CLI starts the daemon automatically when needed. You can also manage it directly:
Policy sync
Rye starts with a local default policy. When connected, the daemon syncs policy snapshots over gRPC. Policy snapshots are:- Validated before use.
- Cached in SQLite.
- Applied atomically.
- Acknowledged back to the server.
- Reused locally if the network is unavailable.
Data retention
Rye stores captured data locally before upload. The default retention limits are:- 7 days by age.
- 512 MB by local database size.
- Retention checks every hour.