The routing record is 0066, not 0056
0056 is 'the authority is the control plane, not a database'. A citation pointing at the wrong decision is worse than none: it reads as corroboration. Claude-Session: https://claude.ai/code/session_01LrgweAeERJYBg88c5cKDzF
This commit is contained in:
@@ -142,7 +142,7 @@ func (r Resolution) Declaration(with Rendering) ([]map[string]any, error) {
|
||||
}
|
||||
|
||||
// A workload on THIS machine contributes the port it declared, and the machine may have
|
||||
// published it somewhere else (novox/hq ADR 0056). The mirror of the redirect below: 038 fixed
|
||||
// published it somewhere else (novox/hq ADR 0066). The mirror of the redirect below: 038 fixed
|
||||
// what a consumer is TOLD about a provider, and this is what a workload TELLS the provider about
|
||||
// itself — gitea declaring 3000, published as 20000:3000, and the co-located proxy dialling 3000,
|
||||
// where nothing listens, for every request.
|
||||
@@ -162,7 +162,7 @@ func (r Resolution) Declaration(with Rendering) ([]map[string]any, error) {
|
||||
}
|
||||
|
||||
// A provider answered on this same machine never passed through the walk that works out what a
|
||||
// provider on ANOTHER machine serves (novox/hq 04-ISSUES/038, ADR 0056). That walk does two
|
||||
// provider on ANOTHER machine serves (novox/hq 04-ISSUES/038, ADR 0066). That walk does two
|
||||
// things — it derives the served facts with the provider node's port assignments, and it settles
|
||||
// them with that node's settings layers — and the same-node paths (resolve.go's servedHere, and
|
||||
// here() below) did neither, because both run while resolving, before either is known.
|
||||
@@ -449,7 +449,7 @@ func (r Resolution) Declaration(with Rendering) ([]map[string]any, error) {
|
||||
// And what the module could not have written: the machine it turned out to be
|
||||
// assigned to. Beside the bound values because it is the same kind of fact — the
|
||||
// mesh's own, held in the clear — and because a module that must name itself to
|
||||
// something else has no binding to learn it from (novox/hq ADR 0056).
|
||||
// something else has no binding to learn it from (novox/hq ADR 0066).
|
||||
if err := machineInto(copied, thisMachine, m.Module); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -795,7 +795,7 @@ func here(r Resolution, requirement string, with Rendering) (*Needed, error) {
|
||||
// theRestOfTheMesh). A provider on the consumer's own machine never passes through that walk, so
|
||||
// every step of it has to be repeated here — and each step that was not repeated was a promise the
|
||||
// co-located arrangement quietly broke: first the port (novox/hq 04-ISSUES/038), then the settled
|
||||
// values (ADR 0056, an internal CA's root arriving empty).
|
||||
// values (ADR 0066, an internal CA's root arriving empty).
|
||||
//
|
||||
// Here rather than in the resolver, because here is the first moment both halves exist: resolving
|
||||
// runs before a machine's ports are assigned and knows nothing of settings.
|
||||
@@ -975,7 +975,7 @@ func asPort(v any) (int, bool) {
|
||||
}
|
||||
|
||||
// atMachinePort redirects a `port` written by a module on this machine to where this machine
|
||||
// actually published it (novox/hq 04-ISSUES/038, ADR 0056).
|
||||
// actually published it (novox/hq 04-ISSUES/038, ADR 0066).
|
||||
//
|
||||
// **A module writes the port its software uses; only the mesh knows where the machine put it.** A
|
||||
// bare `ports` mapping is assigned a host port when the declaration is composed, which is after
|
||||
|
||||
Reference in New Issue
Block a user