Documentation
¶
Overview ¶
Package subsystems is the single source of truth for which Hanzo cloud subsystems are linked into a binary.
Blank-importing this package pulls every subsystem into the build graph; each one registers a cloud.MountSpec into cloud.Registry from its own init(). Registration is unconditional — a plain `go build ./cmd/cloud` (no build tags) links and mounts the full set. There is no //go:build gate on any subsystem.
Both entrypoints — cmd/cloud (the full fused surface) and cmd/hanzo (the subcommand dispatcher) — blank-import THIS package and nothing else. The subsystem set is therefore defined ONCE, here; adding or removing a subsystem is a one-line change in one file, never duplicated per binary.
(This package must NOT live in the root `cloud` package: the subsystems import `cloud` for Deps + Register, so a root-package bundle would form an import cycle. As a sibling subpackage it composes them without one.)