Drop the stale AGPL exception from the docs; chat no longer reads Workflow's missing contracts as no access

Since Compass's 0030 the module is Workflow and ships no copyleft code, so ONBOARDING-compass's
licensing section and the README's AGPL sentence were false. The chat's contracts card said
'brak dostępu' when the source simply no longer exists; it now says so.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-14 09:08:55 +01:00
co-authored by Claude Opus 5.5
parent a9d5002e19
commit fdfb37d22e
3 changed files with 13 additions and 30 deletions
+2 -2
View File
@@ -92,8 +92,8 @@ code, latency and the `version` field of the family's `/api/v1/health` JSON. Eve
cookie sessions, an append-only audit log enforced by database grants, RFC 9457 Problem Details
errors, opt-in OpenTelemetry, and a **no-build vanilla-JS console** (Open Color palette, Tabler
icons, light/dark theme, two languages). Shipped with Docker Compose, no reverse proxy: the backend is its own edge. Apache-2.0, and CI
refuses any GPL/AGPL/SSPL dependency in Atrium itself. The deploy kit can also run Compass, whose
analysis engine is AGPL-3.0 in a separate process — see [`CREDITS.md`](CREDITS.md#the-platform-kit-deploy).
refuses any GPL/AGPL/SSPL dependency in Atrium itself. No image in the deploy kit ships copyleft code either —
see [`CREDITS.md`](CREDITS.md#the-platform-kit-deploy).
## dredd-core
+10 -27
View File
@@ -145,35 +145,18 @@ review fixes, revisions `0010`-`0014`; registry lookups ship OFF (`registry_look
lacked the `pgcrypto` this kit provisions Compass with. Re-pin only to a commit that contains the
current pin: `git merge-base --is-ancestor 2e52327 <new commit> && echo contains`.
## 3. Licensing — the one policy decision
## 3. Licensing — settled: permissive only
Compass's image carries the analysis engine as a separate process, and that engine reads PDFs with
PyMuPDF, **AGPL-3.0**. The platform accepts it, agreed 2026-10-03, on these terms:
**Superseded 2026-11-13.** This section used to record an AGPL exception (2026-10-03): Compass's
image carried a contract-analysis engine reading PDFs with PyMuPDF (AGPL-3.0), behind a process
boundary and a source offer. That exception no longer exists. Since Compass's revision 0030 (the
end of the Compass split) the module is **Workflow** — document approval workflows only — and its
image ships no analysis engine; the analysis queue moved to Arbiter, whose image carries no engine
either, and Compass PR #68 removed the last copyleft dependency (marker-pdf) and added a licence gate
over `uv.lock`. Every image in the kit is permissive; see `CREDITS.md` ("The platform kit").
- the engine stays a separate process behind a non-library boundary. Not a promise but a mechanism:
ADR-005 makes `packages/analysis` a separate application whose interface is a JSON file rather
than an import, and `packages/analysis/tests/test_install_closure.py` computes the closure from
declarations to prove it;
- the platform publishes an **offer of source** for the engine on the Compass module, which is what
§13 asks of anyone running AGPL software people reach over a network;
- Compass's gate allowlists PyMuPDF for the engine path only, so it cannot spread into the backend
unnoticed;
- the family's "every dependency is permissive" claim is **amended to name the exception** rather
than quietly becoming false — done in `CREDITS.md` ("The platform kit"), `README.md`'s stack line
and `deploy/README.md`.
Compass's own `Z-04` — keep PyMuPDF, buy the Artifex licence, or swap the reader — stays Tobiasz's
decision and is not blocked by this.
**Who may open Compass is part of the same decision** (Tobiasz, 2026-10-05). The source offer hands
the engine's code to anyone who can open the module. That is fine while Compass is `selected` and the
only people assigned are ones he has chosen. **Before anyone outside that circle gets the tile** —
another person assigned, or the availability widened to `everyone` — **ask him first.** Part of
this the code now enforces: a unit manager can no longer widen Compass. Adding somebody to a unit
that has it assigned is refused unless whoever does it is an administrator or Compass's own
moderator (`marketplace.newly_given`, asked before any row is written). Administrators still can,
and they also reach every module without a row, so for them the promise to ask Tobiasz before
assigning anyone is still kept in the admin pane, not by the code.
The access rule that hung off the source offer (ask Tobiasz before widening who may open Compass)
went with it: Workflow is assigned like any other module.
## 4. Things that will bite
+1 -1
View File
@@ -2810,7 +2810,7 @@ function chatCardLines(e, index, today, kind) {
}
// Compass
if (kind === 'osoba') L('Workflow: umowy nie mają w danych osoby odpowiedzialnej, więc ich tu nie ma.');
else if (chatCardBlind(index, 'compass')) L('Workflow: brak dostępu na tym koncie, umów nie widzę.');
else if (chatCardBlind(index, 'compass')) L('Workflow: od podziału Compassu moduł nie przechowuje umów, więc czat ich tu nie pokazuje.');
else {
const sums = new Map();
for (const r of contracts) if (r.contract.value_amount) sums.set(r.contract.value_currency, (sums.get(r.contract.value_currency) || 0) + Number(r.contract.value_amount));