This commit includes comprehensive work on Phase 6 features: ## Admission Control (Phase 6 admission middleware) - AdmissionStore implementation backed by TrustRankStore - PoW verification with tier-based difficulty computation - Trust tier progression (Newcomer → Established → Trusted → Authority) - API integration with admission status endpoints ## HLC Recency Lens (Phase 6C) - HlcRecencyLens for distributed system ordering - Hybrid logical clock integration with causality preservation ## Cluster Coordination (Phase 6C) - Multi-node cluster tests (availability, partition tolerance) - CRDT convergence tests for anti-entropy sync - Gateway handler improvements ## Aphoria Code Linter (Phase 2A) - RFC/OWASP corpus builders with network fetching and caching - Concept hierarchy with auto-alias creation on conflict detection - Multiple security extractors (TLS, JWT, CORS, secrets, rate limiting) ## Code Organization - Split large files into modules to comply with 500-line limit - Improved test organization with separate test modules - Fixed rkyv serialization for EigenTrustState (AgentScore struct) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
48 lines
1.2 KiB
TOML
48 lines
1.2 KiB
TOML
[package]
|
|
name = "stemedb-storage"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "Storage engine abstraction and implementations for Episteme"
|
|
|
|
# Inherit workspace lints
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
stemedb-core = { path = "../stemedb-core" }
|
|
fjall = "2"
|
|
redb = "2"
|
|
dashmap = "6"
|
|
tempfile = "3.10"
|
|
thiserror = "1.0"
|
|
tracing = "0.1"
|
|
async-trait = "0.1"
|
|
blake3 = "1.5"
|
|
hex = "0.4"
|
|
memchr = "2"
|
|
rkyv = { version = "0.7", features = ["validation"] }
|
|
# HNSW vector index for k-NN similarity search
|
|
hnsw_rs = "0.3"
|
|
# Thread-safe read-write locks for index access
|
|
parking_lot = "0.12"
|
|
tokio = { version = "1", features = ["sync", "rt", "time"] }
|
|
# Memory-mapped files for cold index persistence
|
|
memmap2 = "0.9"
|
|
# Fast CRC32C checksums (hardware-accelerated on x86)
|
|
crc32c = "0.6"
|
|
# Byte order encoding for checkpoint format
|
|
byteorder = "1.5"
|
|
# Graph data structures for EigenTrust trust graph
|
|
petgraph = "0.6"
|
|
# Linear algebra for EigenTrust power iteration
|
|
nalgebra = "0.33"
|
|
|
|
[dev-dependencies]
|
|
tokio = { version = "1", features = ["macros", "rt", "rt-multi-thread"] }
|
|
criterion = { version = "0.5", features = ["html_reports", "async_tokio"] }
|
|
proptest = "1.4"
|
|
|
|
[[bench]]
|
|
name = "kv_store"
|
|
harness = false
|