The node-engine's have keeps the want revision it applied (design 47 H2 H-A-504 fourth addendum) #21
@@ -14,13 +14,13 @@ const Seat = "node-engine"
|
|||||||
|
|
||||||
// Form is the form of the seat's values, events and answers this contract was generated at (design 47 H2 §780):
|
// Form is the form of the seat's values, events and answers this contract was generated at (design 47 H2 §780):
|
||||||
// a reader of a value of another form says "form N, this reader knows M".
|
// a reader of a value of another form says "form N, this reader knows M".
|
||||||
const Form = 4
|
const Form = 5
|
||||||
|
|
||||||
// The forms and the digest of the fields this contract was generated from: the generator's compare fails a definition
|
// The forms and the digest of the fields this contract was generated from: the generator's compare fails a definition
|
||||||
// whose fields changed while its forms did not (design 47 H2 §780).
|
// whose fields changed while its forms did not (design 47 H2 §780).
|
||||||
const (
|
const (
|
||||||
generatedForms = "4"
|
generatedForms = "5"
|
||||||
generatedFieldsDigest = "AccessActAnswer=aba938323932 AccountsHanded=01f7505e0e41 Act=e6b24e6abd5f ActSaid=2bbc5ba1bb68 Acts=0f9a96c475ff ActsAnswer=ba7fb8de22ff Adoption=12d04d378fef ApplyOrderAnswer=24e631ec9059 ApplyOrderAnswerOrderItem=6cbde55cd9a7 Asked=9dc3b3e17562 AskedEvent=0e155c7e6cc6 AttachedNetwork=eb233c4eb030 BoundsByWhatIDValue=8fc4fb4c306c CandidateAdded=8a47761c2b87 CandidateAnswer=c4f359547d7c CandidateBodies=3212f3397a2f CandidateDiffers=eb09cbc3ccbd CandidateRefusal=e909c9f6cd19 ComposeAnswer=dc1b3a485ad8 ComposeAnswerPass=82e6b2612862 ComposeCandidateAnswer=dfbbe49d1170 Composed=a0496a1b4293 ComposedByNodeModuleFingerprintValue=c5232f26d312 ComposedByNodeNodeValue=92ce08a2aa61 ComposedEvent=c9a05c369a2d CompositionAnswer=47116fe980f9 CompositionAnswerAttempt=38f25294eb7f CompositionAnswerDriftItem=09b7f8553918 CompositionAnswerHave=2b07bbb37a49 CompositionAnswerJudged=ad566939781a CompositionAnswerOwn=a8154421db58 CompositionAnswerRuns=3a70c8e06e7e CompositionAnswerWant=aefc6253201d CompositionAnswerWithheldItem=28eae88e46de CompositionAnswerWithheldPartsItem=79f37133d5be CompositionDiffAnswer=b922d22f9cee CompositionDiffEntry=ac7c1fd3ea62 CompositionDiffResource=e31a58d6b2b5 ConvergedAnswer=378c6aea0436 DataByNodeModuleValue=155c8dd0a6e5 DeclaredGroup=22c955571ed0 DeclaredIdentity=442e5ea22995 DeclaredLibrary=234c8b6973d8 DoneEvent=0e155c7e6cc6 EntryAgainAnswer=1f1a24957164 EntryAgainAnswerAsked=bec32f015550 FailedUnit=4b7afe8c0f84 FindingAction=2bab6a7c8d3f FindingEvidence=f65231e1f862 FindingSubject=11e82b0a77d6 FindingsByKeyValue=41e93a483c67 FirstViewAgainAnswer=22627a4a4678 FirstViewAgainAnswerAsked=0fa827c2bc13 FirstViewsAnswer=3a1fe57c7be6 FirstViewsAnswerEntriesItem=8b117619ca3f FirstViewsAnswerWantsItem=d8cb80636647 HandOverAnswer=aba938323932 HaveByNodeModuleValue=b499318c2374 HaveByNodeNodeValue=9296a55d7aa6 HealthByNodeValue=03bfa8c83d5b JudgeDirectoriesAnswer=f590024f1e91 LoginFallback=78e280ece645 ManifestReadsAnswer=44ff978272b4 ManifestReadsChanged=fac832ea55d0 ManifestReadsChangedEvent=88e4af52759d Module=e604719b1fb3 NetworkHealth=3af75f8af8d7 NetworkPart=502939443fb6 NodeAccount=1faabd57fa41 NodeDirectory=12b7f58b657c NodeOwn=4fecee42b3c0 NodeRecord=13f2a683c1bf PackagesAnswer=e4128836129d PackagesAnswerKey=60572f6eefc3 PackagesAnswerKeyPackagesItem=955a58e4952f PackagesByNodeValue=4cdc8f8bdc58 PackagesByNodeValuePackagesItem=955a58e4952f PeerSeen=43e6f359f1aa PlacedDataItem=82d650fb9d31 ProcessBuild=133a0f6e81cf ProcessBuilds=32cfa418abfd ProcessBuildsAnswer=4ac4ce32fbeb PullWait=99288cc066ec RefusedEvent=0e155c7e6cc6 Revision=165e37beccf5 RootAccountVerdict=7a8c0d2e5b9a RootFreeAnswer=c83678c70792 RootVerdict=0855e131d15c Running=8a19fd7f6446 RunningEvent=f3d8fedcfd51 Said=634cca3367f2 SealedBox=2c687c69b978 SeatList=248a1dc3029b SeatListAgainAnswer=8eb7fbcb7018 SeatListAnswer=8eb7fbcb7018 SeatListHeld=6b5c0f8ddcc2 SeatListStatus=bfbb572c49dd SetuidSearchAnswer=f590024f1e91 UnitsHealth=0d9cf7be9bc7 UserListWritten=caae94077890 Wait=fc85cf95ac27 WaitEndedEvent=2bf6d38041c0 WaitHeldEvent=2bf6d38041c0"
|
generatedFieldsDigest = "AccessActAnswer=aba938323932 AccountsHanded=01f7505e0e41 Act=e6b24e6abd5f ActSaid=2bbc5ba1bb68 Acts=0f9a96c475ff ActsAnswer=ba7fb8de22ff Adoption=12d04d378fef ApplyOrderAnswer=24e631ec9059 ApplyOrderAnswerOrderItem=6cbde55cd9a7 Asked=9dc3b3e17562 AskedEvent=0e155c7e6cc6 AttachedNetwork=eb233c4eb030 BoundsByWhatIDValue=8fc4fb4c306c CandidateAdded=8a47761c2b87 CandidateAnswer=c4f359547d7c CandidateBodies=3212f3397a2f CandidateDiffers=eb09cbc3ccbd CandidateRefusal=e909c9f6cd19 ComposeAnswer=dc1b3a485ad8 ComposeAnswerPass=82e6b2612862 ComposeCandidateAnswer=dfbbe49d1170 Composed=a0496a1b4293 ComposedByNodeModuleFingerprintValue=c5232f26d312 ComposedByNodeNodeValue=92ce08a2aa61 ComposedEvent=c9a05c369a2d CompositionAnswer=47116fe980f9 CompositionAnswerAttempt=38f25294eb7f CompositionAnswerDriftItem=09b7f8553918 CompositionAnswerHave=2b07bbb37a49 CompositionAnswerJudged=ad566939781a CompositionAnswerOwn=a8154421db58 CompositionAnswerRuns=3a70c8e06e7e CompositionAnswerWant=aefc6253201d CompositionAnswerWithheldItem=28eae88e46de CompositionAnswerWithheldPartsItem=79f37133d5be CompositionDiffAnswer=b922d22f9cee CompositionDiffEntry=ac7c1fd3ea62 CompositionDiffResource=e31a58d6b2b5 ConvergedAnswer=378c6aea0436 DataByNodeModuleValue=155c8dd0a6e5 DeclaredGroup=22c955571ed0 DeclaredIdentity=442e5ea22995 DeclaredLibrary=234c8b6973d8 DoneEvent=0e155c7e6cc6 EntryAgainAnswer=1f1a24957164 EntryAgainAnswerAsked=bec32f015550 FailedUnit=4b7afe8c0f84 FindingAction=2bab6a7c8d3f FindingEvidence=f65231e1f862 FindingSubject=11e82b0a77d6 FindingsByKeyValue=41e93a483c67 FirstViewAgainAnswer=22627a4a4678 FirstViewAgainAnswerAsked=0fa827c2bc13 FirstViewsAnswer=3a1fe57c7be6 FirstViewsAnswerEntriesItem=8b117619ca3f FirstViewsAnswerWantsItem=d8cb80636647 HandOverAnswer=aba938323932 HaveByNodeModuleValue=f0e18fa0ae2d HaveByNodeNodeValue=9296a55d7aa6 HealthByNodeValue=03bfa8c83d5b JudgeDirectoriesAnswer=f590024f1e91 LoginFallback=78e280ece645 ManifestReadsAnswer=44ff978272b4 ManifestReadsChanged=fac832ea55d0 ManifestReadsChangedEvent=88e4af52759d Module=e604719b1fb3 NetworkHealth=3af75f8af8d7 NetworkPart=502939443fb6 NodeAccount=1faabd57fa41 NodeDirectory=12b7f58b657c NodeOwn=4fecee42b3c0 NodeRecord=13f2a683c1bf PackagesAnswer=e4128836129d PackagesAnswerKey=60572f6eefc3 PackagesAnswerKeyPackagesItem=955a58e4952f PackagesByNodeValue=4cdc8f8bdc58 PackagesByNodeValuePackagesItem=955a58e4952f PeerSeen=43e6f359f1aa PlacedDataItem=82d650fb9d31 ProcessBuild=133a0f6e81cf ProcessBuilds=32cfa418abfd ProcessBuildsAnswer=4ac4ce32fbeb PullWait=99288cc066ec RefusedEvent=0e155c7e6cc6 Revision=165e37beccf5 RootAccountVerdict=7a8c0d2e5b9a RootFreeAnswer=c83678c70792 RootVerdict=0855e131d15c Running=8a19fd7f6446 RunningEvent=f3d8fedcfd51 Said=634cca3367f2 SealedBox=2c687c69b978 SeatList=248a1dc3029b SeatListAgainAnswer=8eb7fbcb7018 SeatListAnswer=8eb7fbcb7018 SeatListHeld=6b5c0f8ddcc2 SeatListStatus=bfbb572c49dd SetuidSearchAnswer=f590024f1e91 UnitsHealth=0d9cf7be9bc7 UserListWritten=caae94077890 Wait=fc85cf95ac27 WaitEndedEvent=2bf6d38041c0 WaitHeldEvent=2bf6d38041c0"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
@@ -1762,10 +1762,10 @@ type HaveByNodeModuleValue struct {
|
|||||||
Kept []string `json:"kept,omitempty"`
|
Kept []string `json:"kept,omitempty"`
|
||||||
// how far it has come
|
// how far it has come
|
||||||
Phase string `json:"phase"`
|
Phase string `json:"phase"`
|
||||||
// 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's branch is the same, the key without its last .<source>; absent for a want in none
|
// 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)): information, like the run (H-A-504 third addendum); absent for a want in none
|
||||||
Pipeline string `json:"pipeline,omitempty"`
|
Pipeline string `json:"pipeline,omitempty"`
|
||||||
PullWait *PullWait `json:"pull-wait,omitempty"`
|
PullWait *PullWait `json:"pull-wait,omitempty"`
|
||||||
// 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
|
// the composition run's pipeline sequence, in decimal, the module was applied from (design 47 H2 §813 (1), H-A-388): information for the why and the tools, never a gate (H-A-504 third addendum)
|
||||||
Run string `json:"run,omitempty"`
|
Run string `json:"run,omitempty"`
|
||||||
// each value sealed to the node's key
|
// each value sealed to the node's key
|
||||||
Sealed []string `json:"sealed,omitempty"`
|
Sealed []string `json:"sealed,omitempty"`
|
||||||
@@ -1776,6 +1776,8 @@ type HaveByNodeModuleValue struct {
|
|||||||
Wait *Wait `json:"wait,omitempty"`
|
Wait *Wait `json:"wait,omitempty"`
|
||||||
// in phase waiting-yes, the digest of the composition that waits
|
// in phase waiting-yes, the digest of the composition that waits
|
||||||
Waits string `json:"waits,omitempty"`
|
Waits string `json:"waits,omitempty"`
|
||||||
|
// the bus revision of the want key the module was applied from (design 47 H2 §813 (1), H-A-504 third and fourth addenda): the engine applies a want whose key revision is newer than this one, whatever its run; a have without it counts as no revision applied
|
||||||
|
WantRevision int64 `json:"want-revision,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// The values of HaveByNodeModuleValue's health.
|
// The values of HaveByNodeModuleValue's health.
|
||||||
|
|||||||
@@ -83,7 +83,7 @@ func TestFixtures(t *testing.T) {
|
|||||||
decode: func(b []byte) (any, error) { var v HaveByNodeModuleValue; err := json.Unmarshal(b, &v); return v, err }, subjectIs: nil},
|
decode: func(b []byte) (any, error) { var v HaveByNodeModuleValue; err := json.Unmarshal(b, &v); return v, err }, subjectIs: nil},
|
||||||
{name: "a move waiting for a person's yes", subject: "", given: "{\"build-alone\":true,\"composed\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"fp\":\"src2:62756c6c6462756c6c6462756c6c6462756c6c6462756c6c6462756c6c646275\",\"health\":\"ok\",\"judgement\":\"recreates\",\"kept\":[\"tool runner not declared\"],\"phase\":\"waiting-yes\",\"v\":1,\"waits\":\"sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\"}", wire: "{\"build-alone\":true,\"composed\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"fp\":\"src2:62756c6c6462756c6c6462756c6c6462756c6c6462756c6c6462756c6c646275\",\"health\":\"ok\",\"judgement\":\"recreates\",\"kept\":[\"tool runner not declared\"],\"phase\":\"waiting-yes\",\"v\":1,\"waits\":\"sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\"}",
|
{name: "a move waiting for a person's yes", subject: "", given: "{\"build-alone\":true,\"composed\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"fp\":\"src2:62756c6c6462756c6c6462756c6c6462756c6c6462756c6c6462756c6c646275\",\"health\":\"ok\",\"judgement\":\"recreates\",\"kept\":[\"tool runner not declared\"],\"phase\":\"waiting-yes\",\"v\":1,\"waits\":\"sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\"}", wire: "{\"build-alone\":true,\"composed\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"fp\":\"src2:62756c6c6462756c6c6462756c6c6462756c6c6462756c6c6462756c6c646275\",\"health\":\"ok\",\"judgement\":\"recreates\",\"kept\":[\"tool runner not declared\"],\"phase\":\"waiting-yes\",\"v\":1,\"waits\":\"sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\"}",
|
||||||
decode: func(b []byte) (any, error) { var v HaveByNodeModuleValue; err := json.Unmarshal(b, &v); return v, err }, subjectIs: nil},
|
decode: func(b []byte) (any, error) { var v HaveByNodeModuleValue; err := json.Unmarshal(b, &v); return v, err }, subjectIs: nil},
|
||||||
{name: "a module applied from a composition run names the run and its pipeline (design 47 H2 §813 (1), H-A-388, H-A-458 (1))", subject: "", given: "{\"fp\":\"src2:62756c6c6462756c6c6462756c6c6462756c6c6462756c6c6462756c6c646275\",\"health\":\"ok\",\"phase\":\"running\",\"pipeline\":\"main.mesh-host\",\"run\":\"178\",\"v\":1}", wire: "{\"fp\":\"src2:62756c6c6462756c6c6462756c6c6462756c6c6462756c6c6462756c6c646275\",\"health\":\"ok\",\"phase\":\"running\",\"pipeline\":\"main.mesh-host\",\"run\":\"178\",\"v\":1}",
|
{name: "a module applied from a composition run names the run, its pipeline and the want revision (design 47 H2 §813 (1), H-A-388, H-A-458 (1), H-A-504 fourth addendum)", subject: "", given: "{\"fp\":\"src2:62756c6c6462756c6c6462756c6c6462756c6c6462756c6c6462756c6c646275\",\"health\":\"ok\",\"phase\":\"running\",\"pipeline\":\"main.mesh-host\",\"run\":\"178\",\"v\":1,\"want-revision\":301924}", wire: "{\"fp\":\"src2:62756c6c6462756c6c6462756c6c6462756c6c6462756c6c6462756c6c646275\",\"health\":\"ok\",\"phase\":\"running\",\"pipeline\":\"main.mesh-host\",\"run\":\"178\",\"v\":1,\"want-revision\":301924}",
|
||||||
decode: func(b []byte) (any, error) { var v HaveByNodeModuleValue; err := json.Unmarshal(b, &v); return v, err }, subjectIs: nil},
|
decode: func(b []byte) (any, error) { var v HaveByNodeModuleValue; err := json.Unmarshal(b, &v); return v, err }, subjectIs: nil},
|
||||||
{name: "the bus module's have carries the user list written (typed from the engine's values)", subject: "", given: "{\"health\":\"ok\",\"phase\":\"running\",\"user-list\":{\"at\":\"2026-11-05T12:00:00Z\",\"digest\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"follows\":\"grants\",\"handed\":{\"at\":\"2026-11-05T12:00:00Z\",\"box\":{\"ct\":\"c\",\"eph\":\"e\",\"iv\":\"i\",\"tag\":\"t\",\"v\":1},\"from\":\"ace\",\"to\":\"sha256:cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\",\"users\":3},\"key\":\"-----BEGIN PUBLIC KEY-----\",\"revision\":7,\"source\":\"user-list\",\"users\":3,\"wanted\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\"},\"v\":1}", wire: "{\"health\":\"ok\",\"phase\":\"running\",\"user-list\":{\"at\":\"2026-11-05T12:00:00Z\",\"digest\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"follows\":\"grants\",\"handed\":{\"at\":\"2026-11-05T12:00:00Z\",\"box\":{\"ct\":\"c\",\"eph\":\"e\",\"iv\":\"i\",\"tag\":\"t\",\"v\":1},\"from\":\"ace\",\"to\":\"sha256:cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\",\"users\":3},\"key\":\"-----BEGIN PUBLIC KEY-----\",\"revision\":7,\"source\":\"user-list\",\"users\":3,\"wanted\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\"},\"v\":1}",
|
{name: "the bus module's have carries the user list written (typed from the engine's values)", subject: "", given: "{\"health\":\"ok\",\"phase\":\"running\",\"user-list\":{\"at\":\"2026-11-05T12:00:00Z\",\"digest\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"follows\":\"grants\",\"handed\":{\"at\":\"2026-11-05T12:00:00Z\",\"box\":{\"ct\":\"c\",\"eph\":\"e\",\"iv\":\"i\",\"tag\":\"t\",\"v\":1},\"from\":\"ace\",\"to\":\"sha256:cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\",\"users\":3},\"key\":\"-----BEGIN PUBLIC KEY-----\",\"revision\":7,\"source\":\"user-list\",\"users\":3,\"wanted\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\"},\"v\":1}", wire: "{\"health\":\"ok\",\"phase\":\"running\",\"user-list\":{\"at\":\"2026-11-05T12:00:00Z\",\"digest\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"follows\":\"grants\",\"handed\":{\"at\":\"2026-11-05T12:00:00Z\",\"box\":{\"ct\":\"c\",\"eph\":\"e\",\"iv\":\"i\",\"tag\":\"t\",\"v\":1},\"from\":\"ace\",\"to\":\"sha256:cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\",\"users\":3},\"key\":\"-----BEGIN PUBLIC KEY-----\",\"revision\":7,\"source\":\"user-list\",\"users\":3,\"wanted\":\"sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\"},\"v\":1}",
|
||||||
decode: func(b []byte) (any, error) { var v HaveByNodeModuleValue; err := json.Unmarshal(b, &v); return v, err }, subjectIs: nil},
|
decode: func(b []byte) (any, error) { var v HaveByNodeModuleValue; err := json.Unmarshal(b, &v); return v, err }, subjectIs: nil},
|
||||||
|
|||||||
@@ -346,7 +346,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "a module applied from a composition run names the run and its pipeline (design 47 H2 §813 (1), H-A-388, H-A-458 (1))",
|
"name": "a module applied from a composition run names the run, its pipeline and the want revision (design 47 H2 §813 (1), H-A-388, H-A-458 (1), H-A-504 fourth addendum)",
|
||||||
"of": "state:have/<node>.<module>",
|
"of": "state:have/<node>.<module>",
|
||||||
"given": {
|
"given": {
|
||||||
"v": 1,
|
"v": 1,
|
||||||
@@ -354,7 +354,8 @@
|
|||||||
"phase": "running",
|
"phase": "running",
|
||||||
"health": "ok",
|
"health": "ok",
|
||||||
"run": "178",
|
"run": "178",
|
||||||
"pipeline": "main.mesh-host"
|
"pipeline": "main.mesh-host",
|
||||||
|
"want-revision": 301924
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"format": 1,
|
"format": 1,
|
||||||
"form": 4,
|
"form": 5,
|
||||||
"seat": "node-engine",
|
"seat": "node-engine",
|
||||||
"scope": "node",
|
"scope": "node",
|
||||||
"grain": "whole",
|
"grain": "whole",
|
||||||
@@ -1358,11 +1358,15 @@
|
|||||||
},
|
},
|
||||||
"run": {
|
"run": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "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"
|
"description": "the composition run's pipeline sequence, in decimal, the module was applied from (design 47 H2 §813 (1), H-A-388): information for the why and the tools, never a gate (H-A-504 third addendum)"
|
||||||
|
},
|
||||||
|
"want-revision": {
|
||||||
|
"type": "integer",
|
||||||
|
"description": "the bus revision of the want key the module was applied from (design 47 H2 §813 (1), H-A-504 third and fourth addenda): the engine applies a want whose key revision is newer than this one, whatever its run; a have without it counts as no revision applied"
|
||||||
},
|
},
|
||||||
"pipeline": {
|
"pipeline": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "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's branch is the same, the key without its last .<source>; absent for a want in none"
|
"description": "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)): information, like the run (H-A-504 third addendum); absent for a want in none"
|
||||||
},
|
},
|
||||||
"kept": {
|
"kept": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
|
|||||||
Vendored
+4
-2
@@ -1350,10 +1350,10 @@ export interface HaveByNodeModuleValue {
|
|||||||
"kept"?: string[];
|
"kept"?: string[];
|
||||||
/** how far it has come */
|
/** how far it has come */
|
||||||
"phase": "backing-up" | "applying" | "checking" | "running" | "failed" | "removed" | "held" | "waiting-yes";
|
"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's branch is the same, the key without its last .<source>; absent for a want in none */
|
/** 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)): information, like the run (H-A-504 third addendum); absent for a want in none */
|
||||||
"pipeline"?: string;
|
"pipeline"?: string;
|
||||||
"pull-wait"?: PullWait;
|
"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 */
|
/** the composition run's pipeline sequence, in decimal, the module was applied from (design 47 H2 §813 (1), H-A-388): information for the why and the tools, never a gate (H-A-504 third addendum) */
|
||||||
"run"?: string;
|
"run"?: string;
|
||||||
/** each value sealed to the node's key */
|
/** each value sealed to the node's key */
|
||||||
"sealed"?: string[];
|
"sealed"?: string[];
|
||||||
@@ -1364,6 +1364,8 @@ export interface HaveByNodeModuleValue {
|
|||||||
"wait"?: Wait;
|
"wait"?: Wait;
|
||||||
/** in phase waiting-yes, the digest of the composition that waits */
|
/** in phase waiting-yes, the digest of the composition that waits */
|
||||||
"waits"?: string;
|
"waits"?: string;
|
||||||
|
/** the bus revision of the want key the module was applied from (design 47 H2 §813 (1), H-A-504 third and fourth addenda): the engine applies a want whose key revision is newer than this one, whatever its run; a have without it counts as no revision applied */
|
||||||
|
"want-revision"?: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** is one value of the state have under the key <node>.node. */
|
/** is one value of the state have under the key <node>.node. */
|
||||||
|
|||||||
Reference in New Issue
Block a user