MH-2b: the node-engine reads the want by the real contract: composed, kept-on and newest go
A want carries no composed digest, no keeping node and no newest build (design 47 H 750, H-A-37): the agent takes the digest from the composition the node made for the want's build, the shadow's resolution around a missing entry (A-405) and KeptBuildOf's keeping node go, and the artifact is fetched from the store. Tests of the removed behaviour go. Builds: design 47 H §750; H-A-37 Claude-Session: https://claude.ai/code/session_01JG73KHUnBze48rdua8u2sy
This commit is contained in:
@@ -253,8 +253,8 @@ func testAMoveAcrossAFormChange(t *testing.T) {
|
||||
t.Fatalf("the have %+v", h)
|
||||
}
|
||||
before := len(b.appliedList())
|
||||
_, _, dig2 := composition(t, "db", fpOf("b"), true, file("db", "x", "2"))
|
||||
raw, err := bucketstest.Want(meshwants.WantsByWantNodeModuleValue{Fp: fpOf("b"), Composed: dig2, Revert: meshwants.WantsByWantNodeModuleValueRevertLive,
|
||||
_, _, _ = composition(t, "db", fpOf("b"), true, file("db", "x", "2"))
|
||||
raw, err := bucketstest.Want(meshwants.WantsByWantNodeModuleValue{Fp: fpOf("b"), Revert: meshwants.WantsByWantNodeModuleValueRevertLive,
|
||||
Words: "the operator answered \"live\" to the revert ask (asking 1)"})
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
|
||||
Reference in New Issue
Block a user