Content Defense (Phase 7): - Add SimilarityIndex with MinHash/LSH for near-duplicate detection - Add QuarantineStore for flagged assertions awaiting admin review - Add CircuitBreakerStore for per-agent circuit breaker state - Add ContentDefenseLayer for ingestion pipeline integration - Add API endpoints for quarantine and circuit breaker management - Add research module with gap detection and documentation fetching Code Structure Improvements: - Extract research CLI commands to research_commands.rs - Extract API routers to routers.rs module - Extract key_codec extraction functions to separate module - Extract test modules to separate files across multiple crates - All files now under 500 line limit per pre-commit hook Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
3.0 KiB
3.0 KiB
AI Lookup Index
Token-efficient fact storage for StemeDB. Query these for quick context without loading full docs.
Services
| Topic | File | Confidence | Updated | Summary |
|---|---|---|---|---|
| Assertion | services/assertion.md |
High | 2025-01-31 | Core data structure for all claims |
| Ballot Box | services/ballot-box.md |
High | 2026-01-31 | High-velocity vote storage (VoteStore) |
| Ingestor | services/ingestor.md |
High | 2026-01-31 | WAL-to-KV background worker |
| Lens | services/lens.md |
High | 2026-01-31 | Read-time resolution strategies (includes TrustAwareAuthority) |
| Lifecycle | services/lifecycle.md |
High | 2026-01-31 | Proposed/Approved state machine |
| Materializer | services/materializer.md |
High | 2026-01-31 | Background worker for O(1) reads via MV: keys |
| API Surface | services/api.md |
High | 2026-01-31 | HTTP API with axum + utoipa OpenAPI |
| SDK | services/sdk.md |
High | 2026-02-01 | Go client libraries (core + ADK-Go integration) |
| Storage | services/storage.md |
High | 2026-01-31 | KV layout and write path |
Patterns
| Topic | File | Confidence | Updated | Summary |
|---|---|---|---|---|
| ADK-Go Integration | patterns/adk-integration.md |
High | 2026-01-31 | Tool definitions and callbacks for agents |
| Content-Addressing | patterns/content-addressing.md |
High | 2025-01-31 | BLAKE3 hashing for immutability |
| API Documentation | patterns/api-documentation.md |
High | 2026-01-31 | utoipa + OpenAPI + Slate DRY pipeline |
| Error Handling | patterns/error-handling.md |
High | 2025-01-31 | thiserror + context pattern |
Features
| Topic | File | Confidence | Updated | Summary |
|---|---|---|---|---|
| Admission Control | features/admission-control.md |
High | 2026-02-03 | PoW-based spam protection (Phase 7A) |
| Branching | features/branching.md |
Medium | 2025-01-31 | "Fork Reality" overlay graphs |
| Content Defense | features/content-defense.md |
High | 2026-02-03 | MinHash dedup, quality scoring, quarantine (Phase 7C) |
| Gardener | features/gardener.md |
High | 2026-01-31 | TrustRank back-propagation on errors |
| Query Audit | features/query-audit.md |
High | 2026-01-31 | Trace agent decisions for debugging |
| TrustRank | features/trust-rank.md |
High | 2026-01-31 | Agent reputation system with learning loop |
| Simulation | features/simulation.md |
High | 2026-01-31 | Agent-based modeling for validation |
| Phase 6 UAT | features/phase6-uat.md |
High | 2026-02-02 | Distributed writes UAT results and fixes |
Use Cases
See use-cases/README.md for production scenarios with Postgres Test analysis.
| Use Case | File | Pillars | Summary |
|---|---|---|---|
| Financial Due Diligence | ../use-cases/financial-due-diligence.md |
All Four | M&A investigation with contradictions |
| Agile AI Agent Team | ../use-cases/agile-agent-team.md |
All Four | Agent coordination with lifecycle stages |