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>
84 lines
1.7 KiB
TOML
84 lines
1.7 KiB
TOML
[package]
|
|
name = "aphoria"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "A code-level truth linter powered by Episteme"
|
|
authors = ["Orchard9"]
|
|
license = "MIT"
|
|
|
|
# Standalone crate (not part of workspace)
|
|
[workspace]
|
|
|
|
[[bin]]
|
|
name = "aphoria"
|
|
path = "src/main.rs"
|
|
|
|
[lib]
|
|
name = "aphoria"
|
|
path = "src/lib.rs"
|
|
|
|
# Match workspace lint configuration
|
|
[lints.rust]
|
|
unsafe_code = "forbid"
|
|
missing_docs = "warn"
|
|
|
|
[lints.clippy]
|
|
unwrap_used = "deny"
|
|
expect_used = "deny"
|
|
panic = "deny"
|
|
print_stdout = "warn" # CLI uses println for user output
|
|
print_stderr = "warn"
|
|
|
|
[dependencies]
|
|
# StemeDB dependencies (relative paths from applications/aphoria/)
|
|
stemedb-core = { path = "../../crates/stemedb-core" }
|
|
stemedb-storage = { path = "../../crates/stemedb-storage" }
|
|
stemedb-ingest = { path = "../../crates/stemedb-ingest" }
|
|
stemedb-query = { path = "../../crates/stemedb-query" }
|
|
stemedb-wal = { path = "../../crates/stemedb-wal" }
|
|
|
|
# CLI
|
|
clap = { version = "4.5", features = ["derive"] }
|
|
|
|
# Async runtime
|
|
tokio = { version = "1", features = ["full"] }
|
|
|
|
# File walking
|
|
ignore = "0.4"
|
|
|
|
# Pattern matching
|
|
regex = "1.10"
|
|
|
|
# Serialization
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
toml = "0.8"
|
|
|
|
# Output formatting
|
|
comfy-table = "7.1"
|
|
|
|
# Cryptography
|
|
ed25519-dalek = { version = "2.1", features = ["rand_core"] }
|
|
blake3 = "1.5"
|
|
rand = "0.8"
|
|
|
|
# Error handling
|
|
thiserror = "1.0"
|
|
|
|
# Platform directories
|
|
dirs = "5.0"
|
|
|
|
# Logging
|
|
tracing = "0.1"
|
|
tracing-subscriber = "0.3"
|
|
|
|
# rkyv for zero-copy (consistent with stemedb)
|
|
rkyv = { version = "0.7", features = ["validation"] }
|
|
bytecheck = "0.6"
|
|
|
|
# HTTP client for RFC/OWASP fetching
|
|
ureq = { version = "2.9", features = ["tls"] }
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3.10"
|