The node seat's acts and the engine's own asks are the node-engine's declared state acts on the bus: one key each under its own node's keys, written by compare-and-set, one ask open per path made by a create; acts reads one by its id (issue 774, ADR 0563 §2, §3)

This commit is contained in:
2026-10-28 20:35:33 +01:00
parent 05ff90e3c1
commit 81fa009bf4
9 changed files with 344 additions and 160 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ func TestALibrarySaysItsWaitWithoutWordsToParse(t *testing.T) {
// open, nor after it ended; and a library waiting for its disk is not asked.
t.Run("the home engine asks the take once", func(t *testing.T) {
var asked []asks.Ask
state := &link.FileState{Path: filepath.Join(t.TempDir(), link.HandActsFile)}
state := &link.MemState{}
h := &link.HandActs{Node: "n1", State: state,
JudgeAccess: func(act, access string) (link.Judged, error) {
return link.Judged{Subject: access, Path: root, Sets: "the group mesh-media", Disk: "0:0 755"}, nil