H2 K: the have keeps its run's pipeline; the composition answer says drift

A want's run is ordered only within its pipeline, so the have, the record of
what the engine applied, keeps the pipeline of the want it was applied from
beside its run; and the composition answer's drift, the directory entries
the mesh made whose owner or mode on disk differ, is the contract's own
rather than the engine's private shape. Both land in one release, so the
seat's form rises once, to 4. Generated with mesh-delivery's seatgen (built
from b65b6173's source); seatgen -check clean in all five folders. Fixture
rows: a have naming its run and pipeline, and a composition answer with drift.

Builds: design 47 H2 §813 (1); H-A-429 (1), H-A-392 (b), H-A-458 (1), H-A-458 (2), H-A-458 addendum
This commit is contained in:
2026-11-22 02:55:51 +01:00
parent 2dfdcc3316
commit 8f2bed18e5
6 changed files with 92 additions and 8 deletions
+13
View File
@@ -887,6 +887,15 @@ export interface CompositionAnswerAttempt {
"want_revision": number;
}
export interface CompositionAnswerDriftItem {
/** how its owner or mode on disk differ, in words */
"drift": string;
/** the directory entry's id in the composition */
"id": string;
/** its path on the machine */
"path": string;
}
/** what the module's have key says now; absent when it says nothing */
export interface CompositionAnswerHave {
/** digest */
@@ -984,6 +993,8 @@ export interface CompositionAnswer {
"composition": Revision;
/** every resource that differs from what runs, when asked */
"diff"?: Record<string, unknown>[];
/** when the diff is asked, each directory entry of what runs that the mesh made, as its record holds, whose owner or mode on disk differ from it (H-A-392 (b), H-A-458 (2)): read-only; the engine sets it right at its next start or apply of the module */
"drift"?: CompositionAnswerDriftItem[];
/** is the form of what this value carries, left out while it is 1 (design 47 H2 §780). */
"form"?: number;
/** what the module's have key says now; absent when it says nothing */
@@ -1339,6 +1350,8 @@ export interface HaveByNodeModuleValue {
"kept"?: string[];
/** how far it has come */
"phase": "backing-up" | "applying" | "checking" | "running" | "failed" | "removed" | "held" | "waiting-yes";
/** the pipeline of the want the module was applied from, its key <branch>.<source>, beside its run (H-A-429 (1), H-A-458 (1)): a want's run is compared with this run only when the want names the same; absent for a want in none */
"pipeline"?: string;
"pull-wait"?: PullWait;
/** the composition run's pipeline sequence, in decimal, the module was applied from (design 47 H2 §813 (1), H-A-388): a restarted engine applies no older run again */
"run"?: string;