Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/pi-register/blob/main/README.md # pi-register aien-dev/pi-register Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `pi-register / README.md` 46 lines ยท 3971 bytes Raw Blame History Source # pi-register A register of the services on a Linux server (Debian/Ubuntu with systemd), so one command tells you what the machine runs and why. Supports Sovereign Intelligence (SI) , the whole system. AienOS is the operating-system layer; Aienux is the AienOS kernel. This is an operations tool, not part of the system itself. The checked-in `register.toml` is a generic Debian/Ubuntu example, not an inventory of a deployed machine. Fields: name, purpose, unit, category, owner, port, depends_on, files, secrets (a path only, never the secret), health (a shell command that exits 0 when healthy), boot, notes. Required: name, purpose, unit, category, owner, boot. The rest are optional. A `unit` without a suffix means `.service`; write `.timer`, `.socket` and so on in full. `depends_on` and `files` are recorded and shown, not enforced. ## Commands - `pi-register status`: table of every service, whether its unit is active, enabled at boot, and healthy. - `pi-register show `: everything known about one service. - `pi-register start|stop|enable|disable `: wraps systemctl; unknown names are refused. - `pi-register check`: every registered unit must exist; enabled service units not in the register are listed as UNREGISTERED (base-system units are ignored via a built-in list; timers and other unit types are not scanned for unregistered ones). Exits with an error if any problem is found. - `pi-register doc`: prints a Markdown page describing the machine. Register location: `--register `, else `/etc/pi-register/register.toml`, else `./register.toml`. ## Private deployment configuration For a new machine, copy the example to the ignored `register.local.toml`, restrict it to mode 600, and edit it to describe that machine. Invoke it explicitly: ``` install -m 600 register.toml register.local.toml pi-register --register register.local.toml doc ``` `register.local.toml` is not an automatic lookup location. Use `--register register.local.toml` in local scripts and operator commands. For an installed deployment, keep the real register at `/etc/pi-register/register.toml` (mode 600, owned by the intended operator); the existing default lookup then needs no command changes. Existing deployments: before updating a checkout, preserve the complete real register outside git with mode 600. Restore it as `register.local.toml` and migrate any caller that explicitly names the checkout's `register.toml` to `--register register.local.toml`, or install the preserved register at `/etc/pi-register/register.toml` and remove that explicit flag. Do not replace a deployed register with the public example. Preserve all health commands, boot values, paths and targets in the private copy; inspect `doc` output privately to confirm it loads. `doc` reads configuration only and does not execute health commands or call systemd. Never commit local service inventories, home paths, internal hosts, network targets or secrets. The public example intentionally has no health command; adapt it before operating services. This migration changes the example only, not CLI lookup semantics. Build: `cargo build --release`. `pi-register` itself makes no network calls; the `health` commands in the register run in a shell and may. License: AGPL-3.0-or-later (see LICENSE). ## Human-Directed Agentic Engineering Development follows Human-Directed Agentic Engineering (HDAE): humans define goals, architecture, constraints, acceptance criteria, and stopping points; agents implement, execute checks, diagnose failures, and revise within those boundaries. Human review retains responsibility for claims, acceptance, and release decisions. For the documented method and a systems-software case study, see Gregory M. Kurtzer, *Ginux: Building an Independent Kernel That Runs Linux Userspace through Human-Directed Agentic Engineering* (2026), https://doi.org/10.5281/zenodo.`23682548` .