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>
Every round's file with its sha256 of every room on a Galena document. A person sees the rooms they
may enter; the archive's technical account (fixed id ARCHIVE_READER_ID, minted by the hub) sees all,
is audited as evidence.read, and gets 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>
- room_view skips comments the team deleted; a guest's round shows a
neutral runda-N.<ext>, no hash, no commit, no kind; downloads too
- accepted/closed rooms stay readable to a live invite, writes refused
- create_invite commits itself and removes guest copies on failure
- last_used_at stamped at most once a minute, committed only then
- names for rounds/comments preloaded in one query per kind
- one comment validation shared by people and guests
- InviteIn is the only range check; HEADER used by the router;
receiver batch is one constant; app.js.new and ticket notes removed
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Found by the console tests under Node: six Polish strings of the invite
panel and the shared-comment option had no English entry.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- GET /rooms/{id}/compare returns the full text of both rounds but wrote no audit row, while a
download is audited before it streams (G9). It now records `room.rounds_compared`.
- DELETE /rooms/{id}/comments/{cid} used the read guard, so an author could still blank a comment
in a closed (read-only) room. It now uses the write guard and answers 409 there.
- GET /users was open to every signed-in user and any read-only token. On the platform that is the
whole platform's roster (e-mail, name, administrator flag). Only the Administration screen uses
it, so it now requires this module's moderator tier.
Integration test extended for all three. Not run: CI is down and this machine has no private deps.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Atrium#53, stage 3 (Galena documents only, as decided). A room on a Galena
document gets "Wyślij wynik do akceptacji" on the platform: a link to
Workflow's new-run screen with the document prefilled, so Workflow pins its
current version (the last round's commit) and its own templates and people
decide. Agora now receives the event log: workflow.approved from
WORKFLOW_EVENT_ROLES (default workflow_app) on the commit of a room's last
Galena round marks that open room `accepted` (read-only); a room that moved
on after the run started stays open. Revision 0007 adds `accepted` to the
room status CHECK.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Atrium#53, stage 3. The room's owner or a moderator makes a link for the
counterparty: a random token shown once, of which only the sha256 is kept,
valid 30 days by default (1-180), revocable. Whoever holds it, through
guest.html (token after "#", sent as X-Agora-Guest, never in a logged URL):
- sees that room only: its rounds (ours without internal notes or names)
and the comments marked "także dla drugiej strony", plus their own;
- downloads rounds; a round kept in Galena reaches them as a guest_copy,
made with a person's token when inviting or sending a round while an
invite is active (a guest has no Galena account);
- sends a counter-round (always druga_strona, kept as Agora's own file, and
negotiation.round_received still names the room's Galena document) and
comments, while the room is open.
Unknown, expired and revoked tokens are one and the same 404. Every guest act
is audited with no actor and the invite's id. Module identity invariants hold:
no app_user, no session.
Revision 0006: room_invite (NO-DELETE), guest_copy, guest_invite_id on
rounds and comments, comment.shared, author_id nullable with a CHECK.
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.
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>
How a round is stored with and without Galena, access by participants and
moderators (plan P5), the kept server-side .docx comparison and the
negotiation.round_received event, with the [T] questions for review.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
negotiation_room is Agora's subject (dredd_core.document_ref: a Galena
DocumentRef or a plain_files FileRef); contract_version and contract_comment
become negotiation_round and negotiation_comment. With Galena a round is a new
commit on the room's document, written through Galena's upload (dest = the
document's path) with the person's token and pinned at the commit Galena
answers; without Galena it is a new plain file. Access is the room's
participants plus the module's moderators (plan P5). The .docx comparison
(compare.py, stdlib only) is kept server-side. A round from the other side
emits negotiation.round_received (dredd-core 0.20 events) in the round's
transaction. Revision 0005 is idempotent; 0001 builds with checkfirst=False;
provision.sql is rendered for the platform.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>