Skip to main content

Crate systemg

Crate systemg 

Source
Expand description

An agent-friendly general-purpose program orchestrator for busy people.

Modules§

charting
ASCII charting. ASCII charting for metrics visualization using our custom rasciigraph.
childfault
Failures a service’s child process reports across the fork boundary. Failures a service’s child process reports to the supervisor.
cli
CLI parsing. Command-line interface for Systemg.
config
Config loading. Configuration management for Systemg.
constants
Constants. Constants and configuration values for the systemg daemon.
cron
Cron scheduler. Cron scheduling for services.
daemon
Process daemon. Service management daemon.
diag
rustc-style diagnostics: structured, colored, actionable failure reports. rustc-style diagnostics for sysg.
doctor
Invariant oracle: check_world() and sysg doctor. Invariant oracle: check_world().
error
Errors. Error handling for systemg.
inspect
The inspect command’s plan layer, rebuilt from first principles. The inspect command’s plan layer, rebuilt from first principles.
ipc
IPC with supervisor.
logs
Log streaming. Module for managing and displaying logs of system services.
logs_cmd
The logs command’s plan layer, rebuilt from first principles. The logs command’s plan layer, rebuilt from first principles.
loose_registry
Durable record of the loose manifests a supervisor is managing. Durable record of the loose manifests a supervisor is managing.
metrics
Metrics.
migrate_state
Offline migration of legacy __loose__ state into per-manifest projects. Offline migration of legacy __loose__ state into per-manifest projects.
opslot
Current-operation tracking for the control plane. Tracks the supervisor’s current in-flight operation so reads can report what a busy mutation is waiting on instead of leaving the caller in the dark.
privilege
Privilege dropping. Privilege and resource management helpers for service spawning.
purge
The purge command, rebuilt from first principles. The purge command, rebuilt from first principles.
reaper
PID 1 wait broker for container-init mode. PID 1 wait broker.
restart
The restart command, rebuilt from first principles. The restart command, rebuilt from first principles.
runtime
Runtime paths and modes. Runtime paths and privilege modes.
sandbox
Kernel-enforced sandboxing (no_new_privs, Landlock). Kernel-enforced sandboxing (Linux only).
selector
The shared command selector (-s/-p) resolution. The shared command selector: how -s/-p/project/service flags resolve to a target set, identically for start, stop, and restart.
spawn
Dynamic spawn management. Dynamic spawn manager for tracking and controlling spawned process trees.
start
The start command, rebuilt from first principles. The start command, rebuilt from first principles.
state_store
Per-project on-disk state layout. Per-project on-disk state layout.
status
Status tracking. Status management for services in the daemon.
stop
The stop command, rebuilt from first principles. The stop command, rebuilt from first principles.
supervisor
Supervisor daemon.
upgrade
Workload-preserving supervisor upgrade protocol. Validation and diagnostics for workload-preserving supervisor upgrades.
validate
Configuration validation and diagnostics. Configuration validation with human-friendly diagnostics.
version
Reports this binary’s version alongside the resident supervisor’s. The version command: what this binary is, and what the resident supervisor is actually running.
xml
Indented XML serialization shared by state and command output. Shared XML serialization for persisted state and machine-readable output.