CentralCloudStorage manages shared asset files through a configured storage backend. Application nodes keep working copies and use push/pull operations to synchronize them with central storage.
This storage is distinct from system database tables, live JVM state, and transient agent event buffers.
- Engine configuration and associated files.
- Project files, including application, WORKSPACE agent, and SKILL project assets.
- Saved insight files and project-specific resources.
- User assets and room folders where the corresponding synchronization path is used.
The implementation defines storage namespaces and paths for the different asset types. Use ClusterUtil and the storage helpers rather than duplicating their path conventions in application code.
flowchart LR
A["Node A working copy"] -->|push| Store["Configured central storage"]
Store -->|pull| B["Node B working copy"]
A -->|change notification| Sync["Redis or ZooKeeper synchronizer"]
Sync -->|refresh applicable resource| B
CentralCloudStorage supplies resource-specific operations for engines, projects, insights, user assets, and room files. Storage provider setup chooses the underlying implementation. Supported deployment examples include MinIO/S3-compatible storage and cloud-provider storage configurations.
Notifications and file transfers are separate operations. A direct edit to a local file is not evidence that a matching push and notification occurred.
EngineSyncUtility and ProjectSyncUtility provide local resource locks used during synchronization. A JVM ReentrantLock is not a distributed lock across application nodes. Coordinate cross-node behavior through the configured synchronization implementation and the resource's supported mutation path.
The agent runner resolves a file target and stages attached skill packages into that target's .claude/skills/ directory. The source skill project remains the canonical package. Its staged copy is a working copy that can be refreshed during later runs.
After agent execution, configured cloud-mode paths push the target and room assets through the runner's synchronization lifecycle. Conversation history, run status, and approval decisions are persisted separately in the model-inference database. Redis room caches and agent event buffers are not substitutes for either store.
See skill staging and agent state boundaries.
- Single node with PostgreSQL and MinIO
- Two nodes with Redis
- Two nodes with ZooKeeper
- Complete deployment examples
Inspect the selected example's volumes and storage settings when planning persistence. The MinIO examples use object storage for shared assets; that is different from the named application volumes used by the basic local stack.