Skip to content

The platform's leaves stop choosing an account: a manager's command runs as its logon's account, and the broker elevates #1168

Open

Description

@David-Noble-at-work

Problem

Ruled 2026-10-24: the account belongs to the logon, and the broker elevates to it. Lane 2 (#1143) did the opposite: each package and service manager command names its account, apt, dnf, pacman and systemd AccountRoot, brew AccountCaller, and op.PlatformRunner passes that to the broker, which elevates per command.

Solution

The leaves stop choosing an account; a manager's command runs as the account of the logon it sits in, or the caller's outside one. How a root-needing pkg.install written without an account gets root waits on the owner's ruling, #1159's outstanding question 4: the author wraps it, or the planner does, with lane 7 (#527) reframed so the backend declares the need and the logon meets it.

Evidence of completion

  • No pkg/platform leaf names an account; op.PlatformRunner takes it from the logon
  • A pkg.install that needs root runs as root by the ruled path, and is refused by name otherwise

Plan and design documents

Kind Document
Plan Not yet opened
Design docs/architecture/6.2-process-pool.md

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