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>
Arbiter has no console since Atrium#53 stage 2: GET / answers JSON saying so,
and HEAD / is a 405. The smoke test now reads the security headers off a GET
and checks that the root describes the headless service.
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>
A line ending in "ust." / "pkt" / "lit." continues into the number opening the next
line ("§ 4 ust." + "1."), so that number is not a new unit, point or letter.
scripts/gold_synthetic.py builds 12 Polish contracts with known structure (fonts,
justification, marker gaps, hyphenation, NBSP, footers, headings at page end) and
measures extract_text + parse_structure against truth.json: 994 units, 0 missing,
0 extra (before the fix: 5 missing, 10 extra).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every accepted analysis of a Galena document: a contract card as facts.export gives it (the frozen
document, sha256 = the fingerprint, unless masking is on for the caller), a red-lines run as its HTML
report. A person sees what authz.can_read lets them; 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>
Stage 2, plan 3: the console is removed, not hidden. frontend/, the static
mount (SpaStaticFiles, ConsoleUnlessApi), its build context, CI syntax step
and the console-only /dashboard and /stats routes (their tiles linked into
console screens) are gone. Every API the chat, review panel and skill screens
call stays, with /healthz; / answers one JSON line: no console.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A broken ToUnicode CMap mapped benefia-owu-ac.pdf's bold /one to U+0004, so
PDFium dropped every bold "1" (213 missing / 181 extra labels). A C0 control
from ToUnicode is never text: invert the CMap to the char code and take the
glyph name from /Differences (pypdf, BSD-3, read only when one occurs).
Benefia now 0/0; engine 5388 hit / 3 missing / 2 extra on the 12 documents.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Wzorzec etykiet struktury z rozstrzygniętą każdą różnicą czytników
(silnik, pypdf, PyMuPDF), skrypt budowy i oceny, wynik w terminach S3.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
accepted_payload raises ValueError instead of emitting analysis.accepted
without a subject_kind. The acceptance's history narration in signoffs
and the sign route is trimmed to one sentence each. The PDF measurement
script says it needs pypdf and is not part of the app.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Found by running the unit tests: accepted_payload called subject.ref() and
failed on every acceptance; test_analysis_migration did not list the event
tables 0008 brings.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
pypdfium2 + pdf_layout and parse_structure on 12 public PDFs (8 contract
templates, 4 insurance terms), without a reference: extraction health,
structure counts, numbering continuity, a cross-check against pypdf, glued
words and § order. No U+FFFD; markers equal or within 1-3 of pypdf, more
on two-column OWU; numbering gaps are mostly document structure; one real
defect: glued words in one OWU (both readers), where the PDF has no space
glyphs. Scripts and sources under scripts/pdf_reader_measure/.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
"Podpisz raport" becomes the acceptance of the analysis (Atrium#53, stage 2)
in the console, the card report, the API (POST /analyses/{id}/acceptance;
/signoff stays as an alias) and the audit log (analysis.accepted). The
append-only table analysis_signoff keeps its name and columns: it is
evidence, and renaming it would only migrate the evidence.
The acceptance now writes `analysis.accepted` in its own transaction
(services/events.py): ids and hashes only, the subject in the shape of
dredd_core.workflow_contract (a Galena document: module, document_id,
commit_sha, sha256). Revision 0008 brings the event log (standalone) and the
receiver's tables; the event tables are append-only evidence, and CI's
managed check runs with --events.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Final fix wave of Plan 2 (F9, F10): version_status calls assert_firm_role like every other read; a JSON body with an unpaired surrogate escape is the client's 422, not a 500 from the encode; round-trip test with multi-line text and ': ' / '#' inside values.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016uwxqJYwbXKWMeNZfrFuXq
I18N grows from 55 to 470 entries: navigation, subjects, the analysis queue and a
run's screen (lease, exit codes, checks, sign-off), red lines and the contract card
(values and units worded as services/card_report's EN vocabulary), model providers,
"What we send", number masking, the first-run intro (including the hardware verdict
and its fixed sentences), the trial run and the laptop program's credentials.
Two places never reached localize(): the breadcrumb in the top bar and the search
palette, which overwrites the dialog root after modal(). Both are localized now.
Sentences that were string concatenations across lines are single literals, so the
key matches the source as written.
Checked with a mocked API in Edge, every route and dialog in EN mode: no Polish text
left outside data-no-i18n values.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
localize() matches whole text nodes, so a sentence glued to a value never matched a
dictionary key. The fixed words now go through _tr or a node of their own; values
stay data:
- source label, red-lines counter, verdict/severity chips and hints inside the
data-no-i18n red-lines rows, the model download banner (decimal point in EN)
- trial counts („3 z 5”), the trial toast and the per-rule differences
- telemetry „sent at”, the intro's „saved by”, the hardware note (fixed server
sentences swapped one by one)
- the PowerShell Read-Host prompt on the laptop screen
Mechanism: toasts and dialog errors go through _tr; dates, money and relative time
follow LANG instead of a hard-coded pl-PL; the tab title, <html lang> and the language
button's title are translated; modal() honours the subIsValue its callers pass.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
agent.skill_trials (migration 0007) and agent.standards_check are maps by agent version id; trial and standards check name the version (agent_version_id) and never compare against the current one, so trying a proposal no longer takes the approved version off real contracts. A skill agent is not orderable by its agent id and is never activated.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016uwxqJYwbXKWMeNZfrFuXq
Workflow (apps/compass) is retired; Arbiter and the compass_* engine packages
continue here with their history (git filter-repo from compass-contract-hub
origin/main c2e7e8e, dropping apps/compass, its two workflows, .meduza and the
two Workflow-only plans). Old->new SHAs: docs/history/compass-contract-hub-sha-map.txt.
- workspace root renamed arbiter-workspace (uv.lock relocked); excludes apps/arbiter
- .dockerignore/.gitignore/arbiter.yml/hooks no longer name apps/compass
- README, CLAUDE.md, AGENTS.md, HANDOFF.md, ADR-005: the new repository and the
new git URL form for the unchanged distributions (compass-ingestion etc.)
- engine contract/import-boundary tests and docstrings point at this repository
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_subjects and status filter). Repin dredd-core to v0.23.0.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- packages/ingestion: drop marker-pdf (GPL-3.0, pulled surya-ocr and torch) from the
`ocr` extra; nothing imported it. uv.lock relocked.
- Delete scripts/compare_pdf_readers.py: a PyMuPDF-vs-pypdfium2 parity check, pointless
without PyMuPDF; the frozen span replay still guards a pypdfium2 bump.
- scripts/license_gate.py + tests/test_workspace_licenses.py: no GPL/AGPL/SSPL in any
package of uv.lock (every member, extra and group), by metadata and by known names.
- packages/ingestion/NOTICE: PDFium third-party notices (FreeType FTL, libjpeg-turbo,
libpng, libtiff, ICU, OpenJPEG, zlib, AGG).
- Docs: live PyMuPDF/Marker/AGPL mentions updated; ADR-005 marked superseded, Compass
ADR-001/003 annotated; ACCEPTANCE W6 closed as "reader replaced".
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>