Files
mesh-host/internal/judge/aliases.go
T
jschoubben 9a12f2851f The node-engine owns the composition it alone runs (H1, H2)
ADR 0593 §1 and §7: compose, its bus reader and runtime reader, takein,
validate, the overlay generator, the composer's run and mesh-compose, and
the judgement of a move leave mesh-sdk for the node-engine's internal
packages, so no other module composes and a change to them rebuilds only
the node-engine. The shapes others read (the composer's request and
verdict, the overlay's names, compositions and answers) stay in mesh-sdk.
The node's grant is now a golden file of what the grants part composes,
since the composer of the bus's user list leaves mesh-sdk too.

Claude-Session: https://claude.ai/code/session_01NcbgfJ9Gum47zkFKWRaovL
2026-11-02 18:24:05 +01:00

25 lines
1.0 KiB
Go

// Package judge is the node-engine's judgement of a move (novox/hq ADR 0377 §3, ADR 0547 §3): what moving a module from
// the composition it runs to a new one does, and how a placement candidate's answer is fitted to the node's key. It
// moved here from mesh-sdk's delivery package (novox/hq ADR 0593 §1, §7), since only the node-engine judges a move;
// the shapes it judges (a composition, a judgement's words, a candidate's answer) stay in mesh-sdk.
package judge
import "git.novox.be/novox/mesh-sdk/go/delivery"
// The shapes of mesh-sdk's delivery package this package judges, by the names its code was written with.
type (
Composed = delivery.Composed
Judgement = delivery.Judgement
CandidateAnswer = delivery.CandidateAnswer
ModuleDiffers = delivery.ModuleDiffers
ResourceBodies = delivery.ResourceBodies
)
const (
JudgedRecreates = delivery.JudgedRecreates
JudgedMovesData = delivery.JudgedMovesData
JudgedNeither = delivery.JudgedNeither
JudgedCannot = delivery.JudgedCannot
JudgedUnchanged = delivery.JudgedUnchanged
)