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::FsRepackOperation;
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.
RepackCancellationToken
Cooperative cancellation shared by a caller and a repack operation.
RepackContext
Cooperative controls supplied to a storage-specific operation.
RepackHandle
Handle for cancellation and result collection.
RepackInventory
Cheap storage facts used to decide whether a repack is worthwhile.
RepackOutcome
Storage-produced measurements, excluding scheduler-owned duration/reason.
RepackPolicy
Configurable automatic repack thresholds.
RepackReport
Completed operation measurements.
RepackResourceLimits
Scheduler-wide resource limits.
RepackScheduler
Bounded background scheduler shared by native and hosted repack payloads.
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
RepackError
Error returned by scheduling or executing a repack.
RepackReason
The policy signal that caused a background repack.
RepackSchedule
Result of asking the scheduler to start work.
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.
RepackLoadMonitor
Host-load signal consulted at cooperative checkpoints.
RepackOperation
Storage-specific repack payload driven by the scheduler.
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.