stemedb/ai-lookup/index.md
jordan bbe6aedc40 feat: Aphoria security extractors + LLM evaluation architecture + ontology docs
New security extractors:
- insecure_deserialization, orm_injection, path_traversal, security_headers
- ssrf, unvalidated_redirects, weak_password, xxe
- Enhanced tls_version extractor with comprehensive cipher/protocol checks

Architecture docs:
- Scout-judge extraction pattern for LLM-based code analysis
- LLM prompt evaluation framework
- LLM eval implementation guide

Core improvements:
- stemedb-ontology README and client enhancements
- WAL journal/segment instrumentation
- Signing and ingestion refinements
- Consumer health demo script

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 15:22:55 -07:00

58 lines
3.6 KiB
Markdown

# 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 |
| Circuit Breakers | `features/circuit-breakers.md` | High | 2026-02-03 | Per-agent misbehavior isolation (Phase 7D) |
| 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 |
| Aphoria Config | `features/aphoria-config.md` | High | 2026-02-04 | Configuration options including hosted mode |
## Domain Ontology
| Topic | File | Confidence | Updated | Summary |
|-------|------|------------|---------|---------|
| Adding a Domain | `../docs/guides/adding-a-domain.md` | High | 2026-02-05 | Step-by-step guide for implementing new domains |
| Ontology Crate | `../crates/stemedb-ontology/README.md` | High | 2026-02-05 | Module overview, CLI usage, architecture |
## Use Cases
See [use-cases/README.md](../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 |