stemedb/crates/stemedb-api/tests
jml 3e7eddc074 feat: add enterprise production readiness infrastructure
This commit implements comprehensive production hardening across multiple
layers to prepare StemeDB for enterprise pilot deployments:

## API Layer
- Add rate limiting middleware with configurable limits per endpoint
- Enhance error handling with detailed context and proper HTTP status codes
- Add security hardening tests for input validation and boundary conditions
- Create store_helpers module for defensive storage access patterns

## Storage & WAL
- Optimize group commit batching for higher throughput
- Add defensive error handling in hybrid backend with proper fallbacks
- Enhance WAL journal durability guarantees with fsync validation
- Improve index store query performance with better caching

## Operations & Deployment
- Add comprehensive operations documentation (deployment, monitoring, DR)
- Create systemd units for backup, WAL archival, and verification
- Add monitoring configs (Prometheus alerts, metrics exporters)
- Implement backup/restore scripts with verification and S3 archival
- Add DR drill automation and runbook procedures
- Create load balancer configs (nginx, envoy) with health checks

## Documentation
- Update CLAUDE.md with operations and troubleshooting guides
- Expand roadmap with production readiness milestones
- Add pilot success criteria and deployment reference architecture
- Document TLS setup, monitoring integration, and incident response

## Configuration
- Add .env.example with all required environment variables
- Document resource sizing for different deployment scales
- Add configuration examples for various deployment topologies

This positions StemeDB for successful enterprise pilots with proper
operational discipline, monitoring, backup/DR, and security hardening.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-12 06:08:15 +00:00
..
common fix(api): enable querying of CLI-created community corpus items 2026-02-09 15:54:35 +00:00
admission_integration.rs feat: Phase 6 UAT - Admission control, HLC recency, cluster coordination 2026-02-03 00:43:37 -07:00
e2e_full_pipeline.rs fix(api): enable querying of CLI-created community corpus items 2026-02-09 15:54:35 +00:00
e2e_lens_resolution.rs fix(api): enable querying of CLI-created community corpus items 2026-02-09 15:54:35 +00:00
http_advanced.rs fix(api): enable querying of CLI-created community corpus items 2026-02-09 15:54:35 +00:00
http_basic.rs refactor: Split all files to enforce 500-line max 2026-02-02 01:13:45 -07:00
http_crud.rs refactor: Split all files to enforce 500-line max 2026-02-02 01:13:45 -07:00
http_epoch.rs refactor: Split all files to enforce 500-line max 2026-02-02 01:13:45 -07:00
http_gold_standard.rs refactor: Split all files to enforce 500-line max 2026-02-02 01:13:45 -07:00
http_pipeline.rs refactor: Split all files to enforce 500-line max 2026-02-02 01:13:45 -07:00
http_query.rs refactor: Split all files to enforce 500-line max 2026-02-02 01:13:45 -07:00
http_validation.rs refactor: Split all files to enforce 500-line max 2026-02-02 01:13:45 -07:00
security_hardening.rs feat: add enterprise production readiness infrastructure 2026-02-12 06:08:15 +00:00