Carolopedia

A public encyclopedia of Carolverse.

๐Ÿ“– Carolopedia โ€บ Droids โ€บ Orion's Session Command ReaderEntity page

Orion's Session Command Reader

Droid Cron every 10 minutes (:04, :14...) via shared machinery under Orion's own login (in adm, so it may read the system journal); reads sshd's own 'Starting session' entries for every sign-in an Orion session is bound to, each tied to the sign-in through root's records (logind's start of the sign-in, root's sshd naming the connection's child), and records only the sign-in, login, moment and kind in its own records through shared machinery; prints one JSON receipt; --dry-run records nothing

๐Ÿ“–Purpose

Ninad, CLI-786 (Rulings Repo communications #408): an operator's minutes worked count each command their Orion session runs over its own sign-in, read from the record sshd writes at the time, never backfilled, never its text. The journal is closed to the Operator Instance Log's login, so this reader records it.

๐Ÿ“–Duties

- Every 10 minutes, read the commands each bound sign-in started since the last run, with an overlap the journal cursor counts once
- Count a command only through the chain to root's records; never words any login could have logged
- Keep only the sign-in, the login, the moment and the kind; never the command, its arguments, a subsystem's name or the address
- Never read before recording began; say a sign-in that cannot be chained (signal), never count it

๐Ÿ“–Constraints

Runs only as Orion's own login (orion); reads the journal and the Logbook read-only; writes only its own record (its own records, DELETE journal, readable by every login); model-free.

Some source information is confidential and is not published here.

๐Ÿ‘คBelongs to

Source: Droid Families ยท Public information reflected here.