Skip to content

plan.logon, the fifth combinator: the boundary at plan time, the posted graph at run time, CompensateLogon #1157

Open

Description

@David-Noble-at-work

Problem

plan.logon, the fifth combinator, was ruled 2026-10-22 (2.3 § Ruled 2026-10-22): a subgraph that produces at plan time, and executes at run time, a graph in a local or remote logon, "the rough equivalent of sending a script to sudo", with a lore package lifecycle operation as a second use case. No issue tracks building it.

Solution

As 2.3 specifies: the plan-time boundary (inputs and outputs from the sealed bindings), the catalog slice, the account and host arguments; at run time the body re-rooted as a signed graph, posted through the broker, the result decoded into the unit's output (#1149's relay), CompensateLogon for the undo. How the trace and recovery stack cross the boundary waits on its own ruling ((#1158)).

Evidence of completion

  • writ's System tree deploys as plan.logon("root", …) (David-Noble-at-work/personal#289)

Plan and design documents

Kind Document
Plan Not yet opened
Design docs/architecture/2.3-orchestration-primitives.md § Ruled 2026-10-22

Activity

  1. David-Noble-at-work commented on Oct 24, 2026

    @David-Noble-at-work
    ContributorAuthor

    Ruled 2026-10-24 (#1159's plan, rulings 8 to 10): the logon carries the account, and every command inside runs as it; the broker elevates to it with its own privileges. plan.logon(account, host=None) keeps the two arguments: the account is policy and belongs in the graph, the host is the environment's, a variable, a promise or a configured default, and no host means this machine. The account a subgraph runs as is not the account SSH logs in with. A processor is identified by its host and account, shown as account@host; the subgraph is its payload, and the broker supplies the executor at the app's version. Subgraphs run in parallel on one elevated executor, so its per-run state is keyed by run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions