Skip to main content

Crate planarian_ipc

Crate planarian_ipc 

Source
Expand description

The daemon’s Unix-socket protocol (/run/planarian/planariad.sock).

One newline-terminated JSON Request per connection, answered by one JSON Response. The caller’s identity is never part of the request: the daemon takes it from SO_PEERCRED (§11).

Structs§

ApprovalDiff
§16 (owner decision, Nov 2): the configuration a generation transition that asks would apply, as a person sees it in planarian approve, the console and the notice, and as an agent reads it (approve --json).
Choice
ConsoleReport
GraphEdge
GraphNode
One node of the console’s Graph view: what is desired, what is observed, and how healthy it is, kept apart (three indicators, not one colour).
LogLine
OptionChange
Pending
RemovedUnit
StatusReport
TxnSummary
One transaction in the console’s Timeline view.
UnitRow

Enums§

Request
Response

Constants§

SOCKET

Functions§

change 🔒
first 🔒
leave_alone 🔒
sensitivity_kinds
A sensitivity by name, most significant first; “Routine” when it is nothing else.
status_words
A unit status in words.
value 🔒
waiting_words
A transaction that is parked by design, in words (§12f, I12): never shown as work in progress or as a failure.