Crate Topology.
The complete architectural blueprint of the sixteen modular Rust crates comprising AEK.
Sixteen decoupled crates.
One cohesive architecture.
Inspect the foundational crates powering AEK's memory safety, deterministic execution, and agent synchronization.
CLI Shell & UX
Clap-driven CLI binary executing subcommands with sub-millisecond dispatch and formatted terminal UI.
Architectural Invariants
- ✓Exit code 0 on success
- ✓Structured JSON/SARIF output flags
- ✓Direct argument array dispatch
Complete Workspace Manifest (16 Crates)
Platform directory resolution, OS/architecture detection, path traversal defense.
Safe execution engine, subprocess supervisor, diagnostics runner, and resource tiers.
Schema validation, TOML persistence, atomic file writes, backup and restore engine.
Global and project rule models, registry, 3-tier precedence resolution, and size validation.
Skill models, frontmatter parsing, project-aware discovery, validation, and installation.
Universal agent adapter trait, capability registry, native config translators, and sync.
Reusable JSON-RPC 2.0 MCP client, Stdio/HTTP transports, and security policy.
Standard configuration adapters for Context7, GitHub, Playwright, Sequential Thinking, Filesystem.
Language toolchain registry, compiler/linter diagnostics, and project detection across 8 ecosystems.
Structured prompt templates, token budgeting, variables, and DSPy declarative signatures.
Promptfoo test suites, red-teaming evaluations, regression assertions, and automated scoring.
8-stage verification pipeline, DAG execution planner, incremental change detector, quality gates.
Security scanner orchestrator, Semgrep & Trivy adapters, dependency auditing, security doctor.
Multi-format report generation (Terminal, Markdown, JSON, OASIS SARIF v2.1.0).
Cross-platform packaging, version checking, atomic in-place updates, rollback archives.
Command-line interface binary, argument parsing via Clap, and user diagnostics.