fixup: remove issue tags from code, use plain prose
This commit is contained in:
parent
348fb3792a
commit
4093f4fdb4
2 changed files with 10 additions and 10 deletions
|
|
@ -269,17 +269,17 @@ struct StateSnapshot {
|
||||||
/// Peer hives in the same swarm. Parsed from `HYPERHIVE_PEERS`
|
/// Peer hives in the same swarm. Parsed from `HYPERHIVE_PEERS`
|
||||||
/// (JSON array of `{label,domain}` objects, emitted by the c0re
|
/// (JSON array of `{label,domain}` objects, emitted by the c0re
|
||||||
/// NixOS module from `services.hyperhive.peers`). Empty on
|
/// NixOS module from `services.hyperhive.peers`). Empty on
|
||||||
/// single-hive deploys. Feeds iris's P33RS tab (#589). Each entry
|
/// single-hive deploys. Feeds the P33RS dashboard tab. Each entry
|
||||||
/// exposes `name` (the operator-chosen label) and `url` (dashboard
|
/// exposes `name` (the operator-chosen label) and `url` (dashboard
|
||||||
/// link derived as `http://<domain>/`; v0 HTTP-only - HTTPS peers
|
/// link derived as `http://<domain>/`; HTTP-only until the gateway
|
||||||
/// require gateway TLS (#593/#594)).
|
/// has TLS and the scheme is threaded through).
|
||||||
peer_hives: Vec<PeerHiveView>,
|
peer_hives: Vec<PeerHiveView>,
|
||||||
}
|
}
|
||||||
|
|
||||||
/// One peer hive for the P33RS dashboard tab. Derived from
|
/// One peer hive for the P33RS dashboard tab. Derived from
|
||||||
/// `HYPERHIVE_PEERS` env; `url` is the peer's dashboard root so the
|
/// `HYPERHIVE_PEERS` env; `url` is the peer's dashboard root so the
|
||||||
/// tab can render a clickable card without knowing the remote port.
|
/// tab can render a clickable card without knowing the remote port.
|
||||||
/// v0: always `http://` - HTTPS peers need gateway TLS (#593/#594).
|
/// HTTP-only until per-peer TLS is wired through the gateway layer.
|
||||||
#[derive(Serialize)]
|
#[derive(Serialize)]
|
||||||
struct PeerHiveView {
|
struct PeerHiveView {
|
||||||
name: String,
|
name: String,
|
||||||
|
|
|
||||||
|
|
@ -53,7 +53,7 @@ in
|
||||||
message if it's missing. Exposed to agents as
|
message if it's missing. Exposed to agents as
|
||||||
`HYPERHIVE_HIVE_DOMAIN`; consumed by
|
`HYPERHIVE_HIVE_DOMAIN`; consumed by
|
||||||
`hive-ag3nt::identity::hive_domain()` for `<name>@<domain>`
|
`hive-ag3nt::identity::hive_domain()` for `<name>@<domain>`
|
||||||
qualified labels (#589).
|
qualified labels.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -86,7 +86,7 @@ in
|
||||||
description = ''
|
description = ''
|
||||||
Human-readable name of the wider swarm this hive belongs to.
|
Human-readable name of the wider swarm this hive belongs to.
|
||||||
Hives at different DNS domains can share a swarm name when
|
Hives at different DNS domains can share a swarm name when
|
||||||
they federate together (#589). Exposed to agents as
|
they federate together. Exposed to agents as
|
||||||
`HYPERHIVE_SWARM_NAME`; surfaced in the dashboard chrome and
|
`HYPERHIVE_SWARM_NAME`; surfaced in the dashboard chrome and
|
||||||
per-agent system prompt when set.
|
per-agent system prompt when set.
|
||||||
'';
|
'';
|
||||||
|
|
@ -97,7 +97,7 @@ in
|
||||||
# `HYPERHIVE_PEERS` into the hive-c0re service and forwarded to agent
|
# `HYPERHIVE_PEERS` into the hive-c0re service and forwarded to agent
|
||||||
# containers via `meta.rs::FORWARDED_VARS`. Consumed by
|
# containers via `meta.rs::FORWARDED_VARS`. Consumed by
|
||||||
# `identity.rs::peers()` + the dashboard's `peer_hives` state field
|
# `identity.rs::peers()` + the dashboard's `peer_hives` state field
|
||||||
# (feeds iris's P33RS tab). See #589.
|
# (feeds the P33RS dashboard tab).
|
||||||
options.services.hyperhive.peers = lib.mkOption {
|
options.services.hyperhive.peers = lib.mkOption {
|
||||||
type = lib.types.attrsOf (lib.types.submodule {
|
type = lib.types.attrsOf (lib.types.submodule {
|
||||||
options = {
|
options = {
|
||||||
|
|
@ -118,7 +118,7 @@ in
|
||||||
Optional path to a PEM cert/bundle to trust for this peer's
|
Optional path to a PEM cert/bundle to trust for this peer's
|
||||||
TLS. Null = system CA bundle (for Let's Encrypt peers). Set
|
TLS. Null = system CA bundle (for Let's Encrypt peers). Set
|
||||||
to the peer's self-signed cert for `selfSignedTls = true`
|
to the peer's self-signed cert for `selfSignedTls = true`
|
||||||
peers. See #594.
|
peers. Forward-compat slot; not yet used in v0.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
@ -132,8 +132,8 @@ in
|
||||||
Peer hives in the same swarm. The attrset key is a short label
|
Peer hives in the same swarm. The attrset key is a short label
|
||||||
used in dashboard links and log messages -- it does not need to
|
used in dashboard links and log messages -- it does not need to
|
||||||
match the remote hive's `hiveName`. Null `tlsCertFile` uses the
|
match the remote hive's `hiveName`. Null `tlsCertFile` uses the
|
||||||
system CA bundle; set it for self-signed TLS peers (#594 slot,
|
system CA bundle; set it for self-signed TLS peers (forward-compat
|
||||||
unimplemented in v0).
|
slot, not yet used in v0).
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue