Skip to content

doc(architecture): the execution model takes the rulings of 2026-10-23 and 2026-10-24: three streams, the command provider, the logon's account and host, SSH - #1173

Merged
David-Noble-at-work merged 20 commits into
developfrom
chore/1159-stream-rulings
Oct 24, 2026
Merged

David-Noble-at-work merged 20 commits into
developfrom
chore/1159-stream-rulings

Conversation

@David-Noble-at-work

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

Copy link
Copy Markdown
Contributor

Summary

The rulings of 2026-10-23 and 2026-10-24 land in the specifications, each stated in prose, attributed and dated, with the body corrected to match. No code.

  • 2.8, eventing. Three streams for three audiences: narrations (stderr, users), outputs (stdout, users and machines), events (observers). A program's stderr is narration, whole and unread, replacing the quiet-level ruling of 2026-10-21. Diagnostics are events. Every devlore component emits through OpenTelemetry natively, and the programs it runs are invited through the OpenTelemetry environment and otel-cli. A worked example: a logon to a shell script that reports through otel-cli, with a diagram of every event source.
  • 2.7, the broker. The logon pipeline, app ⇒ broker ⇒ subgraph-executor: narration streamed back as bytes, the result returned once at the end. The account belongs to the logon and the broker elevates. Processors are named by host and account. The remote leg is SSH with a bundle; the TLS remote leg and its token are withdrawn. § Open 10 answered; § Open 16 to 20 added.
  • 6.2, the command runner. The subgraph-executor; the pool keyed by host and account; per-run state for parallel subgraphs; narration as bytes; events through OpenTelemetry; fd 3 reopened; how to configure the broker's account.
  • 6.3, command execution. The command provider's result, (string, error); its interface, Run, Script, Exec, Which and Options, with governance while a program runs; the account on the logon; fork and exec explained for a reader who knows Windows.
  • 2.3 plan.logon(account, host); 5.3 the recovery site across a logon, open; 2.6, 6.1, 3.4 the account on the logon and the elevation on the broker; 6 SSH restored; 10 § 5 events as their own stream; 3.5.8, 3.5.9 superseded by the command provider; configuration.md, 3.2 the authz provider's token brokers.
  • The plan, docs/plans/chore/1159-stream-rulings.md, is complete: twelve rulings, the outstanding design questions in one list, and the issues for the work, Iteration 2: the broker leaves the app's process, streams narrations back as they come and returns the result when the run ends #1149 to Shell scripts take part in the event bus through otel-cli, installed with devlore #1172.

Test plan

  • Thirteen retired phrases searched across docs/architecture; what remains is dated citations of the old text
  • make quality-gate, make lint-all and make test-race pass on the committed tree

Resolves #1159.

Written with AI assistance.

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

Time

Marker UTC Elapsed
opened (first commit) 2026-10-24T01:38:56Z —
submitted (PR opened) 2026-10-24T22:27:32Z 20.8 h after opened
merged 2026-10-24T22:47:11Z 0.3 h after submitted; 21.1 h in all

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

…t and host, the processor's identity, SSH's configuration; the outstanding questions in one list
…r whole, diagnostics as events, OpenTelemetry natively (#1159)
…y host and account, says how to configure the broker's account (#1159)
…ace: Run, Script, Exec, Which, Options, governance, fork and exec (#1159)
…r whole, diagnostics as events, OpenTelemetry natively (#1159)
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