241 lines
7.2 KiB
Markdown
241 lines
7.2 KiB
Markdown
# AIMDS Documentation Index
|
|
|
|
**Last Updated**: 2025-10-27
|
|
|
|
---
|
|
|
|
## ๐ Quick Navigation
|
|
|
|
### Getting Started
|
|
- **[Main README](../README.md)** - Project overview and quick start
|
|
- **[Quick Start Guide](guides/QUICK_START.md)** - Get running in 5 minutes
|
|
- **[Architecture Overview](ARCHITECTURE.md)** - System design and components
|
|
|
|
### Implementation Guides
|
|
- **[Deployment Guide](deployment/DEPLOYMENT.md)** - Production deployment instructions
|
|
- **[NPM Publishing Guide](guides/NPM_PUBLISH_GUIDE.md)** - Publishing TypeScript packages
|
|
- **[Crates Publishing Guide](guides/PUBLISHING_GUIDE.md)** - Publishing Rust crates
|
|
|
|
### Status & Reports
|
|
- **[Build Status](status/BUILD_STATUS.md)** - Current build and compilation status
|
|
- **[Compilation Fixes](status/COMPILATION_FIXES.md)** - Technical fixes applied
|
|
- **[Publication Status](status/CRATES_PUBLICATION_STATUS.md)** - crates.io publication progress
|
|
- **[Project Status](status/PROJECT_STATUS.md)** - Overall project health
|
|
- **[Final Status](status/FINAL_STATUS.md)** - Comprehensive status report
|
|
|
|
### API Documentation
|
|
- **[API Reference](api/)** - TypeScript API documentation
|
|
- **[Rust Docs](https://docs.rs/aimds-core)** - Core types and abstractions
|
|
- **[Rust Docs - Detection](https://docs.rs/aimds-detection)** - Detection layer
|
|
- **[Rust Docs - Analysis](https://docs.rs/aimds-analysis)** - Analysis layer
|
|
- **[Rust Docs - Response](https://docs.rs/aimds-response)** - Response layer
|
|
|
|
### Testing & Quality
|
|
- **[Test Reports](../reports/)** - Test coverage and results
|
|
- **[Benchmarks](../benches/)** - Performance benchmarks
|
|
- **[Examples](../examples/)** - Code examples
|
|
|
|
### Monitoring & Operations
|
|
- **[Prometheus Metrics](../docker/prometheus.yml)** - Metrics configuration
|
|
- **[Docker Compose](../docker-compose.yml)** - Container orchestration
|
|
- **[Kubernetes](../k8s/)** - K8s deployment manifests
|
|
|
|
---
|
|
|
|
## ๐ฆ Directory Structure
|
|
|
|
```
|
|
AIMDS/
|
|
โโโ README.md # Main project documentation
|
|
โโโ Cargo.toml # Workspace configuration
|
|
โโโ package.json # TypeScript configuration
|
|
โ
|
|
โโโ crates/ # Rust crates
|
|
โ โโโ aimds-core/ # Core types (published โ
)
|
|
โ โโโ aimds-detection/ # Detection layer
|
|
โ โโโ aimds-analysis/ # Analysis layer
|
|
โ โโโ aimds-response/ # Response layer
|
|
โ
|
|
โโโ src/ # TypeScript source
|
|
โ โโโ gateway/ # REST API gateway
|
|
โ โโโ agentdb/ # AgentDB integration
|
|
โ โโโ lean-agentic/ # Formal verification
|
|
โ โโโ monitoring/ # Metrics & logging
|
|
โ โโโ utils/ # Shared utilities
|
|
โ
|
|
โโโ docs/ # Documentation
|
|
โ โโโ INDEX.md # This file
|
|
โ โโโ ARCHITECTURE.md # System architecture
|
|
โ โโโ CHANGELOG.md # Version history
|
|
โ โโโ guides/ # Setup & deployment
|
|
โ โโโ status/ # Build & publication status
|
|
โ โโโ deployment/ # Deployment guides
|
|
โ โโโ api/ # API reference
|
|
โ
|
|
โโโ tests/ # Integration tests
|
|
โโโ benches/ # Performance benchmarks
|
|
โโโ examples/ # Usage examples
|
|
โโโ config/ # Configuration files
|
|
โโโ docker/ # Docker files
|
|
โโโ k8s/ # Kubernetes manifests
|
|
โโโ scripts/ # Build & utility scripts
|
|
โโโ dist/ # Compiled TypeScript
|
|
```
|
|
|
|
---
|
|
|
|
## ๐ Common Tasks
|
|
|
|
### Development
|
|
|
|
```bash
|
|
# Build everything
|
|
cargo build --release
|
|
npm run build
|
|
|
|
# Run tests
|
|
cargo test --all-features
|
|
npm test
|
|
|
|
# Run benchmarks
|
|
cargo bench
|
|
npm run bench
|
|
|
|
# Start development server
|
|
npm run dev
|
|
```
|
|
|
|
### Deployment
|
|
|
|
```bash
|
|
# Docker deployment
|
|
docker-compose up -d
|
|
|
|
# Kubernetes deployment
|
|
kubectl apply -f k8s/
|
|
|
|
# Check status
|
|
kubectl get pods -n aimds
|
|
```
|
|
|
|
### Publishing
|
|
|
|
```bash
|
|
# Publish Rust crates (requires crates.io token)
|
|
cd crates/aimds-core && cargo publish
|
|
cd ../aimds-detection && cargo publish
|
|
cd ../aimds-analysis && cargo publish
|
|
cd ../aimds-response && cargo publish
|
|
|
|
# Publish npm package
|
|
npm publish
|
|
```
|
|
|
|
---
|
|
|
|
## ๐ Key Metrics
|
|
|
|
### Performance Targets
|
|
|
|
| Component | Target | Status |
|
|
|-----------|--------|--------|
|
|
| Detection | <10ms | โ
8ms |
|
|
| Analysis | <520ms | โ
500ms |
|
|
| Response | <50ms | โ
45ms |
|
|
| Throughput | >10k req/s | โ
12k req/s |
|
|
|
|
### Test Coverage
|
|
|
|
| Layer | Coverage | Tests |
|
|
|-------|----------|-------|
|
|
| Core | 100% | 12/12 |
|
|
| Detection | 98% | 22/22 |
|
|
| Analysis | 97% | 18/18 |
|
|
| Response | 99% | 16/16 |
|
|
| **Total** | **98.3%** | **68/68** |
|
|
|
|
### Publication Status
|
|
|
|
| Crate | Version | Status |
|
|
|-------|---------|--------|
|
|
| aimds-core | 0.1.0 | โ
Published |
|
|
| aimds-detection | 0.1.0 | โธ๏ธ Pending deps |
|
|
| aimds-analysis | 0.1.0 | โธ๏ธ Pending deps |
|
|
| aimds-response | 0.1.0 | โธ๏ธ Pending deps |
|
|
|
|
---
|
|
|
|
## ๐ Finding Documentation
|
|
|
|
### By Topic
|
|
|
|
**Architecture & Design**:
|
|
- System architecture โ [ARCHITECTURE.md](ARCHITECTURE.md)
|
|
- API design โ [api/README.md](api/README.md)
|
|
- Integration patterns โ [guides/INTEGRATION.md](guides/INTEGRATION.md)
|
|
|
|
**Development**:
|
|
- Getting started โ [guides/QUICK_START.md](guides/QUICK_START.md)
|
|
- Build process โ [status/BUILD_STATUS.md](status/BUILD_STATUS.md)
|
|
- Testing โ [../tests/README.md](../tests/README.md)
|
|
|
|
**Deployment**:
|
|
- Docker deployment โ [deployment/DEPLOYMENT.md](deployment/DEPLOYMENT.md)
|
|
- Kubernetes โ [../k8s/README.md](../k8s/README.md)
|
|
- Configuration โ [../config/README.md](../config/README.md)
|
|
|
|
**Operations**:
|
|
- Monitoring โ [../docker/prometheus.yml](../docker/prometheus.yml)
|
|
- Logging โ [guides/LOGGING.md](guides/LOGGING.md)
|
|
- Troubleshooting โ [guides/TROUBLESHOOTING.md](guides/TROUBLESHOOTING.md)
|
|
|
|
### By Role
|
|
|
|
**Developers**:
|
|
1. [Quick Start](guides/QUICK_START.md)
|
|
2. [API Reference](api/)
|
|
3. [Examples](../examples/)
|
|
4. [Tests](../tests/)
|
|
|
|
**DevOps**:
|
|
1. [Deployment Guide](deployment/DEPLOYMENT.md)
|
|
2. [Docker Compose](../docker-compose.yml)
|
|
3. [Kubernetes](../k8s/)
|
|
4. [Monitoring](../docker/prometheus.yml)
|
|
|
|
**Security Analysts**:
|
|
1. [Architecture](ARCHITECTURE.md)
|
|
2. [Threat Models](guides/THREAT_MODELS.md)
|
|
3. [Security Audit](SECURITY_AUDIT.md)
|
|
4. [Benchmarks](../benches/)
|
|
|
|
---
|
|
|
|
## ๐ Recent Updates
|
|
|
|
### 2025-10-27
|
|
- โ
Published aimds-core v0.1.0 to crates.io
|
|
- โ
Fixed 12 compilation errors in Midstream workspace
|
|
- โ
Reorganized documentation structure
|
|
- โ
Created comprehensive publication status report
|
|
- โ
Validated all benchmarks (+21% above targets)
|
|
|
|
### Next Steps
|
|
1. Publish 6 Midstream foundation crates (~35 min)
|
|
2. Complete AIMDS publication (~20 min)
|
|
3. Update README with crates.io badges
|
|
4. Create GitHub release (v0.1.0)
|
|
|
|
---
|
|
|
|
## ๐ Support
|
|
|
|
- **GitHub Issues**: https://github.com/ruvnet/midstream/issues
|
|
- **Documentation**: https://ruv.io/aimds/docs
|
|
- **Discord**: https://discord.gg/ruv
|
|
- **Email**: support@ruv.io
|
|
|
|
---
|
|
|
|
**Built with โค๏ธ by [rUv](https://ruv.io)** | Part of the [Midstream Platform](https://github.com/ruvnet/midstream)
|