AGENTS.md
AGENTS.mdAGENTS.mdroot
Quality
63/100
Scores the file, not the repository.Length
341 words
6 headings · 0 code blocksRepository
0
— · pushed 54 days agoLast changed
3 days ago
First indexed 3 days ago.1# Acheron — AI agent & contributor guide23Vendor-neutral project context, shared across AI coding tools. Cursor reads this4file natively; Claude Code reads it via the `@AGENTS.md` import in `CLAUDE.md`.5Tool-specific rules live in `.cursor/rules/` (Cursor, glob-scoped via `globs:`)6and `.claude/rules/` (Claude Code, imported from `CLAUDE.md` so they load every7session) — keep those mirrors in sync with each other and with this file.8`ARCHITECTURE.md` is the authoritative design document.910## What this is1112`acheron` is a Distributed Event Processing Platform. Write path:13`POST /events` → bounded in-process `asyncio.Queue` → async worker →14**MongoDB (source of truth)**. Elasticsearch is a **derived mirror**, populated15strictly downstream from a Mongo outbox (`es_indexed` marker) by the `EsIndexer`.16Redis caches the realtime stats summary.1718## Layering (keep these boundaries)1920- `app/api/` — HTTP only: translate request ↔ domain, map errors to status codes.21- `app/ingestion/`, `app/worker/` — pipeline logic (enqueue, consume, index, rollup).22- `app/storage/`, `app/cache/`, `app/queue/` — one backend per module.2324Business logic lives in services/stores, never in route handlers.2526## Store roles (do not blur)2728- **Mongo is authoritative.** If Mongo and ES disagree, Mongo wins.29- **ES is best-effort and rebuildable** — never fail an authoritative write on it.30- **Redis is a cache** — a Redis outage must degrade, never lose data.31- The queue is **in-process and non-durable**; that constraint drives most32 failure-mode and scaling reasoning. Don't design as if it were durable.3334## Conventions in brief (see the scoped rules for detail)3536- `from __future__ import annotations` atop every module; Google-style docstrings37 (ruff `D`, pydocstyle google). Tunables live in `Settings`, not magic numbers.38- Routes are thin; the events routes declare a Pydantic `response_model`39 (`/health` and `/metrics` are intentionally exempt). Errors map to status40 codes (Mongo→503, ES→502, queue full→429, shutdown→503).41- Tests: pytest with `asyncio_mode=auto`; unit tests are hermetic, Docker-backed42 tests are marked `integration` and deselected by default.4344## Docs are a first-class deliverable4546When you change behavior, update `ARCHITECTURE.md` and `README.md` in the same47change. Code and docs must not drift — the architecture doc is graded.48
Also in jleist-clemson/acheron
Diff this repo’s formatsOne repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| jleist-clemson/acheron.cursor/rules/api-routes.mdc · 0 | Cursor rules | styleapi | 57/100 | 3 days ago | |
| jleist-clemson/acheron.cursor/rules/background-tasks.mdc · 0 | Cursor rules | monorepo | 58/100 | 3 days ago | |
| jleist-clemson/acheron.cursor/rules/elasticsearch-mapping.mdc · 0 | Cursor rules | styletypesdo-not | 58/100 | 3 days ago | |
| jleist-clemson/acheron.cursor/rules/python-standards.mdc · 0 | Cursor rules | lint-formatapido-notdocs | 72/100 | 3 days ago | |
| jleist-clemson/acheron.cursor/rules/testing.mdc · 0 | Cursor rules | testlint-formatstyletesting-strategy | 67/100 | 3 days ago | |
| jleist-clemson/acheronCLAUDE.md · 0 | CLAUDE.md | agent-behaviour | 16/100 | 3 days ago |
Similar configs
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| ethereum/go-ethereumAGENTS.md · 51k | AGENTS.md | buildtestlint-formatgit+1 | 100/100 | 3 days ago | |
| aaif-goose/gooseAGENTS.md · 52k | AGENTS.md | setupbuildtestlint-format+6 | 100/100 | 3 days ago | |
| OnlyTerp/prompt-cache-skillsAGENTS.md · 112 | AGENTS.md | setupbuildtestlint-format+5 | 100/100 | 3 days ago | |
| vllm-project/vllmAGENTS.md · 88k | AGENTS.md | setuptestlint-formatstyle+5 | 100/100 | 3 days ago | |
| SkeneTechnologies/skene-cookbookAGENTS.md · 51 | AGENTS.md | setupbuildtestlint-format+7 | 100/100 | 2 days ago | |
| n8n-io/n8npackages/@n8n/agents/AGENTS.md · 199k | AGENTS.md | buildteststylearch+3 | 100/100 | 3 days ago | |
| wpscanteam/wpscanAGENTS.md · 9.7k | AGENTS.md | setupbuildteststyle+6 | 100/100 | 2 days ago | |
| bagisto/bagistoAGENTS.md · 28k | AGENTS.md | setupbuildteststyle+7 | 100/100 | 3 days ago |
