order grant mirror writes by direction, re-mirror every five minutes, gate on the agent's own harness
This commit is contained in:
parent
8a60f52afa
commit
329d556ab9
1 changed files with 793 additions and 118 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue