C1c-1: the three build seats' verb output answers a run's answer in chunks

The part build-step gains the verb `output` (the ask and the call in, the ask and the chunk count out, marked chunks, read by the
askers of a run), and the fields output and output-object of step-ended name the run's answer inline or as an object the holder
keeps. The three seats' fixtures carry the verb; the generated Go and TypeScript follow.

Builds: design 47 G A-254, A-139, §712, §354

Claude-Session: https://claude.ai/code/session_01NcbgfGKaxw984XyAPfLm4h
This commit is contained in:
2026-11-12 09:34:48 +01:00
parent 6cbaa84c52
commit f06c9cf5fd
22 changed files with 243 additions and 17 deletions
@@ -13,6 +13,7 @@ export declare const verbs: {
readonly drop: "drop";
readonly keptArtifact: "kept-artifact";
readonly steps: "steps";
readonly output: "output";
};
export declare const accepts: {
@@ -143,6 +144,8 @@ export type LevelAnswerDigestPackagesItem = buildStep.LevelAnswerDigestPackagesI
export type LevelAnswerKeptItem = buildStep.LevelAnswerKeptItem;
export type LevelAnswerUnmetItem = buildStep.LevelAnswerUnmetItem;
export type ModuleTree = buildStep.ModuleTree;
export type OutputAnswer = buildStep.OutputAnswer;
export type OutputInput = buildStep.OutputInput;
export type Pause = buildStep.Pause;
export type PauseAnswer = buildStep.PauseAnswer;
export type PauseInput = buildStep.PauseInput;
@@ -11,6 +11,7 @@ export const verbs = {
drop: "drop",
keptArtifact: "kept-artifact",
steps: "steps",
output: "output",
};
export const accepts = {
@@ -9,6 +9,7 @@ export declare const verbs: {
readonly drop: "drop";
readonly keptArtifact: "kept-artifact";
readonly steps: "steps";
readonly output: "output";
};
export declare const events: {
@@ -432,9 +433,9 @@ export interface StepEnded {
"node": string;
/** never passed for a step that ran nothing */
"outcome": "passed" | "failed" | "nothing to run" | "could not run";
/** the step's output when it fits the message */
/** the run's answer (its program's standard output's last line) when it fits the event (design 47 G A-254) */
"output"?: string;
/** the output's object in the sender's sent store, when over the per-message limit (ADR 0666 section 16) */
/** the name of the object that holds the run's answer, kept by the build seat's holder, when the answer is over what the event carries (design 47 G A-254); read through the verb output */
"output-object"?: string;
"pipeline"?: string;
"rerun"?: boolean;
@@ -655,6 +656,22 @@ export interface StepsAnswer {
"steps"?: DetectedStep[];
}
/** is what output takes. */
export interface OutputInput {
/** the ask's id, the `output-object` of its step-ended naming it */
"ask": string;
/** 128 random bits the caller chooses: the subject token of this send's chunks and acknowledgements */
"call": string;
}
/** is what output answers. */
export interface OutputAnswer {
/** the ask's id */
"ask": string;
/** how many chunks are sent; 0 when this node keeps no answer of that ask */
"chunks": number;
}
/** is the body of the event step-ended. */
export type StepEndedEvent = StepEnded;
@@ -9,6 +9,7 @@ export const verbs = {
drop: "drop",
keptArtifact: "kept-artifact",
steps: "steps",
output: "output",
};
export const events = {