Skip to content

Latest commit

 

History

History
49 lines (31 loc) · 3.41 KB

central_cloud_storage.md

File metadata and controls

49 lines (31 loc) · 3.41 KB

Central Storage for SEMOSS Assets

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.

What is stored

  • 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.

Transfer flow

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
Loading

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.

Locking boundaries

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.

Agents and skills

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.

Local and complete 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.