Skip to content

doc(architecture): the execution model takes the rulings of 2026-10-22: the logon, authz as token acquisition, plan.logon, the posted unit, fd 3, command - #1139

Merged
David-Noble-at-work merged 8 commits into
developfrom
chore/1138-logon-rulings
Oct 22, 2026
Merged

David-Noble-at-work merged 8 commits into
developfrom
chore/1138-logon-rulings

Conversation

@David-Noble-at-work

@David-Noble-at-work David-Noble-at-work commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Summary

The rulings of 2026-10-22, each in the specification that owns it, in a dated section the body is read against, the body corrected in place. No code.

  • 6.2, the command runner. A runner is a logon, not a uid; the service manager makes it, a service per account on every platform; devlore holds no credential and is never a key store; sudo -u is the Unix fallback under a sudoers rule; the on-demand setuid row is gone and Spike JEA: does headless Windows elevation exist at all? #528's token-path question dissolves. New § 4.4: the macOS login keychain exists only in a GUI session, so a LaunchAgent for a human account and a LaunchDaemon for a service account, declared; the commands that fail on a daemon runner; service accounts keep files and tokens, not a keychain; a scratch keychain for signing; a named failure at authorization, never a dialog; the iteration-3 acceptance test. fd 3 ruled: narrations to stderr, events to fd 3, the event stream planned.
  • 6.1, authorization. Separated from impersonation: a logon opens the operating system's and the network's resources, for accessing, protecting and claiming them; only a token opens devlore's own. authz is strictly token acquisition. Four open questions ruled: Epic: Rename op to workflow, then partition it #451 after, file operations under root inside plan.logon("root", …), op.ElevationOffer retired, the default offer dissolved; the headless case took its keychain answer.
  • 2.7, the broker. Unprivileged, holding no credential. § Open 1 ruled for the graph executor on the runner, option 2: "the ability to dispatch execution units to any device with a broker. The serialization boundary is the cost we pay for that." § The remote leg is the posted-unit protocol: a re-rooted signed graph out, a stamped stack back, the remote stateless, undo and resume by posting the trace, exit at the run-state machine's terminal with Stop forwarded.
  • 2.3, orchestration. plan.logon, the fifth combinator: a subgraph whose body executes in a logon, local or remote, through a broker, "the rough equivalent of sending a script to sudo"; its plan-time boundary, catalog slice and arguments; its run-time dispatch and CompensateLogon; writ's System tree and a lore lifecycle operation as its two use cases.
  • 6.3: the provider is command. 2.8: the fork paragraph follows fd 3. Every status companion says what moved.
  • The plan, docs/plans/chore/1138-logon-rulings.md, is complete; nothing deploys.

Test plan

  • make check passes in the worktree, the whole gate and the tests, after installing the pinned golangci-lint v2.14.0 on Media-Server
  • Every old passage the rulings retire was replaced by exact match; a mismatch aborted the edit until the wording was read

Resolves #1138. Schedule #1127's lanes 1, 4, 8, 9 and 10 no longer wait on rulings; its table says so.

Written with AI assistance.

Signed-off-by: David Noble [email protected]
Assisted-by: Claude Code

Time

Marker UTC Elapsed
opened (first commit) 2026-10-22T16:31:29Z —
submitted (PR opened) 2026-10-22T17:23:03Z 0.9 h after opened
merged 2026-10-22T18:41:21Z 1.3 h after submitted; 2.2 h in all

Computed by the algorithm of noblefactor-ops#188 at merge.

…option 2, plan.logon, authz as token acquisition, #451 after, command
…akes it, no setuid row, sudo -u the Unix fallback, § 4.4 the macOS keychain (#1138)
…thz is token acquisition, four open questions ruled; 6.3's provider is command (#1138)
…the event stream planned; 6.2 and 2.8 say so (#1138)
… the graph executor runs on the runner, the remote leg is the posted unit (#1138)
…dy in a logon, local or remote, through a broker (#1138)
@David-Noble-at-work
David-Noble-at-work merged commit ae87e6a into develop Oct 22, 2026
21 checks passed
@David-Noble-at-work
David-Noble-at-work deleted the chore/1138-logon-rulings branch October 22, 2026 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant