Take the node-engine's parser from mesh-sdk: remaining imports (issue 1392)
mesh/merge-gate head 52600ec7bd61 merged into trunk cdcba9ca7375 — pass: builds mesh-host → ace, g14, novox, shanks; no bus step; every machine composes wi…
mesh/repo-check head 52600ec7bd61 merged into trunk cdcba9ca7375 — pass: its merge-check.sh passed
mesh/delivery delivered

This commit is contained in:
2026-10-20 11:17:14 +00:00
parent 278a94d59b
commit 52600ec7bd
50 changed files with 50 additions and 50 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/novox/mesh-host/internal/declaration" "git.novox.be/novox/mesh-sdk/go/declaration"
) )
func bundle(t *testing.T) *declaration.Declaration { func bundle(t *testing.T) *declaration.Declaration {
+1 -1
View File
@@ -45,7 +45,7 @@ import (
"sync" "sync"
"time" "time"
"github.com/novox/mesh-host/internal/declaration" "git.novox.be/novox/mesh-sdk/go/declaration"
) )
// The states, in the words liveness says them (the controller reads them alike). // The states, in the words liveness says them (the controller reads them alike).
+1 -1
View File
@@ -9,7 +9,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/novox/mesh-host/internal/declaration" "git.novox.be/novox/mesh-sdk/go/declaration"
) )
// The account judge (novox/hq ADR 0252, "how it is checked"): an account in a group its running session // The account judge (novox/hq ADR 0252, "how it is checked"): an account in a group its running session
+1 -1
View File
@@ -9,7 +9,7 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/novox/mesh-host/internal/declaration" "git.novox.be/novox/mesh-sdk/go/declaration"
) )
// An account declared never to become root without a person (novox/hq ADR 0266, "how it is checked"): each // An account declared never to become root without a person (novox/hq ADR 0266, "how it is checked"): each
+1 -1
View File
@@ -8,8 +8,8 @@ import (
"strings" "strings"
"testing" "testing"
"git.novox.be/novox/mesh-sdk/go/declaration"
"github.com/novox/mesh-host/internal/apply" "github.com/novox/mesh-host/internal/apply"
"github.com/novox/mesh-host/internal/declaration"
"github.com/novox/mesh-host/internal/store" "github.com/novox/mesh-host/internal/store"
) )
+1 -1
View File
@@ -9,7 +9,7 @@ import (
"strconv" "strconv"
"strings" "strings"
"github.com/novox/mesh-host/internal/declaration" "git.novox.be/novox/mesh-sdk/go/declaration"
) )
// What an adopted genesis changes about the foundation (novox/hq ADR 0100). // What an adopted genesis changes about the foundation (novox/hq ADR 0100).
+1 -1
View File
@@ -8,7 +8,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/novox/mesh-host/internal/declaration" "git.novox.be/novox/mesh-sdk/go/declaration"
) )
// Defends novox/hq ADR 0100: an adopted genesis loads no table that drops by default or holds an // Defends novox/hq ADR 0100: an adopted genesis loads no table that drops by default or holds an
+1 -1
View File
@@ -8,8 +8,8 @@ import (
"strings" "strings"
"time" "time"
"git.novox.be/novox/mesh-sdk/go/declaration"
"github.com/novox/mesh-host/internal/apply" "github.com/novox/mesh-host/internal/apply"
"github.com/novox/mesh-host/internal/declaration"
"github.com/novox/mesh-host/internal/store" "github.com/novox/mesh-host/internal/store"
"github.com/novox/mesh-host/internal/system" "github.com/novox/mesh-host/internal/system"
) )
+1 -1
View File
@@ -9,8 +9,8 @@ import (
"strings" "strings"
"testing" "testing"
"git.novox.be/novox/mesh-sdk/go/declaration"
"github.com/novox/mesh-host/internal/apply" "github.com/novox/mesh-host/internal/apply"
"github.com/novox/mesh-host/internal/declaration"
"github.com/novox/mesh-host/internal/store" "github.com/novox/mesh-host/internal/store"
"github.com/novox/mesh-host/internal/system" "github.com/novox/mesh-host/internal/system"
) )
+1 -1
View File
@@ -14,7 +14,7 @@ import (
"strings" "strings"
"time" "time"
"github.com/novox/mesh-host/internal/declaration" "git.novox.be/novox/mesh-sdk/go/declaration"
) )
// Adopting the bus is the mesh's planned step for replacing it (novox/hq ADR 0333 §3, ADR 0236). // Adopting the bus is the mesh's planned step for replacing it (novox/hq ADR 0333 §3, ADR 0236).
+1 -1
View File
@@ -8,7 +8,7 @@ import (
"sort" "sort"
"strings" "strings"
"github.com/novox/mesh-host/internal/declaration" "git.novox.be/novox/mesh-sdk/go/declaration"
) )
// storeFileSuffix is how a manifest asks for a store connection in a file rather than in the // storeFileSuffix is how a manifest asks for a store connection in a file rather than in the
+1 -1
View File
@@ -14,8 +14,8 @@ import (
"strings" "strings"
"testing" "testing"
"git.novox.be/novox/mesh-sdk/go/declaration"
"github.com/novox/mesh-host/internal/apply" "github.com/novox/mesh-host/internal/apply"
"github.com/novox/mesh-host/internal/declaration"
"github.com/novox/mesh-host/internal/store" "github.com/novox/mesh-host/internal/store"
"github.com/novox/mesh-host/internal/system" "github.com/novox/mesh-host/internal/system"
) )
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"net" "net"
"strings" "strings"
"github.com/novox/mesh-host/internal/declaration" "git.novox.be/novox/mesh-sdk/go/declaration"
"github.com/novox/mesh-host/internal/reachable" "github.com/novox/mesh-host/internal/reachable"
"github.com/novox/mesh-host/internal/store" "github.com/novox/mesh-host/internal/store"
) )
+1 -1
View File
@@ -8,7 +8,7 @@ import (
"strings" "strings"
"time" "time"
"github.com/novox/mesh-host/internal/declaration" "git.novox.be/novox/mesh-sdk/go/declaration"
) )
// Phase three — nothing is special after installation (novox/hq issue 051). // Phase three — nothing is special after installation (novox/hq issue 051).
+1 -1
View File
@@ -11,7 +11,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/novox/mesh-host/internal/declaration" "git.novox.be/novox/mesh-sdk/go/declaration"
) )
// aCatalogue is a catalogue checkout holding these modules' manifests. // aCatalogue is a catalogue checkout holding these modules' manifests.
+1 -1
View File
@@ -11,7 +11,7 @@ import (
"strconv" "strconv"
"strings" "strings"
"github.com/novox/mesh-host/internal/declaration" "git.novox.be/novox/mesh-sdk/go/declaration"
"github.com/novox/mesh-host/internal/reachable" "github.com/novox/mesh-host/internal/reachable"
"github.com/novox/mesh-host/internal/store" "github.com/novox/mesh-host/internal/store"
"github.com/novox/mesh-host/internal/tunnel" "github.com/novox/mesh-host/internal/tunnel"
+1 -1
View File
@@ -12,7 +12,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/novox/mesh-host/internal/declaration" "git.novox.be/novox/mesh-sdk/go/declaration"
"github.com/novox/mesh-host/internal/reachable" "github.com/novox/mesh-host/internal/reachable"
"github.com/novox/mesh-host/internal/store" "github.com/novox/mesh-host/internal/store"
"github.com/novox/mesh-host/internal/tunnel" "github.com/novox/mesh-host/internal/tunnel"
+1 -1
View File
@@ -7,7 +7,7 @@ import (
"strings" "strings"
"time" "time"
"github.com/novox/mesh-host/internal/declaration" "git.novox.be/novox/mesh-sdk/go/declaration"
"github.com/novox/mesh-host/internal/image" "github.com/novox/mesh-host/internal/image"
"github.com/novox/mesh-host/internal/profile" "github.com/novox/mesh-host/internal/profile"
) )
+1 -1
View File
@@ -7,7 +7,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/novox/mesh-host/internal/declaration" "git.novox.be/novox/mesh-sdk/go/declaration"
) )
// An installed package is not a capability (novox/hq 04-ISSUES/007). The daemon is asked, and a // An installed package is not a capability (novox/hq 04-ISSUES/007). The daemon is asked, and a
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"fmt" "fmt"
"time" "time"
"github.com/novox/mesh-host/internal/declaration" "git.novox.be/novox/mesh-sdk/go/declaration"
"github.com/novox/mesh-host/internal/system" "github.com/novox/mesh-host/internal/system"
) )
+1 -1
View File
@@ -7,7 +7,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/novox/mesh-host/internal/declaration" "git.novox.be/novox/mesh-sdk/go/declaration"
) )
// Retirement is destruction by omission, which is the host's ordinary behaviour: it owns what it // Retirement is destruction by omission, which is the host's ordinary behaviour: it owns what it
+1 -1
View File
@@ -7,7 +7,7 @@ import (
"path/filepath" "path/filepath"
"strings" "strings"
"github.com/novox/mesh-host/internal/declaration" "git.novox.be/novox/mesh-sdk/go/declaration"
) )
// ControlPlaneID is the resource the installer replaces the image of. // ControlPlaneID is the resource the installer replaces the image of.
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/novox/mesh-host/internal/declaration" "git.novox.be/novox/mesh-sdk/go/declaration"
) )
// Each test names the decision it defends (novox/hq ADR 0017). // Each test names the decision it defends (novox/hq ADR 0017).
+1 -1
View File
@@ -12,7 +12,7 @@ import (
"golang.org/x/crypto/bcrypt" "golang.org/x/crypto/bcrypt"
"github.com/novox/mesh-host/internal/declaration" "git.novox.be/novox/mesh-sdk/go/declaration"
) )
// The mesh's root credentials, made at genesis rather than copied from the template. // The mesh's root credentials, made at genesis rather than copied from the template.
+1 -1
View File
@@ -7,7 +7,7 @@ import (
"golang.org/x/crypto/bcrypt" "golang.org/x/crypto/bcrypt"
"github.com/novox/mesh-host/internal/declaration" "git.novox.be/novox/mesh-sdk/go/declaration"
) )
// testCredentials are made values with a real bcrypt hash of the bus password, as RootSecrets makes. // testCredentials are made values with a real bcrypt hash of the bus password, as RootSecrets makes.
+1 -1
View File
@@ -7,7 +7,7 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/novox/mesh-host/internal/declaration" "git.novox.be/novox/mesh-sdk/go/declaration"
) )
// Defends novox/hq ADR 0338 (issue 609): genesis raises its store as the postgres module's server, so // Defends novox/hq ADR 0338 (issue 609): genesis raises its store as the postgres module's server, so
+1 -1
View File
@@ -10,8 +10,8 @@ import (
"strings" "strings"
"time" "time"
"git.novox.be/novox/mesh-sdk/go/declaration"
"github.com/novox/mesh-host/internal/apply" "github.com/novox/mesh-host/internal/apply"
"github.com/novox/mesh-host/internal/declaration"
"github.com/novox/mesh-host/internal/store" "github.com/novox/mesh-host/internal/store"
"github.com/novox/mesh-host/internal/system" "github.com/novox/mesh-host/internal/system"
) )
+1 -1
View File
@@ -11,8 +11,8 @@ import (
"testing" "testing"
"time" "time"
"git.novox.be/novox/mesh-sdk/go/declaration"
"github.com/novox/mesh-host/internal/apply" "github.com/novox/mesh-host/internal/apply"
"github.com/novox/mesh-host/internal/declaration"
"github.com/novox/mesh-host/internal/store" "github.com/novox/mesh-host/internal/store"
"github.com/novox/mesh-host/internal/system" "github.com/novox/mesh-host/internal/system"
) )
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"strings" "strings"
"time" "time"
"github.com/novox/mesh-host/internal/declaration" "git.novox.be/novox/mesh-sdk/go/declaration"
) )
// controlPlaneBinary is where the control plane's program lives in its own image. // controlPlaneBinary is where the control plane's program lives in its own image.
+1 -1
View File
@@ -8,7 +8,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/novox/mesh-host/internal/declaration" "git.novox.be/novox/mesh-sdk/go/declaration"
) )
func foundation(t *testing.T) *declaration.Declaration { func foundation(t *testing.T) *declaration.Declaration {
+1 -1
View File
@@ -15,7 +15,7 @@ import (
"fmt" "fmt"
"strings" "strings"
"github.com/novox/mesh-host/internal/declaration" "git.novox.be/novox/mesh-sdk/go/declaration"
) )
// One bundle per operating system, because its CONTENTS are per system even though its // One bundle per operating system, because its CONTENTS are per system even though its
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/novox/mesh-host/internal/declaration" "git.novox.be/novox/mesh-sdk/go/declaration"
) )
func TestADefaultBuildCarriesNothingAndSaysSo(t *testing.T) { func TestADefaultBuildCarriesNothingAndSaysSo(t *testing.T) {
+1 -1
View File
@@ -33,7 +33,7 @@ import (
"sync/atomic" "sync/atomic"
"time" "time"
"github.com/novox/mesh-host/internal/declaration" "git.novox.be/novox/mesh-sdk/go/declaration"
"github.com/novox/mesh-host/internal/meshcli" "github.com/novox/mesh-host/internal/meshcli"
) )
+1 -1
View File
@@ -13,7 +13,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/novox/mesh-host/internal/declaration" "git.novox.be/novox/mesh-sdk/go/declaration"
) )
// Defends novox/hq ADR 0349 §4 (issue 668): the node-engine writes a filled file on request only for the provisioner // Defends novox/hq ADR 0349 §4 (issue 668): the node-engine writes a filled file on request only for the provisioner
+1 -1
View File
@@ -18,7 +18,7 @@ import (
"strconv" "strconv"
"strings" "strings"
"github.com/novox/mesh-host/internal/declaration" "git.novox.be/novox/mesh-sdk/go/declaration"
"github.com/novox/mesh-host/internal/system" "github.com/novox/mesh-host/internal/system"
) )
+1 -1
View File
@@ -9,7 +9,7 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/novox/mesh-host/internal/declaration" "git.novox.be/novox/mesh-sdk/go/declaration"
) )
// Defends novox/hq ADR 0100: the firewall found on an adopted node stays in force, the mesh opens // Defends novox/hq ADR 0100: the firewall found on an adopted node stays in force, the mesh opens
+1 -1
View File
@@ -39,8 +39,8 @@ import (
"sync" "sync"
"time" "time"
"git.novox.be/novox/mesh-sdk/go/declaration"
"git.novox.be/novox/mesh-sdk/go/health" "git.novox.be/novox/mesh-sdk/go/health"
"github.com/novox/mesh-host/internal/declaration"
) )
// The bounds of ADR 0240 rule 1 and to-be 48 §1. Grace is the default a declaration will override in // The bounds of ADR 0240 rule 1 and to-be 48 §1. Grace is the default a declaration will override in
+1 -1
View File
@@ -8,7 +8,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/novox/mesh-host/internal/declaration" "git.novox.be/novox/mesh-sdk/go/declaration"
) )
// The judge, over a fake runtime and service manager (novox/hq ADR 0240, "how it is checked", rule 1): // The judge, over a fake runtime and service manager (novox/hq ADR 0240, "how it is checked", rule 1):
+1 -1
View File
@@ -14,8 +14,8 @@ import (
"strings" "strings"
"time" "time"
"git.novox.be/novox/mesh-sdk/go/declaration"
"git.novox.be/novox/mesh-sdk/go/health" "git.novox.be/novox/mesh-sdk/go/health"
"github.com/novox/mesh-host/internal/declaration"
) )
// Readiness, declared (novox/hq ADR 0240 rules 2 and 3, to-be 48 §2–§3, Phase B). // Readiness, declared (novox/hq ADR 0240 rules 2 and 3, to-be 48 §2–§3, Phase B).
+1 -1
View File
@@ -13,8 +13,8 @@ import (
"testing" "testing"
"time" "time"
"git.novox.be/novox/mesh-sdk/go/declaration"
"git.novox.be/novox/mesh-sdk/go/health" "git.novox.be/novox/mesh-sdk/go/health"
"github.com/novox/mesh-host/internal/declaration"
) )
// Readiness, declared (novox/hq ADR 0240 rules 2 and 3, Phase B): starting until its check passed, healthy // Readiness, declared (novox/hq ADR 0240 rules 2 and 3, Phase B): starting until its check passed, healthy
+1 -1
View File
@@ -12,7 +12,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/novox/mesh-host/internal/declaration" "git.novox.be/novox/mesh-sdk/go/declaration"
"github.com/novox/mesh-host/internal/link" "github.com/novox/mesh-host/internal/link"
) )
+1 -1
View File
@@ -8,8 +8,8 @@ import (
"testing" "testing"
"time" "time"
"git.novox.be/novox/mesh-sdk/go/declaration"
"git.novox.be/novox/mesh-sdk/go/health" "git.novox.be/novox/mesh-sdk/go/health"
"github.com/novox/mesh-host/internal/declaration"
) )
// A module's tool check may say it waits for the operator (novox/hq ADR 0283, issue 386): a named secret or // A module's tool check may say it waits for the operator (novox/hq ADR 0283, issue 386): a named secret or
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"fmt" "fmt"
"strings" "strings"
"github.com/novox/mesh-host/internal/declaration" "git.novox.be/novox/mesh-sdk/go/declaration"
) )
// alpine is apk and OpenRC. // alpine is apk and OpenRC.
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"context" "context"
"fmt" "fmt"
"github.com/novox/mesh-host/internal/declaration" "git.novox.be/novox/mesh-sdk/go/declaration"
) )
// android is a partial host, and being partial is the point. // android is a partial host, and being partial is the point.
+1 -1
View File
@@ -9,7 +9,7 @@ import (
"strings" "strings"
"time" "time"
"github.com/novox/mesh-host/internal/declaration" "git.novox.be/novox/mesh-sdk/go/declaration"
) )
// arch is pacman and systemd. // arch is pacman and systemd.
+1 -1
View File
@@ -3,7 +3,7 @@ package system
import ( import (
"testing" "testing"
"github.com/novox/mesh-host/internal/declaration" "git.novox.be/novox/mesh-sdk/go/declaration"
) )
// Every shape in the vocabulary is implemented by a host that claims to do everything. // Every shape in the vocabulary is implemented by a host that claims to do everything.
+1 -1
View File
@@ -26,7 +26,7 @@ import (
"strconv" "strconv"
"strings" "strings"
"github.com/novox/mesh-host/internal/declaration" "git.novox.be/novox/mesh-sdk/go/declaration"
) )
// Runner executes a command. The real one runs a process; tests pass one that records what was // Runner executes a command. The real one runs a process; tests pass one that records what was
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/novox/mesh-host/internal/declaration" "git.novox.be/novox/mesh-sdk/go/declaration"
) )
// recorder answers a fixed map of commands and remembers what it was asked. // recorder answers a fixed map of commands and remembers what it was asked.
+1 -1
View File
@@ -39,7 +39,7 @@ import (
"sync" "sync"
"time" "time"
"github.com/novox/mesh-host/internal/declaration" "git.novox.be/novox/mesh-sdk/go/declaration"
) )
// The managers a unit is in. // The managers a unit is in.
+1 -1
View File
@@ -7,7 +7,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/novox/mesh-host/internal/declaration" "git.novox.be/novox/mesh-sdk/go/declaration"
) )
// The reading of failed units (novox/hq issue 315, "how it is checked"): a failed unit a module states, // The reading of failed units (novox/hq issue 315, "how it is checked"): a failed unit a module states,