compose.tls.yaml put the certbot network on 172.30.30.0/24, which Parafa's
network has owned since M6, so turning TLS on failed with 'Pool overlaps'.
172.30.50.0/24 is free on every layout in compose.yaml.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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>
They were ~25 of the backend job's 26 minutes, and ran three times per push
(backend on Postgres 16 and 17, and again in managed-db): every one drives
init.sh or push.sh, ~10 s apiece of bash, against files and no database.
They now run once in deploy-kit-tests with pytest-xdist over every core
(~3.5 min measured on the Gitea runner); backend and managed-db skip them.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
env/scribe.env.example gained INSIDER_URL=http://<site>/insider next to
LEXICON_URL and GALENA_URL, but init.sh only set the other two, so a fresh
init left a <placeholder> in env/scribe.env and the preflight's init check
failed ("placeholders left in: env/scribe.env"). A running box is untouched:
updates never rewrite env files.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The scheduled run on 2026-11-30 02:00 UTC fed the script to bash on stdin, and
docker compose exec (the pg_dumpall) read the rest of it: bash saw EOF after
the dump and exited 0, so nothing was deployed and the job showed success.
The script is now copied to the box and run with stdin from /dev/null, and the
exec has </dev/null too.
The dump is ~4 GB compressed: keep the last 2 (not 8), and refuse to dump when
less than 15 GB would stay free.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Lines 249 and 264 ended in a literal \n instead of a backslash-newline, so
each mv got an argument "n" (mv: cannot stat 'n') and the switched-off
modules' workflow env files were never moved aside; shellcheck flagged both
(SC1012) and failed the preflight. Back to a plain line continuation.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Gitea masks only single-line secrets in logs, so a multi-line private key
showed in the step header; the key is now DEPLOY_SSH_KEY_B64 (the old key is
revoked). git fetch no longer recurses into submodules, whose URLs on the
box still pointed at GitHub until submodule sync.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
deploy-box runs every Monday 02:00 UTC and on demand (dry-run by default):
the README's update steps on deploy@185.252.234.165 (fetch + submodules,
preflight, build, push.sh, up -d), behind a pg_dumpall of the whole
database, fast-forward only, stopping at the first failure.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Alpaq92 GitHub account is suspended. dredd-core now comes from the public
Haski/dredd-core on Gitea (requirements, deploy_check, the push test), CI no
longer authenticates to GitHub, and push.sh names the Gitea repositories.
Every module is repinned to its commit that does the same (one commit on top
of the previous pin, nothing else changes).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Relative URLs (../<repo>.git) resolve against wherever Atrium is cloned
from, so the modules now come from the Haski organisation on Gitea
instead of the private GitHub repositories.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- galena 1dd6b4a: OCR and the reader served by Galena itself, no CDN; no session token in the console (Atrium#68, R2)
- parafa 97e9270: /seal signs off the event loop, one bad row never fails /evidence (Parafa#10)
- arbiter d99906f: a cross-reference split at the line end is not a new unit; synthetic PDF gold set (Arbiter#5)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Both dropped their consoles in Atrium#53 (Arbiter b61abaa), so their builds
pass no `frontend` context; the missing directory failed the whole build.
compose_checks exempts them with Lexicon (CONSOLELESS).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- 0020_session_update_guard: on the platform, install dredd-core's
session_update_guard_sql (owner = the migrating role, writer = the hub's
runtime role); a no-op standalone.
- deploy/compose.yaml: Lexicon has no console since b2c998e (Atrium#53), so its
build passes no `frontend` context; the missing directory failed the whole build.
compose_checks exempts it (CONSOLELESS).
- Repin agora, counsel, galena, insider, lexicon, scribe, sygna, workflow to main.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
docs/pomysly/idea02.md (in Polish): two-step sign-in for the platform
account, standards imported from a firm's negotiation guide, a
reference set for skills and models, AI cost per matter and per user,
suggested time entries, and writes only after a click for agent tools;
plus refinements to idea01. Docs only; no code changes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
docs/pomysly/idea01.md (in Polish) ranks eight proposals by value to a
law firm and by effort. Each one says why, what the platform already
has, the proposal, how it looks in Atrium UI v1, its dependencies and
its effort. Docs only; no code changes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The seed creates a passwordless account under the fixed id ARCHIVE_READER_ID and grants it user
access in Parafa, Workflow, Agora and Arbiter only; the reconciliation leaves it out (_active_ids),
so no 'everyone' module admits it and no sweep revokes those grants. python -m app.archive_reader
mints its read-only token once (printed, never stored) for Galena's ARCHIVE_READER_TOKEN
(deploy/env/galena.env.example; init.sh says when). The modules fence it to their evidence routes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Their consoles are gone, so the chat indexes Scribe's templates and drafts and
Lexicon's sources and clause shelves with the asker's session, searches the
library's clauses for a library question, and creates a Scribe draft (from the
one named template, or from scratch) as a coded action.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Spec 2026-11-25 part A, step 1: init.sh lists galena_app as a writer
beside sygna_app, agora_app and parafa_app as readers, and all four
migrators (REFERENCES for their foreign keys), with the role prefix;
the env templates say the same. push.sh checks each with its tier and
refuses Galena, Agora or Parafa when the hub does not list them.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Decision 1 of 18.11: the chat is the only screen for contracts. Lexicon and
Scribe lose their consoles and become service modules (seed + idempotent
revision 0019, as Arbiter in 0017). The sidebar and the catalogue show the
three as ONE entry, „Umowy”, which opens the chat (#/umowy), for whoever may
use at least one of them; they stay in the launcher for the chat to call.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The review panel's timeout no longer sends people to the Arbiter module;
the answer in the chat reopens it. The multi-file refusal stops offering
to order the analysis in Arbiter. Arbiter stays a service module.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>