contracts-node-engine-apply-order-and-word: the verb apply-order and the constant want:version on the seat node-engine

Generated with seatgen whose identifier function splits on ':' (H-A-64, the contracts-indexer-bridge developer's change in mesh-delivery-sdk/seatgen); seatgen -check passes only with it.

Builds: design 47 H §771, §772, H-A-45, H-A-46, H-A-63, H-A-64
This commit is contained in:
2026-11-20 02:31:20 +01:00
parent abf8b7d525
commit 1c910e9d10
6 changed files with 160 additions and 1 deletions
+29
View File
@@ -16,6 +16,7 @@ export declare const verbs: {
readonly compose: "compose";
readonly composeCandidate: "compose-candidate";
readonly manifestReads: "manifest-reads";
readonly applyOrder: "apply-order";
readonly seatList: "seat-list";
readonly seatListAgain: "seat-list-again";
readonly firstViews: "first-views";
@@ -378,6 +379,9 @@ export interface LoginFallback {
"why": string;
}
/** the word a node-engine states in manifest-reads when it reads a want by version and not by digests (design 47 H 772, H-A-45); the assigner holds a node whose engine does not state it. Other words in manifest-reads are free */
export type ManifestReadWord = "want:version";
/** what a node-engine says when what it reads changed or its node returned (ADR 0618 §4) */
export interface ManifestReadsChanged {
/** when it says it, RFC 3339 */
@@ -1028,6 +1032,31 @@ export interface ManifestReadsAnswer {
"v": number;
}
/** is what apply-order takes. */
export interface ApplyOrderInput {
}
export interface ApplyOrderAnswerOrderItem {
/** the module whose want waits to be applied */
"module": string;
/** the want's pipeline (its key); absent for a want in none */
"pipeline"?: string;
/** its place in the order, the first applied being 1 */
"position": number;
/** the mover's tier in its pipeline; absent for a want in none */
"rank"?: number;
/** the modules it waits on; empty when it waits for nothing */
"waits": string[];
/** why it stands there, in one sentence */
"why": string;
}
/** is what apply-order answers. */
export interface ApplyOrderAnswer {
/** one row per unapplied changed want, in the order it will be applied */
"order": ApplyOrderAnswerOrderItem[];
}
/** is what seat-list takes. */
export interface SeatListInput {
}
+1
View File
@@ -16,6 +16,7 @@ export const verbs = {
compose: "compose",
composeCandidate: "compose-candidate",
manifestReads: "manifest-reads",
applyOrder: "apply-order",
seatList: "seat-list",
seatListAgain: "seat-list-again",
firstViews: "first-views",