aegis-runtime-mv
Native Rust agent runtime: Axum WebSocket/SSE/REST gateway, heartbeat scheduler, dependency-aware task workflow, SQLite storage. Attachment of AienOS. Pre-alpha.
Brought by drakestapleton
aegis-runtime-mv / AGENTS.md
| 1 | # Agent Integration Guide: aegis-runtime |
| 2 | |
| 3 | This document defines the interface and protocols for autonomous agents interacting with or contributing to `aegis-runtime`. |
| 4 | |
| 5 | Development follows [Human-Directed Agentic Engineering (HDAE)](README.md#human-directed-agentic-engineering). |
| 6 | Humans define goals, architecture, constraints, acceptance criteria and stopping points; |
| 7 | agents implement, execute checks, diagnose failures and revise within those boundaries. |
| 8 | Human review retains responsibility for claims, acceptance and release decisions. |
| 9 | The README cites Gregory M. Kurtzer's documented method and systems-software case study (2026). |
| 10 | This development method does not rename or limit the runtime behavior described below. |
| 11 | |
| 12 | ## Autonomous Operating Rules |
| 13 | 1. **Branch Isolation**: Never commit directly to `main`. Create feature branches (`feat/`, `fix/`, `perf/`), execute preflight checks, and open public Pull Requests immediately. |
| 14 | 2. **Zero Disk Secrets**: Never write plaintext `.env` files. Secrets resolve in memory from `atlas-vault get <KEY>`. `VaultResolver` is a client of that command, not a TPM. Read the process environment only when `AIEN_DEV_SECRET_FALLBACK=1`. Redact secrets with `[REDACTED_BY_ATLAS_VAULT]`. |
| 15 | 3. **Unslop Standard**: Zero em dashes (`-`) and zero en dashes (`-`). Use commas, colons, or parentheses. Do not use AI clichés or conversational filler. |
| 16 | 4. **Pure Native Execution**: Core runtime services must compile to native Rust. Do not introduce Node.js or Python daemons. |
| 17 | |
| 18 | ## Architecture and Endpoints |
| 19 | - **Control Plane**: Port 18096 (Axum REST, SSE, WebSocket). |
| 20 | - **Local Model Seat**: Port 18006 (any OpenAI-compatible model server on GB10, used with `--inference http`). |
| 21 | - **SQLite Database**: `aegis.sqlite` in WAL mode. |
| 22 | |
| 23 | ## Preflight Verification |
| 24 | Before pushing changes or opening a PR: |
| 25 | ```bash |
| 26 | ./scripts/agent-preflight.sh |
| 27 | ``` |
| 28 | All checks must pass with exit code 0. |