19 Commits
Author SHA1 Message Date
adminandClaude Opus 5.5 57d82488ae Fetch private dredd-core from the Haski Gitea, not GitHub
CI / backend (16) (push) Successful in 2m9s
CI / backend (17) (push) Successful in 2m10s
CI / managed-db (push) Successful in 1m31s
CI / compose-smoke (push) Successful in 2m2s
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>
2026-11-30 22:18:29 +01:00
adminandClaude Opus 5.5 11b12b9352 CI: allow a manual run (Actions -> CI -> Run workflow)
CI / backend (16) (push) Successful in 1m50s
CI / managed-db (push) Successful in 1m39s
CI / backend (17) (push) Successful in 1m36s
CI / compose-smoke (push) Successful in 1m46s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 20:06:30 +01:00
adminandClaude Opus 5.5 5d405aad86 CI: push runs only on main; branches are tested through their pull request [skip ci]
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>
2026-11-30 16:39:00 +01:00
adminandClaude Opus 5.5 02d746f376 Build from Gitea instead of GitHub
CI / backend (17) (push) Successful in 1m4s
CI / backend (16) (push) Successful in 1m23s
CI / managed-db (push) Successful in 1m10s
CI / compose-smoke (push) Successful in 1m47s
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>
2026-11-29 17:05:24 +01:00
admin d0cae403f4 Merge pull request #3 from Alpaq92/security/docx-cap-and-core-pin
Bound the cut of an upload; repin dredd-core to v0.23.1
2026-11-28 10:39:58 +01:00
Piotr ChojnackiandClaude Opus 5.5 6760788cac Test: build the DOCX bomb deflated, as a real one is
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>
2026-11-28 01:19:22 +01:00
admin 4d40a892b3 Merge pull request #2 from Alpaq92/feat/standards-to-skills
Standards move to skills: remove the standards API, screen and demo rows
2026-11-28 00:22:23 +01:00
adminandClaude Opus 5.5 b2c998ee07 feat: no console — the chat is the only screen for contracts (Atrium #53)
CI / backend (16) (push) Failing after 3s
CI / backend (17) (push) Failing after 4s
CI / compose-smoke (push) Failing after 0s
CI / managed-db (push) Failing after 2s
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>
2026-11-26 19:42:23 +01:00
adminandClaude Opus 5.5 6823363132 chore: remove the standards' dead code and stale wording
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>
2026-11-26 14:48:29 +01:00
Piotr ChojnackiandClaude Opus 5.5 f922543034 Bound the cut of an upload; repin dredd-core to v0.23.1
- 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>
2026-11-26 11:08:21 +01:00
adminandClaude Opus 5.5 d1c6844e4e Standards move to skills: remove the standards API, screen and demo rows
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>
2026-11-25 11:20:29 +01:00
admin a8f1698661 Merge pull request #1 into main 2026-11-24 20:16:56 +01:00
tobayahandClaude Opus 5.5 e8b498e348 Console: English only in EN mode (chrome, crumb, toast, library, sources)
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>
2026-11-19 17:42:34 +01:00
adminandClaude Opus 5.5 b2b6267f4f Install compass-ingestion/compass-schemas from Alpaq92/Arbiter
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>
2026-11-14 15:07:42 +01:00
adminandClaude Opus 5.5 16e739dff8 GET /stats: dredd-core 0.23.0 stats contract for Panorama
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>
2026-11-14 09:36:23 +01:00
adminandClaude Opus 5.5 aff115b7bb Repin compass-ingestion to the L1 merge on Compass main (33e13d7)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 09:56:00 +01:00
adminandClaude Opus 5.5 16cebbd875 Console: Polish screens for sources, library, standards and model providers (M2)
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>
2026-11-12 19:51:10 +01:00
adminandClaude Opus 5.5 5019d29d52 Port the clause library and catalog typing from Compass (M2)
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>
2026-11-12 19:46:58 +01:00
adminandClaude Opus 5.5 22b45c3798 Scaffold Lexicon (dredd skill: simple tenancy, green, pl-first, dredd-core v0.22.0)
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>
2026-11-12 19:29:34 +01:00