Repository navigation
Description
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
- 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."
- 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, theverbosityconfig). - 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). - 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.
- 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.Statuswhile running,cli.Emitonce at the end). - 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)
- 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
levelandtext; § 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 onfeature/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
- Fourteen specifications carry the rulings of 2026-10-23 and 2026-10-24, stated in prose, attributed and dated, and the body matches them: 2.8, 2.7, 6.2, 6.3, 2.3, 5.3, 2.6, 6.1, 10, 3.5.8, 3.5.9, 6, 3.4 and configuration.md; 2.7 § Open 10 closed; the outstanding design questions recorded where each belongs
- The plan for The console stream never drops a frame: a slow subscriber receives every one, late, and the child is never blocked on it #1131 is rewritten to its rescoped task
- Every piece of work the rulings imply has an issue: A narration frame is the child's stderr bytes, written into the caller's narration sink unaltered: no level, no line splitting #1151, writ repo set writes git's narration past the Narrator, so --silent does not silence it, and gitRun folds git's stderr into its result #1152, The command provider's actions return (string, error): stdout as the result, a non-zero exit as an error carrying its code #1153, The command provider emits each exec's start and end, with its exit code and duration, as events for observers #1154, The broker relays a posted subgraph's narration to the app as it is written and returns its result when the run ends #1155, The subgraph-runner: devlore runs a posted logon subgraph through the graph executor, narration to stderr under the app's flags, result to stdout once, events to fd 3 #1156, plan.logon, the fifth combinator: the boundary at plan time, the posted graph at run time, CompensateLogon #1157, Where a logon subgraph's trace and recovery stack live, local and remote: centralized or distributed (for ruling) #1158, 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, The console stream never drops a frame: a slow subscriber receives every one, late, and the child is never blocked on it #1131, and the iteration features Iteration 2: the broker leaves the app's process, streams narrations back as they come and returns the result when the run ends #1149 and Iteration 3: the subgraph-runner runs a posted logon subgraph as its account, the way the graph executor does #1150; the schedule Schedule: the execution model, iteration 1 #1127 names the iteration-1 ones
Activity
[-]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[/+]doc(architecture): the execution model takes the rulings of 2026-10-2…
doc(architecture): 2.7 gains the channels, the wire protocol and the …