The Dockerfiles still rewrote credentials for github.com only, so the build
token never reached Gitea and installs worked only while dredd-core was
public. Rewrite http://77.216.148.202:3000/ instead, give every workflow
that pip-installs the same rewrite (org secret DREDD_CORE_TOKEN, the
read-only haski-reader token), and drop the GitHub PAT leftovers.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A push of many branches at once (the migration pushed 100 of Atrium's) started
a run per branch and flooded the runners. Every pull request is still tested.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Alpaq92 GitHub account is suspended, so nothing can be fetched from it.
dredd-core (and Lexicon's compass packages from Arbiter) now come from the
public Haski repositories on Gitea, so CI no longer authenticates to GitHub:
the "Authenticate to dredd-core" steps and insteadOf rewrites are gone.
The Dockerfile's dredd_core_token build secret stays; any non-empty value
works now (the Haski org secret DREDD_CORE_TOKEN provides one in CI).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The test asserted that 200 000 characters packed into under 20 KB, but `_docx`
wrote a stored archive (about 200 KB), so it failed before reaching the bound
it tests. `_docx` takes a compression argument now, still stored by default, and
this test asks for deflate. The code under test is unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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>
library.examples() and clause_by_label (only examples used it) go with
the standards. The API description, catalog.type_list, sources and the
agents' catalog no longer speak of standards Lexicon does not keep.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- A DOCX reaches compass_ingestion only as a rebuilt copy of the two
parts it reads, each unpacked in 64 KiB chunks and refused past
16 MiB (stored/deflated only). ZipFile.read inflated word/document.xml
whole, so a small upload could exhaust the backend's memory.
- The extracted text (4M chars) and the clauses of one cut (5000) are
bounded; past them the row fails and keeps its last good cut.
- POST /sources/upload and /sources/{id}/file are plain def routes, so
the CPU-bound cut runs in the thread pool instead of the event loop.
- dredd-core v0.23.1: a stored provider key no longer follows a change
of the provider's base_url (base_url_needs_key).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Atrium#53, stage 2. The standards for checking contracts are skills in
Atrium, which Arbiter judges by; nothing read Lexicon's /standards. The
routes, the service, the schemas, the console screen and the seeded demo
standards are removed. The clause_standard table and its rows stay, so
nothing a firm wrote is lost; a later revision may drop it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The shared chrome, the same in all six modules: the tab title and <html lang>, the language
button's title / aria-label (data-no-i18n, so set in code by localizeChrome()), the search
tooltip, the breadcrumb (setCrumb() now localizes the top bar) and toast(), which wrote outside
every localize() root.
Lexicon: the missing strings of the sources, library, standards and providers screens; the
clause types (a closed list in agents/catalog.py, sent as Polish labels) by their labels; the
shelf chips and the select options no longer glue a label to its count; page and
"klauzuli już nie ma" split from data.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
compass-contract-hub is being archived; Arbiter now holds packages/ with its history. 4945bc9 is the
rewritten 33e13d7 (identical packages/ tree). Distribution names unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Two tiles, each the length of the console list its link opens (the same
permission-filtered list service and status filter). Repin dredd-core to v0.23.0.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Replaces the scaffold's example Record screens. Documents the module in
README/CLAUDE.md, credits compass-ingestion and pypdfium2, and points the
managed-db README at the platform rendering of provision.sql.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
library_source is Lexicon's subject (dredd_core.document_ref: a Galena
DocumentRef or a plain_files FileRef). Sources are cut in the request with
compass_ingestion as a library (no engine); the catalog's typing queue runs
on dredd_core.model_access; clause standards are Lexicon's own rows with a
read API for Arbiter. Revision 0005 is idempotent and drops the local model
provider copies on the platform; 0001 builds with checkfirst=False;
provision.sql is rendered for the platform.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pins compass-ingestion and compass-schemas from the Compass repo at the L1
commit (pypdfium2 PDF reader), since the repo has no tag yet.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>