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 family's standalone ports moved the backend to ${PARAFA_PORT:-8121}, and
the smoke test kept asking port 80, so it never saw the stack become ready.
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>
- POST /seal: run evidence.seal on the thread pool; asyncio.run inside the route's
own loop raised on every call (500). Tested through the real route and signer.
- GET /evidence: a row whose verification report cannot be made still lists its
signed PDF; the reason goes into `note`, which the Archive keeps. The Archive
verifies up to what Parafa stores (MAX_FILE_BYTES) and waits up to 30 s for a
verification slot instead of a 409.
- The evidence docstring no longer promises a reproducible report hash.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Evidence: the signed PDF and its verification report (canonical JSON) of every signed request on a
Galena document; a person sees what they may read, the archive's technical account (fixed id
ARCHIVE_READER_ID, minted by the hub) sees all and is audited as evidence.read.
Seal: a detached CAdES signature (application/pkcs7-signature) over <= 1 MB by the operator's local
seal, for the technical account only (404 for everybody else), audited as seal.issued with the
input's sha256. The technical account is refused (404) on every other route.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Spec 2026-11-25 part A (Kontrahenci), step 3: a nullable counterparty_id
(RESTRICT) on the platform's register, a picker over its organisations
and a PUT to set or clear it (owner or moderator, else 404). The module
only reads the register and never shows counterparty_contact. Idempotent
revision ending with runtime_grants_sql; standalone it creates the
(empty) local register, on the platform it drops empty local copies.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
complete/send/withdraw/sign refusals, the coverage check, flags read once per list, counts in one
Galena call, and a failed signature hiding the exception, as behaviour instead of source text.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
complete_manual now requires a moderator, as signing always did; send/withdraw stay owner-or-moderator.
as_dict gains can_withdraw/can_complete, read off a Viewer computed once per request or list, and the
console shows "Wgraj podpisany plik" only with can_complete. An upload whose last signature does not
cover the entire file (an unsigned update after it) is refused. Counts are one query plus one Galena
call; the dashboard reads cards and recent from one pass; module_stats takes the token as required.
One bounded-verify helper; Provider.configured is a field.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
#/new?document_id=&path=&version=&title= opens the new request with the
Galena document fixed (read-only) at the commit Workflow approved; the
version goes to POST /requests/document, which pins exactly those bytes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Atrium#53, stage 3. Who signs is now a provider (services/providers):
- local: the operator's PAdES seal (pyHanko, PKCS#12), as before;
- signudoc: SignuDoc, the Start edition's default. No API yet, so manual:
the request is handed over (status `sent`), the person downloads the
original, signs it in SignuDoc and uploads the signed PDF. Parafa accepts
it only if it contains the original unchanged (a PAdES signature is an
incremental update) and carries intact signatures; trust in the signer's
CA is reported, not required. `sent -> draft` withdraws it.
Completing is one path for every provider (_complete): the file kept, the
Galena write-back, the audit entry with the provider, document.signed.
SIGNING_PROVIDERS (default local,signudoc) chooses what is offered.
Revision 0006: signing_request.provider and `sent` in the status CHECK.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1. A request on a Galena document showed its path, hash and commit to its
owner and every moderator even after Galena stopped letting them read the
document. Reads, lists, counts, the dashboard and /stats now ask Galena
(POST /projects/roles, with the person's token) and leave such rows out:
404, never 403; Galena off or unreachable fails closed.
2. A failed signature stored and returned the exception's own text (file
paths, internal URLs, library internals). The requester now gets a
reference; the detail goes to the server log.
3. /verify ran pyHanko on any upload up to the full file cap with no bound.
It now takes at most 20 MB and two validations at once (409 verify_busy).
Also: the title search escapes LIKE's % and _.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A pass against the Web Interface Guidelines, bringing the console up to what Atrium's
already does:
- #toast is a polite live region and the sign-in / dialog error banners are role=alert,
so a screen reader hears "Saved" and "Wrong password" instead of nothing.
- The request table's title is a real link (the row keeps its click): before, a keyboard
user could not open a request from the list at all.
- A dialog is named by its title (aria-labelledby) and the page behind it is inert while
it is open, so Tab cannot walk out of it; the opener is remembered before the page goes
inert and gets focus back. A dialog starts on its first field or else its first RENDERED
control — the account sheet's .m-only rows are display:none on a desktop and cannot take
focus. The command palette and its input are labelled.
- A skip link to the main content, which is now focusable (tabindex=-1).
- Icon-only buttons (menu, theme, language) carry an aria-label next to their title. The
language buttons drop data-no-i18n, as Atrium's did: it also stopped their title from
being translated, and "PL"/"EN" have no dictionary entry to change them.
- theme-color for the browser chrome, touch-action: manipulation, overscroll containment
in the dialog, palette and drawer.
Checked in a browser against a fetch stub (no backend here): Enter on a request link opens
it, the account sheet opens from the avatar with focus inside and Escape hands it back.
node --check frontend/app.js passes.
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.
Parafa: the signing-not-configured banner, the operator certificate line, the failed-attempt
banner and the trust / revocation notes of a verification - static text split from data so
localize() matches it; "plik: name" translated before it is glued.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Indigo is Arbiter's; yellow is the one Open Color hue no other module of
the family uses. The app mark, favicon and --brand tokens move to yellow9
#e67700 (yellow5 #fcc419 as the dark theme's brand text), glyph yellow0.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Scaffolded with the dredd skill (simple tenancy, indigo, pl-first,
dredd-core v0.23.0), then the M6 domain from the Compass split plan:
- signing_request (dredd_core.document_ref SubjectRefMixin): a Galena
DocumentRef read through module_client with the person's token, or a
plain_files FileRef upload (D9). PDF only, refused with pdf_only.
- draft -> signed | failed (failed is retryable); lists Do podpisu and
Podpisane; moderators sign, owners see their own.
- PAdES B-B signing with pyHanko (MIT) using the operator's PKCS#12 from
SIGNING_PKCS12_PATH + passphrase file; no key in the repo (tests make a
throwaway self-signed certificate at test time).
- Signed result: a new FileRef, and for a Galena subject a new version via
Galena's /upload with dest=<path>, pinned and read back; document.signed
emitted via dredd-core events in the same transaction.
- Verification of any PDF's signatures (intact / valid / trusted).
- GET /api/v1/stats (stats_contract): to_sign -> todo, signed -> signed.
- 0005_signing idempotent by catalog; provision.sql rendered for the
platform; standalone compose published on :8121.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>