Repository navigation
Releases
Aegis v1.0.1 — remediation fixes and polish
Maintenance release on top of v1.0.0. It fixes the two remediation robustness gaps that an automated security review found and v1.0.0 listed as open, and it polishes how verdicts read. There are no new features and no dependency changes.
Fixes
- Remediation lost update.
execute()androllback()claimed a proposal with a compare-and-set but wrote the final status by id only. The worker's stuck-row sweeper can't tell a slow flag-service request from a crashed one. If it marked a rowfailed/rollback_failedwhile the request was still in flight, the late final write overwrote that record. The final write is now a compare-and-set on the claimed status (executing/rolling_back). When it matches no row, the reconciled record stays and the current row is returned. The late outcome, including the target state it produced, is kept in the audit log. Regression tests for execute and rollback run the real sweeper while the flag write is in flight. Both failed before the fix. - Maintenance-loop fault isolation. One unexpected exception while reconciling a single stuck remediation could end the worker's maintenance task. That silently stopped dead-job reaping, deferred-job promotion, verification and reconciliation until the worker restarted. Now each stuck row is reconciled in isolation (
except Exception, logged; a row that vanished is skipped), and the loop itself logs the error and carries on.BaseExceptionis deliberately not caught, so cancellation still stops the loop. The new tests cover aRuntimeErrorin one row, aRuntimeErrorin the loop, and cancellation.
Polish
- Verdict headline. The UI now builds the headline from the structured root causes: "Strongly supported: catalog — Change-induced (feature flag)", not "catalog (change_induced:feature_flag)". The API's
display_labelis unchanged. - Check reasons. Two now read as plain text: "supported by logs, metrics, traces" and "only metrics modality supports it". Benchmark and held-out outputs are byte-identical to v1.0.0.
- README. A plain-language opening sentence, results lead lines, and a note that the root
src/,tests/andconfig/are the frozen research prototype. - Media. Refreshed screenshots, and a demo GIF that is now reproducible:
frontend/e2e/demo-gif.spec.tswithE2E_GIF=1and ffmpeg. - Dependabot. Version-update PRs are disabled because the repo is frozen at v1.0.x. Security updates stay on.
Verification
- CI (run 42643499927 on
b72be46): all 6 jobs green. Backend: 366 tests, 0 skipped (137 on real PostgreSQL), ruff, mypy--strictand the benchmark gate. Frontend: 81 tests and the build. E2E: 3 Playwright tests against the one-command stack. Research suite: 159 tests. Gitleaks: full history clean. - Synthetic regression benchmark: 15 incidents, 12 correct, 3 correctly abstained, 0 confidently wrong. The engine's authors wrote it, so it's a regression gate, not an accuracy estimate.
- Held-out real captures: 8, 0 confidently wrong (6 abstained, 2 partially correct).
Details are in docs/production-readiness.md (Phase 6 entry). The limitations in the README still apply.
Aegis v1.0.0 — portfolio release
First portfolio release of Aegis: evidence-grounded incident investigation for microservices. The deterministic engine names the root-cause service with cited evidence, or abstains and says what to check next. An optional LLM may only explain or lower confidence.
Highlights
- One-command demo:
scripts/demo-up.sh(or.ps1) starts PostgreSQL, the API, the worker, the seeded demo data and the web UI on http://localhost:8080 (DEMO MODE: development login, localhost only).--liveadds a small instrumented system with Prometheus, Jaeger, Loki and Alertmanager, plus a reversible fault (scripts/demo-fault.sh). - Four seeded cases show a confirmed root cause, a red herring, prompt injection in logs (the verdict is unchanged) and an appropriate abstention.
- Operator UI (React 19 + TypeScript): incidents, live investigation progress, cited verdicts with tri-state checks, evidence explorer.
- CI on every push: 360 backend tests (134 on real PostgreSQL, failing rather than skipping without a database), ruff, mypy
--strict, the benchmark gate, 78 frontend tests, 3 Playwright E2E tests against the one-command stack, image builds, and gitleaks over full history. Dependabot is enabled.
Results (with caveats)
- Synthetic regression benchmark: 15/15 (12 correct, 3 appropriate abstentions, 0 confident-wrong). It's self-authored, a regression gate, not an accuracy estimate.
- Held-out real captures (8): 0 confident-wrong.
- One live demo run: PLAUSIBLE/moderate on the correct service (
catalog) and the correct mechanism (feature flag). It wasn't CONFIRMED because the 60-minute baseline predated the freshly started stack, and the engine said so. - No live LLM output has been accepted yet (1B local model: every output was rejected by the validator).
See the README's Results and Limitations sections, and docs/production-readiness.md (verification ledger).
Not included
Kubernetes/Helm, load and chaos testing, notifications, a remediation UI, and hosted-LLM evaluation (see docs/PORTFOLIO_PROGRESS.md, "Deferred" and "Stretch").