Decision 1 of 18.11: Arbiter, Lexicon and Scribe are one module "Umowy" under Atrium's chat; the logic stays here and the chat calls this API. The static console (frontend/), its mount, SPA fallback and console-only edge classes go; "/" answers a small JSON note. Every API route and /healthz stay. CI, the Dockerfile, compose, deploy_check and the docs follow. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2.4 KiB
Credits
Lexicon is Apache-2.0. Every shipped dependency is permissively licensed — the CI license
gate (backend/scripts/license_gate.py) fails the build on GPL, AGPL or SSPL.
Runtime dependencies
| Project | License | Why |
|---|---|---|
| FastAPI | MIT | the API framework |
| Starlette | BSD-3-Clause | ASGI toolkit under FastAPI |
| Uvicorn | BSD-3-Clause | ASGI server |
| python-multipart | Apache-2.0 | multipart/form-data parsing for FastAPI |
| Pydantic / pydantic-settings | MIT | validation + typed settings |
| SQLAlchemy | MIT | ORM |
| Alembic | MIT | migrations |
| pg8000 | BSD-3-Clause | pure-Python PostgreSQL driver — no libpq, no LGPL |
| argon2-cffi | MIT | Argon2id password hashing |
| httpx | BSD-3-Clause | the one outbound HTTP client |
| OpenTelemetry Python | Apache-2.0 | optional tracing, off by default |
| compass-ingestion / compass-schemas (Alpaq92/Arbiter, private) | Apache-2.0 | text extraction from PDF/DOCX, pinned by commit |
| pypdfium2 | Apache-2.0 / BSD-3-Clause (PDFium) | PDF text, replacing the AGPL PyMuPDF |
| cryptography | Apache-2.0 / BSD-3-Clause | sealing model-provider keys |
| PostgreSQL | PostgreSQL License | the database |
Console (removed)
The console was removed on the decision of 18.11 (Atrium issue #53). It used Open Color (MIT) and vendored Tabler Icons path data (MIT); neither ships any more.
Design credit
The console's shape — grouped sidebar navigation, data tables with row actions, full-page create forms with edit modals, dashboard tiles, a command palette — is inspired by Open Mercato. It is an homage, not a copy or a fork: no Open Mercato code is included, and small deviations are intentional.
Identity, sessions, auth, authz, the org tree and the append-only audit log come from
dredd-core, the family's shared package (Apache-2.0), pinned in backend/requirements.txt.
The least-privilege database model (app DML / migrator DDL) follows it.