final case class GarbageCollectionConfig(maxReferencesPerPartition: Int = ..., maximumPartitionDepth: Int = ..., maxCompatibilityReferences: Int = ..., maxCompatibilityReceipts: Int = ..., workspaceDirectory: Option[Path] = ...)
Resource limits and operator-controlled workspace placement for repository garbage collection.
The configuration is deliberately separate from the storage ports. It can be supplied directly in tests or loaded through ZIO Config from GRAVITON_GC_* environment variables. The reference-partition limit is a heap cardinality bound: a sweep holds at most that many block keys in one partition set, plus a 256-record I/O batch and a backend cursor/page.