hyperhive/hive-c0re/src/lifecycle
Repository files (latest commit first)
Filename Latest commit message Latest commit date
atlas ca4b56c006 hive-c0re: stop naming nix implementation files in env-var prose
Six diagnostics and eight comments explained where an environment
variable comes from by naming the module file that sets it. The reader
of a panic is an operator, who does not edit that file; the reader of
the comment is already in the code. Neither can act on a filename, and
a filename in prose is checked by nothing.

Each one now names what the reader can act on: the option where there
is one (services.hyperhive.network.bridgeName, .bridgeIp,
.bridgePrefixLength, c0re.assets, c0re.orgAvatarPng), otherwise the
unit the process is expected to run under. Two of the six diagnostics
had a real option available; the other four have none, so they name
the unit rather than an invented path.

Four of them pointed at hive-c0re.nix, which is a directory. Two of
those spelled it nix/modules/hive-c0re.nix — a directory that does not
exist either, and one of the two was wrapped across a line break, so
no grep for the whole path could have found it. That is the argument
for the change: prose naming a file rots silently because nothing
compiles it.

Scope here is the four files around those diagnostics. The same
pattern still matches elsewhere in the tree; that sweep follows.
2026-08-30 14:13:11 +02:00
..
git.rs fix(#2911): keep the forge token out of argv 2026-08-02 13:21:42 +02:00
host_config.rs hive-priv, hive-c0re: link docs/network.md instead of restating it 2026-08-30 04:13:22 +02:00
mod.rs hive-c0re: stop naming nix implementation files in env-var prose 2026-08-30 14:13:11 +02:00
setup.rs docs: a config change is a PR from a clone, not an edit in place 2026-08-04 22:40:22 +02:00
tests.rs require network isolation, deleting the residual non-isolated branch 2026-08-30 03:32:08 +02:00