pub const ENCAPSULATION_MODE: &str = "tatara.pleme.io/encapsulation-mode";Expand description
Stamped by
tatara-reconciler::render::mark_resources_as_adopting on every
emitted resource of a Process whose
[crate::encapsulates::EncapsulatesSpec.mode] gates the Adopt
arm. Value is the wire-form spelling of the corresponding
crate::encapsulates::EncapsulationMode variant
("Adopt" today; future modes ride through the same closed set),
so downstream consumers (operator dashboards, admission webhooks,
audit-trail scrapers) can filter which owned resources were
stamped for adoption vs greenfield management vs pure observation
without re-deriving the mode from the parent Process spec. Peer
to ADOPTED_RELEASE on the same encapsulation-diagnostic
axis-family; both keys travel together at the same emit site so
a future rename (a tatara.pleme.io/v2/encapsulation-mode
migration, a per-fleet override, a collapse into a compound
tatara.pleme.io/encapsulation payload key) lands at ONE
pub const in the substrate and every downstream consumer
inherits the upgrade mechanically.