Skip to content

The execution model's specifications take the rulings of 2026-10-23 and 2026-10-24: three streams, the command provider's interface, the logon's account and host, SSH #1159

Closed

Description

@David-Noble-at-work

Under Epic #1118 and #449 too, whose specifications it touches.

Problem

The rulings of 2026-10-23, made in conversation with the execution-model session (schedule #1127), are in no document. The owner: "we must make sure that we capture the full extent of what we've discussed in the design documents. we must make sure that the plan cover the full design spec and that we have issues logged to cover all the work." Several passages the specs carry now contradict them.

The rulings to land

  1. Three streams, three audiences. "Narrations target users. Narration filtering is handled at the program level. You typically set it with an option on the command line, though it can be set in config." "Events target observers. These are people and machines that monitor activities. Observers subscribe to events. We will have many observers." "Outputs target users and machines. This is what people pay time and money for. Our output pipeline enables transformations that target users and/or machines in different ways."
  2. stderr is narration, all of it. "Anything written to stderr is assumed to be a narration and all narrations go through our narration stream: stderr." Nothing between the child and the caller's narration sink reads, labels, splits or drops it; a program filters its own by its flags (devlore's --silent, -v, the verbosity config).
  3. stdout is the product, all of it. Accumulated and returned with the exit code; a non-zero exit is an error; the command provider's actions are fallible, not compensable, (string, error).
  4. fd 3 is events, from our own children only; telemetry is an event type: diagnostics, metrics. The programs the command provider runs write none; the provider itself emits each exec's start and end.
  5. The pipeline app ⇒ broker ⇒ subgraph-runner is sourced from a logon subgraph; the runner runs it as the graph executor does, outputs to stdout, narrations to stderr, events to the event stream; the broker streams narration back as it comes and returns the result at the end, as writ does in-process today (env.Status while running, cli.Emit once at the end).
  6. The broker remotes through ssh. "when we come to remoting, we rely on ssh. I do not want to worry about installing brokers on every machine i touch." And: "we will remote through the broker using ssh. this means have a bundle that we can ship over the wire that ensure the graph runner is present (meaning that we can install it on any device), the subgraph is present, and we can execute under the account credentials. The shipment back is to be determined." (The broker remotes through ssh: a bundle ensures the subgraph-runner is present, the subgraph is present, and it runs under the account's credentials; the shipment back is to be determined #1160)
  7. Open, for the owner: the shipment back (The broker remotes through ssh: a bundle ensures the subgraph-runner is present, the subgraph is present, and it runs under the account's credentials; the shipment back is to be determined #1160); and where a logon subgraph's trace and recovery stack live, local and remote, centralized or distributed (Where a logon subgraph's trace and recovery stack live, local and remote: centralized or distributed (for ruling) #1158).

What contradicts them now

  • 2.8 § Narration vs. diagnostics, "A program's own stderr, ruled 2026-10-21": stderr as "diagnostics… narration at a quiet level". 2.8 § The three output streams and its OTel table place diagnostics with narration on Logs.
  • 2.7 § The wire, in detail and § Message reference: a narration frame of level and text; § Open 10 open; § The remote leg: the stamped stack on the control frame.
  • 2.7 § The remote leg, § Open 5 and § Open 8: the remote leg as the broker's HTTP/2 API over TLS with a token to a broker on the far machine, SSH "at most a tunnel or a bootstrap"; 2.7 § Ruled 2026-10-22 and 2.3: "any device with a broker".
  • 6.2 § 4.1 item 3: narration "one frame per line, a maximum line length… invalid UTF-8 replaced".
  • 6.3: the shell provider's result shape and exit-code question.
  • The plan docs/plans/task/1131-console-spool.md (committed on feature/1131-console-spool), wrong where it touches narration.

Widened 2026-10-24 to the rulings of that day: the command provider's interface (fork, exec, governance, options), the account on the logon and the elevation on the broker, a processor identified by its host and account, the logon's two arguments, and SSH's configuration being the user's. The plan carries eleven rulings and seven outstanding design questions.

Done when

Plan and design documents

Kind Document
Plan docs/plans/chore/1159-stream-rulings.md
Design docs/architecture/2.7-control-plane.md
Design docs/architecture/2.8-eventing-infrastructure.md
Design docs/architecture/6.2-process-pool.md
Design docs/architecture/6.3-command-execution.md
Design docs/architecture/2.3-orchestration-primitives.md
Design docs/architecture/5.3-recovery-site.md

Activity

  1. changed the title [-]The execution model's specifications take the rulings of 2026-10-23: three streams, three audiences; the command provider's result; the subgraph-runner pipeline[/-] [+]The execution model's specifications take the rulings of 2026-10-23 and 2026-10-24: three streams, the command provider's interface, the logon's account and host, SSH[/+] on Oct 24, 2026
  2. added 2 commits that reference this issue on Oct 24, 2026
    1d2095d
    d5a147f
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