guide to agentprivacy
Browse collections
โœจVisualise
Connect with Star
Your VTA, your chosen perspective

The planned connection uses your VTA and the Trust Spanning Protocol to carry a scoped exchange for you or your agent. You choose what is presented; the receiving service checks the request before a view is shared.

This guide has no VTA connection adapter yet. Opening Star does not connect an identity or send a key.

Open Star โ†— ยท Inspect your City Key โ†—
guide / Skill / Holonic Persistence

Holonic Persistence

Category role ยท Version 5.0

Equation term T(ฯ€) (provider-as-sovereignty-transition), D (reconstruction difficulty through provider splitting)

Multi-provider data persistence for privacy-preserving agents. Activates when discussing HyperDrive auto-failover, multi-provider replication, provider-agnostic storage, privacy-aware routing, write-all-or-fail for separation-critical state, TEE rotation with state persistence, or any task requiring durable agent state across backends, chains, and environments.

Source: Privacy Value Model V4 + OASIS Holonic Architecture Whitepaper v1.2
Target context: Infrastructure architects, multi-chain developers, data persistence designers
Architecture: agentprivacy.ai ยท Sync: sync.soulbis.com ยท Contact: mage@agentprivacy.ai

What this is

Privacy-preserving agents need somewhere to persist state that survives TEE rotation, chain migration, and provider failure. The OASIS holonic architecture provides identity-independent data persistence across heterogeneous backends. This skill integrates holonic persistence with the dual-agent separation model.

The key insight: provider diversity is a sovereignty dimension. An agent whose state exists on only one backend is sovereignty-limited to that backend's availability, jurisdiction, and privacy guarantees. Multi-provider persistence transforms T(ฯ€) from chain transitions to provider transitions โ€” a richer sovereignty lattice.

HyperDrive architecture

HyperDrive is the multi-provider orchestration layer:

Auto-failover. If the primary provider fails, HyperDrive automatically routes to the next provider in the failover list. The agent continues operating without interruption. This maps to dark forest resilience โ€” never depend on a single point of failure.

Auto-replication. Holons are replicated across multiple providers according to the replication policy. Write operations can be configured as write-one (fast, eventual consistency), write-majority (balanced), or write-all-or-fail (strict, for separation-critical state).

Load balancing. Read operations distribute across healthy providers. The agent benefits from the fastest available provider without explicit routing logic.

Privacy-aware routing. Providers are classified by privacy characteristics:

  • Shielded providers: Zcash, encrypted databases, privacy-first backends. Swordsman state routes here.
  • Public providers: Ethereum, public APIs, transparent chains. Mage coordination state routes here.
  • Neutral providers: IPFS, MongoDB with encryption-at-rest. Shared state routes here.

Provider as sovereignty transition

In V(ฯ€,t), the term T(ฯ€) captures sovereignty transitions across the lattice. Holonic persistence expands the transition space:

Each provider change is a sovereignty transition. Moving a holon from MongoDB to Zcash is a transition from neutral to shielded โ€” a movement in the privacy dimension of the sovereignty lattice.

ProviderUniqueStorageKey tracks sovereignty history. Each holon maintains a map of {provider_type โ†’ storage_key}. This map is the audit trail of where sovereignty has been exercised. Migration doesn't erase history โ€” it accumulates.

Provider diversity increases D. The reconstruction difficulty term D benefits from provider splitting. Swordsman holons on Zcash + Mage holons on Ethereum = no single provider holds the complete agent model. Even if one provider is compromised, the holon fragments don't reconstruct.

Consistency models and separation guarantees

The dual-agent separation requires mathematical guarantees. Best-effort replication is insufficient for I(S;M|ฯ€) โ‰ค ฮต enforcement:

Separation-critical holons use write-all-or-fail. Any holon that participates in the separation boundary must be replicated to ALL configured providers or the write fails. This prevents partial states that could leak cross-agent information.

Non-critical holons use write-majority. Memory fragments, cached reasoning, temporary coordination state can tolerate eventual consistency. Lower latency, higher availability.

The separation invariant lives in the agent layer. Holons carry the state; the dual-agent architecture enforces the constraint. Consistency for separation-critical holons is a data-layer requirement to support an agent-layer guarantee.

TEE rotation with holonic persistence

When a TEE rotates (TEE-A โ†’ TEE-B), agent state must persist:

  1. Load root holon from primary provider. The agent's memory tree loads from HyperDrive.
  2. Generate new TEE attestation. TEE-B produces its attestation.
  3. Update ProviderMetaData. The attestation field updates: TEEAttestation โ†’ TEE-B_hash.
  4. Replicate to TEE-B's provider set. HyperDrive replicates to the new TEE's preferred providers.
  5. Retain previous attestation in history. ProviderMetaData preserves the audit trail.
  6. GUID unchanged. The holon's identity persists. ParentHolonId unchanged. Children unchanged.

The write policy determines rotation safety:

  • Write-all-or-fail for the root holon (separation-critical)
  • Best-effort for children (can be re-loaded from failover providers if needed)

Integration with cross-chain skill

Multi-provider persistence complements multi-chain sovereignty:

Provider types map to chains. Zcash as a provider type, Ethereum as a provider type, NEAR as a provider type. The chain IS the provider for blockchain-backed holons.

Cross-chain VRC migration is a provider transition. A VRC holon loading from Ethereum, saving to NEAR, retaining both keys โ€” this is holonic persistence in action.

HyperDrive failover list = sovereignty preference order. The order of providers in the failover list expresses sovereignty priority. Privacy chains first for Swordsman holons; coordination chains first for Mage holons.

Operational patterns

Development โ†’ Production. Same holon trees, different provider configuration. MongoDB in development, Zcash+NEAR+IPFS in production. Application code unchanged.

Provider failure recovery. HyperDrive detects failure โ†’ routes to failover โ†’ agent continues โ†’ ops team investigates โ†’ provider restored โ†’ HyperDrive resumes normal routing.

Migration. Add new provider to holon โ†’ update HyperDrive config โ†’ replicate โ†’ remove old provider. The holon's GUID never changes. The application never notices.

Audit. ProviderUniqueStorageKey + ProviderMetaData create a complete audit trail: where the holon has lived, which TEEs have touched it, which providers currently hold it.

Open problems

  1. Cross-provider consistency models โ€” can we achieve stronger-than-eventual consistency without write-all-or-fail latency?
  2. Privacy-aware replication โ€” should replication itself be shielded? Replication traffic patterns leak information.
  3. Provider trust ranking โ€” how to dynamically rank providers by trustworthiness, latency, and privacy guarantees?
  4. Cost optimisation โ€” blockchain providers cost gas; database providers cost compute. How to optimise the provider mix?
  5. Regulatory compliance โ€” some jurisdictions require data residency. How does HyperDrive handle geo-aware routing?

Provenance

Forkable skill page migrated from the agentprivacy skills repo (persona/agentprivacy-holonic-persistence, v5.0).
Source of truth: agentprivacy-skills. Fork this page to materialize a local SKILL.md via fedwiki-to-skill.

origin: 0xagentprivacy ยท author: Mitchell Travers

Assets

๐Ÿ“Ž holonic-persistenceSKILL.md

Navigation

โ† Welcome Visitors ยท Role Skills