Novox Mesh, Nox, and HQ becomes company-scoped
ADR 0027 — the product is Novox Mesh, shortened to mesh internally. HAL was never chosen: it arrived with the dotfiles repository this grew out of, it is borrowed, and it is borrowed from the canonical untrustworthy machine intelligence, which is an odd flag for infrastructure trusted with credentials. Timing is the substance of the decision, not an aside — the skeleton is not built, so renaming costs a search and replace now and a migration later. Nox is an identity of Novox, and specifically the agent of the MESH rather than of a node. Nodes keep their own identities. Nox addresses them, and a human mostly talks to Nox — which makes it the concrete form of the mission's vision: state an intent, and the mesh works out which node holds the thing. It holds no private channel. The gap this opens is recorded: ADR 0012 binds every agent to a home node, and a mesh-scoped agent has none, so the model needs extending. ADR 0028 — HQ is company-scoped, novox/hq, with the mesh as its first product. Checked rather than assumed: the company organisation already holds live projects that the mesh builds and deploys, so they are tenants rather than peers, and the mesh is the ground they stand on. There is also company work outside the mesh already, which strengthens the case and means the eventual split is closer than "some day" — so each document's scope is fixed now, in a table, making that split mechanical instead of archaeological. The folders are deliberately not restructured yet. The skeleton takes the new vocabulary: mesh-host, mesh-substrate, mesh-control, mesh-surfaces, mesh-catalog. Substrate drops to four services now that identity is a hosted workload rather than a dependency. Research 009 opens the migration, with the reframing that lowers its risk: replace the control plane, do not move the workloads. Their data never moves, so it is re-declared rather than adopted — which keeps adoption out of scope, as the lab design requires. Self-hosting is the last phase, or a failed cutover takes away the means to fix it.
This commit is contained in:
@@ -0,0 +1,112 @@
|
||||
---
|
||||
status: accepted
|
||||
date: 2026-08-23
|
||||
deciders: jochen
|
||||
reconstructed: false
|
||||
---
|
||||
|
||||
# 27. The product is Novox Mesh; Nox is an identity, not a second system
|
||||
|
||||
## Context
|
||||
|
||||
The name `HAL` was never chosen. This began as a dotfiles repository, the first commits in
|
||||
February 2026 adopt dotfiles and per-node overrides, and the name arrived with the code — as
|
||||
recorded in
|
||||
[`03-DESIGN/00-as-is/10-module-catalogue.md`](../03-DESIGN/00-as-is/10-module-catalogue.md),
|
||||
most of the current shape is inherited from that origin rather than designed for a mesh. The
|
||||
name is part of the inheritance.
|
||||
|
||||
Three things make it worth changing rather than living with.
|
||||
|
||||
**It is borrowed, and borrowed badly.** HAL is the canonical *untrustworthy* machine
|
||||
intelligence. For infrastructure whose entire proposition is that it manages your machines,
|
||||
heals itself, and is trusted with credentials, that is an unhelpful flag to fly, and it is not
|
||||
a name anyone owns.
|
||||
|
||||
**There is a name available that is owned.** The company is Novox. A product of Novox should
|
||||
carry that lineage rather than a film reference.
|
||||
|
||||
**A platform and a persona are different things, and one name was doing both.** `HAL` named the
|
||||
mesh *and*, implicitly, the thing an operator talks to. Those are separate concerns — the
|
||||
platform is what runs; the persona is who answers.
|
||||
|
||||
## Considered options
|
||||
|
||||
1. **Keep `HAL`.** Rejected. Every reason to keep it is sunk cost, and the sunk cost is at its
|
||||
smallest today.
|
||||
2. **Rename everything to a single new name covering platform and persona.** Rejected: it
|
||||
repeats the conflation that made `HAL` ambiguous.
|
||||
3. **Separate the two: a product name and an identity.** Chosen.
|
||||
|
||||
## Decision
|
||||
|
||||
**The product is `Novox Mesh`**, shortened to `mesh` in internal use — repository names, the
|
||||
module namespace, environment variables, paths.
|
||||
|
||||
**`Nox` is an identity of Novox**, and specifically an **agent identity within the mesh's own
|
||||
model** — a named participant, exactly as
|
||||
[ADR 0012](0012-agents-are-persistent-employees.md) defines one. Not a separate product, not a
|
||||
separate runtime, not a privileged path.
|
||||
|
||||
**Nox is the agent of the mesh, not of a node.** This is the part that carries weight:
|
||||
|
||||
- **Every node keeps its own identity.** That already exists and stays — a node is a named
|
||||
participant with its own character, and addressing one directly remains possible and normal.
|
||||
- **Nox is scoped to the whole mesh.** It is what the mesh is called when the mesh itself
|
||||
speaks, rather than one machine within it.
|
||||
- **Nox addresses node identities.** Asking Nox for something that lives on one node is Nox
|
||||
talking to that node, not a human choosing a machine.
|
||||
- **A human mostly talks to Nox.** It is the front door.
|
||||
|
||||
That last point makes Nox the concrete form of the vision in
|
||||
[`00-META/mission.md`](../00-META/mission.md): *an agent states an intent and the mesh carries
|
||||
it out — no console to open, no runbook to follow, no remembering which node holds which
|
||||
thing.* Nox is who that intent is stated to. The mission described the behaviour; this names
|
||||
the thing that has it.
|
||||
|
||||
Nox holds no private channel. Whatever it can do, it does through the same surfaces every other
|
||||
agent uses — which is not a naming detail: a persona with its own path would be the one part of
|
||||
the mesh with no human checkpoint, and the skeleton already rules that out.
|
||||
|
||||
`HAL` is retired.
|
||||
|
||||
**Timing is the substance of this decision, not an aside.** The skeleton in
|
||||
[research 006](../01-RESEARCH/006-mesh-from-scratch/code-skeleton.md) is not built. Renaming
|
||||
before it exists costs a search and replace across research documents. Renaming after costs the
|
||||
same class of migration as everything else this repository is trying to avoid, and would
|
||||
therefore not happen.
|
||||
|
||||
## Consequences
|
||||
|
||||
- **The as-is layer keeps `HAL`.** It describes what runs, and what runs is called HAL. The
|
||||
to-be layer uses `mesh`. The rename is part of the migration, and the two-layer split
|
||||
([ADR 0020](0020-design-is-written-in-two-layers.md)) is what makes holding both names
|
||||
coherent rather than confusing.
|
||||
- **Records 0001–0026 keep `HAL`.** They are immutable and they say what was decided when it
|
||||
was decided. No record is edited for a name.
|
||||
- Tier 2 cannot be `mesh-mesh`. The control plane is **`mesh-control`**; `mesh-broker` was
|
||||
rejected because the substrate already contains a message broker.
|
||||
- The namespace, environment variable prefix, service names and on-disk paths all change. In
|
||||
the existing system that is a migration and is not attempted here.
|
||||
- **`mesh` is a generic word**, and it already means something specific in infrastructure — a
|
||||
service mesh is a different thing. Recorded as a known trade rather than an oversight: the
|
||||
full name `Novox Mesh` is distinctive, and the short form is internal.
|
||||
- The persona has a name before it has behaviour. That is the right order — it is an identity in
|
||||
a system that already has a model of identities, so it needs no new machinery to exist.
|
||||
- **Except in one respect, and it is a real gap.**
|
||||
[ADR 0012](0012-agents-are-persistent-employees.md) binds every agent to a home node, one to
|
||||
one, with a workspace on that machine. A mesh-scoped agent has no home node by definition, so
|
||||
the model does not currently have a shape for Nox. Extending it — an agent whose scope is the
|
||||
mesh rather than a machine — is a decision of its own and is not taken here.
|
||||
- Two levels of identity now exist where there was one: the node, and the mesh. The distinction
|
||||
has to stay visible in every surface, or "ask Nox" and "ask a node" collapse into each other
|
||||
and it stops being clear who is answering.
|
||||
|
||||
## References
|
||||
|
||||
- [ADR 0012](0012-agents-are-persistent-employees.md) — what an identity is in this system, and
|
||||
why `Nox` needs no separate mechanism.
|
||||
- [ADR 0020](0020-design-is-written-in-two-layers.md) — why the as-is and to-be layers can
|
||||
legitimately use different names for the same system.
|
||||
- The dotfiles origin, and the naming inheritance it explains:
|
||||
[`03-DESIGN/00-as-is/10-module-catalogue.md`](../03-DESIGN/00-as-is/10-module-catalogue.md).
|
||||
@@ -0,0 +1,89 @@
|
||||
---
|
||||
status: accepted
|
||||
date: 2026-08-23
|
||||
deciders: jochen
|
||||
reconstructed: false
|
||||
---
|
||||
|
||||
# 28. HQ is company-scoped; the mesh is its first product
|
||||
|
||||
## Context
|
||||
|
||||
This repository was `hal-hq` — one product's headquarters, named for the product. Then the
|
||||
product was renamed ([ADR 0027](0027-the-product-is-novox-mesh.md)), which forced the question
|
||||
of what the repository is actually the headquarters *of*.
|
||||
|
||||
Two facts settled it, and both were checked rather than assumed.
|
||||
|
||||
**Novox already delivers other things.** The company's forge organisation holds live projects
|
||||
beside the mesh, and they are registered as build sources — meaning the mesh already builds and
|
||||
deploys them. They are not hypothetical future products; they exist and ship today.
|
||||
|
||||
**They are tenants, not peers.** They run *on* the mesh. Every one of them is developed,
|
||||
delivered and hosted by it. So the mesh is not one product among several — it is the ground the
|
||||
others stand on.
|
||||
|
||||
That distinction decides the scope. If the mesh were a product beside others, a per-product HQ
|
||||
would be right. Because it is the substrate the company operates on, a decision about the mesh
|
||||
is a decision about how the company works.
|
||||
|
||||
## Considered options
|
||||
|
||||
1. **`mesh-hq` — one HQ per product.** The safe choice, and the reversible one: a second
|
||||
product creates its own HQ and shared practice graduates upward later. Rejected, knowingly,
|
||||
because it models the mesh as a peer of things that are actually its tenants.
|
||||
2. **A company HQ *and* a product HQ, from the start.** Rejected as ceremony — two repositories
|
||||
for one operator, and the constitution's own YAGNI rule says not to.
|
||||
3. **One company-scoped HQ, `novox/hq`, with the mesh as its first product.** Chosen.
|
||||
|
||||
## Decision
|
||||
|
||||
The repository is **`novox/hq`** — Novox's headquarters, not the mesh's.
|
||||
|
||||
It holds the reasoning behind what Novox builds. Today almost all of that is the mesh, because
|
||||
the mesh is what Novox is building. That is a fact about the present, not a definition of the
|
||||
repository.
|
||||
|
||||
**The scope of each document is fixed now, so the eventual split is mechanical rather than
|
||||
archaeological:**
|
||||
|
||||
| Scope | Documents | Moves if products separate? |
|
||||
|---|---|---|
|
||||
| **Company** | [`how-we-build.md`](../00-META/how-we-build.md), [`process/`](../00-META/process/), [`repos.md`](../00-META/repos.md), this record and [0019](0019-hq-is-its-own-repository.md)–[0027](0027-the-product-is-novox-mesh.md) | No — they stay at the top |
|
||||
| **Product (mesh)** | [`mission.md`](../00-META/mission.md), [`context.md`](../00-META/context.md), [`effect.md`](../00-META/effect.md), `01-RESEARCH`, `03-DESIGN`, `04-ISSUES`, records 0001–0018 | Yes — into a product section |
|
||||
|
||||
The folders are **not** restructured now. One product's content under a company name is
|
||||
correct while there is one product's worth of it, and nesting before there is anything to nest
|
||||
is the ceremony option 2 was rejected for.
|
||||
|
||||
## Consequences
|
||||
|
||||
- Engineering practice has a home that does not belong to the mesh. `how-we-build.md` — never
|
||||
write to production directly, migrations for schema changes, runtime evidence for behavioural
|
||||
criteria — is true of any Novox project, and its being in a mesh repository was always a
|
||||
slight mislabelling.
|
||||
- The constitution derived from it ([ADR 0025](0025-hq-is-the-source-of-the-constitution.md))
|
||||
can legitimately govern work outside the mesh. Under a product HQ it could not have, without
|
||||
either duplicating or reaching across repositories.
|
||||
- **The bet is not entirely forward-looking, and that is worth being honest about.** Novox
|
||||
already has work that is *not* a mesh tenant — client engagements and at least one product
|
||||
that is developed outside it. So the company genuinely has a scope wider than the mesh
|
||||
**today**, which strengthens the case for a company HQ and simultaneously means the split in
|
||||
the table above is closer than "some day". The table is not a precaution; it is a plan whose
|
||||
trigger already half-exists.
|
||||
- What has *not* happened yet is any of that work needing the constitution. That is the actual
|
||||
trigger ([ADR 0025](0025-hq-is-the-source-of-the-constitution.md)): the moment something
|
||||
outside the mesh must be governed by the same rules, product-level content moves down a level
|
||||
and this repository becomes what its name already claims.
|
||||
- A new repository was created rather than the old one transferred — the forge predates the
|
||||
transfer API. `jschoubben/hq` is left in place untouched; it is not the source of truth and
|
||||
nothing points at it.
|
||||
- The mesh's own documents now live one conceptual level below the repository they are in. A
|
||||
reader arriving at `01-RESEARCH` should understand it as the mesh's research, not Novox's.
|
||||
Nothing in the folder names says so, and that is the cost of not restructuring.
|
||||
|
||||
## References
|
||||
|
||||
- [ADR 0027](0027-the-product-is-novox-mesh.md) — the product name that forced the question.
|
||||
- [ADR 0019](0019-hq-is-its-own-repository.md) — why HQ is a repository at all. Unchanged; only
|
||||
its scope moves.
|
||||
Reference in New Issue
Block a user