Skip to main content

Module store

Module store 

Source
Expand description

Backend-neutral object storage abstractions and concrete implementations.

Re-exports§

pub use actor_presence::ActorChainNode;
pub use actor_presence::ActorPresence;
pub use actor_presence::ActorPresenceStatus;
pub use actor_presence::ActorPresenceStore;
pub use actor_presence::AgentUsageSummary;
pub use actor_presence::ContextQueryEntry;
pub use actor_presence::generate_actor_session_id;
pub use agent_task::AGENT_TASK_SCHEMA_VERSION;
pub use agent_task::AgentTaskRecord;
pub use agent_task::AgentTaskStatus;
pub use agent_task::AgentTaskStore;
pub use agent_task::generate_agent_task_id;
pub use agent_task::validate_task_id;
pub use fs::DEFAULT_PACK_INSTALL_INTENT_TTL_SECS;
pub use fs::FsStore;
pub use fs::PackInstallIntent;
pub use fs::PackInstallMetricsSnapshot;
pub use fs::PackInstallPhase;
pub use fs::PackInstallRecoverReport;
pub use fs::install_pack_bytes_journaled;
pub use fs::pack_install_metrics_reset;
pub use fs::pack_install_metrics_snapshot;
pub use fs::recover_pack_install_intents;
pub use fs::recover_pack_install_intents_with_ttl;
pub use liveness::AGENT_LEASE_DURATION;
pub use liveness::Liveness;
pub use liveness::current_boot_id;
pub use liveness::process_alive;
pub use liveness::reservation_liveness_at;
pub use shallow::ShallowInfo;
pub use writer_lease::WriterLease;
pub use writer_lease::WriterLeaseAuthOutcome;
pub use writer_lease::WriterLeaseDraft;
pub use writer_lease::WriterLeaseGrant;
pub use writer_lease::WriterLeaseReserveOutcome;
pub use writer_lease::WriterLeaseStatus;
pub use writer_lease::WriterLeaseStore;
pub use writer_lease::generate_writer_lease_id;
pub use writer_lease::generate_writer_lease_token;

Modules§

actor_presence
Durable actor presence and work-context records.
agent_task
Local agent task assignment store.
codec
Object body codecs for loose-object backends.
fs
Filesystem-based object store.
liveness
Heartbeat-lease liveness for agent reservations.
pack
Packfile management for efficient storage.
shallow
Shallow state management for incomplete history.
source
Store bridges for read-only object source traits.
store_compliance
Backend-agnostic compliance test suite for ObjectStore implementations.
writer_lease
Exclusive writer leases for agent-controlled thread mutations.

Structs§

CompressionConfig
Compression configuration.
PackBuilder
Pack builder for creating packfiles.
PackReader
PackStats
Pack statistics.
StreamingPackBuilder
Streaming pack builder. Held generic over the pack writer (File in production, Cursor<Vec<u8>> in tests).

Enums§

AnyStore
Static-dispatch enum over the concrete object stores Heddle ships.
CompressionError
Compression error type.
HeddleError
Error type for repository/storage-adjacent operations.
PackObjectId
StoreError
Error type for repository/storage-adjacent operations.

Traits§

ExternalObjectSource
Read-only objects whose authoritative representation lives outside the native Heddle object directory. Git-overlay repositories use this seam to translate objects directly from .git without importing a second copy.
ObjectSource
Read-only object access needed by object graph walkers.
ObjectStore
Trait for object storage backends.
SyncData
Fsync staged pack bytes after finalize flush (Wave 5 L7).

Functions§

compress
Compress data with automatic algorithm selection.
decompress
Decompress data based on header.

Type Aliases§

Result
Result type for repository/storage-adjacent operations.