Watch
0
0
Fork
You've already forked hyperhive
0

order grant mirror writes by direction, re-mirror every five minutes, gate on the agent's own harness

This commit is contained in:
atlas 2026-11-01 18:27:55 +01:00
commit 329d556ab9

View file

@ -1,13 +1,15 @@
//! What a hive's status snapshot (`swarm_queue_client::status`) says about
//! what the hive can do, next to its readiness.
//! What a hive or an agent's harness says it can do, in the same `capabilities`
//! list of two documents: a hive's status snapshot
//! (`swarm_queue_client::status`, next to its readiness) and an agent's
//! turn-state header (`swarm_queue_client::agent_state_subject`).
//!
//! The snapshot is opaque to the controller except for this field. A snapshot
//! from a hive that predates it has none, which reads as an empty list.
//! Readers take nothing else from the snapshot or header here. A document that
//! predates the field has none, which reads as an empty list.
/// The hive decodes a permission list that names a permission it does not
/// know by skipping that name, and runs agents on a harness that does too.
/// swarm-controller writes `logs` or `metrics` into an agent's record only
/// when the agent's hive advertises this.
/// The publisher decodes a permission list that names a permission it does not
/// know by skipping that name. swarm-controller writes `logs` or `metrics` into
/// an agent's record only when both its hive and its running harness advertise
/// this.
pub const TOLERANT_PERMISSIONS: &str = "tolerant-permissions";
/// The part of a hive's status snapshot this module describes.